Bug 143530

Summary: sound mixer doesn't change the volume on intel ac97 audio chip
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Mathias Homann <Mathias.Homann>
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   
OS: Linux   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Mathias Homann 2006-01-17 16:08:11 UTC
here's the output of lspci|grep -i audio:
00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)

when I use kmix to change the volume of the master channel, nothing happens. i have to change the exact subchannel.
Comment 1 Takashi Iwai 2006-01-19 14:14:17 UTC
Check whether "Headphone" control influences the volume.  If yes, add ac97_quirk=hp_only to the options of snd-intel8x0 in /etc/modprobe.d/sound file and restart the alsasound.  Then show "lspci -nv" output to enable this as default in future.

If the headphone doesn't affect the volume, it might be that your chip has really no volume control on hardware.  Please attach /proc/asound/card0/codec97#0/* files, and /etc/asound.state file for debugging.
Comment 2 Mathias Homann 2006-01-20 11:52:53 UTC
the ac97_quirk=hp_only did it;
here's the output of lspci -nv.

--- cut here ---
00:00.0 Class 0600: 8086:2570 (rev 02)
	Subsystem: 1028:0151
	Flags: bus master, fast devsel, latency 0
	Memory at f8000000 (32-bit, prefetchable) [size=32M]
	Capabilities: [e4] Vendor Specific Information

00:02.0 Class 0300: 8086:2572 (rev 02)
	Subsystem: 1028:0151
	Flags: bus master, fast devsel, latency 0, IRQ 177
	Memory at f0000000 (32-bit, prefetchable) [size=128M]
	Memory at feb80000 (32-bit, non-prefetchable) [size=512K]
	I/O ports at ed98 [size=8]
	Capabilities: [d0] Power Management version 1

00:1d.0 Class 0c03: 8086:24d2 (rev 02)
	Subsystem: 1028:0151
	Flags: bus master, medium devsel, latency 0, IRQ 177
	I/O ports at ff80 [size=32]

00:1d.1 Class 0c03: 8086:24d4 (rev 02)
	Subsystem: 1028:0151
	Flags: bus master, medium devsel, latency 0, IRQ 185
	I/O ports at ff60 [size=32]

00:1d.2 Class 0c03: 8086:24d7 (rev 02)
	Subsystem: 1028:0151
	Flags: bus master, medium devsel, latency 0, IRQ 169
	I/O ports at ff40 [size=32]

00:1d.3 Class 0c03: 8086:24de (rev 02)
	Subsystem: 1028:0151
	Flags: bus master, medium devsel, latency 0, IRQ 177
	I/O ports at ff20 [size=32]

00:1d.7 Class 0c03: 8086:24dd (rev 02) (prog-if 20)
	Subsystem: 1028:0151
	Flags: bus master, medium devsel, latency 0, IRQ 193
	Memory at ffa80800 (32-bit, non-prefetchable) [size=1K]
	Capabilities: [50] Power Management version 2
	Capabilities: [58] Debug port

00:1e.0 Class 0604: 8086:244e (rev c2)
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
	I/O behind bridge: 0000d000-0000dfff
	Memory behind bridge: fea00000-feafffff

00:1f.0 Class 0601: 8086:24d0 (rev 02)
	Flags: bus master, medium devsel, latency 0

00:1f.1 Class 0101: 8086:24db (rev 02) (prog-if 8a [Master SecP PriP])
	Subsystem: 1028:0151
	Flags: bus master, medium devsel, latency 0, IRQ 169
	I/O ports at <ignored>
	I/O ports at <ignored>
	I/O ports at <ignored>
	I/O ports at <ignored>
	I/O ports at ffa0 [size=16]
	Memory at feb7fc00 (32-bit, non-prefetchable) [size=1K]

00:1f.2 Class 0101: 8086:24d1 (rev 02) (prog-if 8f [Master SecP SecO PriP PriO])
	Subsystem: 1028:0151
	Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 169
	I/O ports at fe00 [size=8]
	I/O ports at fe10 [size=4]
	I/O ports at fe20 [size=8]
	I/O ports at fe30 [size=4]
	I/O ports at fea0 [size=16]

00:1f.3 Class 0c05: 8086:24d3 (rev 02)
	Subsystem: 1028:0151
	Flags: medium devsel, IRQ 3
	I/O ports at eda0 [size=32]

00:1f.5 Class 0401: 8086:24d5 (rev 02)
	Subsystem: 1028:0151
	Flags: bus master, medium devsel, latency 0, IRQ 201
	I/O ports at ee00 [size=256]
	I/O ports at edc0 [size=64]
	Memory at feb7fa00 (32-bit, non-prefetchable) [size=512]
	Memory at feb7f900 (32-bit, non-prefetchable) [size=256]
	Capabilities: [50] Power Management version 2

01:0c.0 Class 0200: 8086:100e (rev 02)
	Subsystem: 1028:0151
	Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 169
	Memory at feae0000 (32-bit, non-prefetchable) [size=128K]
	I/O ports at df40 [size=64]
	Capabilities: [dc] Power Management version 2
	Capabilities: [e4] PCI-X non-bridge device
	Capabilities: [f0] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-

--- cut ---
Comment 3 Takashi Iwai 2006-01-20 12:15:45 UTC
OK, then this was already fixed in 10.1 kernel.  Thanks.