Mandriva Expert
The place where your Mandriva Linux system finds support

Via Tech VT8233 AC97 Sound Controller Card

+/- details
User jdpindynet
Incident Number 27523
Date 2002/07/22 04:35
Status Incident closed
Paid No

Product 8.2
Architecture x86_32
Scope Other Components

Products owned
Community Support question - to convert into a paid question, click here

Lines in bold below have not yet been seen by the customer - those in blue are from the customer

Username : Date : Action : Comments [ close all ]    
 
jdpindynet : 22/07/02 04:35 AM : Incident created
-   I have installed a new mainboard, and need help getting the sound device working. I have compiled alsa 0.9.0rc2 driver, library, and utilities from source, and have installed modules sound and alsasound. Everything seems to work, except no sound comes from the speakers. When I lilo into Windows 98, everything seems to work fine, including system sounds, Real Audio, and WinAmp. I have read the Linux and ALSA How To files, and am at wits end.

My mainboard is an MSI KT3 Ultra-ARU. The sound device is mapped onto the PCI bus at 00:11:5 and reports vendor 1106, chip 3059, subv 1462, and subd 4720. The PCI vendor and device lists this as a VIA Technologies VT8233 AC97 Sound Controller. The kernel has loaded via82cxxx_audio module.

I see there is a criptic message at http://www.linux-mandrake.com/en/hard-details.php3?F_TYPE=mother&F_ID=1240 that says "boot with this following command and add this line in lilo : linux nobiospnp" which I can read, but can not understand :).

Any guidance would be appreciated.

John Phillips
jdpindynet
[email protected]

 
Linegod_7611 : 22/07/02 05:24 AM : Reply received
-   When you see the LILO splash screen, hit 'ESC' and then type that command 'linux
nobiospnp'

If this works, you can add the command to your appends statement in /etc/lilo.conf,
and then reload LILO by typing '/sbin/lilo'.

--------
Note: If this answer resolves your problem, please remember to close this incident.

 
tzenko_2387 : 22/07/02 05:47 AM : Reply received
-   and please check your audio mixer: K->Multimedia->Sound->aumix(or SoundMixer)
By default on many systems all volumes are "0".
And close incident if that helps (and rate experts). If not- write again.

 
jdpindynet : 22/07/02 12:17 PM : More info provided
-   I hit esc at the lilo splash screen, then entered 'linux nobiospnp' at the boot: prompt. Linux proceeded to boot normally. I noticed no differences between the syslog file that resulted, and still there is no sound.

I am attaching the result of 'cat /var/log/syslog |grep sound' in the attached file.


Attachment
 
jdpindynet : 22/07/02 12:29 PM : More info provided
-   I'm sorry, but I'm new enough to Mandrake that K-> means nothing to me. Can you be more specific?

Thanks,

John

 
jdpindynet : 22/07/02 01:21 PM : More info provided
-   OK, I figured out what you meant. Since I'm running the Gnome desktop instead of KDE, it's actually G->Multimedia->Sound->Audio Mixer. The thing I notice is that the left most control, which looks like it would be for the 'master volume control' is labeled 'unknown' at the top. It appears the sound device is unknown? It is not muted though. Unknown is the same name that Harddrake knowns my sound card by. Is this a clue?

John

 
tzenko_2387 : 22/07/02 03:26 PM : Reply received
-   Ooops. I found something here:
http://www.mandrakeforum.com/article.php?sid=1491&lang=en
Please check and write result

 
jdpindynet : 23/07/02 03:16 AM : More info provided
-   When I added the indicated lines to /etc/modules.conf ...

# ALSA native device support
alias char-major-116 snd
alias snd-card-0 snd-card-via8233

# OSS/Free setup
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss

The kernel panicked during the next boot up following the installation of snd-card-via8233, complaining about irg's not being handled properly. It then dumped core and stopped. I booted up my rescue disk, placed #'s infront of each line, and then linux started normally.

I notice there is already a line ...

alias snd-slot-0 via82cxxx_audio

in the file, that seems to conflict with ...

alias snd-slot-0 snd-card-0

I tried removing the snd-slot-0 via82cxxx_audio line, but to no avail, the kernel panicked at the same point with the same complaint. I thought I would be able to copy the lines from /var/log/syslog, and show you exactly what the complaint was, but the log daeman apparently wasn't started yet, so there is nothing there. If it's important, I can recreate the problem and copy the core dump down by hand and pass it along.

OK, on the plus side, I now know what a kernel panic is, and I know how to use my rescue disk. On the minus side, still no sound, except for the Bill Gates Flurish as Windows starts up!

Thanks for your help so far. If I were you, I would be heading for the exits. Maybe you will be kind enough to help me through this.

John
[email protected]

 
tzenko_2387 : 23/07/02 09:06 AM : Reply received
-   Can you explain me "heading for the exits"? What this mean with other words?

 
jdpindynet : 23/07/02 02:15 PM : More info provided
-   It means I would not blame you if you gave up on me and my problem. Ha!

 
tzenko_2387 : 23/07/02 03:27 PM : Reply received
-   OK , than I continue. Do yoyu mention in this link, that people complain
about different names of sound module for 8233 and that difference depends
what version alsa they use? the names mention there were: snd-via8233 ,
snd-card-via8233 , ...
can you check what you have now? via82cxxx_audio I have on mine with standart
alsa (mdk 8.2)

 
tzenko_2387 : 23/07/02 03:35 PM : Reply received
-   on alsa site I found via686a, via8233. Just change via82cxxx_audio and see
what'll happen. http://www.alsa-project.org/~goemon/
And don't forget that all we are volunteers and unfortunatelly I don't have
all types of existing sound cards and other hardware ... :(

 
jdpindynet : 24/07/02 06:45 AM : More info provided
-   OK, here is the status tonight. I have made progress, but still can not get sound out of the box while running linux, and have confirmed again that the hardware all works in windows. Just for information, here is the windows hardware manager settings.

Avance AC'97 Audio For Via 8233 Audio Controller
IRQ 05
I/O Range D0000-D0FF

Avance SB Emulation
I/O Range 0220-022F
I/O Range 0330-0331
DMA 01

It appears that to keep my computer from dumping core, I need both driver modules installed. I have found that via82cxxx_audio and snd-card-via8233 will both load and not crash, either when I modprobe via82cxxx_audio or modprobe snd-card-via8233, or at boot up. Either one by itself seems to lead to crash. Both together leads to no crash. Here is my /etc/modules.conf file ...

alias usb-interface usb-ohci
probeall scsi_hostadapter ide-scsi
alias usb-interface1 usb-uhci
alias usb-interface2 usb-uhci
alias eth0 tulip
alias snd-slot-0 via82cxxx_audio
options sb io=0x220 irq=0x05 dma=0x01 mpu_io=0x330

# ALSA native device support
alias char-major-116 snd
alias snd-card-0 snd-card-via8233

# OSS/Free setup
alias char-major-14 soundcore
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss


I added the options sb io=0x220 irq=0x05 dma=0x01 mpu_io=0x330 line to over ride a similar line that appeared when i used modprobe -c to see what was configured. The line that appeared though had irq=9, which was not right. I do not know if this is doing anything or not.

I also took out the line that said alias snd-slot-0 snd-card 0, since it seemed to be over riding the alias snd-slot-0 via82cxxx_audio line.

What should I do next?

Thank you so much for your help so far.

John

 
tzenko_2387 : 24/07/02 06:57 AM : Reply received
-   and when you run "lsmod" all modules appear? about irq 5 or 9 , you can check
with lspci , but if in win wworks with 5 ...
do you check for other modules for your card? via8233 or something like that?
do you check again your audiomixer?

 
jdpindynet : 24/07/02 07:52 AM : More info provided
-   This is my /etc/modules.conf file as it is now ...

# USB setup
alias usb-interface usb-ohci
alias usb-interface1 usb-uhci
alias usb-interface2 usb-uhci

# SCSI support
probeall scsi_hostadapter ide-scsi

# Network Card setup
alias eth0 tulip

# ALSA native device support
alias snd-card-0 snd-card-via8233
post-install snd-card-0 snd-pcm-oss
alias snd-slot-0 snd-card-via8233
alias char-major-116 snd

# OSS/Free setup
alias char-major-14 soundcore
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss

This is the result of lsmod ...

Module Size Used by Not tainted
sr_mod 15160 0 (autoclean)
snd-seq-oss 25600 0 (unused)
snd-seq-midi-event 3184 0 [snd-seq-oss]
snd-seq 40880 0 [snd-seq-oss snd-seq-midi-event]
snd-seq-device 3948 0 [snd-seq-oss snd-seq]
snd-pcm-oss 18816 0
snd-pcm-plugin 16080 0 [snd-pcm-oss]
snd-mixer-oss 4704 0 [snd-pcm-oss]
snd-card-via8233 5920 0
snd-ac97-codec 24896 0 [snd-card-via8233]
snd-mixer 24328 0 [snd-mixer-oss snd-ac97-codec]
snd-pcm 31616 0 [snd-pcm-oss snd-pcm-plugin snd-card-via8233]
snd-timer 8576 0 [snd-seq snd-pcm]
snd 34272 1 [snd-seq-oss snd-seq-midi-event snd-seq snd-seq-device snd-pcm-oss snd-pcm-plugin snd-mixer-oss snd-card-via8233 snd-ac97-codec snd-mixer snd-pcm snd-timer]
soundcore 4068 4 [snd]
nfsd 69536 8 (autoclean)
lockd 49344 1 (autoclean) [nfsd]
sunrpc 62964 1 (autoclean) [nfsd lockd]
af_packet 12488 0 (autoclean)
ibmcam 40352 0
usbvideo 23592 0 [ibmcam]
videodev 4896 1 [usbvideo]
usb-uhci 21668 0 (unused)
usb-ohci 19072 0 (unused)
usbcore 59072 1 [ibmcam usbvideo usb-uhci usb-ohci]
tulip 40416 1 (autoclean)
nls_iso8859-1 2816 1 (autoclean)
nls_cp850 3584 1 (autoclean)
vfat 9788 1 (autoclean)
fat 31384 0 (autoclean) [vfat]
supermount 62180 3 (autoclean)
ide-scsi 8032 0
scsi_mod 92488 2 [sr_mod ide-scsi]
rtc 5912 0 (autoclean)
ext3 62092 3
jbd 39356 3 [ext3]

This is the result of lspci ...

00:00.0 Host bridge: VIA Technologies, Inc. VT8367 [KT266]
00:01.0 PCI bridge: VIA Technologies, Inc. VT8367 [KT266 AGP]
00:05.0 VGA compatible controller: Silicon Integrated Systems [SiS]: Unknown device 0300 (rev 90)
00:06.0 Ethernet controller: Linksys Network Everywhere Fast Ethernet 10/100 model NC100 (rev 11)
00:0b.0 USB Controller: NEC Corporation USB (rev 41)
00:0b.1 USB Controller: NEC Corporation USB (rev 41)
00:0b.2 USB Controller: NEC Corporation: Unknown device 00e0 (rev 02)
00:0c.0 RAID bus controller: Promise Technology, Inc.: Unknown device 5275 (rev 01)
00:11.0 ISA bridge: VIA Technologies, Inc.: Unknown device 3147
00:11.1 IDE interface: VIA Technologies, Inc. Bus Master IDE (rev 06)
00:11.2 USB Controller: VIA Technologies, Inc. UHCI USB (rev 23)
00:11.3 USB Controller: VIA Technologies, Inc. UHCI USB (rev 23)
00:11.5 Multimedia audio controller: VIA Technologies, Inc. AC97 Audio Controller (rev 40)
00:00.0 Class 0600: 1106:3099

And this is the result of lspci -d (to show device numbers to help id them).

00:01.0 Class 0604: 1106:b099
00:05.0 Class 0300: 1039:0300 (rev 90)
00:06.0 Class 0200: 1317:0985 (rev 11)
00:0b.0 Class 0c03: 1033:0035 (rev 41)
00:0b.1 Class 0c03: 1033:0035 (rev 41)
00:0b.2 Class 0c03: 1033:00e0 (rev 02)
00:0c.0 Class 0104: 105a:5275 (rev 01)
00:11.0 Class 0601: 1106:3147
00:11.1 Class 0101: 1106:0571 (rev 06)
00:11.2 Class 0c03: 1106:3038 (rev 23)
00:11.3 Class 0c03: 1106:3038 (rev 23)
00:11.5 Class 0401: 1106:3059 (rev 40)

 
jdpindynet : 24/07/02 07:56 AM : More info provided
-   I should have mentioned I got the post-install line from here.

http://www.mandrakesoft.com/out/hardware/pdf/8.2/ MSI/K7T266/PRO2/MSI_K7T266-PRO2.pdf

Thanks again for your help.

John

 
tzenko_2387 : 24/07/02 09:02 AM : Reply received
-   all looks that you have to have sound.... :(
can you provide me result from "aumix -q"

 
jdpindynet : 25/07/02 03:17 AM : More info provided
-   The output of aumix -q is ...

vol 100, 100, P
pcm 100, 100
speaker 100, 100
line 100, 100, P
mic 50, 50, R
cd 100, 100, P
igain 100, 100
line1 100, 100, P
line2 100, 100, P
phin 100, 100, P
video 100, 100, P

 
tzenko_2387 : 25/07/02 04:15 PM : Reply received
-   all that I can say is that it have to work. what type of speakers you have?
Can you remove the second(repeating) line "alias snd-slot-0 snd-card-via8233"
just after "postinstall ..."line.

 
jdpindynet : 27/07/02 01:37 AM : More info provided
-   I have some cheap speakers, but they work fine in windows 98. I don't think my problem is with my hardware, I think it is a configuration issue, probably some dumb mistake my first time setting it up. It is getting frustrating though.

I have removed the rc2 alsa drivers, and replaced them with 0.5.12a stable versions. This seems to have backed me up on some of the utilities as well. I have been sucessful replacing the via8233 driver with via82cxxx_audio. (If I take everything about sound out of /etc/modules.conf, this is the driver that gets added at bootup, I think it is being chosen by harddrake, but I may be wrong in that). Now every sound program seems to run, but produces no sound. Here is the latest output from aumixer -q ...

vol 100, 100
pcm 100, 100
speaker 100, 100
line 100, 100, P
mic 100, 100, P
cd 100, 100, R
igain 100, 100, P
line1 100, 100, P
phin 100, 100, P
phout 100, 100
video 100, 100, P

This is the latest result from lsmod ...

Module Size Used by Not tainted
isofs 25792 1 (autoclean)
inflate_fs 19328 0 (autoclean) [isofs]
sr_mod 15160 2 (autoclean)
via82cxxx_audio 18144 2
uart401 6336 0 [via82cxxx_audio]
ac97_codec 9568 0 [via82cxxx_audio]
sound 57292 0 [via82cxxx_audio uart401]
snd 34272 1
soundcore 4068 4 [via82cxxx_audio sound snd]
af_packet 12488 0 (autoclean)
ibmcam 40352 0
usbvideo 23592 0 [ibmcam]
videodev 4896 1 [usbvideo]
usb-uhci 21668 0 (unused)
usb-ohci 19072 0 (unused)
usbcore 59072 1 [ibmcam usbvideo usb-uhci usb-ohci]
tulip 40416 1 (autoclean)
nls_iso8859-1 2816 2 (autoclean)
nls_cp850 3584 1 (autoclean)
vfat 9788 1 (autoclean)
fat 31384 0 (autoclean) [vfat]
supermount 62180 3 (autoclean)
ide-scsi 8032 1
scsi_mod 92488 2 [sr_mod ide-scsi]
rtc 5912 0 (autoclean)
ext3 62092 2
jbd 39356 2 [ext3]

And this is the output from lspci ...

00:00.0 Host bridge: VIA Technologies, Inc. VT8367 [KT266]
00:01.0 PCI bridge: VIA Technologies, Inc. VT8367 [KT266 AGP]
00:05.0 VGA compatible controller: Silicon Integrated Systems [SiS]: Unknown device 0300 (rev 90)
00:06.0 Ethernet controller: Linksys Network Everywhere Fast Ethernet 10/100 model NC100 (rev 11)
00:0b.0 USB Controller: NEC Corporation USB (rev 41)
00:0b.1 USB Controller: NEC Corporation USB (rev 41)
00:0b.2 USB Controller: NEC Corporation: Unknown device 00e0 (rev 02)
00:0c.0 RAID bus controller: Promise Technology, Inc.: Unknown device 5275 (rev 01)
00:11.0 ISA bridge: VIA Technologies, Inc.: Unknown device 3147
00:11.1 IDE interface: VIA Technologies, Inc. Bus Master IDE (rev 06)
00:11.2 USB Controller: VIA Technologies, Inc. UHCI USB (rev 23)
00:11.3 USB Controller: VIA Technologies, Inc. UHCI USB (rev 23)
00:11.5 Multimedia audio controller: VIA Technologies, Inc. AC97 Audio Controller (rev 40)

This is the contents of /proc/asound/sndstat ...

Sound Driver:3.8.2-980706 (ALSA v0.5.12a emulation code)
Kernel: Linux tsquare 2.4.18-6mdk #1 Fri Mar 15 02:59:08 CET 2002 i686
Config options: 0

Installed drivers:
Type 10: ALSA emulation

Card config:
--- no soundcards ---

Audio devices: NOT ENABLED IN CONFIG

Synth devices: NOT ENABLED IN CONFIG

Midi devices: NOT ENABLED IN CONFIG

Timers: NOT ENABLED IN CONFIG

Mixers: NOT ENABLED IN CONFIG

What does "NOT ENABLED IN CONFIG" mean that I haven't done?

Thanks for your help!

John

 
jdpindynet : 27/07/02 06:44 PM : More info provided
-   I was able to get my sound card working by using the instructions at http://www.viaarena.com/?PageID=88#audio

It turns out neither via82cxxx_audio nor snd-card-via8233 can make sound come out of the card, even though they load and appear to work. This is discribed very well on the www.viaarena.com web site.

Thanks for all you help and patience during the last few days.

John

 
 
jdpindynet : 27/07/02 06:47 PM : Incident closed
-   tzenko stuck with me through thick and thin. even though i am new to mandrake, he walked me through the problem very well. thanks to both Linegod and tzenko.

John



This Incident is closed. It can not be edited anymore. You can create a new one by signing up/logging in your Mandriva Expert account.

  Mandriva  |  Contact  |  Legal  |  Privacy  |  Careers