Re: [Alsa-user] Cyrrus Logic Crystal CS4237B to configure
Brought to you by:
perex
|
From: Hulin T. <hul...@wa...> - 2006-06-14 12:23:28
|
Yeaaaah, that's a great day ! It works !!!! You're really the best informatician that I know ! Congratulations Rene ! Excuse-me, I jump the step 18, because my wife don't share my passion=20 about computers and would be jealous of this practice... ! I'm astonish about your patience, your job is to assure support of alsa=20 ? Any way, I'm very happy to have discussed with you about Alsa. I'll write a how-to to configure sound with Alsa on Dell Latitude CP MMX=20 233 Pentium II, but before, I have one last thing to do. I wanted obtain Alsa because that's more quickly and there is a best=20 quality to listen music. And, I project to see video ! Mplayer=20 conceptors recommand to use Alsa for his rapidity. Now, I will try to see divx ! A new chalenge and a new adventure, and=20 become, one day, a real geek as you ?... Oups, I forget to automatise this ! OK, I'm listening you ! Rene Herman a =E9crit : > Hulin Thibaud wrote: >=20 >> # modprobe snd-cs4236 isapnp=3D0 port=3D0x530 cport=3DOx210 irq=3D5 dm= a1=3D1 dma2=3D0 >=20 > <NUL>x210, not <OOH>x210 >=20 >> # cat /sys/devices/pnp0/00:0f/id >> CSC0010 >> # cat /sys/devices/pnp0/00:0f/resources >> state =3D active >> io 0x210-0x217 >=20 >> # cat /sys/devices/pnp0/00:10/id >> CSC0000 >> # cat /sys/devices/pnp0/00:10/resources >> state =3D disabled >> io 0x530-0x537 >> io 0x388-0x38b >> io 0x220-0x22f >> irq 5 >> dma 1 >> dma 0 >=20 > In an earlier posting you showed 00:0f to be CSC0000 and 00:10 to be=20 > CSC0010. But oh well, this way things are as expected. In another=20 > earlier posting I showed how to enable disabled devices. >=20 > Please don't do any of these things "from a script" by the way. Just=20 > open a so called root shell (in stead of "shell", it might be called a= =20 > "console" in the menus). If there's no seperate "root shell/console"=20 > entry in the menus, open a normal shell/console from the menus and type= =20 > "su". You should now be asked for your root password, upon the supplyin= g=20 > of which you will have become the root user. >=20 > The state you showed above was after you tried loading drivers already=20 > which might have enabled/disabled things. Please do exactly as follows: >=20 > 1) turn off your computer > 2) turn on your computer and let it boot > 3) open that root shell. > 4) cat /sys/devices/pnp0/00:0f/resources >=20 > does it still say (for all these, with possibly different values): >=20 > (I) state =3D active > io 0x210-0x217 >=20 > if so, great, goto 7. If not, does it say: >=20 > state =3D disabled > io 0x210-0x217 >=20 > if so, semi-great, goto 6. If it just says >=20 > state =3D disabled >=20 > do >=20 > 5) echo auto >/sys/devices/pnp0/00:0f/resources > 6) echo activate >/sys/devices/pnp0/00:0f/resources >=20 > It should now look as indicated at (I) >=20 > 7) cat /sys/devices/pnp0/00:0f/resources >=20 > does it say >=20 > (II) state =3D active > io 0x530-0x537 > io 0x388-0x38b > io 0x220-0x22f > irq 5 > dma 1 > dma 0 >=20 > if so, great, goto 10. If not, does it say: >=20 > state =3D disabled > io 0x530-0x537 > io 0x388-0x38b > io 0x220-0x22f > irq 5 > dma 1 > dma 0 >=20 > if so, semi-great, goto 9. If it just says >=20 > state =3D disabled >=20 > do >=20 > 8) echo auto >/sys/devices/pnp0/00:0f/resources > 9) echo activate >/sys/devices/pnp0/00:0f/resources >=20 > It should now look as indicated at (II). >=20 > Using the values from those resource files (ie, substitute if they are=20 > different) do: >=20 > 10) modprobe snd-cs4236 isapnp=3D0 port=3D0x530 cport=3D0x210 irq=3D5 d= ma1=3D1 dma2=3D0 > 11) If it loaded, great, goto 14. >=20 > 12) modprobe snd-cs4236 isapnp=3D0 port=3D0x534 cport=3D0x210 irq=3D5 d= ma1=3D1 dma2=3D0 > 13) if it did not load, goto 18 >=20 > 14) start "alsamixer" > 15) unmute (press "M" while on them) and turn up the master and PCM vol= umes >=20 > if you have an hardware way of setting the volume (a knob) as well, it'= s=20 > adviced to set the master volume to 89 and the PCM volume to 87 and=20 > leave them at that, using the knob to make it louder/quieter. >=20 > 16) play music and be jolly > 17) stop here >=20 > 18) repeatedly bang your head on the laptop until it's broken beyond an= y=20 > hope of salvation > 19) stop here >=20 > I really need to know first if things work when you do as described. If= =20 > so, we can look at PnP to automate this. If not, I'm out of advice. >=20 > Rene. >=20 >=20 >=20 > _______________________________________________ > Alsa-user mailing list > Als...@li... > https://lists.sourceforge.net/lists/listinfo/alsa-user >=20 >=20 |