WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Recent Posts

Pages: 1 [2] 3 4 ... 10
11
TCB Tips & Tricks / Re: How to find which extension provides a file
« Last post by GNUser on November 20, 2024, 11:50:39 AM »
Hi Rich. FWIW I like the idea of automatically updating provides.db and would be happy with whatever maximum age is default.

Splitting the update into its own command or special flag (à la apt-file) would mean that using provides.sh would be a 2-step process for every user, every time (first checking age +/- updating the db, then searching the db). No autoupdate would also be a gotcha for less experienced users.

P.S. Folks that want maximum speed or more granular control can use the environmental variable you proposed to stop db updates (and/or you could add a "no db update" flag).
12
TCB Talk / Lenovo Thinkpad Synaptics - 2 finger scroll not working.
« Last post by Sashank999 on November 20, 2024, 11:27:19 AM »
Hello.

I am a user of Lenovo Thinkpad L412. I currently use touchpad for my daily linux use as my trusty mouse broke recently. I decided to revisit TCL as I had to install a linux distro to get Clickhouse OLAP running locally. But now I found out that 2 finger scroll and double tapping (for left click) does not work.

I have set up all the necessary things as per my choices - Firefox (thanks for the getLatest TCE), Alsa, Ice WM, etc.

From some forum and Google searches, I found a boot code:
psmouse.proto=imps
from:
https://forum.tinycorelinux.net/index.php/topic,6458.msg34363.html#msg34363
https://forum.tinycorelinux.net/index.php/topic,6982.msg36850.html#msg36850

Now this enabled the double tapping for left click. But I still cannot scroll with 2 fingers, as you would normally with a touchpad.

I will be happy to provide any information regarding my device drivers, hardware information or TCL version.

Thanks in advance.
13
CorePlus / Re: Crystal Semiconductors CS4232 sound card: is it possible to configure it?
« Last post by Rich on November 20, 2024, 11:07:23 AM »
Hi t18
Looks like your card is being detected as ISA, but nothing's
being assigned to it.

Try loading the driver like this:
Code: [Select]
modprobe snd_cs4236 isapnp=0 dma1=1 irq=5 cport=0x120 port=0x534 fm_port=0x388 enable=1 index=0
To see all of the parameters available for this driver:
Code: [Select]
modinfo snd_cs4236 | grep -E "^parm:"
14
looks like something is happening.

01:01: card 'CS4232'
isapnp: 1 Plug & Play card detected total


Code: [Select]
...
isapnp: Scanning for PnP cards...
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
00:0c: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
00:0d: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 115200) is a 16550A
Non-volatile memory driver v1.3
Hangcheck: starting hangcheck timer 0.9.1 (tick is 180 seconds, margin is 60 seconds).
 01:01: card 'CS4232'
isapnp: 1 Plug & Play card detected total
...

searching at DDG for "linux 01:01: card 'CS4232'"(double-quotes just for clarity of forum post, not used for the search) gives multiple results.

here are a few:
https://oldforum.puppylinux.com/viewtopic.php?t=35393
https://forums.debian.net/viewtopic.php?t=24528
https://bbs.archlinux.org/viewtopic.php?id=10344
https://oldforum.puppylinux.com/viewtopic.php?t=79769
15
CorePlus / Re: Crystal Semiconductors CS4232 sound card: is it possible to configure it?
« Last post by t18 on November 20, 2024, 07:16:57 AM »
Hi t18
Your sound card does not seem to appear in the list.
Are you sure it's still installed?

Check the BIOS:
Are there settings for sound? Enabled? IRQs? DMA?
Is there a setting for Plug n Play OS?

Maybe the sound card has some manufacturer and model number markings.
What is the make and model of the computer?

Since it's working on Win95 (same machine, dual boot) I assume everything in the BIOS is set properly.


BIOS type:

Code: [Select]
AMIBIOS (C)1992 American Megatrends, Inc.
BIOS Version 1.00.07.CL0


Grub screen:

Code: [Select]
*core
Win95


BIOS errors on boot:

Code: [Select]
ACPI BIOS Error (bug): A valid RSDP was not found
intel_powerclamp: CPU does not support MWAIT[
mce: Unable to init MCE device (rc: -5)


Dmesg attached.
16
maybe it is a card like the softmodem/winmodem cards of the past(basically only works with microsoft stuff)

background:

https://en.wikipedia.org/wiki/Softmodem

and if you found that thought-provoking, how about winprinter:

https://en.wikipedia.org/wiki/Winprinter#GDI_printers
17
TCB Tips & Tricks / Re: How to find which extension provides a file
« Last post by Rich on November 20, 2024, 01:39:43 AM »
Hi CNK
... Maybe only output the help info when called with no arguments if "[ -t 1 ]" is true, ...
Done.
18
TCB Tips & Tricks / Re: How to find which extension provides a file
« Last post by Rich on November 20, 2024, 12:36:55 AM »
Hi CNK
... The 1s ping might be so short it gives false negatives sometimes, ... ... But I guess I can always make my own version too.
This is not cast in stone. That's why I requested comments.

If I change it to this:
Code: [Select]
ping -A -W 1 -c 2 8.8.8.8 2>&1 > /dev/nullIt timed out in 2 seconds with no connectivity and still
returned instantly with connectivity.

The -A flag made the instant response possible:
Code: [Select]
-A              Ping as soon as reply is recevied
I think that still sounds quite reasonable.
19
TCB Tips & Tricks / Re: How to find which extension provides a file
« Last post by CNK on November 19, 2024, 11:33:55 PM »
Hi CNK
... I'd also suggest showing the help info if provides.sh is run with no arguments.
I initially did that, but then reverted back to  exit 1  because I didn't want to
risk changing a behavior that a program or script might be relying on.

Maybe only output the help info when called with no arguments if "[ -t 1 ]" is true, indicating that the output is to a terminal, not a pipe (more info here)?

The 1s ping might be so short it gives false negatives sometimes, since the first ping response can be exceptionally delayed if networking hardware is in a sleep state or eg. WiFi signal is poor. The automatic retrieval in provides.sh has always annoyed me really. I prefer how "apt-file" on Debian has a separate update command that you run manually. But I guess I can always make my own version too.
20
TCB Tips & Tricks / Re: How to find which extension provides a file
« Last post by GNUser on November 19, 2024, 10:38:22 PM »
Hi GNUser
This timed out in 1 second with no connectivity:
Code: [Select]
ping -W 1 -c 1 8.8.8.8 2>&1 > /dev/nullIt returns instantly with connectivity.
Hi Rich. Thanks for the tests. Sounds like this one is both fast and reliable, so it gets my vote despite the two cosmetic issues (hardwired address, big company) I mentioned previously.
Pages: 1 [2] 3 4 ... 10