[linux-audio-user] isapnp problem

Ralf Haller ralf at brap.de
Tue May 6 18:08:01 EDT 2003


Hi there,

I am having some problems with a ISA plug and play sound card using alsa 
0.9.3 with kernel 2.4.20. The card is a snd-opti92x-ad1848.

With alsa 0.9.0rc3 and kernel 2.4.29 the card worked fine. Even the 
isapnp stuff worked without problems. However with alsa 0.9.3 and kernel 
2.4.20 it does not work. The card is not found by alsa. I checked 
/proc/isapnp and found out that the card isn't initialized by isapnp at 
all. I initialized the card manually with isapnp using the values for 
IO, IRQ and DMA that worked for alsa 0.9.0.rc3. However with no success.

Any ideas what might be the problem? Have there been changes in isapnp 
support between alsa 0.9.0.rc3 and 0.9.3?

Here is some more system information:

[root at Baden wei]# more /proc/isapnp
Card 1 'OPT0925:PHILIPS PCA721AF PnP Sound Card' PnP version 1.0
  Logical device 0 'OPTffff:Unknown'
    Device is not active
  Logical device 1 'OPT9250:OPTi Audio 16'
    Device is active
    Active port 0x220,0x530,0x380,0xf8d
    Active IRQ 10 [0x2]
    Active DMA 1,3
    Resources 0
      Priority acceptable
      Port 0x220-0x240, align 0x1f, size 0x10, 16-bit address decoding
      Port 0x530-0x604, align 0xd3, size 0x8, 16-bit address decoding
      Port 0x380-0x3f0, align 0xf, size 0xc, 16-bit address decoding
      Port 0xf8d-0xf8d, align 0x0, size 0x10, 16-bit address decoding
      IRQ 5,7,10 High-Edge
      DMA 0,1,3 8-bit byte-count type-A
      DMA 0,1,3 8-bit byte-count type-A
      Alternate resources 0:1
        Priority acceptable
        Port 0x220-0x240, align 0x1f, size 0x10, 16-bit address decoding
        Port 0x530-0x604, align 0xd3, size 0x8, 16-bit address decoding
        Port 0x380-0x3f0, align 0xf, size 0xc, 16-bit address decoding
        Port 0xf0d-0xf0d, align 0x0, size 0x10, 16-bit address decoding
        IRQ 5,7,10 High-Edge
        DMA 0,1,3 8-bit byte-count type-A
        DMA 0,1,3 8-bit byte-count type-A
      Alternate resources 0:2
        Priority acceptable
        Port 0x220-0x240, align 0x1f, size 0x10, 16-bit address decoding
        Port 0x530-0xff0, align 0x7, size 0x8, 16-bit address decoding
        Port 0x380-0x3f0, align 0xf, size 0xc, 16-bit address decoding
        Port 0xf8d-0xf8d, align 0x0, size 0x10, 16-bit address decoding
        IRQ 5,7,10 High-Edge
        DMA 0,1,3 8-bit byte-count type-A
      Alternate resources 0:3
        Priority acceptable
        Port 0x220-0x240, align 0x1f, size 0x10, 16-bit address decoding
        Port 0x530-0xff0, align 0x7, size 0x8, 16-bit address decoding
        Port 0x380-0x3f0, align 0xf, size 0xc, 16-bit address decoding
        Port 0xf0d-0xf0d, align 0x0, size 0x10, 16-bit address decoding
        IRQ 5,7,10 High-Edge
        DMA 0,1,3 8-bit byte-count type-A
      Alternate resources 0:4
        Priority acceptable
        Port 0x220-0x240, align 0x1f, size 0x10, 16-bit address decoding
        Port 0x530-0xff0, align 0x7, size 0x8, 16-bit address decoding
        Port 0x380-0x3f0, align 0xf, size 0xc, 16-bit address decoding
        Port 0xf0d-0xfed, align 0x1f, size 0x10, 16-bit address decoding
        IRQ 5,7,2/9,10,11 High-Edge
        DMA 0,1,3 8-bit byte-count type-A
        DMA 0,1,3 8-bit byte-count type-A
  Logical device 2 'PNPb02f:Game Port'
    Device is not active
    Resources 0
      Priority preferred
      Port 0x200-0x207, align 0x0, size 0x1, 16-bit address decoding
  Logical device 3 'OPT0002:MPU401'
    Device is active
    Active port 0x300
    Active IRQ 9 [0x2]
    Resources 0
      Priority preferred
      Port 0x300-0x330, align 0xf, size 0x2, 16-bit address decoding
      IRQ 5,7,2/9,10 High-Edge

[root at Baden wei]# more /proc/interrupts
           CPU0
  0:      74492          XT-PIC  timer
  1:       3052          XT-PIC  keyboard
  2:          0          XT-PIC  cascade
  4:       5876          XT-PIC  serial
  5:          0          XT-PIC  usb-uhci
  8:          1          XT-PIC  rtc
  9:          1          XT-PIC  AD1848
 12:        279          XT-PIC  eth0
 14:        632          XT-PIC  ide0
 15:      16241          XT-PIC  ide1
NMI:          0
ERR:          0
[root at Baden wei]# more /proc/dma
 3: AD1848
 4: cascade


Thanks for any help,

Ralf




More information about the Linux-audio-user mailing list