[Touch-packages] [Bug 1511817] Re: bluetoothd consumes 100% CPU when scanning for devices, system hangs

2016-04-23 Thread Julius Schwartzenberg
I'm seeing bluetoothd using 100% CPU permanently on 16.04, Xenial.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to bluez in Ubuntu.
https://bugs.launchpad.net/bugs/1511817

Title:
  bluetoothd consumes 100% CPU when scanning for devices, system hangs

Status in bluez package in Ubuntu:
  Confirmed

Bug description:
  I'm trying to use the bluedevil wizard on Kubuntu 15.04  to add a new device 
(BT headset). The scan window opens but no device is found.
  Meanwhile, both cpu and memory usage start to increase until memory is 100% 
full and the system hangs!
  If I just kill bluedevil, then dbus-daemon keeps using 100% cpu, the only way 
to stop it is by manually stopping the bluetooth service.

  $ uname -a
  Linux Home1 3.19.0-32-generic #37-Ubuntu SMP Wed Oct 21 10:23:06 UTC 2015 
x86_64 x86_64 x86_64 GNU/Linux

  $ hciconfig -a
  hci0:   Type: BR/EDR  Bus: USB
  BD Address: 44:39:C4:19:43:C9  ACL MTU: 1022:8  SCO MTU: 183:5
  DOWN 
  RX bytes:564 acl:0 sco:0 events:29 errors:0
  TX bytes:358 acl:0 sco:0 commands:29 errors:0
  Features: 0xff 0xfe 0x0d 0xfe 0xd8 0x7f 0x7b 0x8f
  Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
  Link policy: RSWITCH HOLD SNIFF 
  Link mode: SLAVE ACCEPT 

  $ rfkill list
  1: dell-wifi: Wireless LAN
  Soft blocked: no
  Hard blocked: no
  2: dell-bluetooth: Bluetooth
  Soft blocked: no
  Hard blocked: no
  3: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
  4: hci0: Bluetooth
  Soft blocked: no
  Hard blocked: no

  $ lsmod | grep blue
  bluetooth 491520  23 bnep,ath3k,btusb,rfcomm

  $ lsusb
  Bus 004 Device 004: ID 0a5c:5800 Broadcom Corp. BCM5880 Secure Applications 
Processor
  Bus 004 Device 005: ID 0cf3:817a Atheros Communications, Inc. 
  Bus 004 Device 002: ID 8087:8000 Intel Corp. 
  Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 003 Device 003: ID 0c45:649d Microdia 
  Bus 003 Device 002: ID 8087:8008 Intel Corp. 
  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 001 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

  $ lsusb -s 004:005 -v

  Bus 004 Device 005: ID 0cf3:817a Atheros Communications, Inc. 
  Couldn't open device, some information will be missing
  Device Descriptor:
bLength18
bDescriptorType 1
bcdUSB   1.10
bDeviceClass  224 Wireless
bDeviceSubClass 1 Radio Frequency
bDeviceProtocol 1 Bluetooth
bMaxPacketSize064
idVendor   0x0cf3 Atheros Communications, Inc.
idProduct  0x817a 
bcdDevice0.02
iManufacturer   1 
iProduct2 
iSerial 3 
bNumConfigurations  1
Configuration Descriptor:
  bLength 9
  bDescriptorType 2
  wTotalLength  177
  bNumInterfaces  2
  bConfigurationValue 1
  iConfiguration  4 
  bmAttributes 0xe0
Self Powered
Remote Wakeup
  MaxPower  100mA
  Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber0
bAlternateSetting   0
bNumEndpoints   3
bInterfaceClass   224 Wireless
bInterfaceSubClass  1 Radio Frequency
bInterfaceProtocol  1 Bluetooth
iInterface  0 
Endpoint Descriptor:
  bLength 7
  bDescriptorType 5
  bEndpointAddress 0x81  EP 1 IN
  bmAttributes3
Transfer TypeInterrupt
Synch Type   None
Usage Type   Data
  wMaxPacketSize 0x0010  1x 16 bytes
  bInterval   1
Endpoint Descriptor:
  bLength 7
  bDescriptorType 5
  bEndpointAddress 0x82  EP 2 IN
  bmAttributes2
Transfer TypeBulk
Synch Type   None
Usage Type   Data
  wMaxPacketSize 0x0040  1x 64 bytes
  bInterval   1
Endpoint Descriptor:
  bLength 7
  bDescriptorType 5
  bEndpointAddress 0x02  EP 2 OUT
  bmAttributes2
Transfer TypeBulk
Synch Type   None
Usage Type   Data
  wMaxPacketSize 0x0040  1x 64 bytes
  bInterval   1
  Interface Descriptor:
bLength 

[Touch-packages] [Bug 1296425] Re: pulseaudio is started twice - effectively making device management impossible.

2015-04-18 Thread Julius Schwartzenberg
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.

2014-10-18 Thread Julius Schwartzenberg
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