Input device is not saved

Bug #640328 reported by Victor Engmark on 2010-09-16
This bug affects 17 people
Affects Status Importance Assigned to Milestone
pulseaudio (Ubuntu)

Bug Description

Binary package hint: pulseaudio

Symptoms: In Sound Preferences -> Input I see "Internal Audio Analog Stereo" and "QuickCam Pro 5000 Analog Mono". Only the QuickCam captures input from an actual microphone, so I would like to use it, and it only. However, every time I reboot Pulseaudio somehow decides to use the "Internal Audio Analog Stereo" instead of my selected default.

How to reproduce:
1. Select "QuickCam Pro 5000 Analog Mono" as the device for sound input in the Sound Preferences window.
2. Reboot and log in again

What happens: "Internal Audio Analog Stereo" is selected as the Pulseaudio sound input device.

What should happen: "QuickCam Pro 5000 Analog Mono" should still be selected as the Pulseaudio sound input device.

100% reproducible.

Possible cause: Could it be that Pulseaudio starts before the webcam is initialized, so it shifts to "Internal Audio Analog Stereo" as a fallback on startup?

Workaround: Select "QuickCam Pro 5000 Analog Mono" as the device for sound input in the Sound Preferences window after every reboot.

Simple fix: Some way to disable the selection of individual devices, so they will not be used.

Good fix: Save the selected device, and select that if it ever becomes available during a GNOME session.

Better fix: Mix all input sources, and allow the user to disable those they don't want to capture from.

Additional tweak: Monitor all input devices, and if there is a "better" input source, suggest to the user to change to it. "Better" could for example mean that it captures more input of a moderate level, such as 5-95%.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: pulseaudio 1:0.9.22~0.9.21+stable-queue-32-g8478-0ubuntu14
ProcVersionSignature: Ubuntu 2.6.32-24.42-generic
Uname: Linux 2.6.32-24-generic i686
NonfreeKernelModules: nvidia
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: i386
 /dev/snd/controlC0: vengmark 1879 F.... pulseaudio
 /dev/snd/pcmC0D0p: vengmark 1879 F...m pulseaudio
 /dev/snd/controlC1: vengmark 1879 F.... pulseaudio
 /dev/snd/pcmC1D0c: vengmark 1879 F...m pulseaudio
 Card hw:0 'Intel'/'HDA Intel at 0xf9ff8000 irq 22'
   Mixer name : 'Analog Devices AD1988B'
   Components : 'HDA:11d4198b,1043829b,00100300'
   Controls : 49
   Simple ctrls : 27
 Card hw:1 'U0x46d0x8ce'/'USB Device 0x46d:0x8ce at usb-0000:00:1d.7-2, high speed'
   Mixer name : 'USB Mixer'
   Components : 'USB046d:08ce'
   Controls : 2
   Simple ctrls : 1
 Simple mixer control 'Mic',0
   Capabilities: cvolume cvolume-joined cswitch cswitch-joined penum
   Capture channels: Mono
   Limits: Capture 0 - 3072
   Mono: Capture 3072 [100%] [30.00dB] [on]
Date: Thu Sep 16 11:07:20 2010
SourcePackage: pulseaudio 06/19/2009
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1305
dmi.board.asset.tag: To Be Filled By O.E.M. P5K-E
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1305:bd06/19/2009:svnSystemmanufacturer:pnP5K-E:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP5K-E:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion: P5K-E
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer

Victor Engmark (victor-engmark) wrote :
Victor Engmark (victor-engmark) wrote :

This might be related to bug #443306, except I don't have to "[s]elect some other [input] and then mic again to make it work."

Shadow Panther (panther-ru) wrote :

This bug affects me too. I have "QuickCam Communicate STX Analog Mono" input and I have set internal soundcard as output-only device, so I have only one sound input available.
After every reboot, USB microphone is deselected and muted(!) in sound preferences dialog.
After every suspend-resume, USB microphone is just deselected, but not muted.

Florian Geier (geier-florian) wrote :

I have the same problem. I have a "Microsoft LifeCam VX-800", which I would like to use as input device. It works when I select it manually, but the selection is switched back to "Internal Audio" after every reboot.

Changed in pulseaudio (Ubuntu):
status: New → Confirmed
Daniele Dellafiore (ildella) wrote :

I see two issues here: first there is no clear way to indicate a default Input device for audio I/O. Second, Ubuntu should automatically switch to default device when it's plugged in.

misiu_mp (misiu-mp) wrote :

This bug makes it impractical to use usb and bluetooth audio devices. So much that I would not recommend usb headsets for pulseaudio users.
Apart from a 'default device' setting, I would like to see device switching through the indicator icon in the panel.

Bryan (what-ever) wrote :

I have same problem with my Logitech C270. I have to manually rest sound input after a reboot.

Bryan (what-ever) wrote :

I have found a way around this problem.
Go to Sound settings and select Hardware tab. Highlight Internal Audio then in the Profile field select Analogue Stereo Output. You should then find in the Input tab there is only the webcam to chose from.

Bryan (what-ever) wrote :

The work around I suggested above is not possible in 12.4

Raymond (superquad-vortex2) wrote :

Is PA suppose to restore the user selected sink or source from .pulse directory ? or set in /etc/pulse/

load-module module-switch-on-port-available

### Make some devices default
#set-default-sink output
#set-default-source input

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

Other bug subscribers