[ltp] Fixed! (was Re: My other 600X problem: Sound)
Manoj Kasichainula
linux-thinkpad@www.bm-soft.com
Sun, 30 Jan 2000 02:54:29 -0500
--0F1p//8PRICkK4MW
Content-Type: text/plain; charset=us-ascii
On Sat, Jan 29, 2000 at 07:33:16PM -0500, Manoj Kasichainula wrote:
> My last major problem with Linux on this laptop is getting sound
> working. lspci (from pciutils 2.1.4) sees a CS4614/22/24. The
> ALSA driver for this chipset (cs-461x) fails to load,
With a little source code hacking, I got sound working on my 600X,
using ALSA. The problem was simply the driver not waiting long enough
for the chipset to assert that a couple of registers were ready. A
patch is attached against the current alsa-driver CVS extract.
This will go to the ALSA guys RSN.
--0F1p//8PRICkK4MW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="alsa-driver-tp600x.patch"
--- alsa-driver/lowlevel/pci/cs461x.c.orig Sun Jan 30 02:49:57 2000
+++ alsa-driver/lowlevel/pci/cs461x.c Sun Jan 30 02:50:08 2000
@@ -1594,7 +1594,7 @@
* Wait until we've sampled input slots 3 and 4 as valid, meaning that
* the codec is pumping ADC data across the AC-link.
*/
- for (idx = 0; idx < 1000; idx++) {
+ for (idx = 0; idx < 2000; idx++) {
/*
* First, lets wait a short while to let things settle out a bit,
* and to prevent retrying the read too quickly.
--0F1p//8PRICkK4MW--
----- The Linux ThinkPad mailing list -----
The linux-thinkpad mailing list home page is at:
http://www.bm-soft.com/~bm/tp_mailing.html