Volume slider forgets output device on resume

Bug #947448 reported by Michael Hope
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
alsa-driver (Ubuntu)
New
Undecided
Unassigned

Bug Description

I have a Thinkpad with internal speakers plus a MD-PORT AN1 USB HID based audio card. If I set the USB port as the output then Rhythmbox and the volume control work correctly and control the USB output.

If I suspend and resume, then Rhythmbox will continue to use the USB device. The volume control however seems to revert to the internal speakers.

Effect is music coming out but the volume control does nothing. Re-setting the output via the Sound control panel fixes the problem.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: alsa-base 1.0.25+dfsg-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-17.27-generic 3.2.6
Uname: Linux 3.2.0-17-generic x86_64
NonfreeKernelModules: fglrx
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 1.93-0ubuntu2
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: michaelh 2984 F.... pulseaudio
 /dev/snd/pcmC1D0p: michaelh 2984 F...m pulseaudio
 /dev/snd/controlC0: michaelh 2984 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xf8500000 irq 48'
   Mixer name : 'Conexant CX20561 (Hermosa)'
   Components : 'HDA:14f15051,17aa20fd,00100000'
   Controls : 17
   Simple ctrls : 12
Card1.Amixer.info:
 Card hw:1 'AN1'/'XITEL MD-PORT AN1 at usb-0000:00:1d.0-2, full speed'
   Mixer name : 'USB Mixer'
   Components : 'USB09ef:0101'
   Controls : 4
   Simple ctrls : 3
Card29.Amixer.info:
 Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw 7VHT16WW-1.06'
   Mixer name : 'ThinkPad EC 7VHT16WW-1.06'
   Components : ''
   Controls : 1
   Simple ctrls : 1
Card29.Amixer.values:
 Simple mixer control 'Console',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Date: Tue Mar 6 09:09:40 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120219)
PackageArchitecture: all
ProcEnviron:
 SHELL=/bin/bash
 TERM=xterm
 LANG=en_NZ.UTF-8
 LANGUAGE=en_NZ:en
SourcePackage: alsa-driver
Symptom: audio
Symptom_Card: Built-in Audio - HDA Intel
Symptom_Jack: Speaker, Internal
Symptom_Type: Volume slider, or mixer problems
Title: [2732CTO, Conexant CX20561 (Hermosa), Speaker, Internal] volume slider problem
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/16/2011
dmi.bios.vendor: LENOVO
dmi.bios.version: 7YET84WW (3.14 )
dmi.board.name: 2732CTO
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr7YET84WW(3.14):bd12/16/2011:svnLENOVO:pn2732CTO:pvrThinkPadR500:rvnLENOVO:rn2732CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 2732CTO
dmi.product.version: ThinkPad R500
dmi.sys.vendor: LENOVO

Revision history for this message
Michael Hope (michaelh1) wrote :
Revision history for this message
Rick Spencer (rick-rickspencer3) wrote :

I've been hearing about other issues where settings are forgotten, for example over reboots.

Changed in alsa-driver (Ubuntu):
assignee: nobody → Canonical Desktop Experience Team (canonical-dx-team)
assignee: Canonical Desktop Experience Team (canonical-dx-team) → Canonical Desktop Team (canonical-desktop-team)
Revision history for this message
Michael Hope (michaelh1) wrote :

My theory is that on resume the system re-enumerates the USB bus so for a short period the internal sound card is there but the USB one isn't, causing PulseAudio to drop back to the only sound card.

But that doesn't explain why Rhythmbox still sends audio out the USB device.

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

Luke, that bug was assigned to our team, could you have a look and see if that's something that's still accurate/should be look at or if it can be closed?

Changed in alsa-driver (Ubuntu):
assignee: Canonical Desktop Team (canonical-desktop-team) → Luke Yelavich (themuso)
Revision history for this message
Raymond (superquad-vortex2) wrote :

38027.160124] PM: Entering mem sleep
[38027.160213] Suspending console(s) (use no_console_suspend to debug)
[38027.161142] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[38027.228349] [fglrx] IRQ 50 Disabled
[38027.228459] [fglrx] Preparing suspend fglrx in kernel.
[38027.228466] kworker/u:9: page allocation failure: order:10, mode:0x4020
[38027.228469] Pid: 2002, comm: kworker/u:9 Tainted: P C O 3.2.0-17-generic #27-Ubuntu
[38027.228471] Call Trace:
[38027.228478] [<ffffffff8111c536>] warn_alloc_failed+0xf6/0x150
[38027.228481] [<ffffffff8111f84f>] ? get_page_from_freelist+0x1cf/0x540
[38027.228483] [<ffffffff8112039b>] __alloc_pages_nodemask+0x64b/0x820
[38027.228487] [<ffffffff81157043>] alloc_pages_current+0xa3/0x110
[38027.228490] [<ffffffff8111b55e>] __get_free_pages+0xe/0x40
[38027.228493] [<ffffffff8116189f>] kmalloc_order_trace+0x3f/0xd0
[38027.228495] [<ffffffff81162420>] __kmalloc+0x180/0x190
[38027.228497] [<ffffffff8111b55e>] ? __get_free_pages+0xe/0x40
[38027.228552] [<ffffffffa030dade>] KCL_MEM_SmallBufferAllocAtomic+0x1e/0x20 [fglrx]
[38027.228578] [<ffffffffa0320fa3>] firegl_save_fb+0x233/0x360 [fglrx]
[38027.228609] [<ffffffffa0330d34>] ? mc_heap_get_reserved_blocks_info+0x174/0x2a0 [fglrx]
[38027.228611] [<ffffffff8116167b>] ? kfree+0x3b/0x140
[38027.228637] [<ffffffffa03200c4>] ? firegl_pm_save_framebuffer+0x204/0x300 [fglrx]
[38027.228665] [<ffffffffa0322d9d>] ? firegl_cail_powerdown+0x8d/0x200 [fglrx]
[38027.228683] [<ffffffffa030ae07>] ? fglrx_pci_suspend+0x87/0x150 [fglrx]
[38027.228688] [<ffffffff813315e6>] ? pci_legacy_suspend+0x46/0xe0
[38027.228690] [<ffffffff8133271d>] ? pci_pm_suspend+0xdd/0x130
[38027.228694] [<ffffffff813f8740>] ? device_pm_wait_for_dev+0x30/0x30
[38027.228697] [<ffffffff813f8be5>] ? pm_op+0x175/0x1c0
[38027.228699] [<ffffffff813f8e9a>] ? __device_suspend+0x1fa/0x230
[38027.228702] [<ffffffff81092120>] ? async_schedule+0x20/0x20
[38027.228704] [<ffffffff813f997f>] ? async_suspend+0x1f/0xa0
[38027.228706] [<ffffffff8109219f>] ? async_run_entry_fn+0x7f/0x180
[38027.228709] [<ffffffff81084d8a>] ? process_one_work+0x11a/0x480
[38027.228712] [<ffffffff81085b34>] ? worker_thread+0x164/0x370
[38027.228714] [<ffffffff810859d0>] ? manage_workers.isra.29+0x130/0x130
[38027.228717] [<ffffffff8108a38c>] ? kthread+0x8c/0xa0
[38027.228720] [<ffffffff81663374>] ? kernel_thread_helper+0x4/0x10
[38027.228722] [<ffffffff8108a300>] ? flush_kthread_worker+0xa0/0xa0
[38027.228725] [<ffffffff81663370>] ? gs_change+0x13/0x13

Revision history for this message
Luke Yelavich (themuso) wrote :

Is this still a problem in 16.04?

Changed in alsa-driver (Ubuntu):
assignee: Luke Yelavich (themuso) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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