PDA

View Full Version : VIA 8237 AC97 Audio not working in FC4


musicalDuck
2005-07-29, 12:56 PM CDT
Hi!

I am am having some trouble with my sound card (onboard via 8237, or so I think). I know it works because the first time I installed fedora core 4 it played test sound in the installation.

For some reason it stopped working when I reinstalled FC4 (messed around alot to get atheros wifi running for my kernel and thought I'd better undo any damage before I start working :) )

I installed all the audio packages from the cd's just to be sure but no change.

I have gone thought all the alsa mixer settings and made sure nothing is muted. I have also toggled the troublesome external amplifier setting a couple of times.

Here are some helpful hints:

/sbin/lspci -v
00:00.0 Host bridge: VIA Technologies, Inc. P4M266 Host Bridge
Subsystem: VIA Technologies, Inc. P4M266 Host Bridge
Flags: bus master, 66Mhz, medium devsel, latency 8
Memory at e8000000 (32-bit, prefetchable) [size=64M]
Capabilities: [a0] AGP version 2.0
Capabilities: [c0] Power Management version 2

00:01.0 PCI bridge: VIA Technologies, Inc. VT8633 [Apollo Pro266 AGP] (prog-if 00 [Normal decode])
Flags: bus master, 66Mhz, medium devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
Memory behind bridge: ec000000-ec0fffff
Prefetchable memory behind bridge: e0000000-e7ffffff
Capabilities: [80] Power Management version 2

00:06.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)
Subsystem: Atheros Communications, Inc.: Unknown device 2027
Flags: bus master, medium devsel, latency 168, IRQ 10
Memory at ec100000 (32-bit, non-prefetchable) [size=64K]
Capabilities: [44] Power Management version 2

00:0f.0 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06) (prog-if 8a [Master SecP PriP])
Subsystem: VIA Technologies, Inc. VT82C586/B/VT82C686/A/B/VT8233/A/C/VT8235 PIPC Bus Master IDE
Flags: bus master, medium devsel, latency 32, IRQ 11
I/O ports at e000 [size=16]
Capabilities: [c0] Power Management version 2

00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81) (prog-if 00 [UHCI])
Subsystem: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
Flags: bus master, medium devsel, latency 32, IRQ 11
I/O ports at e100 [size=32]
Capabilities: [80] Power Management version 2

00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81) (prog-if 00 [UHCI])
Subsystem: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
Flags: bus master, medium devsel, latency 32, IRQ 11
I/O ports at e200 [size=32]
Capabilities: [80] Power Management version 2

00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81) (prog-if 00 [UHCI])
Subsystem: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
Flags: bus master, medium devsel, latency 32, IRQ 10
I/O ports at e300 [size=32]
Capabilities: [80] Power Management version 2

00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81) (prog-if 00 [UHCI])
Subsystem: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
Flags: bus master, medium devsel, latency 32, IRQ 10
I/O ports at e400 [size=32]
Capabilities: [80] Power Management version 2

00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86) (prog-if 20 [EHCI])
Subsystem: VIA Technologies, Inc. USB 2.0
Flags: bus master, medium devsel, latency 32, IRQ 11
Memory at ec110000 (32-bit, non-prefetchable) [size=256]
Capabilities: [80] Power Management version 2

00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [KT600/K8T800/K8T890 South]
Subsystem: VIA Technologies, Inc. DFI KT600-AL Motherboard
Flags: bus master, stepping, medium devsel, latency 0
Capabilities: [c0] Power Management version 2

00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
Subsystem: Micro-Star International Co., Ltd.: Unknown device 0430
Flags: medium devsel, IRQ 11
I/O ports at e500 [size=256]
Capabilities: [c0] Power Management version 2

00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 78)
Subsystem: Micro-Star International Co., Ltd.: Unknown device 7095
Flags: bus master, medium devsel, latency 32, IRQ 11
I/O ports at e600 [size=256]
Memory at ec111000 (32-bit, non-prefetchable) [size=256]
Capabilities: [40] Power Management version 2

01:00.0 VGA compatible controller: S3 Inc. VT8375 [ProSavage8 KM266/KL266] (prog-if 00 [VGA])
Subsystem: Micro-Star International Co., Ltd.: Unknown device 7095
Flags: bus master, 66Mhz, medium devsel, latency 32, IRQ 11
Memory at ec000000 (32-bit, non-prefetchable) [size=512K]
Memory at e0000000 (32-bit, prefetchable) [size=128M]
Capabilities: [dc] Power Management version 2
Capabilities: [80] AGP version 2.0

/sbin/lsmod
Module Size Used by
parport_pc 28933 1
lp 13001 0
parport 40585 2 parport_pc,lp
autofs4 29253 2
rfcomm 42333 0
l2cap 30661 5 rfcomm
bluetooth 56133 4 rfcomm,l2cap
sunrpc 167813 1
ipt_REJECT 5569 1
ipt_state 1857 2
ip_conntrack 41497 1 ipt_state
iptable_filter 2881 1
ip_tables 19521 3 ipt_REJECT,ipt_state,iptable_filter
video 15941 0
button 6609 0
battery 9413 0
ac 4805 0
md5 4033 1
ipv6 268097 8
uhci_hcd 35152 0
ehci_hcd 41037 0
shpchp 94405 0
i2c_viapro 8017 0
i2c_core 21569 1 i2c_viapro
snd_via82xx 30081 2
gameport 18633 1 snd_via82xx
snd_ac97_codec 75961 1 snd_via82xx
snd_seq_dummy 3653 0
snd_seq_oss 37057 0
snd_seq_midi_event 9153 1 snd_seq_oss
snd_seq 62289 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_pcm_oss 51185 0
snd_mixer_oss 17857 1 snd_pcm_oss
snd_pcm 100169 3 snd_via82xx,snd_ac97_codec,snd_pcm_oss
snd_timer 33605 2 snd_seq,snd_pcm
snd_page_alloc 9669 2 snd_via82xx,snd_pcm
snd_mpu401_uart 10049 1 snd_via82xx
snd_rawmidi 30305 1 snd_mpu401_uart
snd_seq_device 8781 4 snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi
snd 57157 15 snd_via82xx,snd_ac97_codec,snd_seq_oss,snd_seq,snd _pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_mpu40 1_uart,snd_rawmidi,snd_seq_device
soundcore 10913 1 snd
via_rhine 28361 0
mii 5441 1 via_rhine
ath_pci 60452 0
ath_rate_onoe 8072 1 ath_pci
wlan 109788 3 ath_pci,ath_rate_onoe
ath_hal 147664 2 ath_pci
floppy 65269 0
dm_snapshot 17413 0
dm_zero 2113 0
dm_mirror 26029 0
ext3 132553 2
jbd 86233 1 ext3
dm_mod 58101 6 dm_snapshot,dm_zero,dm_mirror


Some stage lines in /etc/modprobe

cat /etc/modprobe.conf
alias eth0 via-rhine
alias snd-card-0 snd-via82xx
options snd-card-0 index=0
options snd-via82xx index=0
remove snd-via82xx { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-via82xx
alias usb-controller ehci-hcd
alias usb-controller1 uhci-hcd
alias ath0 ath_pci


BTW what do these lines do?
options snd-via82xx index=0
remove snd-via82xx { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove

I am running kernel version 2.6.11-1.1369_FC4

Any help would be apreciated

Thx in advance

grautu
2005-07-29, 01:48 PM CDT
Hi!

I am am having some trouble with my sound card (onboard via 8237, or so I think). I know it works because the first time I installed fedora core 4 it played test sound in the installation.

For some reason it stopped working when I reinstalled FC4 (messed around alot to get atheros wifi running for my kernel and thought I'd better undo any damage before I start working :) )

I installed all the audio packages from the cd's just to be sure but no change.

I have gone thought all the alsa mixer settings and made sure nothing is muted. I have also toggled the troublesome external amplifier setting a couple of times.

Here are some helpful hints:

/sbin/lspci -v
00:00.0 Host bridge: VIA Technologies, Inc. P4M266 Host Bridge
Subsystem: VIA Technologies, Inc. P4M266 Host Bridge
Flags: bus master, 66Mhz, medium devsel, latency 8
Memory at e8000000 (32-bit, prefetchable) [size=64M]
Capabilities: [a0] AGP version 2.0
Capabilities: [c0] Power Management version 2

00:01.0 PCI bridge: VIA Technologies, Inc. VT8633 [Apollo Pro266 AGP] (prog-if 00 [Normal decode])
Flags: bus master, 66Mhz, medium devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
Memory behind bridge: ec000000-ec0fffff
Prefetchable memory behind bridge: e0000000-e7ffffff
Capabilities: [80] Power Management version 2

00:06.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)
Subsystem: Atheros Communications, Inc.: Unknown device 2027
Flags: bus master, medium devsel, latency 168, IRQ 10
Memory at ec100000 (32-bit, non-prefetchable) [size=64K]
Capabilities: [44] Power Management version 2

00:0f.0 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06) (prog-if 8a [Master SecP PriP])
Subsystem: VIA Technologies, Inc. VT82C586/B/VT82C686/A/B/VT8233/A/C/VT8235 PIPC Bus Master IDE
Flags: bus master, medium devsel, latency 32, IRQ 11
I/O ports at e000 [size=16]
Capabilities: [c0] Power Management version 2

00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81) (prog-if 00 [UHCI])
Subsystem: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
Flags: bus master, medium devsel, latency 32, IRQ 11
I/O ports at e100 [size=32]
Capabilities: [80] Power Management version 2

00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81) (prog-if 00 [UHCI])
Subsystem: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
Flags: bus master, medium devsel, latency 32, IRQ 11
I/O ports at e200 [size=32]
Capabilities: [80] Power Management version 2

00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81) (prog-if 00 [UHCI])
Subsystem: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
Flags: bus master, medium devsel, latency 32, IRQ 10
I/O ports at e300 [size=32]
Capabilities: [80] Power Management version 2

00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81) (prog-if 00 [UHCI])
Subsystem: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
Flags: bus master, medium devsel, latency 32, IRQ 10
I/O ports at e400 [size=32]
Capabilities: [80] Power Management version 2

00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86) (prog-if 20 [EHCI])
Subsystem: VIA Technologies, Inc. USB 2.0
Flags: bus master, medium devsel, latency 32, IRQ 11
Memory at ec110000 (32-bit, non-prefetchable) [size=256]
Capabilities: [80] Power Management version 2

00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [KT600/K8T800/K8T890 South]
Subsystem: VIA Technologies, Inc. DFI KT600-AL Motherboard
Flags: bus master, stepping, medium devsel, latency 0
Capabilities: [c0] Power Management version 2

00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
Subsystem: Micro-Star International Co., Ltd.: Unknown device 0430
Flags: medium devsel, IRQ 11
I/O ports at e500 [size=256]
Capabilities: [c0] Power Management version 2

00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 78)
Subsystem: Micro-Star International Co., Ltd.: Unknown device 7095
Flags: bus master, medium devsel, latency 32, IRQ 11
I/O ports at e600 [size=256]
Memory at ec111000 (32-bit, non-prefetchable) [size=256]
Capabilities: [40] Power Management version 2

01:00.0 VGA compatible controller: S3 Inc. VT8375 [ProSavage8 KM266/KL266] (prog-if 00 [VGA])
Subsystem: Micro-Star International Co., Ltd.: Unknown device 7095
Flags: bus master, 66Mhz, medium devsel, latency 32, IRQ 11
Memory at ec000000 (32-bit, non-prefetchable) [size=512K]
Memory at e0000000 (32-bit, prefetchable) [size=128M]
Capabilities: [dc] Power Management version 2
Capabilities: [80] AGP version 2.0

/sbin/lsmod
Module Size Used by
parport_pc 28933 1
lp 13001 0
parport 40585 2 parport_pc,lp
autofs4 29253 2
rfcomm 42333 0
l2cap 30661 5 rfcomm
bluetooth 56133 4 rfcomm,l2cap
sunrpc 167813 1
ipt_REJECT 5569 1
ipt_state 1857 2
ip_conntrack 41497 1 ipt_state
iptable_filter 2881 1
ip_tables 19521 3 ipt_REJECT,ipt_state,iptable_filter
video 15941 0
button 6609 0
battery 9413 0
ac 4805 0
md5 4033 1
ipv6 268097 8
uhci_hcd 35152 0
ehci_hcd 41037 0
shpchp 94405 0
i2c_viapro 8017 0
i2c_core 21569 1 i2c_viapro
snd_via82xx 30081 2
gameport 18633 1 snd_via82xx
snd_ac97_codec 75961 1 snd_via82xx
snd_seq_dummy 3653 0
snd_seq_oss 37057 0
snd_seq_midi_event 9153 1 snd_seq_oss
snd_seq 62289 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_pcm_oss 51185 0
snd_mixer_oss 17857 1 snd_pcm_oss
snd_pcm 100169 3 snd_via82xx,snd_ac97_codec,snd_pcm_oss
snd_timer 33605 2 snd_seq,snd_pcm
snd_page_alloc 9669 2 snd_via82xx,snd_pcm
snd_mpu401_uart 10049 1 snd_via82xx
snd_rawmidi 30305 1 snd_mpu401_uart
snd_seq_device 8781 4 snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi
snd 57157 15 snd_via82xx,snd_ac97_codec,snd_seq_oss,snd_seq,snd _pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_mpu40 1_uart,snd_rawmidi,snd_seq_device
soundcore 10913 1 snd
via_rhine 28361 0
mii 5441 1 via_rhine
ath_pci 60452 0
ath_rate_onoe 8072 1 ath_pci
wlan 109788 3 ath_pci,ath_rate_onoe
ath_hal 147664 2 ath_pci
floppy 65269 0
dm_snapshot 17413 0
dm_zero 2113 0
dm_mirror 26029 0
ext3 132553 2
jbd 86233 1 ext3
dm_mod 58101 6 dm_snapshot,dm_zero,dm_mirror


Some stage lines in /etc/modprobe

cat /etc/modprobe.conf
alias eth0 via-rhine
alias snd-card-0 snd-via82xx
options snd-card-0 index=0
options snd-via82xx index=0
remove snd-via82xx { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-via82xx
alias usb-controller ehci-hcd
alias usb-controller1 uhci-hcd
alias ath0 ath_pci


BTW what do these lines do?
options snd-via82xx index=0
remove snd-via82xx { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove

I am running kernel version 2.6.11-1.1369_FC4

Any help would be apreciated

Thx in advance
Hi,
Excuse me, here is a frustrating experience. Some month ago, my PC remained mute, without any explanation. Then I remembered that the PC was manipulated (for casual reasons): indeed, the loud speakers were incorrectly connected back.
G.R.

musicalDuck
2005-07-30, 03:17 AM CDT
Nope, tried plugging headphones in any which way, no luck.

I have a 6.1 speaker setup plugged in now so I am sure to notice when there's sound on a channel :)

There is a an alternate driver tho, which apperntly outputs through the mike plug but I need recording capabilities.

Any thoughts?

mpolo
2005-07-30, 03:35 AM CDT
Another "quick fix" is to run alsamixer from a terminal. It often turns out that the main volume is muted by default.

It looks like you are missing the "install" line for your sound card in modprobe.conf. I have an Intel AC97 chip, and mine looks like

install snd-intel8x0 /sbin/modprobe --ignore-install snd_intel8x0 && /usr/sbin/alsactl restore >/dev/null 2>&1 ||:


I presume your line should be analogous.

musicalDuck
2005-07-30, 05:41 AM CDT
Think were on to something here, where in modprobe should that line go and should I remove this line ?

remove snd-via82xx { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-via82xx

Checked the alsamixer settings from the command line, everything looks ok. If someone has the same soundcard as me I would realy apreciate if they posted there mixer settings (especially the external amp and other misc. toggle options)

How does one restart a service properly in FC? I am wasting time rebooting for every test. (Also reminds me of the unmentionable OS grrr)

Thanks for all the help so far guys!

mpolo
2005-07-30, 06:54 AM CDT
I have the install command before the declaration of options for the sound system, right after the aliases at the begining of the file. The "remove" line is the command that will be used when the service is stopped, so you need that in there.

To restart a service, from the command line, you can use /etc/init.d/servicename restart; or from the GUI, go to System Settings>Server Settings>Services.

musicalDuck
2005-07-30, 07:26 AM CDT
mmm, nothing yet.

Does anyone also have this card?

musicalDuck
2005-07-30, 08:42 AM CDT
Mmm hows this for wierdness.

Updated my kernel. This did'nt fix the problem outright tho but if you like x-files stay tuned.

I was messing about and my terminal suddenly crashed. But this evilness was soon forgotten when I was greeted by a gnome sound when I opened a new one terminal!

I updated my alsa drivers as well and everything seems to be working now but I have some doubts as to how long it will remain working.

I am still using the conf files from this post tho if anyone else gets this problem.

Any comments in light of this new info?

musicalDuck
2005-08-10, 03:27 AM CDT
Oh dear sound went away again.

Any thoughts on what might be causing this?

I am stilling running as described above.