Re: [Alsa-user] es18xx soundcard troubles
Brought to you by:
perex
From: Rene H. <ren...@gm...> - 2007-08-01 08:46:48
|
On 08/01/2007 02:57 AM, Troy Heidner wrote: > Thanks for the help! Sure, but please always keep existing CCs intact on these kinds of messages. Otherwise the next poor sod that googles for the same problem hits on these first few messages of a conversation, but not the solution since that was in private mail. Just always use "reply to all" when dealing with Linux lists. > Here's what I get when I cat those files: [ ... ] > ESS0009 > ESS1879 > > There's an ESS1879 in there, but I'm not sure what that tells me? It tells you (and me...) that indeed the problem is just that the driver does not know it should be driving your chip. The solution is to tell it this, and the attached trivial patch to the driver would do this. The ESS0009 is the chip's CTRL port but I assume from the single ESS1869 already present there that it's okay without. If you are upto applying the attached patch and rebuilding the kernel please do so, but assuming you are not, you can work-around the driver not knowing about your chip by specifying all resources manually. Please do a: cat /sys/bus/pnp/devices/<foo>/resources where <foo> is the directory in which the "id" file says "ESS179". It might just say state = disabled If it does, do (as root): echo activate >/sys/bus/pnp/devices/<foo>/resources after which the next cat /sys/bus/pnp/devices/<foo>/resources should tell you something fairly close to: state = active io 0x220-0x22f io 0x388-0x38b io 0x330-0x331 irq 5 dma 1 dma 0 At this point, you can try loading the driver, specifying these resources: modprobe snd-es18xx isapnp=0 port=0x220 fm_port=0x388\ mpu_port=0x330 irq=5 dma1=1 dma2=0 If all is well, you now have sound (remember to unmute and up the volumes with a mixer such as alsamixer!). If this method works for you, you'll have to figure out how to integrate it into your bootscripts yourself as this is different with every distribution. Simply doing the enabling/loading from an "rc.local" could be easiest... If you can confirm that it works after this manual enabling (or after just applying and testing the patch ofcourse), I'll make sure it ends up upstream so that future drivers will work out of the box. Rene. |