[USB-Audio - Several Logitech Headsets] Mixer path with "Speaker" only

Bug #671560 reported by David Henningsson
32
This bug affects 6 people
Affects Status Importance Assigned to Milestone
pulseaudio (Ubuntu)
Fix Released
Medium
David Henningsson

Bug Description

Lsusb ID: 046d:0a1b
...as well as another I have at home, has just a "speaker" mixer control and nothing else, which seems to confuse PA into believing it can't control volume at all. We probably need an udev rule and a separate mixer profile to solve it.

Relevant part of pulseverbose.log follows.

I: alsa-mixer.c: Successfully attached to mixer 'hw:1'
D: alsa-mixer.c: Probing path 'analog-output'
D: alsa-mixer.c: Probing path 'analog-output-speaker'
D: alsa-mixer.c: Probing path 'analog-output-speaker'
D: alsa-mixer.c: Probe of element 'Desktop Speaker' failed.
D: alsa-mixer.c: Probing path 'analog-output-headphones'
D: alsa-mixer.c: Probe of element 'Headphone' failed.
D: alsa-mixer.c: Probing path 'analog-output-headphones'
D: alsa-mixer.c: Probe of element 'Headphone2' failed.
D: alsa-mixer.c: Probing path 'analog-output-mono'
D: alsa-mixer.c: Probe of element 'Master Mono' failed.
D: alsa-mixer.c: Probing path 'analog-output-lfe-on-mono'
D: alsa-mixer.c: Probe of element 'Master Mono' failed.
D: alsa-mixer.c: Some paths of the device lack hardware volume control, disabling hardware control altogether.
D: alsa-sink.c: Probed mixer paths:
D: alsa-mixer.c: Path Set 0x193ac70, direction=1, probed=yes
D: alsa-mixer.c: Path analog-output (Analog Output), direction=1, priority=99, probed=yes, supported=yes, has_mute=yes, has_volume=no, has_dB=no, min_volume=0, max_volume=0, min_dB=0, max_dB=0
D: alsa-mixer.c: Element Speaker, direction=1, switch=1, volume=2, enumeration=0, required=0, required_absent=0, mask=0x4008000000000006, n_channels=2, override_map=no
D: alsa-mixer.c: Path analog-output-speaker (Analog Speakers), direction=1, priority=100, probed=yes, supported=yes, has_mute=yes, has_volume=no, has_dB=yes, min_volume=0, max_volume=44, min_dB=-41, max_dB=3
D: alsa-mixer.c: Element Speaker, direction=1, switch=1, volume=1, enumeration=0, required=4, required_absent=0, mask=0x400b600000000f66, n_channels=2, override_map=yes
D: alsa-mixer.c: Added 2 ports

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: alsa-base 1.0.23+dfsg-1ubuntu4
ProcVersionSignature: Ubuntu 2.6.35-23.36-generic 2.6.35.7
Uname: Linux 2.6.35-23-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: rtaudio 11134 F.... pulseaudio
 /dev/snd/pcmC1D0c: rtaudio 11134 F...m pulseaudio
 /dev/snd/controlC0: rtaudio 11134 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xd4900000 irq 47'
   Mixer name : 'Intel IbexPeak HDMI'
   Components : 'HDA:111d7605,103c1413,00100402 HDA:80862804,80860101,00100000'
   Controls : 22
   Simple ctrls : 11
Card1.Amixer.info:
 Card hw:1 'Headset'/'Logitech Logitech H555 Headset at usb-0000:00:1a.0-1.4, full speed'
   Mixer name : 'USB Mixer'
   Components : 'USB046d:0a1b'
   Controls : 6
   Simple ctrls : 2
Date: Fri Nov 5 14:27:03 2010
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
PackageArchitecture: all
ProcEnviron:
 LANG=sv_SE.UTF-8
 SHELL=/bin/bash
SelectedCard: 1 Headset USB-Audio - Logitech H555 Headset
SourcePackage: alsa-driver
Symptom: audio
Title: [USB-Audio - Logitech H555 Headset] Playback problem
dmi.bios.date: 06/29/2010
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: 68AZZ Ver. F.08
dmi.board.name: 1413
dmi.board.vendor: Hewlett-Packard
dmi.board.version: KBC Version 57.1D
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-Packard:bvr68AZZVer.F.08:bd06/29/2010:svnHewlett-Packard:pnHPProBook4520s:pvr:rvnHewlett-Packard:rn1413:rvrKBCVersion57.1D:cvnHewlett-Packard:ct10:cvr:
dmi.product.name: HP ProBook 4520s
dmi.sys.vendor: Hewlett-Packard

Related branches

Revision history for this message
David Henningsson (diwic) wrote :
Changed in alsa-driver (Ubuntu):
status: New → Triaged
assignee: nobody → David Henningsson (diwic)
Revision history for this message
David Henningsson (diwic) wrote :

Reproduced here with ID 046d:0a0c Logitech, Inc. Clear Chat Comfort USB Headset

Revision history for this message
David Henningsson (diwic) wrote :

Just to summarise today's thoughts.

There is one output volume control named "Speaker".

We can either fix this in the driver or in PulseAudio.

Driver: We have a generic problem of that the names picked for mixer controls are in general *not* compliant with the standard volume control names as specified in linux/Documentation/alsa/ControlNames.txt. We can either try to fix the generic problem, or create a quirk for these devices that changes the name.

PulseAudio: We have a generic problem in that PA disables hardware volume control if one of the mixer paths does not have a volume control. In this case, analog-output does not pick up "speaker" as a volume control, whereas "analog-output-speaker" does.
 * We can try to fix the generic problem by
   - fix the original problem and see what bugs we'll suffer from if we don't unify has_volume
   - disabling the profiles without hw control instead of disabling hw volume control.
...or we can create a quirk for this device by writing a PA profile set and a matching udev rule.

One problem, five fixes to choose from. A difficult decision.

Changed in alsa-driver (Ubuntu):
importance: Undecided → Medium
status: Triaged → In Progress
Changed in alsa-driver (Ubuntu):
status: In Progress → Triaged
Changed in alsa-driver (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
joopbraak (joopbraak) wrote :

Hi David. Good job! So which solution did you pick, finally? :-)

Revision history for this message
David Henningsson (diwic) wrote :

Given the tight time-schedule of Natty (due to me ignoring this bug for too long) I went for a workaround that tackled a few specific ID's only, i e a PulseAudio quirk. Should be in Natty as of today.

affects: alsa-driver (Ubuntu) → pulseaudio (Ubuntu)
Changed in pulseaudio (Ubuntu):
status: Fix Committed → Fix Released
summary: - [USB-Audio - Logitech H555 Headset] Mixer path with "Speaker" only
+ [USB-Audio - Several Logitech Headsets] Mixer path with "Speaker" only
Revision history for this message
Ipeacocks (ipeacocks) wrote :

maybe this is bug of HP ProBook 4520s?
i have tha same notebook and microphone dont work for me.

Revision history for this message
David Henningsson (diwic) wrote :

@Ipeacocks, this is about USB headsets and as such the bug is in this case independent of the main machine. Please file a separate bug for your issue.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.