[Mageia-dev] no sound

Colin Guthrie mageia at colin.guthr.ie
Sat May 5 18:05:50 CEST 2012


'Twas brillig, and Felix Miata at 05/05/12 16:09 did gyre and gimble:
> 1 sink(s) available.
>   * index: 0
> 	name: <alsa_output.pci-0000_00_1f.5.analog-stereo>
> 	driver: <module-alsa-card.c>
> 	flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY FLAT_VOLUME DYNAMIC_LATENCY
> 	state: SUSPENDED
> 	suspend cause: IDLE 
> 	priority: 9959
> 	volume: 0: 100% 1: 100%
> 	        0: 0.00 dB 1: 0.00 dB
> 	        balance 0.00
> 	base volume:  63%
> 	             -12.00 dB
> 	volume steps: 65537
> 	muted: no
> 	current latency: 0.00 ms
> 	max request: 0 KiB
> 	max rewind: 0 KiB
> 	monitor source: 0
> 	sample spec: s16le 2ch 48000Hz
> 	channel map: front-left,front-right
> 	             Stereo
> 	used by: 0
> 	linked by: 0
> 	configured latency: 0.00 ms; range is 0.50 .. 341.33 ms
> 	card: 0 <alsa_card.pci-0000_00_1f.5>
> 	module: 4
> 	properties:
> 		alsa.resolution_bits = "16"
> 		device.api = "alsa"
> 		device.class = "sound"
> 		alsa.class = "generic"
> 		alsa.subclass = "generic-mix"
> 		alsa.name = "Intel ICH5"
> 		alsa.id = "Intel ICH"
> 		alsa.subdevice = "0"
> 		alsa.subdevice_name = "subdevice #0"
> 		alsa.device = "0"
> 		alsa.card = "0"
> 		alsa.card_name = "Intel ICH5"
> 		alsa.long_card_name = "Intel ICH5 with AD1981B at irq 5"
> 		alsa.driver_name = "snd_intel8x0"
> 		device.bus_path = "pci-0000:00:1f.5"
> 		sysfs.path = "/devices/pci0000:00/0000:00:1f.5/sound/card0"
> 		device.bus = "pci"
> 		device.vendor.id = "8086"
> 		device.vendor.name = "Intel Corporation"
> 		device.product.name = "82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller"


Ahh yes, AC'97.. I think I've had issues with these before.... It's also
the default device under VirtualBox and when I looked last we don't seem
to control the "Master" channel. More below.

> 		device.form_factor = "internal"
> 		device.string = "front:0"
> 		device.buffering.buffer_size = "65536"
> 		device.buffering.fragment_size = "65536"
> 		device.access_mode = "mmap+timer"
> 		device.profile.name = "analog-stereo"
> 		device.profile.description = "Analog Stereo"
> 		device.description = "Built-in Audio Analog Stereo"
> 		alsa.mixer_name = "Analog Devices AD1981B"
> 		alsa.components = "AC97a:41445374"
> 		module-udev-detect.discovered = "1"
> 		device.icon_name = "audio-card-pci"
> 	ports:
> 		analog-output-mono;output-amplifier-on: Analog Mono Output / Amplifier (priority 5010, available: unknown)
> 			properties:
> 				
> 		analog-output-mono;output-amplifier-off: Analog Mono Output / No Amplifier (priority 5000, available: unknown)
> 			properties:
> 				
> 		analog-output-lfe-on-mono;output-amplifier-on: LFE on Separate Mono Output / Amplifier (priority 4010, available: unknown)
> 			properties:
> 				
> 		analog-output-lfe-on-mono;output-amplifier-off: LFE on Separate Mono Output / No Amplifier (priority 4000, available: unknown)
> 			properties:
> 				
> 	active port: <analog-output-mono;output-amplifier-on>

Yeah I think I've seen this in a VM.

Can you also attach "amixer -c0" (before running the below commands).

More specifically I suspect that the "Master" channel is 0+muted or
otherwise doing very little.

A couple things that should get sound are:
 (as root) alsactl init 0

This should "initialise" your card to sensible default which should set
Master to 55% unmuted.

If that doesn't work, can you try "amixer -c0 set Master 55% unmute"


Hopefully that'll get sound, but the correct fix is for me to fix this
in PulseAudio...

Col




-- 

Colin Guthrie
colin(at)mageia.org
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited http://www.tribalogic.net/
Open Source:
  Mageia Contributor http://www.mageia.org/
  PulseAudio Hacker http://www.pulseaudio.org/
  Trac Hacker http://trac.edgewall.org/


More information about the Mageia-dev mailing list