USB headset only sound in left ear until changing volume

Bug #14286 reported by ChristofferS
14
Affects Status Importance Assigned to Milestone
linux-source-2.6.15 (Ubuntu)
Fix Released
Medium
Ben Collins

Bug Description

When I boot into Gnome, the sound in my USB headset (which is the default sound
device) only has sound in left ear (very loud). When I change the volume, sound
appears in both ears and at a more normal volume level. It happens every time I
log into Gnome.

lsusb says:

#lsusb
Bus 002 Device 002: ID 046d:0a01 Logitech, Inc.

Revision history for this message
Matt Zimmerman (mdz) wrote :

This happens instantly, as soon as you change the volume?

Please attach the output from the "amixer" command before and after you make
this change, so we can see the difference

Revision history for this message
ChristofferS (ubuntu-curo) wrote :

Created an attachment (id=1793)
Amixer before changing volume

Yes, it happens instantly.

Revision history for this message
ChristofferS (ubuntu-curo) wrote :

Created an attachment (id=1794)
Amixer after changing volume

Revision history for this message
ChristofferS (ubuntu-curo) wrote :

(From update of attachment 1793)
Simple mixer control 'Mic',0
  Capabilities: pvolume pvolume-joined cvolume pswitch pswitch-joined cswitch
cswitch-joined
  Playback channels: Mono
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 15 Capture 0 - 15
  Mono: Playback 15 [100%] [off]
  Front Left: Capture 0 [0%] [on]
  Front Right: Capture 0 [0%] [on]
Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 31 [100%] [on]
  Front Right: Playback 15 [48%] [on]

Revision history for this message
ChristofferS (ubuntu-curo) wrote :

(From update of attachment 1794)
Simple mixer control 'Mic',0
  Capabilities: pvolume pvolume-joined cvolume pswitch pswitch-joined cswitch
cswitch-joined
  Playback channels: Mono
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 15 Capture 0 - 15
  Mono: Playback 15 [100%] [off]
  Front Left: Capture 0 [0%] [on]
  Front Right: Capture 0 [0%] [on]
Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 23 [74%] [on]
  Front Right: Playback 23 [74%] [on]

Revision history for this message
ChristofferS (ubuntu-curo) wrote :

Created an attachment (id=1795)
Amixer after changing volume.

I uploaded the wrong file. Sorry

Revision history for this message
ChristofferS (ubuntu-curo) wrote :

Created an attachment (id=1796)
Amixer before changing volume

I uploaded the wrong file. Sorry

Revision history for this message
Thomas Hood (jdthood) wrote :

Does GNOME itself (or, say, its mixer applet) save and restore mixer settings?

Revision history for this message
ChristofferS (ubuntu-curo) wrote :

(In reply to comment #8)
> Does GNOME itself (or, say, its mixer applet) save and restore mixer settings?

Well, it happens every time I log into Gnome, so I guess that Gnome/mixer does
not save and restore mixer settings.

Revision history for this message
Thomas Hood (jdthood) wrote :

> Well, it happens every time I log into Gnome, so I guess that Gnome/mixer does
> not save and restore mixer settings.

It sounds as if GNOME is restoring or setting mixer levels to stupid values.
In that case this bug report needs to be assigned to the relevant GNOME package.

Revision history for this message
Matt Zimmerman (mdz) wrote :

I don't think that GNOME saves or restores mixer settings, but it's possible
that they are being changed in unexpected ways when the user adjusts the mixer
controls...

Revision history for this message
Sebastien Bacher (seb128) wrote :

no, GNOME doesn't change the mixer settings

Revision history for this message
Thomas Hood (jdthood) wrote :

(In reply to comment #9)
> (In reply to comment #8)
> > Does GNOME itself (or, say, its mixer applet) save and restore mixer settings?
>
> Well, it happens every time I log into Gnome, so I guess that Gnome/mixer does
> not save and restore mixer settings.

Do you mean by this "...every time I boot the machine and log in"? If so
then the problem is that the sound levels of the USB headset are not being
initialised to sane values or saved-and-restored on boot.

Revision history for this message
ChristofferS (ubuntu-curo) wrote :

(In reply to comment #13)
> Do you mean by this "...every time I boot the machine and log in"? If so
> then the problem is that the sound levels of the USB headset are not being
> initialised to sane values or saved-and-restored on boot.

Yes, that is what I mean. I have examined it more and found that it only happens
when I boot and log into Gnome.

When I log into Gnome, adjust the volume, log out of Gnome and in again, the
volume is set correctly.

Revision history for this message
Thomas Hood (jdthood) wrote :

> When I log into Gnome, adjust the volume, log out of Gnome and in again, the
> volume is set correctly.

Are the levels for the headset stored in /var/lib/alsa/asound.state?

Revision history for this message
ChristofferS (ubuntu-curo) wrote :

Created an attachment (id=3338)
Contents of /var/lib/alsa/asound.state

It seems that the mixer settings are saved in this file.

Revision history for this message
Thomas Hood (jdthood) wrote :

(In reply to comment #16)
> Created an attachment (id=3338) [edit]
> Contents of /var/lib/alsa/asound.state
>
> It seems that the mixer settings are saved in this file.

Yes, the file contains the settings for:

  name 'Mic Playback Switch'
  name 'Mic Playback Volume'
  name 'Speaker Playback Switch'
  name 'Speaker Playback Volume'
   name 'Mic Capture Switch'
  name 'Mic Capture Volume'

Please sent the output of:

    ls /dev/snd
    dpkg -l udev alsa-base alsa-utils
    ls /etc/udev/rules.d

Revision history for this message
ChristofferS (ubuntu-curo) wrote :

Created an attachment (id=3375)
Contents of ls /dev/snd

Revision history for this message
ChristofferS (ubuntu-curo) wrote :

Created an attachment (id=3376)
Contents of dpkg -l udev alsa-base alsa-utils

Revision history for this message
ChristofferS (ubuntu-curo) wrote :

Created an attachment (id=3377)
Output of ls /etc/udev/rules.d

Revision history for this message
Thomas Hood (jdthood) wrote :

Please upgrade to the Breezy versions of udev, alsa-base, alsa-utils
and let us know if the problem persists.

Revision history for this message
ChristofferS (ubuntu-curo) wrote :

I have just tried in the Breezy version and the problem does not occur there.

Thanks for the help :-)

Revision history for this message
Thomas Hood (jdthood) wrote :

Thanks.

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

Other bug subscribers

Related questions

Remote bug watches

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