[Touch-packages] [Bug 1296425] Re: pulseaudio is started twice - effectively making device management impossible.
This bug was fixed in the package ubuntu-drivers-common - 1:0.2.91.9 --- ubuntu-drivers-common (1:0.2.91.9) trusty-proposed; urgency=medium * sl-modem plugin: Keep environment for aplay, just ensure it's using the C locale. This avoids staring pulseaudio twice and causing races for attaching devices to pulseaudio. (LP: #1296425) ubuntu-drivers-common (1:0.2.91.8) trusty-proposed; urgency=medium * gpu-manager.c: - Refine checks for blacklisted modules, so that we don't end up catching false positives (LP: #1376966). Thanks to Pär Lindfors for the patch. -- Martin PittMon, 05 Jan 2015 17:27:53 +0100 ** Changed in: ubuntu-drivers-common (Ubuntu Trusty) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to alsa-plugins in Ubuntu. https://bugs.launchpad.net/bugs/1296425 Title: pulseaudio is started twice - effectively making device management impossible. Status in alsa-plugins package in Ubuntu: Invalid Status in ubuntu-drivers-common package in Ubuntu: Fix Released Status in alsa-plugins source package in Trusty: Invalid Status in ubuntu-drivers-common source package in Trusty: Fix Released Bug description: [Impact] On the current kubuntu 14.04 live-image (and for a 13.10 upgraded system) pulseaudio is running twice. This makes attaching/deattaching of usb-headset and other stuff impossible because the two instances fight over the events. The fix is https://github.com/tseliot/ubuntu-drivers- common/commit/5fe70ce1 [Test Case] To reproduce just boot up the current image and do a "ps -ef | grep pulseaudio" [Regression Potential] Low. This fix has been out for many months in 14.10, and only changes the environment that "aplay -l" gets called with. In the absolutely worst case if this goes totally wrong, ubuntu-drivers would stop to detect sl-modem capable soft-modems. ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: pulseaudio 1:4.0-0ubuntu10 ProcVersionSignature: Ubuntu 3.13.0-19.39-lowlatency 3.13.6 Uname: Linux 3.13.0-19-lowlatency i686 ApportVersion: 2.13.3-0ubuntu1 Architecture: i386 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC1: sgh2336 F pulseaudio sgh2796 F pulseaudio /dev/snd/controlC0: sgh2336 F pulseaudio sgh2796 F pulseaudio CurrentDesktop: KDE Date: Sun Mar 23 22:36:50 2014 InstallationDate: Installed on 2013-12-24 (89 days ago) InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Alpha i386 (20131224) SourcePackage: pulseaudio UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 07/02/2012 dmi.bios.vendor: LENOVO dmi.bios.version: G7ET31WW (1.13 ) dmi.board.asset.tag: Not Available dmi.board.name: 2356GCG dmi.board.vendor: LENOVO dmi.board.version: Not Defined dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Not Available dmi.modalias: dmi:bvnLENOVO:bvrG7ET31WW(1.13):bd07/02/2012:svnLENOVO:pn2356GCG:pvrThinkPadT430s:rvnLENOVO:rn2356GCG:rvrNotDefined:cvnLENOVO:ct10:cvrNotAvailable: dmi.product.name: 2356GCG dmi.product.version: ThinkPad T430s dmi.sys.vendor: LENOVO To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/alsa-plugins/+bug/1296425/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1296425] Re: pulseaudio is started twice - effectively making device management impossible.
** Changed in: ubuntu-drivers-common (Ubuntu Trusty) Status: In Progress => Fix Committed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to alsa-plugins in Ubuntu. https://bugs.launchpad.net/bugs/1296425 Title: pulseaudio is started twice - effectively making device management impossible. Status in alsa-plugins package in Ubuntu: Invalid Status in ubuntu-drivers-common package in Ubuntu: Fix Released Status in alsa-plugins source package in Trusty: Invalid Status in ubuntu-drivers-common source package in Trusty: Fix Committed Bug description: [Impact] On the current kubuntu 14.04 live-image (and for a 13.10 upgraded system) pulseaudio is running twice. This makes attaching/deattaching of usb-headset and other stuff impossible because the two instances fight over the events. The fix is https://github.com/tseliot/ubuntu-drivers- common/commit/5fe70ce1 [Test Case] To reproduce just boot up the current image and do a "ps -ef | grep pulseaudio" [Regression Potential] Low. This fix has been out for many months in 14.10, and only changes the environment that "aplay -l" gets called with. In the absolutely worst case if this goes totally wrong, ubuntu-drivers would stop to detect sl-modem capable soft-modems. ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: pulseaudio 1:4.0-0ubuntu10 ProcVersionSignature: Ubuntu 3.13.0-19.39-lowlatency 3.13.6 Uname: Linux 3.13.0-19-lowlatency i686 ApportVersion: 2.13.3-0ubuntu1 Architecture: i386 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC1: sgh2336 F pulseaudio sgh2796 F pulseaudio /dev/snd/controlC0: sgh2336 F pulseaudio sgh2796 F pulseaudio CurrentDesktop: KDE Date: Sun Mar 23 22:36:50 2014 InstallationDate: Installed on 2013-12-24 (89 days ago) InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Alpha i386 (20131224) SourcePackage: pulseaudio UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 07/02/2012 dmi.bios.vendor: LENOVO dmi.bios.version: G7ET31WW (1.13 ) dmi.board.asset.tag: Not Available dmi.board.name: 2356GCG dmi.board.vendor: LENOVO dmi.board.version: Not Defined dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Not Available dmi.modalias: dmi:bvnLENOVO:bvrG7ET31WW(1.13):bd07/02/2012:svnLENOVO:pn2356GCG:pvrThinkPadT430s:rvnLENOVO:rn2356GCG:rvrNotDefined:cvnLENOVO:ct10:cvrNotAvailable: dmi.product.name: 2356GCG dmi.product.version: ThinkPad T430s dmi.sys.vendor: LENOVO To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/alsa-plugins/+bug/1296425/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1296425] Re: pulseaudio is started twice - effectively making device management impossible.
I can confirm that the fix as in proposed works as intended. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to alsa-plugins in Ubuntu. https://bugs.launchpad.net/bugs/1296425 Title: pulseaudio is started twice - effectively making device management impossible. Status in alsa-plugins package in Ubuntu: Invalid Status in ubuntu-drivers-common package in Ubuntu: Fix Released Status in alsa-plugins source package in Trusty: Invalid Status in ubuntu-drivers-common source package in Trusty: In Progress Bug description: [Impact] On the current kubuntu 14.04 live-image (and for a 13.10 upgraded system) pulseaudio is running twice. This makes attaching/deattaching of usb-headset and other stuff impossible because the two instances fight over the events. The fix is https://github.com/tseliot/ubuntu-drivers- common/commit/5fe70ce1 [Test Case] To reproduce just boot up the current image and do a "ps -ef | grep pulseaudio" [Regression Potential] Low. This fix has been out for many months in 14.10, and only changes the environment that "aplay -l" gets called with. In the absolutely worst case if this goes totally wrong, ubuntu-drivers would stop to detect sl-modem capable soft-modems. ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: pulseaudio 1:4.0-0ubuntu10 ProcVersionSignature: Ubuntu 3.13.0-19.39-lowlatency 3.13.6 Uname: Linux 3.13.0-19-lowlatency i686 ApportVersion: 2.13.3-0ubuntu1 Architecture: i386 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC1: sgh2336 F pulseaudio sgh2796 F pulseaudio /dev/snd/controlC0: sgh2336 F pulseaudio sgh2796 F pulseaudio CurrentDesktop: KDE Date: Sun Mar 23 22:36:50 2014 InstallationDate: Installed on 2013-12-24 (89 days ago) InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Alpha i386 (20131224) SourcePackage: pulseaudio UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 07/02/2012 dmi.bios.vendor: LENOVO dmi.bios.version: G7ET31WW (1.13 ) dmi.board.asset.tag: Not Available dmi.board.name: 2356GCG dmi.board.vendor: LENOVO dmi.board.version: Not Defined dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Not Available dmi.modalias: dmi:bvnLENOVO:bvrG7ET31WW(1.13):bd07/02/2012:svnLENOVO:pn2356GCG:pvrThinkPadT430s:rvnLENOVO:rn2356GCG:rvrNotDefined:cvnLENOVO:ct10:cvrNotAvailable: dmi.product.name: 2356GCG dmi.product.version: ThinkPad T430s dmi.sys.vendor: LENOVO To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/alsa-plugins/+bug/1296425/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1296425] Re: pulseaudio is started twice - effectively making device management impossible.
** Description changed: - SRU INFORMATION - === - IMPACT: - On the current kubuntu 14.04 live-image (and for a 13.10 upgraded system) pulseaudio is running twice. This makes attaching/deattaching of usb-headset and other stuff impossible because the two instances fight over the events. + [Impact] - Tow reproduce just boot up the current image and do a "ps -ef | grep + On the current kubuntu 14.04 live-image (and for a 13.10 upgraded + system) pulseaudio is running twice. This makes attaching/deattaching of + usb-headset and other stuff impossible because the two instances fight + over the events. + + The fix is https://github.com/tseliot/ubuntu-drivers- + common/commit/5fe70ce1 + + [Test Case] + + To reproduce just boot up the current image and do a "ps -ef | grep pulseaudio" - FIX: https://github.com/tseliot/ubuntu-drivers-common/commit/5fe70ce1 + [Regression Potential] - REGRESSION POTENTIAL: Low. This fix has been out for many months in - 14.10, and only changes the environment that "aplay -l" gets called - with. In the absolutely worst case if this goes totally wrong, ubuntu- - drivers would stop to detect sl-modem capable soft-modems. - + Low. This fix has been out for many months in 14.10, and only changes + the environment that "aplay -l" gets called with. In the absolutely + worst case if this goes totally wrong, ubuntu-drivers would stop to + detect sl-modem capable soft-modems. ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: pulseaudio 1:4.0-0ubuntu10 ProcVersionSignature: Ubuntu 3.13.0-19.39-lowlatency 3.13.6 Uname: Linux 3.13.0-19-lowlatency i686 ApportVersion: 2.13.3-0ubuntu1 Architecture: i386 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC1: sgh2336 F pulseaudio sgh2796 F pulseaudio /dev/snd/controlC0: sgh2336 F pulseaudio sgh2796 F pulseaudio CurrentDesktop: KDE Date: Sun Mar 23 22:36:50 2014 InstallationDate: Installed on 2013-12-24 (89 days ago) InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Alpha i386 (20131224) SourcePackage: pulseaudio UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 07/02/2012 dmi.bios.vendor: LENOVO dmi.bios.version: G7ET31WW (1.13 ) dmi.board.asset.tag: Not Available dmi.board.name: 2356GCG dmi.board.vendor: LENOVO dmi.board.version: Not Defined dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Not Available dmi.modalias: dmi:bvnLENOVO:bvrG7ET31WW(1.13):bd07/02/2012:svnLENOVO:pn2356GCG:pvrThinkPadT430s:rvnLENOVO:rn2356GCG:rvrNotDefined:cvnLENOVO:ct10:cvrNotAvailable: dmi.product.name: 2356GCG dmi.product.version: ThinkPad T430s dmi.sys.vendor: LENOVO -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to alsa-plugins in Ubuntu. https://bugs.launchpad.net/bugs/1296425 Title: pulseaudio is started twice - effectively making device management impossible. Status in alsa-plugins package in Ubuntu: Invalid Status in ubuntu-drivers-common package in Ubuntu: Fix Released Status in alsa-plugins source package in Trusty: Invalid Status in ubuntu-drivers-common source package in Trusty: In Progress Bug description: [Impact] On the current kubuntu 14.04 live-image (and for a 13.10 upgraded system) pulseaudio is running twice. This makes attaching/deattaching of usb-headset and other stuff impossible because the two instances fight over the events. The fix is https://github.com/tseliot/ubuntu-drivers- common/commit/5fe70ce1 [Test Case] To reproduce just boot up the current image and do a "ps -ef | grep pulseaudio" [Regression Potential] Low. This fix has been out for many months in 14.10, and only changes the environment that "aplay -l" gets called with. In the absolutely worst case if this goes totally wrong, ubuntu-drivers would stop to detect sl-modem capable soft-modems. ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: pulseaudio 1:4.0-0ubuntu10 ProcVersionSignature: Ubuntu 3.13.0-19.39-lowlatency 3.13.6 Uname: Linux 3.13.0-19-lowlatency i686 ApportVersion: 2.13.3-0ubuntu1 Architecture: i386 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC1: sgh2336 F pulseaudio sgh2796 F pulseaudio /dev/snd/controlC0: sgh2336 F pulseaudio sgh2796 F pulseaudio CurrentDesktop: KDE Date: Sun Mar 23 22:36:50 2014 InstallationDate: Installed on 2013-12-24 (89 days ago) InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Alpha i386 (20131224) SourcePackage: pulseaudio UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 07/02/2012 dmi.bios.vendor: LENOVO dmi.bios.version: G7ET
[Touch-packages] [Bug 1296425] Re: pulseaudio is started twice - effectively making device management impossible.
** Branch linked: lp:ubuntu/trusty-proposed/ubuntu-drivers-common -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to alsa-plugins in Ubuntu. https://bugs.launchpad.net/bugs/1296425 Title: pulseaudio is started twice - effectively making device management impossible. Status in alsa-plugins package in Ubuntu: Invalid Status in ubuntu-drivers-common package in Ubuntu: Fix Released Status in alsa-plugins source package in Trusty: Invalid Status in ubuntu-drivers-common source package in Trusty: In Progress Bug description: SRU INFORMATION === IMPACT: On the current kubuntu 14.04 live-image (and for a 13.10 upgraded system) pulseaudio is running twice. This makes attaching/deattaching of usb-headset and other stuff impossible because the two instances fight over the events. Tow reproduce just boot up the current image and do a "ps -ef | grep pulseaudio" FIX: https://github.com/tseliot/ubuntu-drivers-common/commit/5fe70ce1 REGRESSION POTENTIAL: Low. This fix has been out for many months in 14.10, and only changes the environment that "aplay -l" gets called with. In the absolutely worst case if this goes totally wrong, ubuntu- drivers would stop to detect sl-modem capable soft-modems. ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: pulseaudio 1:4.0-0ubuntu10 ProcVersionSignature: Ubuntu 3.13.0-19.39-lowlatency 3.13.6 Uname: Linux 3.13.0-19-lowlatency i686 ApportVersion: 2.13.3-0ubuntu1 Architecture: i386 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC1: sgh2336 F pulseaudio sgh2796 F pulseaudio /dev/snd/controlC0: sgh2336 F pulseaudio sgh2796 F pulseaudio CurrentDesktop: KDE Date: Sun Mar 23 22:36:50 2014 InstallationDate: Installed on 2013-12-24 (89 days ago) InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Alpha i386 (20131224) SourcePackage: pulseaudio UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 07/02/2012 dmi.bios.vendor: LENOVO dmi.bios.version: G7ET31WW (1.13 ) dmi.board.asset.tag: Not Available dmi.board.name: 2356GCG dmi.board.vendor: LENOVO dmi.board.version: Not Defined dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Not Available dmi.modalias: dmi:bvnLENOVO:bvrG7ET31WW(1.13):bd07/02/2012:svnLENOVO:pn2356GCG:pvrThinkPadT430s:rvnLENOVO:rn2356GCG:rvrNotDefined:cvnLENOVO:ct10:cvrNotAvailable: dmi.product.name: 2356GCG dmi.product.version: ThinkPad T430s dmi.sys.vendor: LENOVO To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/alsa-plugins/+bug/1296425/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1296425] Re: pulseaudio is started twice - effectively making device management impossible.
This can be accepted once bug 1376966 is verified. Thanks -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to alsa-plugins in Ubuntu. https://bugs.launchpad.net/bugs/1296425 Title: pulseaudio is started twice - effectively making device management impossible. Status in alsa-plugins package in Ubuntu: Invalid Status in ubuntu-drivers-common package in Ubuntu: Fix Released Status in alsa-plugins source package in Trusty: Invalid Status in ubuntu-drivers-common source package in Trusty: In Progress Bug description: SRU INFORMATION === IMPACT: On the current kubuntu 14.04 live-image (and for a 13.10 upgraded system) pulseaudio is running twice. This makes attaching/deattaching of usb-headset and other stuff impossible because the two instances fight over the events. Tow reproduce just boot up the current image and do a "ps -ef | grep pulseaudio" FIX: https://github.com/tseliot/ubuntu-drivers-common/commit/5fe70ce1 REGRESSION POTENTIAL: Low. This fix has been out for many months in 14.10, and only changes the environment that "aplay -l" gets called with. In the absolutely worst case if this goes totally wrong, ubuntu- drivers would stop to detect sl-modem capable soft-modems. ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: pulseaudio 1:4.0-0ubuntu10 ProcVersionSignature: Ubuntu 3.13.0-19.39-lowlatency 3.13.6 Uname: Linux 3.13.0-19-lowlatency i686 ApportVersion: 2.13.3-0ubuntu1 Architecture: i386 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC1: sgh2336 F pulseaudio sgh2796 F pulseaudio /dev/snd/controlC0: sgh2336 F pulseaudio sgh2796 F pulseaudio CurrentDesktop: KDE Date: Sun Mar 23 22:36:50 2014 InstallationDate: Installed on 2013-12-24 (89 days ago) InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Alpha i386 (20131224) SourcePackage: pulseaudio UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 07/02/2012 dmi.bios.vendor: LENOVO dmi.bios.version: G7ET31WW (1.13 ) dmi.board.asset.tag: Not Available dmi.board.name: 2356GCG dmi.board.vendor: LENOVO dmi.board.version: Not Defined dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Not Available dmi.modalias: dmi:bvnLENOVO:bvrG7ET31WW(1.13):bd07/02/2012:svnLENOVO:pn2356GCG:pvrThinkPadT430s:rvnLENOVO:rn2356GCG:rvrNotDefined:cvnLENOVO:ct10:cvrNotAvailable: dmi.product.name: 2356GCG dmi.product.version: ThinkPad T430s dmi.sys.vendor: LENOVO To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/alsa-plugins/+bug/1296425/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1296425] Re: pulseaudio is started twice - effectively making device management impossible.
Backported fix uploaded to trusty SRU review queue: https://launchpad.net/ubuntu/trusty/+queue?queue_state=1 Now the SRU team needs to review and accept this, then testing the -proposed package would be much appreciated! ** Description changed: - - On the current kubuntu 14.04 live-image (and for a 13.10 upgraded system) pulseaudio is running twice. This makes attaching/deattaching of usb-headset and other stuff impossible because the two instances fight ove rthe events. + SRU INFORMATION + === + IMPACT: + On the current kubuntu 14.04 live-image (and for a 13.10 upgraded system) pulseaudio is running twice. This makes attaching/deattaching of usb-headset and other stuff impossible because the two instances fight over the events. Tow reproduce just boot up the current image and do a "ps -ef | grep pulseaudio" + + FIX: https://github.com/tseliot/ubuntu-drivers-common/commit/5fe70ce1 + + REGRESSION POTENTIAL: Low. This fix has been out for many months in + 14.10, and only changes the environment that "aplay -l" gets called + with. In the absolutely worst case if this goes totally wrong, ubuntu- + drivers would stop to detect sl-modem capable soft-modems. + ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: pulseaudio 1:4.0-0ubuntu10 ProcVersionSignature: Ubuntu 3.13.0-19.39-lowlatency 3.13.6 Uname: Linux 3.13.0-19-lowlatency i686 ApportVersion: 2.13.3-0ubuntu1 Architecture: i386 AudioDevicesInUse: - USERPID ACCESS COMMAND - /dev/snd/controlC1: sgh2336 F pulseaudio - sgh2796 F pulseaudio - /dev/snd/controlC0: sgh2336 F pulseaudio - sgh2796 F pulseaudio + USERPID ACCESS COMMAND + /dev/snd/controlC1: sgh2336 F pulseaudio + sgh2796 F pulseaudio + /dev/snd/controlC0: sgh2336 F pulseaudio + sgh2796 F pulseaudio CurrentDesktop: KDE Date: Sun Mar 23 22:36:50 2014 InstallationDate: Installed on 2013-12-24 (89 days ago) InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Alpha i386 (20131224) SourcePackage: pulseaudio UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 07/02/2012 dmi.bios.vendor: LENOVO dmi.bios.version: G7ET31WW (1.13 ) dmi.board.asset.tag: Not Available dmi.board.name: 2356GCG dmi.board.vendor: LENOVO dmi.board.version: Not Defined dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Not Available dmi.modalias: dmi:bvnLENOVO:bvrG7ET31WW(1.13):bd07/02/2012:svnLENOVO:pn2356GCG:pvrThinkPadT430s:rvnLENOVO:rn2356GCG:rvrNotDefined:cvnLENOVO:ct10:cvrNotAvailable: dmi.product.name: 2356GCG dmi.product.version: ThinkPad T430s dmi.sys.vendor: LENOVO ** Changed in: ubuntu-drivers-common (Ubuntu Trusty) Status: Triaged => In Progress -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to alsa-plugins in Ubuntu. https://bugs.launchpad.net/bugs/1296425 Title: pulseaudio is started twice - effectively making device management impossible. Status in alsa-plugins package in Ubuntu: Invalid Status in ubuntu-drivers-common package in Ubuntu: Fix Released Status in alsa-plugins source package in Trusty: Invalid Status in ubuntu-drivers-common source package in Trusty: In Progress Bug description: SRU INFORMATION === IMPACT: On the current kubuntu 14.04 live-image (and for a 13.10 upgraded system) pulseaudio is running twice. This makes attaching/deattaching of usb-headset and other stuff impossible because the two instances fight over the events. Tow reproduce just boot up the current image and do a "ps -ef | grep pulseaudio" FIX: https://github.com/tseliot/ubuntu-drivers-common/commit/5fe70ce1 REGRESSION POTENTIAL: Low. This fix has been out for many months in 14.10, and only changes the environment that "aplay -l" gets called with. In the absolutely worst case if this goes totally wrong, ubuntu- drivers would stop to detect sl-modem capable soft-modems. ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: pulseaudio 1:4.0-0ubuntu10 ProcVersionSignature: Ubuntu 3.13.0-19.39-lowlatency 3.13.6 Uname: Linux 3.13.0-19-lowlatency i686 ApportVersion: 2.13.3-0ubuntu1 Architecture: i386 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC1: sgh2336 F pulseaudio sgh2796 F pulseaudio /dev/snd/controlC0: sgh2336 F pulseaudio sgh2796 F pulseaudio CurrentDesktop: KDE Date: Sun Mar 23 22:36:50 2014 InstallationDate: Installed on 2013-12-24 (89 days ago) InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Alpha i386 (20131224) SourcePackage: pulseaudio UpgradeStatus: No u
[Touch-packages] [Bug 1296425] Re: pulseaudio is started twice - effectively making device management impossible.
Forgot to mention I am using Gnome3 shell, not Unity or KDE. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to alsa-plugins in Ubuntu. https://bugs.launchpad.net/bugs/1296425 Title: pulseaudio is started twice - effectively making device management impossible. Status in “alsa-plugins” package in Ubuntu: Invalid Status in “ubuntu-drivers-common” package in Ubuntu: Fix Released Status in “alsa-plugins” source package in Trusty: Invalid Status in “ubuntu-drivers-common” source package in Trusty: Triaged Bug description: On the current kubuntu 14.04 live-image (and for a 13.10 upgraded system) pulseaudio is running twice. This makes attaching/deattaching of usb-headset and other stuff impossible because the two instances fight ove rthe events. Tow reproduce just boot up the current image and do a "ps -ef | grep pulseaudio" ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: pulseaudio 1:4.0-0ubuntu10 ProcVersionSignature: Ubuntu 3.13.0-19.39-lowlatency 3.13.6 Uname: Linux 3.13.0-19-lowlatency i686 ApportVersion: 2.13.3-0ubuntu1 Architecture: i386 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC1: sgh2336 F pulseaudio sgh2796 F pulseaudio /dev/snd/controlC0: sgh2336 F pulseaudio sgh2796 F pulseaudio CurrentDesktop: KDE Date: Sun Mar 23 22:36:50 2014 InstallationDate: Installed on 2013-12-24 (89 days ago) InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Alpha i386 (20131224) SourcePackage: pulseaudio UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 07/02/2012 dmi.bios.vendor: LENOVO dmi.bios.version: G7ET31WW (1.13 ) dmi.board.asset.tag: Not Available dmi.board.name: 2356GCG dmi.board.vendor: LENOVO dmi.board.version: Not Defined dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Not Available dmi.modalias: dmi:bvnLENOVO:bvrG7ET31WW(1.13):bd07/02/2012:svnLENOVO:pn2356GCG:pvrThinkPadT430s:rvnLENOVO:rn2356GCG:rvrNotDefined:cvnLENOVO:ct10:cvrNotAvailable: dmi.product.name: 2356GCG dmi.product.version: ThinkPad T430s dmi.sys.vendor: LENOVO To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/alsa-plugins/+bug/1296425/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1296425] Re: pulseaudio is started twice - effectively making device management impossible.
I tried applying the patch in comment 22 to my 14.04 installation (3.13.0-39-generic, upgraded from 12.04) and rebooting, but it didn't solve the problem with my Logitec webcam microphone. I still get the same error. ubuntu-drivers-common 1:0.2.91.7 is the currently installed version. Are they any other scripts that might be doing the same thing? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to alsa-plugins in Ubuntu. https://bugs.launchpad.net/bugs/1296425 Title: pulseaudio is started twice - effectively making device management impossible. Status in “alsa-plugins” package in Ubuntu: Invalid Status in “ubuntu-drivers-common” package in Ubuntu: Fix Released Status in “alsa-plugins” source package in Trusty: Invalid Status in “ubuntu-drivers-common” source package in Trusty: Triaged Bug description: On the current kubuntu 14.04 live-image (and for a 13.10 upgraded system) pulseaudio is running twice. This makes attaching/deattaching of usb-headset and other stuff impossible because the two instances fight ove rthe events. Tow reproduce just boot up the current image and do a "ps -ef | grep pulseaudio" ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: pulseaudio 1:4.0-0ubuntu10 ProcVersionSignature: Ubuntu 3.13.0-19.39-lowlatency 3.13.6 Uname: Linux 3.13.0-19-lowlatency i686 ApportVersion: 2.13.3-0ubuntu1 Architecture: i386 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC1: sgh2336 F pulseaudio sgh2796 F pulseaudio /dev/snd/controlC0: sgh2336 F pulseaudio sgh2796 F pulseaudio CurrentDesktop: KDE Date: Sun Mar 23 22:36:50 2014 InstallationDate: Installed on 2013-12-24 (89 days ago) InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Alpha i386 (20131224) SourcePackage: pulseaudio UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 07/02/2012 dmi.bios.vendor: LENOVO dmi.bios.version: G7ET31WW (1.13 ) dmi.board.asset.tag: Not Available dmi.board.name: 2356GCG dmi.board.vendor: LENOVO dmi.board.version: Not Defined dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Not Available dmi.modalias: dmi:bvnLENOVO:bvrG7ET31WW(1.13):bd07/02/2012:svnLENOVO:pn2356GCG:pvrThinkPadT430s:rvnLENOVO:rn2356GCG:rvrNotDefined:cvnLENOVO:ct10:cvrNotAvailable: dmi.product.name: 2356GCG dmi.product.version: ThinkPad T430s dmi.sys.vendor: LENOVO To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/alsa-plugins/+bug/1296425/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1296425] Re: pulseaudio is started twice - effectively making device management impossible.
** Also affects: alsa-plugins (Ubuntu Trusty) Importance: Undecided Status: New ** Also affects: ubuntu-drivers-common (Ubuntu Trusty) Importance: Undecided Status: New ** Changed in: alsa-plugins (Ubuntu Trusty) Status: New => Invalid ** Changed in: ubuntu-drivers-common (Ubuntu Trusty) Status: New => Triaged ** Changed in: ubuntu-drivers-common (Ubuntu Trusty) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to alsa-plugins in Ubuntu. https://bugs.launchpad.net/bugs/1296425 Title: pulseaudio is started twice - effectively making device management impossible. Status in “alsa-plugins” package in Ubuntu: Invalid Status in “ubuntu-drivers-common” package in Ubuntu: Fix Released Status in “alsa-plugins” source package in Trusty: Invalid Status in “ubuntu-drivers-common” source package in Trusty: Triaged Bug description: On the current kubuntu 14.04 live-image (and for a 13.10 upgraded system) pulseaudio is running twice. This makes attaching/deattaching of usb-headset and other stuff impossible because the two instances fight ove rthe events. Tow reproduce just boot up the current image and do a "ps -ef | grep pulseaudio" ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: pulseaudio 1:4.0-0ubuntu10 ProcVersionSignature: Ubuntu 3.13.0-19.39-lowlatency 3.13.6 Uname: Linux 3.13.0-19-lowlatency i686 ApportVersion: 2.13.3-0ubuntu1 Architecture: i386 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC1: sgh2336 F pulseaudio sgh2796 F pulseaudio /dev/snd/controlC0: sgh2336 F pulseaudio sgh2796 F pulseaudio CurrentDesktop: KDE Date: Sun Mar 23 22:36:50 2014 InstallationDate: Installed on 2013-12-24 (89 days ago) InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Alpha i386 (20131224) SourcePackage: pulseaudio UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 07/02/2012 dmi.bios.vendor: LENOVO dmi.bios.version: G7ET31WW (1.13 ) dmi.board.asset.tag: Not Available dmi.board.name: 2356GCG dmi.board.vendor: LENOVO dmi.board.version: Not Defined dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Not Available dmi.modalias: dmi:bvnLENOVO:bvrG7ET31WW(1.13):bd07/02/2012:svnLENOVO:pn2356GCG:pvrThinkPadT430s:rvnLENOVO:rn2356GCG:rvrNotDefined:cvnLENOVO:ct10:cvrNotAvailable: dmi.product.name: 2356GCG dmi.product.version: ThinkPad T430s dmi.sys.vendor: LENOVO To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/alsa-plugins/+bug/1296425/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1296425] Re: pulseaudio is started twice - effectively making device management impossible.
Alberto Milone, could you add the updated version of this package to 14.04 backport the fix? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to alsa-plugins in Ubuntu. https://bugs.launchpad.net/bugs/1296425 Title: pulseaudio is started twice - effectively making device management impossible. Status in “alsa-plugins” package in Ubuntu: Invalid Status in “ubuntu-drivers-common” package in Ubuntu: Fix Released Bug description: On the current kubuntu 14.04 live-image (and for a 13.10 upgraded system) pulseaudio is running twice. This makes attaching/deattaching of usb-headset and other stuff impossible because the two instances fight ove rthe events. Tow reproduce just boot up the current image and do a "ps -ef | grep pulseaudio" ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: pulseaudio 1:4.0-0ubuntu10 ProcVersionSignature: Ubuntu 3.13.0-19.39-lowlatency 3.13.6 Uname: Linux 3.13.0-19-lowlatency i686 ApportVersion: 2.13.3-0ubuntu1 Architecture: i386 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC1: sgh2336 F pulseaudio sgh2796 F pulseaudio /dev/snd/controlC0: sgh2336 F pulseaudio sgh2796 F pulseaudio CurrentDesktop: KDE Date: Sun Mar 23 22:36:50 2014 InstallationDate: Installed on 2013-12-24 (89 days ago) InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Alpha i386 (20131224) SourcePackage: pulseaudio UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 07/02/2012 dmi.bios.vendor: LENOVO dmi.bios.version: G7ET31WW (1.13 ) dmi.board.asset.tag: Not Available dmi.board.name: 2356GCG dmi.board.vendor: LENOVO dmi.board.version: Not Defined dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Not Available dmi.modalias: dmi:bvnLENOVO:bvrG7ET31WW(1.13):bd07/02/2012:svnLENOVO:pn2356GCG:pvrThinkPadT430s:rvnLENOVO:rn2356GCG:rvrNotDefined:cvnLENOVO:ct10:cvrNotAvailable: dmi.product.name: 2356GCG dmi.product.version: ThinkPad T430s dmi.sys.vendor: LENOVO To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/alsa-plugins/+bug/1296425/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1296425] Re: pulseaudio is started twice - effectively making device management impossible.
Hi, can this be backported to the 1:0.2.91.x-branch (the one in ubuntu 14.04). Thanks! Felix -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to alsa-plugins in Ubuntu. https://bugs.launchpad.net/bugs/1296425 Title: pulseaudio is started twice - effectively making device management impossible. Status in “alsa-plugins” package in Ubuntu: Invalid Status in “ubuntu-drivers-common” package in Ubuntu: Fix Released Bug description: On the current kubuntu 14.04 live-image (and for a 13.10 upgraded system) pulseaudio is running twice. This makes attaching/deattaching of usb-headset and other stuff impossible because the two instances fight ove rthe events. Tow reproduce just boot up the current image and do a "ps -ef | grep pulseaudio" ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: pulseaudio 1:4.0-0ubuntu10 ProcVersionSignature: Ubuntu 3.13.0-19.39-lowlatency 3.13.6 Uname: Linux 3.13.0-19-lowlatency i686 ApportVersion: 2.13.3-0ubuntu1 Architecture: i386 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC1: sgh2336 F pulseaudio sgh2796 F pulseaudio /dev/snd/controlC0: sgh2336 F pulseaudio sgh2796 F pulseaudio CurrentDesktop: KDE Date: Sun Mar 23 22:36:50 2014 InstallationDate: Installed on 2013-12-24 (89 days ago) InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Alpha i386 (20131224) SourcePackage: pulseaudio UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 07/02/2012 dmi.bios.vendor: LENOVO dmi.bios.version: G7ET31WW (1.13 ) dmi.board.asset.tag: Not Available dmi.board.name: 2356GCG dmi.board.vendor: LENOVO dmi.board.version: Not Defined dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Not Available dmi.modalias: dmi:bvnLENOVO:bvrG7ET31WW(1.13):bd07/02/2012:svnLENOVO:pn2356GCG:pvrThinkPadT430s:rvnLENOVO:rn2356GCG:rvrNotDefined:cvnLENOVO:ct10:cvrNotAvailable: dmi.product.name: 2356GCG dmi.product.version: ThinkPad T430s dmi.sys.vendor: LENOVO To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/alsa-plugins/+bug/1296425/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1296425] Re: pulseaudio is started twice - effectively making device management impossible.
Fix from #22 helped me (Kubuntu 14.04 upgraded from 12.04). Thanks, guys! -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to alsa-plugins in Ubuntu. https://bugs.launchpad.net/bugs/1296425 Title: pulseaudio is started twice - effectively making device management impossible. Status in “alsa-plugins” package in Ubuntu: Invalid Status in “ubuntu-drivers-common” package in Ubuntu: Fix Released Bug description: On the current kubuntu 14.04 live-image (and for a 13.10 upgraded system) pulseaudio is running twice. This makes attaching/deattaching of usb-headset and other stuff impossible because the two instances fight ove rthe events. Tow reproduce just boot up the current image and do a "ps -ef | grep pulseaudio" ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: pulseaudio 1:4.0-0ubuntu10 ProcVersionSignature: Ubuntu 3.13.0-19.39-lowlatency 3.13.6 Uname: Linux 3.13.0-19-lowlatency i686 ApportVersion: 2.13.3-0ubuntu1 Architecture: i386 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC1: sgh2336 F pulseaudio sgh2796 F pulseaudio /dev/snd/controlC0: sgh2336 F pulseaudio sgh2796 F pulseaudio CurrentDesktop: KDE Date: Sun Mar 23 22:36:50 2014 InstallationDate: Installed on 2013-12-24 (89 days ago) InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Alpha i386 (20131224) SourcePackage: pulseaudio UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 07/02/2012 dmi.bios.vendor: LENOVO dmi.bios.version: G7ET31WW (1.13 ) dmi.board.asset.tag: Not Available dmi.board.name: 2356GCG dmi.board.vendor: LENOVO dmi.board.version: Not Defined dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Not Available dmi.modalias: dmi:bvnLENOVO:bvrG7ET31WW(1.13):bd07/02/2012:svnLENOVO:pn2356GCG:pvrThinkPadT430s:rvnLENOVO:rn2356GCG:rvrNotDefined:cvnLENOVO:ct10:cvrNotAvailable: dmi.product.name: 2356GCG dmi.product.version: ThinkPad T430s dmi.sys.vendor: LENOVO To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/alsa-plugins/+bug/1296425/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1296425] Re: pulseaudio is started twice - effectively making device management impossible.
> Thanks jaunmanuel for finding the fix and sharing the knowledge > about how you found it. > I'll add "redirecting 'aplay' temporarily to a script" to my list of > debugging techniques :-) :-) Nice to hear! Juan Manuel Cabo -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to alsa-plugins in Ubuntu. https://bugs.launchpad.net/bugs/1296425 Title: pulseaudio is started twice - effectively making device management impossible. Status in “alsa-plugins” package in Ubuntu: Invalid Status in “ubuntu-drivers-common” package in Ubuntu: Fix Released Bug description: On the current kubuntu 14.04 live-image (and for a 13.10 upgraded system) pulseaudio is running twice. This makes attaching/deattaching of usb-headset and other stuff impossible because the two instances fight ove rthe events. Tow reproduce just boot up the current image and do a "ps -ef | grep pulseaudio" ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: pulseaudio 1:4.0-0ubuntu10 ProcVersionSignature: Ubuntu 3.13.0-19.39-lowlatency 3.13.6 Uname: Linux 3.13.0-19-lowlatency i686 ApportVersion: 2.13.3-0ubuntu1 Architecture: i386 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC1: sgh2336 F pulseaudio sgh2796 F pulseaudio /dev/snd/controlC0: sgh2336 F pulseaudio sgh2796 F pulseaudio CurrentDesktop: KDE Date: Sun Mar 23 22:36:50 2014 InstallationDate: Installed on 2013-12-24 (89 days ago) InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Alpha i386 (20131224) SourcePackage: pulseaudio UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 07/02/2012 dmi.bios.vendor: LENOVO dmi.bios.version: G7ET31WW (1.13 ) dmi.board.asset.tag: Not Available dmi.board.name: 2356GCG dmi.board.vendor: LENOVO dmi.board.version: Not Defined dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Not Available dmi.modalias: dmi:bvnLENOVO:bvrG7ET31WW(1.13):bd07/02/2012:svnLENOVO:pn2356GCG:pvrThinkPadT430s:rvnLENOVO:rn2356GCG:rvrNotDefined:cvnLENOVO:ct10:cvrNotAvailable: dmi.product.name: 2356GCG dmi.product.version: ThinkPad T430s dmi.sys.vendor: LENOVO To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/alsa-plugins/+bug/1296425/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1296425] Re: pulseaudio is started twice - effectively making device management impossible.
Thanks jaunmanuel for finding the fix and sharing the knowledge about how you found it. I'll add "redirecting 'aplay' temporarily to a script" to my list of debugging techniques :-) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to alsa-plugins in Ubuntu. https://bugs.launchpad.net/bugs/1296425 Title: pulseaudio is started twice - effectively making device management impossible. Status in “alsa-plugins” package in Ubuntu: Invalid Status in “ubuntu-drivers-common” package in Ubuntu: Fix Released Bug description: On the current kubuntu 14.04 live-image (and for a 13.10 upgraded system) pulseaudio is running twice. This makes attaching/deattaching of usb-headset and other stuff impossible because the two instances fight ove rthe events. Tow reproduce just boot up the current image and do a "ps -ef | grep pulseaudio" ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: pulseaudio 1:4.0-0ubuntu10 ProcVersionSignature: Ubuntu 3.13.0-19.39-lowlatency 3.13.6 Uname: Linux 3.13.0-19-lowlatency i686 ApportVersion: 2.13.3-0ubuntu1 Architecture: i386 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC1: sgh2336 F pulseaudio sgh2796 F pulseaudio /dev/snd/controlC0: sgh2336 F pulseaudio sgh2796 F pulseaudio CurrentDesktop: KDE Date: Sun Mar 23 22:36:50 2014 InstallationDate: Installed on 2013-12-24 (89 days ago) InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Alpha i386 (20131224) SourcePackage: pulseaudio UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 07/02/2012 dmi.bios.vendor: LENOVO dmi.bios.version: G7ET31WW (1.13 ) dmi.board.asset.tag: Not Available dmi.board.name: 2356GCG dmi.board.vendor: LENOVO dmi.board.version: Not Defined dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Not Available dmi.modalias: dmi:bvnLENOVO:bvrG7ET31WW(1.13):bd07/02/2012:svnLENOVO:pn2356GCG:pvrThinkPadT430s:rvnLENOVO:rn2356GCG:rvrNotDefined:cvnLENOVO:ct10:cvrNotAvailable: dmi.product.name: 2356GCG dmi.product.version: ThinkPad T430s dmi.sys.vendor: LENOVO To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/alsa-plugins/+bug/1296425/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
Re: [Touch-packages] [Bug 1296425] Re: pulseaudio is started twice - effectively making device management impossible.
On Mon, Aug 18, 2014 at 04:26:16PM AEST, Martin Pitt wrote: > I don't know why aplay invokes pulseaudio (that seems wrong, as > pulseaudio usually uses ALSA as a backend), but if passing on the > environment (for DBUS_SESSION_BUS_ADDRESS etc.) helps, I'm fine with > doing that. The main reason for passing an empty environment was to > ensure that this does not use any localization. Aplay invokes pulseaudio because if you have pulseaudio installed, ALSA is configured to send its audio via pulseaudio, so you can get individual volume control for ALSA apps. Since pulseaudio is not running, pulseaudio gets spawned. An alternative way to solve this would have been to set the environment variable PULSE_INTERNAL to 0. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to alsa-plugins in Ubuntu. https://bugs.launchpad.net/bugs/1296425 Title: pulseaudio is started twice - effectively making device management impossible. Status in “alsa-plugins” package in Ubuntu: Invalid Status in “ubuntu-drivers-common” package in Ubuntu: Fix Released Bug description: On the current kubuntu 14.04 live-image (and for a 13.10 upgraded system) pulseaudio is running twice. This makes attaching/deattaching of usb-headset and other stuff impossible because the two instances fight ove rthe events. Tow reproduce just boot up the current image and do a "ps -ef | grep pulseaudio" ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: pulseaudio 1:4.0-0ubuntu10 ProcVersionSignature: Ubuntu 3.13.0-19.39-lowlatency 3.13.6 Uname: Linux 3.13.0-19-lowlatency i686 ApportVersion: 2.13.3-0ubuntu1 Architecture: i386 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC1: sgh2336 F pulseaudio sgh2796 F pulseaudio /dev/snd/controlC0: sgh2336 F pulseaudio sgh2796 F pulseaudio CurrentDesktop: KDE Date: Sun Mar 23 22:36:50 2014 InstallationDate: Installed on 2013-12-24 (89 days ago) InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Alpha i386 (20131224) SourcePackage: pulseaudio UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 07/02/2012 dmi.bios.vendor: LENOVO dmi.bios.version: G7ET31WW (1.13 ) dmi.board.asset.tag: Not Available dmi.board.name: 2356GCG dmi.board.vendor: LENOVO dmi.board.version: Not Defined dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Not Available dmi.modalias: dmi:bvnLENOVO:bvrG7ET31WW(1.13):bd07/02/2012:svnLENOVO:pn2356GCG:pvrThinkPadT430s:rvnLENOVO:rn2356GCG:rvrNotDefined:cvnLENOVO:ct10:cvrNotAvailable: dmi.product.name: 2356GCG dmi.product.version: ThinkPad T430s dmi.sys.vendor: LENOVO To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/alsa-plugins/+bug/1296425/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1296425] Re: pulseaudio is started twice - effectively making device management impossible.
To Martin Pitt: Thank you very much for the fix. I manually applied that commit to my sl_modem.py and it of course works. Restarting the computer, or running "ubuntu-drivers list" doesn't result in a second instance of pulseaudio. Also, the duplicate bug: "USB microphone inputs not detected by Pulseaudio" https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1325282 is of course fixed for me too with that fix (the two pulseaudio instances raced each other for opening the "/dev/snd/..." devices). Thanks! Cheers! Juan Manuel Cabo -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to alsa-plugins in Ubuntu. https://bugs.launchpad.net/bugs/1296425 Title: pulseaudio is started twice - effectively making device management impossible. Status in “alsa-plugins” package in Ubuntu: Invalid Status in “ubuntu-drivers-common” package in Ubuntu: Fix Released Bug description: On the current kubuntu 14.04 live-image (and for a 13.10 upgraded system) pulseaudio is running twice. This makes attaching/deattaching of usb-headset and other stuff impossible because the two instances fight ove rthe events. Tow reproduce just boot up the current image and do a "ps -ef | grep pulseaudio" ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: pulseaudio 1:4.0-0ubuntu10 ProcVersionSignature: Ubuntu 3.13.0-19.39-lowlatency 3.13.6 Uname: Linux 3.13.0-19-lowlatency i686 ApportVersion: 2.13.3-0ubuntu1 Architecture: i386 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC1: sgh2336 F pulseaudio sgh2796 F pulseaudio /dev/snd/controlC0: sgh2336 F pulseaudio sgh2796 F pulseaudio CurrentDesktop: KDE Date: Sun Mar 23 22:36:50 2014 InstallationDate: Installed on 2013-12-24 (89 days ago) InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Alpha i386 (20131224) SourcePackage: pulseaudio UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 07/02/2012 dmi.bios.vendor: LENOVO dmi.bios.version: G7ET31WW (1.13 ) dmi.board.asset.tag: Not Available dmi.board.name: 2356GCG dmi.board.vendor: LENOVO dmi.board.version: Not Defined dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Not Available dmi.modalias: dmi:bvnLENOVO:bvrG7ET31WW(1.13):bd07/02/2012:svnLENOVO:pn2356GCG:pvrThinkPadT430s:rvnLENOVO:rn2356GCG:rvrNotDefined:cvnLENOVO:ct10:cvrNotAvailable: dmi.product.name: 2356GCG dmi.product.version: ThinkPad T430s dmi.sys.vendor: LENOVO To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/alsa-plugins/+bug/1296425/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1296425] Re: pulseaudio is started twice - effectively making device management impossible.
This bug was fixed in the package ubuntu-drivers-common - 1:0.2.97 --- ubuntu-drivers-common (1:0.2.97) utopic; urgency=medium * tests/testarchive.py: Organize debs in pool/ structure, for better reusability. * tests/ubuntu_drivers.py: Drop expected failures, they've succeeded for a long time. This needs to be fixed properly if there's a bug. * sl-modem plugin: Keep environment for aplay, just ensure it's using the C locale. (LP: #1296425) * Disable linux-firmware-nonfree autopkgtest for now. bcma does not declare any firmware dependencies and linux-firmware-nonfree does not declare modaliases, so it either just works now, or the driver needs fixing first. -- Martin PittMon, 18 Aug 2014 10:13:11 +0200 ** Changed in: ubuntu-drivers-common (Ubuntu) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to alsa-plugins in Ubuntu. https://bugs.launchpad.net/bugs/1296425 Title: pulseaudio is started twice - effectively making device management impossible. Status in “alsa-plugins” package in Ubuntu: Invalid Status in “ubuntu-drivers-common” package in Ubuntu: Fix Released Bug description: On the current kubuntu 14.04 live-image (and for a 13.10 upgraded system) pulseaudio is running twice. This makes attaching/deattaching of usb-headset and other stuff impossible because the two instances fight ove rthe events. Tow reproduce just boot up the current image and do a "ps -ef | grep pulseaudio" ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: pulseaudio 1:4.0-0ubuntu10 ProcVersionSignature: Ubuntu 3.13.0-19.39-lowlatency 3.13.6 Uname: Linux 3.13.0-19-lowlatency i686 ApportVersion: 2.13.3-0ubuntu1 Architecture: i386 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC1: sgh2336 F pulseaudio sgh2796 F pulseaudio /dev/snd/controlC0: sgh2336 F pulseaudio sgh2796 F pulseaudio CurrentDesktop: KDE Date: Sun Mar 23 22:36:50 2014 InstallationDate: Installed on 2013-12-24 (89 days ago) InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Alpha i386 (20131224) SourcePackage: pulseaudio UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 07/02/2012 dmi.bios.vendor: LENOVO dmi.bios.version: G7ET31WW (1.13 ) dmi.board.asset.tag: Not Available dmi.board.name: 2356GCG dmi.board.vendor: LENOVO dmi.board.version: Not Defined dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Not Available dmi.modalias: dmi:bvnLENOVO:bvrG7ET31WW(1.13):bd07/02/2012:svnLENOVO:pn2356GCG:pvrThinkPadT430s:rvnLENOVO:rn2356GCG:rvrNotDefined:cvnLENOVO:ct10:cvrNotAvailable: dmi.product.name: 2356GCG dmi.product.version: ThinkPad T430s dmi.sys.vendor: LENOVO To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/alsa-plugins/+bug/1296425/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1296425] Re: pulseaudio is started twice - effectively making device management impossible.
** Branch linked: lp:ubuntu/utopic-proposed/ubuntu-drivers-common -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to alsa-plugins in Ubuntu. https://bugs.launchpad.net/bugs/1296425 Title: pulseaudio is started twice - effectively making device management impossible. Status in “alsa-plugins” package in Ubuntu: Invalid Status in “ubuntu-drivers-common” package in Ubuntu: Fix Committed Bug description: On the current kubuntu 14.04 live-image (and for a 13.10 upgraded system) pulseaudio is running twice. This makes attaching/deattaching of usb-headset and other stuff impossible because the two instances fight ove rthe events. Tow reproduce just boot up the current image and do a "ps -ef | grep pulseaudio" ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: pulseaudio 1:4.0-0ubuntu10 ProcVersionSignature: Ubuntu 3.13.0-19.39-lowlatency 3.13.6 Uname: Linux 3.13.0-19-lowlatency i686 ApportVersion: 2.13.3-0ubuntu1 Architecture: i386 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC1: sgh2336 F pulseaudio sgh2796 F pulseaudio /dev/snd/controlC0: sgh2336 F pulseaudio sgh2796 F pulseaudio CurrentDesktop: KDE Date: Sun Mar 23 22:36:50 2014 InstallationDate: Installed on 2013-12-24 (89 days ago) InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Alpha i386 (20131224) SourcePackage: pulseaudio UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 07/02/2012 dmi.bios.vendor: LENOVO dmi.bios.version: G7ET31WW (1.13 ) dmi.board.asset.tag: Not Available dmi.board.name: 2356GCG dmi.board.vendor: LENOVO dmi.board.version: Not Defined dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Not Available dmi.modalias: dmi:bvnLENOVO:bvrG7ET31WW(1.13):bd07/02/2012:svnLENOVO:pn2356GCG:pvrThinkPadT430s:rvnLENOVO:rn2356GCG:rvrNotDefined:cvnLENOVO:ct10:cvrNotAvailable: dmi.product.name: 2356GCG dmi.product.version: ThinkPad T430s dmi.sys.vendor: LENOVO To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/alsa-plugins/+bug/1296425/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1296425] Re: pulseaudio is started twice - effectively making device management impossible.
This should help: https://github.com/tseliot/ubuntu-drivers- common/commit/5fe70ce1 ** Changed in: ubuntu-drivers-common (Ubuntu) Status: New => Fix Committed ** Changed in: ubuntu-drivers-common (Ubuntu) Assignee: (unassigned) => Martin Pitt (pitti) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to alsa-plugins in Ubuntu. https://bugs.launchpad.net/bugs/1296425 Title: pulseaudio is started twice - effectively making device management impossible. Status in “alsa-plugins” package in Ubuntu: Invalid Status in “ubuntu-drivers-common” package in Ubuntu: Fix Committed Bug description: On the current kubuntu 14.04 live-image (and for a 13.10 upgraded system) pulseaudio is running twice. This makes attaching/deattaching of usb-headset and other stuff impossible because the two instances fight ove rthe events. Tow reproduce just boot up the current image and do a "ps -ef | grep pulseaudio" ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: pulseaudio 1:4.0-0ubuntu10 ProcVersionSignature: Ubuntu 3.13.0-19.39-lowlatency 3.13.6 Uname: Linux 3.13.0-19-lowlatency i686 ApportVersion: 2.13.3-0ubuntu1 Architecture: i386 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC1: sgh2336 F pulseaudio sgh2796 F pulseaudio /dev/snd/controlC0: sgh2336 F pulseaudio sgh2796 F pulseaudio CurrentDesktop: KDE Date: Sun Mar 23 22:36:50 2014 InstallationDate: Installed on 2013-12-24 (89 days ago) InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Alpha i386 (20131224) SourcePackage: pulseaudio UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 07/02/2012 dmi.bios.vendor: LENOVO dmi.bios.version: G7ET31WW (1.13 ) dmi.board.asset.tag: Not Available dmi.board.name: 2356GCG dmi.board.vendor: LENOVO dmi.board.version: Not Defined dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Not Available dmi.modalias: dmi:bvnLENOVO:bvrG7ET31WW(1.13):bd07/02/2012:svnLENOVO:pn2356GCG:pvrThinkPadT430s:rvnLENOVO:rn2356GCG:rvrNotDefined:cvnLENOVO:ct10:cvrNotAvailable: dmi.product.name: 2356GCG dmi.product.version: ThinkPad T430s dmi.sys.vendor: LENOVO To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/alsa-plugins/+bug/1296425/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1296425] Re: pulseaudio is started twice - effectively making device management impossible.
The aplay call was introduced in http://bazaar.launchpad.net/~jockey- hackers/jockey/trunk/revision/519 for bug 295158. Apparently some sl- modem types don't appear in /proc/asound/cards. It's indeed a strange hack, but so is sl-modem in the first place :) Beyond that bug report I'm afraid I have no idea about this -- I never had such a modem, and thus I don't have the opportunity to test any change. I don't know why aplay invokes pulseaudio (that seems wrong, as pulseaudio usually uses ALSA as a backend), but if passing on the environment (for DBUS_SESSION_BUS_ADDRESS etc.) helps, I'm fine with doing that. The main reason for passing an empty environment was to ensure that this does not use any localization. ** Changed in: alsa-plugins (Ubuntu) Status: Confirmed => Invalid -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to alsa-plugins in Ubuntu. https://bugs.launchpad.net/bugs/1296425 Title: pulseaudio is started twice - effectively making device management impossible. Status in “alsa-plugins” package in Ubuntu: Invalid Status in “ubuntu-drivers-common” package in Ubuntu: Fix Committed Bug description: On the current kubuntu 14.04 live-image (and for a 13.10 upgraded system) pulseaudio is running twice. This makes attaching/deattaching of usb-headset and other stuff impossible because the two instances fight ove rthe events. Tow reproduce just boot up the current image and do a "ps -ef | grep pulseaudio" ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: pulseaudio 1:4.0-0ubuntu10 ProcVersionSignature: Ubuntu 3.13.0-19.39-lowlatency 3.13.6 Uname: Linux 3.13.0-19-lowlatency i686 ApportVersion: 2.13.3-0ubuntu1 Architecture: i386 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC1: sgh2336 F pulseaudio sgh2796 F pulseaudio /dev/snd/controlC0: sgh2336 F pulseaudio sgh2796 F pulseaudio CurrentDesktop: KDE Date: Sun Mar 23 22:36:50 2014 InstallationDate: Installed on 2013-12-24 (89 days ago) InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Alpha i386 (20131224) SourcePackage: pulseaudio UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 07/02/2012 dmi.bios.vendor: LENOVO dmi.bios.version: G7ET31WW (1.13 ) dmi.board.asset.tag: Not Available dmi.board.name: 2356GCG dmi.board.vendor: LENOVO dmi.board.version: Not Defined dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Not Available dmi.modalias: dmi:bvnLENOVO:bvrG7ET31WW(1.13):bd07/02/2012:svnLENOVO:pn2356GCG:pvrThinkPadT430s:rvnLENOVO:rn2356GCG:rvrNotDefined:cvnLENOVO:ct10:cvrNotAvailable: dmi.product.name: 2356GCG dmi.product.version: ThinkPad T430s dmi.sys.vendor: LENOVO To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/alsa-plugins/+bug/1296425/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1296425] Re: pulseaudio is started twice - effectively making device management impossible.
Also solved the problem here! Using 'aplay -l' seems like a rather strange hack to detect a software modem. I think either the Python ALSA bindings or /proc/asound/cards for that instead only. Right now 'aplay -l' apparently is only called when no modem is found through /proc/asound/cards as a fallback. Martin Pitt, is there any specific reason for this fallback behavior? Should it be reimplemented using Python's ALSA bindings or maybe could be gotten rid off completely? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to alsa-plugins in Ubuntu. https://bugs.launchpad.net/bugs/1296425 Title: pulseaudio is started twice - effectively making device management impossible. Status in “alsa-plugins” package in Ubuntu: Confirmed Status in “ubuntu-drivers-common” package in Ubuntu: New Bug description: On the current kubuntu 14.04 live-image (and for a 13.10 upgraded system) pulseaudio is running twice. This makes attaching/deattaching of usb-headset and other stuff impossible because the two instances fight ove rthe events. Tow reproduce just boot up the current image and do a "ps -ef | grep pulseaudio" ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: pulseaudio 1:4.0-0ubuntu10 ProcVersionSignature: Ubuntu 3.13.0-19.39-lowlatency 3.13.6 Uname: Linux 3.13.0-19-lowlatency i686 ApportVersion: 2.13.3-0ubuntu1 Architecture: i386 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC1: sgh2336 F pulseaudio sgh2796 F pulseaudio /dev/snd/controlC0: sgh2336 F pulseaudio sgh2796 F pulseaudio CurrentDesktop: KDE Date: Sun Mar 23 22:36:50 2014 InstallationDate: Installed on 2013-12-24 (89 days ago) InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Alpha i386 (20131224) SourcePackage: pulseaudio UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 07/02/2012 dmi.bios.vendor: LENOVO dmi.bios.version: G7ET31WW (1.13 ) dmi.board.asset.tag: Not Available dmi.board.name: 2356GCG dmi.board.vendor: LENOVO dmi.board.version: Not Defined dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Not Available dmi.modalias: dmi:bvnLENOVO:bvrG7ET31WW(1.13):bd07/02/2012:svnLENOVO:pn2356GCG:pvrThinkPadT430s:rvnLENOVO:rn2356GCG:rvrNotDefined:cvnLENOVO:ct10:cvrNotAvailable: dmi.product.name: 2356GCG dmi.product.version: ThinkPad T430s dmi.sys.vendor: LENOVO To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/alsa-plugins/+bug/1296425/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1296425] Re: pulseaudio is started twice - effectively making device management impossible.
Works on current 14.10 also. Good job juanmanuel !! -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to alsa-plugins in Ubuntu. https://bugs.launchpad.net/bugs/1296425 Title: pulseaudio is started twice - effectively making device management impossible. Status in “alsa-plugins” package in Ubuntu: Confirmed Status in “ubuntu-drivers-common” package in Ubuntu: New Bug description: On the current kubuntu 14.04 live-image (and for a 13.10 upgraded system) pulseaudio is running twice. This makes attaching/deattaching of usb-headset and other stuff impossible because the two instances fight ove rthe events. Tow reproduce just boot up the current image and do a "ps -ef | grep pulseaudio" ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: pulseaudio 1:4.0-0ubuntu10 ProcVersionSignature: Ubuntu 3.13.0-19.39-lowlatency 3.13.6 Uname: Linux 3.13.0-19-lowlatency i686 ApportVersion: 2.13.3-0ubuntu1 Architecture: i386 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC1: sgh2336 F pulseaudio sgh2796 F pulseaudio /dev/snd/controlC0: sgh2336 F pulseaudio sgh2796 F pulseaudio CurrentDesktop: KDE Date: Sun Mar 23 22:36:50 2014 InstallationDate: Installed on 2013-12-24 (89 days ago) InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Alpha i386 (20131224) SourcePackage: pulseaudio UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 07/02/2012 dmi.bios.vendor: LENOVO dmi.bios.version: G7ET31WW (1.13 ) dmi.board.asset.tag: Not Available dmi.board.name: 2356GCG dmi.board.vendor: LENOVO dmi.board.version: Not Defined dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Not Available dmi.modalias: dmi:bvnLENOVO:bvrG7ET31WW(1.13):bd07/02/2012:svnLENOVO:pn2356GCG:pvrThinkPadT430s:rvnLENOVO:rn2356GCG:rvrNotDefined:cvnLENOVO:ct10:cvrNotAvailable: dmi.product.name: 2356GCG dmi.product.version: ThinkPad T430s dmi.sys.vendor: LENOVO To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/alsa-plugins/+bug/1296425/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1296425] Re: pulseaudio is started twice - effectively making device management impossible.
@juanmanuel , your solution worked for me. I am running 14.04 upgraded from 13.10. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to alsa-plugins in Ubuntu. https://bugs.launchpad.net/bugs/1296425 Title: pulseaudio is started twice - effectively making device management impossible. Status in “alsa-plugins” package in Ubuntu: Confirmed Status in “ubuntu-drivers-common” package in Ubuntu: New Bug description: On the current kubuntu 14.04 live-image (and for a 13.10 upgraded system) pulseaudio is running twice. This makes attaching/deattaching of usb-headset and other stuff impossible because the two instances fight ove rthe events. Tow reproduce just boot up the current image and do a "ps -ef | grep pulseaudio" ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: pulseaudio 1:4.0-0ubuntu10 ProcVersionSignature: Ubuntu 3.13.0-19.39-lowlatency 3.13.6 Uname: Linux 3.13.0-19-lowlatency i686 ApportVersion: 2.13.3-0ubuntu1 Architecture: i386 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC1: sgh2336 F pulseaudio sgh2796 F pulseaudio /dev/snd/controlC0: sgh2336 F pulseaudio sgh2796 F pulseaudio CurrentDesktop: KDE Date: Sun Mar 23 22:36:50 2014 InstallationDate: Installed on 2013-12-24 (89 days ago) InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Alpha i386 (20131224) SourcePackage: pulseaudio UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 07/02/2012 dmi.bios.vendor: LENOVO dmi.bios.version: G7ET31WW (1.13 ) dmi.board.asset.tag: Not Available dmi.board.name: 2356GCG dmi.board.vendor: LENOVO dmi.board.version: Not Defined dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Not Available dmi.modalias: dmi:bvnLENOVO:bvrG7ET31WW(1.13):bd07/02/2012:svnLENOVO:pn2356GCG:pvrThinkPadT430s:rvnLENOVO:rn2356GCG:rvrNotDefined:cvnLENOVO:ct10:cvrNotAvailable: dmi.product.name: 2356GCG dmi.product.version: ThinkPad T430s dmi.sys.vendor: LENOVO To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/alsa-plugins/+bug/1296425/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1296425] Re: pulseaudio is started twice - effectively making device management impossible.
I'm sorry that the previous post was too long. This is the summary: 1) "aplay -l" gets called with an empty environment by a script in ubuntu-drivers-common which Kubuntu runs at startup, through the "DriverManager_DBus". "aplay -l" doesn't find a pulseaudio and creates a new one (through libasound), because it has no environment and no way to know the session on which pulseaudio is already running. 2) The solution is to: Edit this file: /usr/share/ubuntu-drivers-common/detect/sl-modem.py and replace this line: aplay = subprocess.Popen(['aplay', '-l'], env={}, with this line: aplay = subprocess.Popen(['aplay', '-l'], NOTE TO MAINTAINERS: please evaluate if this solution is safe and sound, and if so, create a patch so that everyone benefits, and can have USB sound devices usable again (no more "device busy" errors while having an spurious extra pulseaudio instance). Cheers, Juan Manuel Cabo -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to alsa-plugins in Ubuntu. https://bugs.launchpad.net/bugs/1296425 Title: pulseaudio is started twice - effectively making device management impossible. Status in “alsa-plugins” package in Ubuntu: Confirmed Status in “ubuntu-drivers-common” package in Ubuntu: New Bug description: On the current kubuntu 14.04 live-image (and for a 13.10 upgraded system) pulseaudio is running twice. This makes attaching/deattaching of usb-headset and other stuff impossible because the two instances fight ove rthe events. Tow reproduce just boot up the current image and do a "ps -ef | grep pulseaudio" ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: pulseaudio 1:4.0-0ubuntu10 ProcVersionSignature: Ubuntu 3.13.0-19.39-lowlatency 3.13.6 Uname: Linux 3.13.0-19-lowlatency i686 ApportVersion: 2.13.3-0ubuntu1 Architecture: i386 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC1: sgh2336 F pulseaudio sgh2796 F pulseaudio /dev/snd/controlC0: sgh2336 F pulseaudio sgh2796 F pulseaudio CurrentDesktop: KDE Date: Sun Mar 23 22:36:50 2014 InstallationDate: Installed on 2013-12-24 (89 days ago) InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Alpha i386 (20131224) SourcePackage: pulseaudio UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 07/02/2012 dmi.bios.vendor: LENOVO dmi.bios.version: G7ET31WW (1.13 ) dmi.board.asset.tag: Not Available dmi.board.name: 2356GCG dmi.board.vendor: LENOVO dmi.board.version: Not Defined dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Not Available dmi.modalias: dmi:bvnLENOVO:bvrG7ET31WW(1.13):bd07/02/2012:svnLENOVO:pn2356GCG:pvrThinkPadT430s:rvnLENOVO:rn2356GCG:rvrNotDefined:cvnLENOVO:ct10:cvrNotAvailable: dmi.product.name: 2356GCG dmi.product.version: ThinkPad T430s dmi.sys.vendor: LENOVO To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/alsa-plugins/+bug/1296425/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1296425] Re: pulseaudio is started twice - effectively making device management impossible.
On saturday I made some tests and found the root CAUSE of the issue, and the SOLUTION. The reason "aplay" is called, is because it is used to enumerate sound cards, (with the -l argument as in "aplay -l"), by ubuntu-drivers, to find ye-old software modems. The "ubuntu-drivers-common" package scripts are called by the "kubuntu-driver-manager" package scripts on login to KDE's desktop. Aplay is also called when going to AdditionalDrivers or running "ubuntu-drivers list". The reason why the "pulseaudio" process created by 'aplay' remains running, is because "aplay" and thus "pulseaudio" receive an empty environment (no environment variables). Since "pulseaudio" receives an empty environment, it cannot know from which session or DISPLAY it was called, and whether another pulseaudio is already running for that session. Because of that, we end up with two different pulseaudio processes, and thus one interferes with the other, producing "device busy" errors while plugging our USB headsets/mics/webcams, resulting in them not getting fully recognized. The solution is as follows: Edit this file: /usr/share/ubuntu-drivers-common/detect/sl-modem.py and replace this line: aplay = subprocess.Popen(['aplay', '-l'], env={}, with this line: aplay = subprocess.Popen(['aplay', '-l'], By removing the named 'env={}' argument, the "aplay -l" receives the environment and can distinguish the correct pulseaudio process. Another way to workaround this, but quick and dirty, is to simply add a line: return None right above the aplay line, with the same spacing (indentation level), to disable looking for software modems at login if you don't plan on using dial-up modems :-) Details: I obtained the process list by adding redirecting 'aplay' temporarily to a script, which had a "sleep 30" delay, so that I could get it in "ps axf". The process list at the time of calling aplay is: \_ init --user [...] \_ dbus-daemon --fork --session --address=unix:abstract=/tmp/dbus-l0CdfJrRGy | \_ [dbus-daemon] [...] \_ python3 /usr/lib/kde4/libexec/DriverManager_DBus \_ /usr/bin/aplay -l \_ /usr/bin/pulseaudio --start --log-target=syslog Looking by the process number, for the second pulseaudio instance, cat /proc//environ is empty. I found by tracing the python calls that the file which runs aplay is: /usr/share/ubuntu-drivers-common/detect/sl-modem.py (if I skip/comment the call to aplay on that file, the issue dissapears). The file "sl-modem.py" belongs to the package: ubuntu-drivers-common and the DriverManager_DBus script which runs at logon belongs to the package: kubuntu-driver-manager which explains why this issue only affects us Kubuntu users, but in reality, it also affects all Ubuntu users, because any time they enter the driver manager (either by softwarke-properties-gtk or "Additional Drivers", or by running "ubuntu-drivers list" in the console) they are going to get a duplicate process for "pulseaudio" until they restart. Many Thanks to all the guys in this thread: you pointed me in the right direction. My Zoom H2n is now correctly recognized with the solution I explained at the top of this post. Maintainers: Please evaluate if removing 'env={}' from the aplay line at the "sl-modem.py" file of the ubuntu-drivers-common package is a worthy and safe patch so that everyone benefits. Cheers, Juan Manuel Cabo ** Also affects: ubuntu-drivers-common (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to alsa-plugins in Ubuntu. https://bugs.launchpad.net/bugs/1296425 Title: pulseaudio is started twice - effectively making device management impossible. Status in “alsa-plugins” package in Ubuntu: Confirmed Status in “ubuntu-drivers-common” package in Ubuntu: New Bug description: On the current kubuntu 14.04 live-image (and for a 13.10 upgraded system) pulseaudio is running twice. This makes attaching/deattaching of usb-headset and other stuff impossible because the two instances fight ove rthe events. Tow reproduce just boot up the current image and do a "ps -ef | grep pulseaudio" ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: pulseaudio 1:4.0-0ubuntu10 ProcVersionSignature: Ubuntu 3.13.0-19.39-lowlatency 3.13.6 Uname: Linux 3.13.0-19-lowlatency i686 ApportVersion: 2.13.3-0ubuntu1 Architecture: i386 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC1: sgh2336 F pulseaudio sgh2796 F pulseaudio /dev/snd/controlC0: sgh2336 F pulseaudio sgh2796 F pulseaudio CurrentDesktop: KDE Date: Sun Mar 23 22:36:50 20