LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   HP Vectra VL w/ AZT1008 Won't work... (https://www.linuxquestions.org/questions/linux-hardware-18/hp-vectra-vl-w-azt1008-wont-work-91336/)

Zippy24 09-10-2003 02:44 PM

HP Vectra VL w/ AZT1008 Won't work...
 
Help Please!!

I am new to Linux. I decided my old HP wasn't running well with Windows 2k so I installed Mandrake 9.1. I love it. Linux is better than I thought, although I have tried everything I have read online to get my soundcard to work.

When I boot up I get..

device /dev/dsp can't be opened

I have installed isapnptools and configured the isapnp.conf file.

I also installed that sndconfig program and that didn't locate the card but located only AZT1008 PnP ISA GAME PORT on the card? Then even when I try to configure that it doesn't work. I get this:

? The following error occurred running the modprobe program: ?
? ?
? /lib/modules/2.4.21-0.13mdk/kernel/drivers/sound/ad1848.o. ?
? gz: init_module: No such device ?
? modprobe: insmod ?
? /lib/modules/2.4.21-0.13mdk/kernel/drivers/sound/ad1848.o. ?
? gz failed ?
? modprobe: insmod sound-slot-0 failed

I did a dmesg |less and found these parts in it that appear to be related to this issue:

Activating ISA DMA hang workarounds.
isapnp: Scanning for PnP cards...
isapnp: Card 'AZT1008 PnP SOUND DEVICE'
isapnp: Card '33.6Modem'
isapnp: 2 Plug & Play cards detected total

and then later on in it this:

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

Can you please help me?! I would just like to get some sound coming out of my machine. If you need anymore information please let me know. I am still learning but I will do my best to get it for you if you tell me how.

akaBeaVis 09-26-2003 05:32 PM

For starters, make sure PnP is turned *off* in your bios setup screen, then try those things again.

timo-l 09-28-2003 12:56 AM

I have exactly the same situation:
- my computer is HP Vectra
- soundcard is identified as 'AZT1008'
- using Mandrake Linux 9.1 (kernel 2.4.21-0.13mdk)
- 'sndconfig' results in the same error
(and a new Linux user)

turning the PnP-support off in BIOS didn't have any effects.

the bug is known, see:
http://bugzilla.redhat.com/bugzilla/...g.cgi?id=88847

my problem:

- didn't quite understand is there a released linux-version containing this bugfix
(redhat-bugzilla comment: "..[the fix] is now merged into 2.4.21pre7-ac2 test tree.")

- if there isn't such a release yet, don't know how to apply the proposed fix (i.e. change 'ad1848.c') myself
(compiling the kernel is a bit too much for me)


what to do?

geoff_f 09-28-2003 03:10 AM

An article on kernel patches here:

http://lwn.net/Articles/37829/

lists (in Linux 2.4.21pre7-ac2) adding AZT1008 PnP identifiers to ad1848. This is dated 25 Jun 03.

My kernel version - 2.4.21-0.25mdk - has a file in /usr/src/linux/drivers/sound called ad1848.c and is dated 25 Jul 03. The prospects are therefore good for the AZT1008 card to work in kernel 2.4.21-0.25mdk. It would seem that the only way to get this sound card to work is to upgrade the kernel. More info about the updated kernel here:

http://www.mandrakesecure.net/en/adv...KSA-2003:066-2

You would have to download the kernel sources, compile the new kernel and install it. A very good reference for compiling the kernel is here:

http://www.tldp.org/HOWTO/Kernel-HOWTO/index.html

timo-l 09-28-2003 11:48 AM

thanks for the help, I managed to upate my kernel to version '2.4.21-0.25mdk'
(rpm-installation worked, didn't have to compile anything)

however, the 'sndconfig' still throws the same error message.

so , I guess my options are (?):
a) wait for a new Mandrake release
b) apply the patch to the source code myself and compile kernel.


.timo

geoff_f 09-28-2003 03:31 PM

I suppose they are your only options. At least you haven't lost anything - the 2.4.21-0.25mdk kernel is a security release, so you have the security patch applied to your computer, if that's some consolation.

timo-l 09-29-2003 12:09 PM

the kernel-update was a great thing, I learned how to do it, which is a very useful skill for the future..

however, I got more problems..

I looket at the source-code in '/drivers/sound/ad1848.c' of kernel versions '2.4.21-0.13.mdk' and '2.4.21-0.25.mdk'. in both versions, the file already contains the bugfix suggested for the bug-88847. (http://bugzilla.redhat.com/bugzilla/...g.cgi?id=88847)

since I'm running '2.4.21-0.25.mdk', the fix doesn't work, for me at least..

so now there's no hope that the soundcard problem could be fixed.. what can I do?

geoff_f 09-30-2003 07:06 AM

What do you get when you enter the command (as root):

uname -r

timo-l 09-30-2003 11:18 AM

"
[root@localhost timo]# uname -a
Linux localhost 2.4.21-0.25mdk #1 Thu Jul 24 13:10:52 MDT 2003 i686 unknown unkn own GNU/Linux

[root@localhost timo]# uname -r
2.4.21-0.25mdk
"

geoff_f 09-30-2003 03:47 PM

OK, that seems in order; I was just checking that the kernel upgrade took hold. So it would seem that your sound card should work, but something is still not set correctly to let it work. Post the output of:

lspci -v

This gives detailed info about each device on the pci bus, including their IRQs.

timo-l 10-01-2003 03:17 PM

nothing related to the sound card..
"
[root@localhost /]# lspci -v
00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 02)
Flags: bus master, medium devsel, latency 64
Memory at e4000000 (32-bit, prefetchable) [size=64M]
Capabilities: [a0] AGP version 1.0

00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 02) (prog-if 00 [Normal decode])
Flags: bus master, 66Mhz, medium devsel, latency 64
Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
I/O behind bridge: 0000c000-0000cfff
Memory behind bridge: ebe00000-efefffff
Prefetchable memory behind bridge: dfc00000-e3cfffff

00:07.0 ISA bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02)
Flags: bus master, medium devsel, latency 0

00:07.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01) (prog-if 80 [Master])
Flags: bus master, medium devsel, latency 64
I/O ports at ffa0 [size=16]

00:07.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01) (prog-if 00 [UHCI])
Flags: bus master, medium devsel, latency 64, IRQ 10
I/O ports at de00 [size=32]

00:07.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 02)
Flags: medium devsel, IRQ 9

00:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
Subsystem: Realtek Semiconductor Co., Ltd. RT8139
Flags: bus master, medium devsel, latency 64, IRQ 9
I/O ports at dc00 [size=256]
Memory at efffff00 (32-bit, non-prefetchable) [size=256]
Expansion ROM at effe0000 [disabled] [size=64K]
Capabilities: [50] Power Management version 2

01:00.0 VGA compatible controller: 3Dfx Interactive, Inc. Voodoo 3 (rev 01) (prog-if 00 [VGA])
Subsystem: 3Dfx Interactive, Inc. Voodoo3 3500 TV (PAL)
Flags: 66Mhz, fast devsel, IRQ 9
Memory at ec000000 (32-bit, non-prefetchable) [size=32M]
Memory at e0000000 (32-bit, prefetchable) [size=32M]
I/O ports at cc00 [size=256]
Expansion ROM at efef0000 [disabled] [size=64K]
Capabilities: [54] AGP version 1.0
Capabilities: [60] Power Management version 1
"

here's a few listings more, if they would help:
"
[root@localhost proc]# cat dma
4: cascade
[root@localhost proc]# cat ioports
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
02f8-02ff : serial(auto)
0376-0376 : ide1
0378-037a : parport0
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial(auto)
0400-043f : Intel Corp. 82371AB/EB/MB PIIX4 ACPI
0440-045f : Intel Corp. 82371AB/EB/MB PIIX4 ACPI
0a79-0a79 : isapnp write
0cf8-0cff : PCI conf1
c000-cfff : PCI Bus #01
cc00-ccff : 3Dfx Interactive, Inc. Voodoo 3
dc00-dcff : Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+
dc00-dcff : 8139too
de00-de1f : Intel Corp. 82371AB/EB/MB PIIX4 USB
de00-de1f : usb-uhci
ffa0-ffaf : Intel Corp. 82371AB/EB/MB PIIX4 IDE
ffa0-ffa7 : ide0
ffa8-ffaf : ide1
[root@localhost proc]# cat interrupts
CPU0
0: 41189 XT-PIC timer
1: 753 XT-PIC keyboard
2: 0 XT-PIC cascade
8: 1 XT-PIC rtc
9: 455 XT-PIC eth0
10: 0 XT-PIC usb-uhci
12: 15185 XT-PIC PS/2 Mouse
14: 11252 XT-PIC ide0
15: 33 XT-PIC ide1
NMI: 0
LOC: 41152
ERR: 0
MIS: 0
"

and thank you very much for your efforts.


.timo

geoff_f 10-02-2003 07:08 AM

I found something which might help:

http://www.redhat.com/archives/sound.../msg00025.html

This is a two-part post where Joo Yong outlines steps 1 to 11, followed by a post by Jim Kaufman with extra steps to try after those. Step 7 is changing a file from one configuration to another; thought I'd point that out, as it wasn't clear to me at first. HTH.

geoff_f 10-02-2003 07:25 AM

I forgot to mention the output of lspci -v. I would have expected to see your sound card mentioned there, so another possibility is that the BIOS is not detecting it in the first place, or that Linux is not running with it when it is detected. Is your computer dual-boot? If so, does this sound card work with the other OS? I'm trying to eliminate hardware-related causes.

In the same vein, is the sound card a PCI plug-in one, or is it on-board? Do you have an AGP card for your video, or is the video/graphics on-board? The reason I ask these questions is that, with a plug-in AGP card, some sound cards can't be plugged into the PCI slot next to the AGP slot, as the sound card will not work in that slot. If your setup is like that, try moving the sound card away from PCI slot 1. (grasping at straws here).

timo-l 10-02-2003 09:21 AM

the sound card, 'AZT1008', is a ISA PnP-card.

I have a dual-boot, and the card works with Win98 (and previously with Win95).

My graphics+videa card is Voodoo 3500 TV, an AGP card, not on board.

Mandrake installation instructions tell you to turn your PnP-support off from the BIOS before installing. I turned PnP off only after installation, when problems occured, but I don't believe that such a thing could cause problems..

thanks for the 'Joo Yong'-post tip, I will looking into that next.

geoff_f 10-02-2003 03:44 PM

PnP is an important issue for Linux, and it does cause problems with some motherboards. When PnP is set to 'On' in the BIOS, device detection is left to the OS - the BIOS does not do it. Linux is not a PnP OS, so it needs the BIOS to perform device detection for it. That is why it is important for most Linuxes to have PnP support disabled in the BIOS.

Have you tried Mandrake Control Center to see if the card is detected properly? It may be useful to see what is shown there. Try the MCC icon in the task bar - it's the little screen with the spanner at the bottom left corner. Select MCC->Hardware->HardDrake.


All times are GMT -5. The time now is 03:30 AM.