Hulin Thibaud wrote:

> # modprobe snd-cs4236 isapnp=0 port=0x530 cport=Ox210 irq=5 dma1=1 dma2=0

<NUL>x210, not <OOH>x210

> # cat /sys/devices/pnp0/00:0f/id
> CSC0010
> # cat /sys/devices/pnp0/00:0f/resources
> state = active
> io 0x210-0x217

> # cat /sys/devices/pnp0/00:10/id
> CSC0000
> # cat /sys/devices/pnp0/00:10/resources
> state = disabled
> io 0x530-0x537
> io 0x388-0x38b
> io 0x220-0x22f
> irq 5
> dma 1
> dma 0

In an earlier posting you showed 00:0f to be CSC0000 and 00:10 to be 
CSC0010. But oh well, this way things are as expected. In another 
earlier posting I showed how to enable disabled devices.

Please don't do any of these things "from a script" by the way. Just 
open a so called  root shell (in stead of "shell", it might be called a 
"console" in the menus). If there's no seperate "root shell/console" 
entry in the menus, open a normal shell/console from the menus and type 
"su". You should now be asked for your root password, upon the supplying 
of which you will have become the root user.

The state you showed above was after you tried loading drivers already 
which might have enabled/disabled things. Please do exactly as follows:

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

does it still say (for all these, with possibly different values):

(I)     state = active
        io 0x210-0x217

if so, great, goto 7. If not, does it say:

        state = disabled
        io 0x210-0x217

if so, semi-great, goto 6. If it just says

        state = disabled

do

5) echo auto >/sys/devices/pnp0/00:0f/resources
6) echo activate >/sys/devices/pnp0/00:0f/resources

It should now look as indicated at (I)

7) cat /sys/devices/pnp0/00:0f/resources

does it say

(II)    state = active
        io 0x530-0x537
        io 0x388-0x38b
        io 0x220-0x22f
        irq 5
        dma 1
        dma 0

if so, great, goto 10. If not, does it say:

        state = disabled
        io 0x530-0x537
        io 0x388-0x38b
        io 0x220-0x22f
        irq 5
        dma 1
        dma 0

if so, semi-great, goto 9. If it just says

        state = disabled

do

8) echo auto >/sys/devices/pnp0/00:0f/resources
9) echo activate >/sys/devices/pnp0/00:0f/resources

It should now look as indicated at (II).

Using the values from those resource files (ie, substitute if they are 
different) do:

10) modprobe snd-cs4236 isapnp=0 port=0x530 cport=0x210 irq=5 dma1=1 dma2=0
11) If it loaded, great, goto 14.

12) modprobe snd-cs4236 isapnp=0 port=0x534 cport=0x210 irq=5 dma1=1 dma2=0
13) if it did not load, goto 18

14) start "alsamixer"
15) unmute (press "M" while on them) and turn up the master and PCM volumes

if you have an hardware way of setting the volume (a knob) as well, it's 
adviced to set the master volume to 89 and the PCM volume to 87 and 
leave them at that, using the knob to make it louder/quieter.

16) play music and be jolly
17) stop here

18) repeatedly bang your head on the laptop until it's broken beyond any 
hope of salvation
19) stop here

I really need to know first if things work when you do as described. If 
so, we can look at PnP to automate this. If not, I'm out of advice.

Rene.



_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to