Skip to contentSkip to conversation

AZT1008 on HP Vectra VL6

DISCUSSION Ofer Achler 2 participants 4 messages Nov 25, 2002 – Nov 27, 2002 Sound

lore
Share & tools
lore
#0 lore raw

I have a couple of old PII HP vectra machines with this sound card.

(Redhat 8.0)
Sndconfig will see it but the kernel module will not admit that the card exists:

Nov 25 10:32:19 newthird kernel: ad1848/cs4248 codec driver Copyright
(C) by Hannu Savolainen 1993-1996
Nov 25 10:32:19 newthird kernel: ad1848: No ISAPnP cards found, trying

standard ones...

I tried to manually set the configuration via /proc/isapnp and set the module parameters by hand via insmod (insmod ad1848 ioS4 irq=5 dma=1 dma2=3), it doesnt work.

Tried via sndconfig, still doesnt work...

Any ideas?

Here's the current output (after manually making the card activate in isapnp) of /proc/isapnp:

Card 1 'AZT1008:AZT1008 PnP SOUND DEVICE' PnP version 1.0 Product version 0.3
Logical device 0 'AZT0500:IDE CDROM DISABLED'

    Supported registers 0x2
    Device is not active
    Resources 0
      Priority preferred
      Port 0x0-0x0, align 0x7, size 0x0, 16-bit address decoding
      Port 0x0-0x0, align 0x1, size 0x0, 16-bit address decoding
      IRQ <none> High-Edge
  Logical device 1 'AZT1008:AUDIO'
    Supported registers 0x2
    Device is active
    Active port 0x220,0x388,0x534
    Active IRQ 5 [0x2]
    Active DMA 1,3
    Resources 0
      Priority preferred
      Port 0x220-0x220, align 0xf, size 0x10, 16-bit address decoding
      Port 0x388-0x388, align 0x7, size 0x8, 16-bit address decoding
      Port 0x534-0x534, align 0x3, size 0x4, 16-bit address decoding
      IRQ 5 High-Edge
      DMA 1 8-bit byte-count compatible
      DMA 3 8-bit byte-count compatible
      Alternate resources 0:1
        Priority acceptable
        Port 0x220-0x240, align 0x1f, size 0x10, 16-bit address decoding
        Port 0x388-0x388, align 0x7, size 0x8, 16-bit address decoding
        Port 0x534-0x608, align 0xd3, size 0x4, 16-bit address decoding
        IRQ 5,2/9,10 High-Edge
        DMA 0,1,3 8-bit byte-count compatible
        DMA 0,1,3 8-bit byte-count compatible
      Alternate resources 0:2
#1 lore raw
Quoted 9 lines · Ofer Achler

I have a couple of old PII HP vectra machines with this sound card.

(Redhat 8.0)
Sndconfig will see it but the kernel module will not admit that the card exists:

Nov 25 10:32:19 newthird kernel: ad1848/cs4248 codec driver Copyright
(C) by Hannu Savolainen 1993-1996
Nov 25 10:32:19 newthird kernel: ad1848: No ISAPnP cards found, trying

standard ones...

You're sure it can be supported by ad1848?

Quoted 5 lines

Here's the current output (after manually making the card activate in isapnp) of /proc/isapnp:

Card 1 'AZT1008:AZT1008 PnP SOUND DEVICE' PnP version 1.0 Product version 0.3

Might be a simple matter of ISA pnp ids, but then again the ad1848 probe should have picked it up regardless. What does /proc/ioports and /proc/interrupts and dmesg say after the module load?

Zwane

Signature · 1 line
function.linuxpower.ca
#2 lore raw
In reply to Ofer Achler
Quoted 2 lines · Zwane Mwaikambo

You're sure it can be supported by ad1848?

Pretty sure =) as far as i can tell via google (also, sndconfig by default used ad1848, so it's listed somewhere)

Quoted 3 lines

Might be a simple matter of ISA pnp ids, but then again the ad1848 probe should have picked it up regardless. What does /proc/ioports and /proc/interrupts and dmesg say after the module load?

first off, when i use sndconfig, this is the error it gives:
sndconfig says:

     # /lib/modules/2.4.18-18.8.0/kernel/drivers/sound/ad1848.o:        
# 
     # init_module: No such device                                      
# 
     # /lib/modules/2.4.18-18.8.0/kernel/drivers/sound/ad1848.o:        
# 
     # insmod /lib/modules/2.4.18-18.8.0/kernel/drivers/sound/ad1848.o  
# 
     # failed                                                           
# 
     # /lib/modules/2.4.18-18.8.0/kernel/drivers/sound/ad1848.o:        
# 
     # insmod sound-slot-0 failed  

when i insmod manually:

dmesg says:
ad1848/cs4248 codec driver Copyright (C) by Hannu Savolainen 1993-1996
ad1848: No ISAPnP cards found, trying standard ones...

its not listed under interrupts, but heres the output:
CPU0

  0:   46137052          XT-PIC  timer
  1:          4          XT-PIC  keyboard
  2:          0          XT-PIC  cascade
  8:          1          XT-PIC  rtc
 10:    1130131          XT-PIC  usb-uhci, eth1
 11:     500694          XT-PIC  eth0
 14:      44411          XT-PIC  ide0
 15:      18853          XT-PIC  ide1
NMI:          0 
ERR:          0

It's not listed under ioports either:

0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0070-007f : rtc
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
0213-0213 : isapnp read
0376-0376 : ide1
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial(auto)
0a79-0a79 : isapnp write
0cf8-0cff : PCI conf1
8000-803f : Intel Corp. 82371AB/EB/MB PIIX4 ACPI 8800-881f : Intel Corp. 82371AB/EB/MB PIIX4 ACPI fc00-fc7f : 3Com Corporation 3c900B-TPO [Etherlink XL TPO]
fc00-fc7f : 00:0c.0
fca0-fcbf : Intel Corp. 82371AB/EB/MB PIIX4 USB
fca0-fcbf : usb-uhci
fcd0-fcdf : Intel Corp. 82371AB/EB/MB PIIX4 IDE
fcd0-fcd7 : ide0
fcd8-fcdf : ide1
fce0-fcff : Intel Corp. 82557/8/9 [Ethernet Pro 100]
fce0-fcff : eepro100

Here's the relevant output of lsmod:

ad1848                 28588   0  (unused)
sound                  74388   0  [ad1848]
soundcore               6532   2  [sound]

Thank you for helping me =) i've been stuck on this for a while now and i know i've got to be close...

-- Ofer Achler
[email protected]

#3 lore raw
In reply to Ofer Achler

Could you please try this? Looking at your ioports it certainly does look like an WSS compatible card. The patch is against 2.4.20-rc1-ac4 but if you have trouble applying tell me which kernel you'd like it against.

Cheers,
Zwane

Index: linux-2.4.20-rc1-ac4/drivers/sound/ad1848.c =================================RCS file: /build/cvsroot/linux-2.4.20-rc1-ac4/drivers/sound/ad1848.c,v retrieving revision 1.1.1.1

drivers/sound/ad1848.c +6 -0
diff -u -r1.1.1.1 ad1848.c
@@ -2969,6 +2969,10 @@
         	ISAPNP_ANY_ID, ISAPNP_ANY_ID,
 		ISAPNP_VENDOR('Y','M','H'), ISAPNP_FUNCTION(0x0021),
                 1, 0, 0, 1, 1},
+	{"AZT1008",
+		ISAPNP_ANY_ID, ISAPNP_ANY_ID,
+		ISAPNP_VENDOR('A','Z','T'), ISAPNP_FUNCTION(0x0001),
+		1, 0, 0, 1, 1},
 	{0}
 };
 
@@ -2981,6 +2985,8 @@
 		ISAPNP_VENDOR('C','S','C'), ISAPNP_FUNCTION(0x0100), 0 },
         {       ISAPNP_ANY_ID, ISAPNP_ANY_ID,
 		ISAPNP_VENDOR('Y','M','H'), ISAPNP_FUNCTION(0x0021), 0 },
+	{	ISAPNP_ANY_ID, ISAPNP_ANY_ID,
+		ISAPNP_VENDOR('A','Z','T'), ISAPNP_FUNCTION(0x0001), 0 },
 	{0}
 };
 
Signature · 1 line
function.linuxpower.ca