Bug 134737

Summary: Sound not playing with Asus k8v-x motherboard (worked in SUSE 9.3)
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Forgotten User dbm7LuLncf <forgotten_dbm7LuLncf>
Component: SoundAssignee: Takashi Iwai <tiwai>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: Other   
Whiteboard:
Found By: Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Output of hwinfo
/etc/asound.state
/proc/asound/card0/codec97#0/ac97#0-0
/proc/asound/card0/codec97#0/ac97#0-0+regs

Description Forgotten User dbm7LuLncf 2005-11-21 19:22:19 UTC
I did a fresh installation of SUSE Linux 10.0 eval edition (+all patches with Online update during installation) on a x86-64 system with an Asus k8v-x motherboard. The on-board sound card was detected by YaST, but I cannot get any sound to play. SUSE 9.3 with exactly the same hardware configuration worked out of the box.

When I restart the sound system (/etc/init.d/alsasound restart), I get following log entries with dmesg:

ACPI: PCI interrupt for device 0000:00:11.5 disabled
ACPI: PCI Interrupt 0000:00:11.5[C] -> GSI 22 (level, low) -> IRQ 193
PCI: Setting latency timer of device 0000:00:11.5 to 64
ALSA sound/pci/via82xx.c:580: codec_read: codec 0 is not valid [0xfe0000]
ALSA sound/pci/via82xx.c:580: codec_read: codec 0 is not valid [0xfe0000]
ALSA sound/pci/via82xx.c:580: codec_read: codec 0 is not valid [0xfe0000]
ALSA sound/pci/via82xx.c:580: codec_read: codec 0 is not valid [0xfe0000]

Contents of /proc/asound/cards is as follows:
0 [V8237          ]: VIA8237 - VIA 8237
                     VIA 8237 with AD1980 at 0xc800, irq 193
Comment 1 Forgotten User dbm7LuLncf 2005-11-21 19:23:30 UTC
Created attachment 57939 [details]
Output of hwinfo

Attached ouput of hwinfo
Comment 2 Takashi Iwai 2005-11-23 17:05:48 UTC
Try to boot with pci=noacpi or acpi=off.
Comment 3 Forgotten User dbm7LuLncf 2005-11-24 06:24:44 UTC
(In reply to comment #2)
> Try to boot with pci=noacpi or acpi=off.
> 

Booting with pci=noacpi had no effect (still no sound, same output with dmesg). I tried acpi=off as well, but for some reason the system would not boot at all with that.
Comment 4 Takashi Iwai 2005-11-24 10:37:37 UTC
Run "aplay -vv foo.wav" and see whether VU meters proceed.  If it runs through but no sound comes out, it's likely a mixer problem.  If it stops in the beginning, it's likely an IRQ routing problem.

In any cases, please attach the content of /etc/asound.state and /proc/asound/card0/codec97#0/* files.


Comment 5 Forgotten User dbm7LuLncf 2005-11-29 16:43:59 UTC
(In reply to comment #4)
> Run "aplay -vv foo.wav" and see whether VU meters proceed.  If it runs through
> but no sound comes out, it's likely a mixer problem.  If it stops in the
> beginning, it's likely an IRQ routing problem.
> 

aplay runs through a wav file but no sound comes out.
Comment 6 Forgotten User dbm7LuLncf 2005-11-29 16:46:12 UTC
Created attachment 59010 [details]
/etc/asound.state
Comment 7 Forgotten User dbm7LuLncf 2005-11-29 16:51:57 UTC
Created attachment 59012 [details]
/proc/asound/card0/codec97#0/ac97#0-0
Comment 8 Forgotten User dbm7LuLncf 2005-11-29 16:53:24 UTC
Created attachment 59013 [details]
/proc/asound/card0/codec97#0/ac97#0-0+regs
Comment 9 Takashi Iwai 2005-12-02 16:12:25 UTC
"PCM Playback Switch" is muted and "PCM Playback Volume" is zero.
Run "amixer set PCM 90% unmute".

Comment 10 Forgotten User dbm7LuLncf 2005-12-08 18:43:00 UTC
> Run "amixer set PCM 90% unmute".
> 

Did that but still no sound. 
Comment 11 Forgotten User dbm7LuLncf 2005-12-12 06:27:49 UTC
I tried different mixer settings and switching "headphone jack sense" and "line jack sense" off from Switches tab of kmix did the trick. Now sound plays ok.
Thanks for assistance!

Comment 12 Takashi Iwai 2005-12-12 17:51:22 UTC
Ah, they seem to have been turned off wrongly (they are off as default).
Anyway, glad to hear that it's working now :)