PulseAudio defaults audio output to the USB microphone (Nintendo WUP-021-0)

Bug #1748620 reported by APolihron on 2018-02-10
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Undecided
Unassigned
pulseaudio (Ubuntu)
Undecided
Unassigned

Bug Description

Pulseaudio can not remember my settings between reboots. I have a usb mic named WUP-021-0 Analog Mono and i use for output Built-in Audio Analog Stereo. But every time i open my pc or reboot it my output setings will default to my mic WUP-021-0 Analog Mono.
Tested in ubuntu 18.04 daily

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: pulseaudio 1:11.1-1ubuntu6
ProcVersionSignature: Ubuntu 4.13.0-32.35-generic 4.13.13
Uname: Linux 4.13.0-32-generic x86_64
ApportVersion: 2.20.8-0ubuntu8
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: apolihron 1590 F.... pulseaudio
 /dev/snd/controlC0: apolihron 1590 F.... pulseaudio
 /dev/snd/controlC2: apolihron 1590 F.... pulseaudio
CurrentDesktop: MATE
Date: Sat Feb 10 15:34:51 2018
InstallationDate: Installed on 2018-02-10 (0 days ago)
InstallationMedia: Ubuntu-MATE 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180210)
SourcePackage: pulseaudio
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 05/05/2016
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: P1.40
dmi.board.name: A88M-G/3.1
dmi.board.vendor: ASRock
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP1.40:bd05/05/2016:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnA88M-G/3.1:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.family: To Be Filled By O.E.M.
dmi.product.name: To Be Filled By O.E.M.
dmi.product.version: To Be Filled By O.E.M.
dmi.sys.vendor: To Be Filled By O.E.M.

APolihron (apolitech) wrote :
Daniel van Vugt (vanvugt) wrote :

I'm not sure, but suspect PulseAudio has nothing to do with remembering settings. That's the job of your settings daemon/backend...

Can you please help us to find the right package(s) to assign this bug to? Just open your settings app, and search the list of running processes for which one is *-control-center or similar, and then find which package provides that by running something like:

  dpkg -S `which YOUR-SETTINGS-APP`

Changed in pulseaudio (Ubuntu):
status: New → Incomplete
APolihron (apolitech) wrote :
Daniel van Vugt (vanvugt) wrote :

Thanks.

Next, please try a regular Ubuntu (Gnome Shell) or even Unity session. You may need to install additional packages such as 'ubuntu-session' and 'unity-session'.

Does the same bug occur when using those other desktops? (they have different settings apps and daemons so we need to know if the problem is confined to MATE)

Changed in mate-control-center (Ubuntu):
status: New → Incomplete
Changed in mate-settings-daemon (Ubuntu):
status: New → Incomplete
APolihron (apolitech) wrote :

i will test ubuntu 18.04 this night!

APolihron (apolitech) wrote :

i had time to test this right now and sadly the problem persists in ubuntu gnome 18.04 daily
Because there it's a bug with apport-collect i made another bug report with ubuntu-bug and mark as a dublicate https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1748866

Daniel van Vugt (vanvugt) wrote :

Oh I think I can guess what the problem is. Any settings remembered by the GUI/daemon/session may get overridden by this in /etc/pulse/default.pa:

### Use hot-plugged devices like Bluetooth or USB automatically (LP: #1702794)
.ifexists module-switch-on-connect.so
load-module module-switch-on-connect
.endif

If you remove that load-module line then it might do what you want. Please try it.

Changed in gnome-control-center (Ubuntu):
status: New → Incomplete
Changed in gnome-settings-daemon (Ubuntu):
status: New → Incomplete
summary: - PulseAudio can not remember my settings between reboots
+ PulseAudio always prefers USB mic over the internal mic
  • 1.png Edit (91.7 KiB, image/png; name="1.png")
  • 2.png Edit (79.3 KiB, image/png; name="2.png")
Download full text (3.6 KiB)

Yep that works. why did you change the name that it's not my problem. my
problem it's that the system sees my usb mic as a mice and as a audio
device output.

On Tue, Feb 13, 2018 at 4:51 AM, Daniel van Vugt <
<email address hidden>> wrote:

> Oh I think I can guess what the problem is. Any settings remembered by
> the GUI/daemon/session may get overridden by this in
> /etc/pulse/default.pa:
>
> ### Use hot-plugged devices like Bluetooth or USB automatically (LP:
> #1702794)
> .ifexists module-switch-on-connect.so
> load-module module-switch-on-connect
> .endif
>
> If you remove that load-module line then it might do what you want.
> Please try it.
>
> ** Also affects: gnome-control-center (Ubuntu)
> Importance: Undecided
> Status: New
>
> ** Also affects: gnome-settings-daemon (Ubuntu)
> Importance: Undecided
> Status: New
>
> ** Changed in: gnome-control-center (Ubuntu)
> Status: New => Incomplete
>
> ** Changed in: gnome-settings-daemon (Ubuntu)
> Status: New => Incomplete
>
> ** Summary changed:
>
> - PulseAudio can not remember my settings between reboots
> + PulseAudio always prefers USB mic over the internal mic
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1748620
>
> Title:
> PulseAudio always prefers USB mic over the internal mic
>
> Status in gnome-control-center package in Ubuntu:
> Incomplete
> Status in gnome-settings-daemon package in Ubuntu:
> Incomplete
> Status in mate-control-center package in Ubuntu:
> Incomplete
> Status in mate-settings-daemon package in Ubuntu:
> Incomplete
> Status in pulseaudio package in Ubuntu:
> Incomplete
>
> Bug description:
> Pulseaudio can not remember my settings between reboots. I have a usb
> mic named WUP-021-0 Analog Mono and i use for output Built-in Audio Analog
> Stereo. But every time i open my pc or reboot it my output setings will
> default to my mic WUP-021-0 Analog Mono.
> Tested in ubuntu 18.04 daily
>
> ProblemType: Bug
> DistroRelease: Ubuntu 18.04
> Package: pulseaudio 1:11.1-1ubuntu6
> ProcVersionSignature: Ubuntu 4.13.0-32.35-generic 4.13.13
> Uname: Linux 4.13.0-32-generic x86_64
> ApportVersion: 2.20.8-0ubuntu8
> Architecture: amd64
> AudioDevicesInUse:
> USER PID ACCESS COMMAND
> /dev/snd/controlC1: apolihron 1590 F.... pulseaudio
> /dev/snd/controlC0: apolihron 1590 F.... pulseaudio
> /dev/snd/controlC2: apolihron 1590 F.... pulseaudio
> CurrentDesktop: MATE
> Date: Sat Feb 10 15:34:51 2018
> InstallationDate: Installed on 2018-02-10 (0 days ago)
> InstallationMedia: Ubuntu-MATE 18.04 LTS "Bionic Beaver" - Alpha amd64
> (20180210)
> SourcePackage: pulseaudio
> UpgradeStatus: No upgrade log present (probably fresh install)
> dmi.bios.date: 05/05/2016
> dmi.bios.vendor: American Megatrends Inc.
> dmi.bios.version: P1.40
> dmi.board.name: A88M-G/3.1
> dmi.board.vendor: ASRock
> dmi.chassis.asset.tag: To Be Filled By O.E.M.
> dmi.chassis.type: 3
> dmi.chassis.vendor: To Be Filled By O.E.M.
> dmi.chassis.version: To Be Filled By O.E.M.
> dmi.modalias: dmi:bvnAmericanM...

Read more...

Sorry, I misinterpreted the description.

summary: - PulseAudio always prefers USB mic over the internal mic
+ PulseAudio defaults audio output to the USB microphone (WUP-021-0)
summary: - PulseAudio defaults audio output to the USB microphone (WUP-021-0)
+ PulseAudio defaults audio output to the USB microphone (Nintendo
+ WUP-021-0)
Daniel van Vugt (vanvugt) wrote :

OK, some progress... It seems that the kernel is reporting your Nintendo USB microphone as an output device. And PulseAudio always prioritizes recently-attached USB output devices. So PulseAudio is behaving correctly.

If the microphone is not meant to also act as a speaker then this is a kernel bug.

no longer affects: gnome-settings-daemon (Ubuntu)
no longer affects: gnome-control-center (Ubuntu)
no longer affects: mate-control-center (Ubuntu)
no longer affects: mate-settings-daemon (Ubuntu)
Changed in pulseaudio (Ubuntu):
status: Incomplete → Invalid

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1748620

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers