[Touch-packages] [Bug 1449051] Re: Upower doesn't handle bluetooth mice properly

2015-06-06 Thread redfox7691
With fully charged battery my percentage is 60%, but if I use two
alkaline batteries i've got a 100% indicator: is there a way to inform
daemon upower that I'm using a rechargeable batteries and that full
level is lower than alkaline?

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

Title:
  Upower doesn't handle bluetooth mice properly

Status in Upower:
  Fix Released
Status in upower package in Ubuntu:
  Fix Released
Status in upower package in Debian:
  Fix Released

Bug description:
  I have a bluetooth Logitech M557, and it is being mis-detected by
  Upower as a battery instead of a mouse:

  Device: /org/freedesktop/UPower/devices/battery_hid_00o1fo20of5oabob5_battery
native-path:  hid-00:1f:20:f5:ab:b5-battery
model:Bluetooth Mouse M557
power supply: no
updated:  Mon 27 Apr 2015 10:05:22 AM EDT (13 seconds ago)
has history:  yes
has statistics:   yes
battery
  present: yes
  rechargeable:yes
  state:   discharging
  warning-level:   none
  energy:  0 Wh
  energy-empty:0 Wh
  energy-full: 0 Wh
  energy-full-design:  0 Wh
  energy-rate: 0 W
  percentage:  100%
  capacity:100%
  icon-name:  'battery-full-symbolic'
History (charge):
  1430143522100.000 discharging

  
  The patch available in the upstream bug improves the situation by parsing it 
as a hid device, but then mistakes it for a keyboard:
  https://bugs.freedesktop.org/show_bug.cgi?id=86510

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: upower 0.99.2-2
  ProcVersionSignature: Ubuntu 3.19.0-15.15-generic 3.19.3
  Uname: Linux 3.19.0-15-generic x86_64
  ApportVersion: 2.17.2-0ubuntu1
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Mon Apr 27 10:04:20 2015
  InstallationDate: Installed on 2013-11-26 (516 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 
(20131016.1)
  SourcePackage: upower
  UpgradeStatus: Upgraded to vivid on 2015-03-07 (50 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/upower/+bug/1449051/+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 1449051] Re: Upower doesn't handle bluetooth mice properly

2015-06-03 Thread redfox7691
Thank you very much Astor, I've followed your hints and now battery
indicator is ok.

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

Title:
  Upower doesn't handle bluetooth mice properly

Status in Upower:
  Fix Released
Status in upower package in Ubuntu:
  Fix Released
Status in upower package in Debian:
  Fix Released

Bug description:
  I have a bluetooth Logitech M557, and it is being mis-detected by
  Upower as a battery instead of a mouse:

  Device: /org/freedesktop/UPower/devices/battery_hid_00o1fo20of5oabob5_battery
native-path:  hid-00:1f:20:f5:ab:b5-battery
model:Bluetooth Mouse M557
power supply: no
updated:  Mon 27 Apr 2015 10:05:22 AM EDT (13 seconds ago)
has history:  yes
has statistics:   yes
battery
  present: yes
  rechargeable:yes
  state:   discharging
  warning-level:   none
  energy:  0 Wh
  energy-empty:0 Wh
  energy-full: 0 Wh
  energy-full-design:  0 Wh
  energy-rate: 0 W
  percentage:  100%
  capacity:100%
  icon-name:  'battery-full-symbolic'
History (charge):
  1430143522100.000 discharging

  
  The patch available in the upstream bug improves the situation by parsing it 
as a hid device, but then mistakes it for a keyboard:
  https://bugs.freedesktop.org/show_bug.cgi?id=86510

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: upower 0.99.2-2
  ProcVersionSignature: Ubuntu 3.19.0-15.15-generic 3.19.3
  Uname: Linux 3.19.0-15-generic x86_64
  ApportVersion: 2.17.2-0ubuntu1
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Mon Apr 27 10:04:20 2015
  InstallationDate: Installed on 2013-11-26 (516 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 
(20131016.1)
  SourcePackage: upower
  UpgradeStatus: Upgraded to vivid on 2015-03-07 (50 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/upower/+bug/1449051/+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 1449051] Re: Upower doesn't handle bluetooth mice properly

2015-06-01 Thread redfox7691
Hi Martin, thank you very much for your answer. So this bug will be
fixed into 15.10 version: there is a way to try patched upowerd in my
15.04 or I must wait six months? I was curious to see if new upowerd can
detect right battery level: with current vesino my kernel says "WARNING
**: no valid voltage value found for device
/sys/devices/pci:00/:00:14.0/usb1/1-3/1-3.2/1-3.2:1.0/bluetooth/hci0/hci0:11/0005:03F0:044C.0002/power_supply/hid-00:02:76:4f:9b
:cb-battery, assuming 10V" but it has only two AA battery so max level
is 2.8V

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

Title:
  Upower doesn't handle bluetooth mice properly

Status in Upower:
  Fix Released
Status in upower package in Ubuntu:
  Fix Released
Status in upower package in Debian:
  Fix Released

Bug description:
  I have a bluetooth Logitech M557, and it is being mis-detected by
  Upower as a battery instead of a mouse:

  Device: /org/freedesktop/UPower/devices/battery_hid_00o1fo20of5oabob5_battery
native-path:  hid-00:1f:20:f5:ab:b5-battery
model:Bluetooth Mouse M557
power supply: no
updated:  Mon 27 Apr 2015 10:05:22 AM EDT (13 seconds ago)
has history:  yes
has statistics:   yes
battery
  present: yes
  rechargeable:yes
  state:   discharging
  warning-level:   none
  energy:  0 Wh
  energy-empty:0 Wh
  energy-full: 0 Wh
  energy-full-design:  0 Wh
  energy-rate: 0 W
  percentage:  100%
  capacity:100%
  icon-name:  'battery-full-symbolic'
History (charge):
  1430143522100.000 discharging

  
  The patch available in the upstream bug improves the situation by parsing it 
as a hid device, but then mistakes it for a keyboard:
  https://bugs.freedesktop.org/show_bug.cgi?id=86510

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: upower 0.99.2-2
  ProcVersionSignature: Ubuntu 3.19.0-15.15-generic 3.19.3
  Uname: Linux 3.19.0-15-generic x86_64
  ApportVersion: 2.17.2-0ubuntu1
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Mon Apr 27 10:04:20 2015
  InstallationDate: Installed on 2013-11-26 (516 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 
(20131016.1)
  SourcePackage: upower
  UpgradeStatus: Upgraded to vivid on 2015-03-07 (50 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/upower/+bug/1449051/+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 1449051] Re: Upower doesn't handle bluetooth mice properly

2015-05-29 Thread redfox7691
I have a bluetooth mouse, an "HP Touch to Pair Mouse" and it is
identified by Upower as a laptop battery instead of a mouse, I use
Ubuntu 15.04. How can I get fixed version of upower?

** Attachment added: "out.txt"
   
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/1449051/+attachment/4406526/+files/out.txt

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

Title:
  Upower doesn't handle bluetooth mice properly

Status in Upower:
  Fix Released
Status in upower package in Ubuntu:
  Fix Committed
Status in upower package in Debian:
  New

Bug description:
  I have a bluetooth Logitech M557, and it is being mis-detected by
  Upower as a battery instead of a mouse:

  Device: /org/freedesktop/UPower/devices/battery_hid_00o1fo20of5oabob5_battery
native-path:  hid-00:1f:20:f5:ab:b5-battery
model:Bluetooth Mouse M557
power supply: no
updated:  Mon 27 Apr 2015 10:05:22 AM EDT (13 seconds ago)
has history:  yes
has statistics:   yes
battery
  present: yes
  rechargeable:yes
  state:   discharging
  warning-level:   none
  energy:  0 Wh
  energy-empty:0 Wh
  energy-full: 0 Wh
  energy-full-design:  0 Wh
  energy-rate: 0 W
  percentage:  100%
  capacity:100%
  icon-name:  'battery-full-symbolic'
History (charge):
  1430143522100.000 discharging

  
  The patch available in the upstream bug improves the situation by parsing it 
as a hid device, but then mistakes it for a keyboard:
  https://bugs.freedesktop.org/show_bug.cgi?id=86510

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: upower 0.99.2-2
  ProcVersionSignature: Ubuntu 3.19.0-15.15-generic 3.19.3
  Uname: Linux 3.19.0-15-generic x86_64
  ApportVersion: 2.17.2-0ubuntu1
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Mon Apr 27 10:04:20 2015
  InstallationDate: Installed on 2013-11-26 (516 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 
(20131016.1)
  SourcePackage: upower
  UpgradeStatus: Upgraded to vivid on 2015-03-07 (50 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/upower/+bug/1449051/+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 1153488] Re: Treats bluetooth input device batteries as batteries

2015-05-28 Thread redfox7691
On syslog I read:
May 28 09:46:20 hp850ssd upowerd[1052]: (upowerd:1052): UPower-Linux-WARNING 
**: no valid voltage value found for device 
/sys/devices/pci:00/:00:14.0/usb1/1-3/1-3.2/1-3.2:1.0/bluetooth/hci0/hci0:11/0005:03F0:044C.0001/power_supply/hid-00:02:76:4f:9b:cb-battery,
 assuming 10V

but my mouse have two AA batteries, so 2.8V max

b0@hp850ssd:~$ sudo grep -r . /sys/class/power_supply/*hid*
/sys/class/power_supply/hid-00:02:76:4f:9b:cb-battery/type:Battery
/sys/class/power_supply/hid-00:02:76:4f:9b:cb-battery/power/control:auto
/sys/class/power_supply/hid-00:02:76:4f:9b:cb-battery/power/async:disabled
/sys/class/power_supply/hid-00:02:76:4f:9b:cb-battery/power/wakeup_abort_count:0
/sys/class/power_supply/hid-00:02:76:4f:9b:cb-battery/power/wakeup_active:0
/sys/class/power_supply/hid-00:02:76:4f:9b:cb-battery/power/wakeup_total_time_ms:3
/sys/class/power_supply/hid-00:02:76:4f:9b:cb-battery/power/wakeup_active_count:1
/sys/class/power_supply/hid-00:02:76:4f:9b:cb-battery/power/runtime_enabled:disabled
/sys/class/power_supply/hid-00:02:76:4f:9b:cb-battery/power/runtime_active_kids:0
/sys/class/power_supply/hid-00:02:76:4f:9b:cb-battery/power/runtime_active_time:0
/sys/class/power_supply/hid-00:02:76:4f:9b:cb-battery/power/wakeup_max_time_ms:3
/sys/class/power_supply/hid-00:02:76:4f:9b:cb-battery/power/wakeup_count:1
/sys/class/power_supply/hid-00:02:76:4f:9b:cb-battery/power/wakeup_last_time_ms:7182083
/sys/class/power_supply/hid-00:02:76:4f:9b:cb-battery/power/wakeup:enabled
grep: 
/sys/class/power_supply/hid-00:02:76:4f:9b:cb-battery/power/autosuspend_delay_ms:
 Errore di input/output
/sys/class/power_supply/hid-00:02:76:4f:9b:cb-battery/power/runtime_status:unsupported
/sys/class/power_supply/hid-00:02:76:4f:9b:cb-battery/power/runtime_usage:0
/sys/class/power_supply/hid-00:02:76:4f:9b:cb-battery/power/wakeup_expire_count:0
/sys/class/power_supply/hid-00:02:76:4f:9b:cb-battery/power/runtime_suspended_time:0
/sys/class/power_supply/hid-00:02:76:4f:9b:cb-battery/scope:Device
/sys/class/power_supply/hid-00:02:76:4f:9b:cb-battery/capacity:0
/sys/class/power_supply/hid-00:02:76:4f:9b:cb-battery/online:1
/sys/class/power_supply/hid-00:02:76:4f:9b:cb-battery/status:Discharging
/sys/class/power_supply/hid-00:02:76:4f:9b:cb-battery/uevent:POWER_SUPPLY_NAME=hid-00:02:76:4f:9b:cb-battery
/sys/class/power_supply/hid-00:02:76:4f:9b:cb-battery/uevent:POWER_SUPPLY_PRESENT=1
/sys/class/power_supply/hid-00:02:76:4f:9b:cb-battery/uevent:POWER_SUPPLY_ONLINE=1
/sys/class/power_supply/hid-00:02:76:4f:9b:cb-battery/uevent:POWER_SUPPLY_CAPACITY=0
/sys/class/power_supply/hid-00:02:76:4f:9b:cb-battery/uevent:POWER_SUPPLY_MODEL_NAME=HP
 Touch to Pair Mouse
/sys/class/power_supply/hid-00:02:76:4f:9b:cb-battery/uevent:POWER_SUPPLY_STATUS=Discharging
/sys/class/power_supply/hid-00:02:76:4f:9b:cb-battery/uevent:POWER_SUPPLY_SCOPE=Device
/sys/class/power_supply/hid-00:02:76:4f:9b:cb-battery/model_name:HP Touch to 
Pair Mouse
/sys/class/power_supply/hid-00:02:76:4f:9b:cb-battery/present:1

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

Title:
  Treats bluetooth input device batteries as batteries

Status in gnome-power-manager package in Ubuntu:
  Invalid
Status in upower package in Ubuntu:
  Fix Released
Status in gnome-power-manager source package in Precise:
  Invalid
Status in upower source package in Precise:
  Fix Released
Status in gnome-power-manager source package in Quantal:
  Invalid
Status in upower source package in Quantal:
  Won't Fix
Status in gnome-power-manager source package in Raring:
  Invalid
Status in upower source package in Raring:
  Fix Released
Status in gnome-power-manager source package in Saucy:
  Invalid
Status in upower source package in Saucy:
  Fix Released

Bug description:
  [Impact]

   * There are many Bluetooth devices with battery information inside.
  When they are treated as system battery, it will make the system
  poweroff/suspend/hibernate when some Bluetooth device has critical low
  battery. It is a very annoying behavior for the users. Originally,
  there is no such Bluetooth battery information until Ubuntu 12.04
  brings linux-quantal-lts and linux-raring-lts, so those linux kernels
  also bring this issue.

  [Test Case]

   * Pair some Bluetooth devices, such as Apple Wireless Mouse or Apple 
Wireless Keyboard.
   * Click the power indicator and you can find Apple Wireless Mouse is listed 
as system battery, and there is no Apple Wireless Keyboard. If you open 
gnome-power-statistics, you can find the 'Supply' field of Apple Wireless Mouse 
is 'Yes' but it should not be.

  [Regression Potential]

   * There is no obvious regression as I know.

  [Other Info]

   * Most patches are from upstream, modified to fix the conflicts, and made by 
the same developer (i.e. fourdollars).
   * We need another patch from 
https://git.kernel.org/cgi

[Touch-packages] [Bug 1458875] [NEW] Upower report wrong level of bluetooth mouse battery and battery level icon is wrong

2015-05-26 Thread redfox7691
Public bug reported:

On Ubuntu 15.04 my bluetooth mouse gives this message:

May 26 15:12:45 hp850ssd upowerd[1071]: (upowerd:1071): UPower-Linux-
WARNING **: no valid voltage value found for device
/sys/devices/pci:00/:00:14.0/usb1/1-3/1-3.2/1-3.2:1.0/bluetooth/hci0/hci0:11/0005:03F0:044C.0002/power_supply/hid-00:02:76:4f:9b
:cb-battery, assuming 10V

My mouse has two AA battery, so level is wrong and the battery icon
report wrong laptop status until I click with right button on battery
icon

This is upower -d output

Device: /org/freedesktop/UPower/devices/line_power_AC
  native-path:  AC
  power supply: yes
  updated:  mar 26 mag 2015 15:12:38 CEST (816 seconds ago)
  has history:  no
  has statistics:   no
  line-power
warning-level:   none
online:  yes
icon-name:  'ac-adapter-symbolic'

Device: /org/freedesktop/UPower/devices/battery_BAT0
  native-path:  BAT0
  vendor:   Hewlett-Packard
  model:Primary
  serial:   00585 2014/03/10
  power supply: yes
  updated:  mar 26 mag 2015 15:24:21 CEST (113 seconds ago)
  has history:  yes
  has statistics:   yes
  battery
present: yes
rechargeable:yes
state:   fully-charged
warning-level:   none
energy:  121,57 Wh
energy-empty:0 Wh
energy-full: 124,18 Wh
energy-full-design:  124,18 Wh
energy-rate: 13,6686 W
voltage: 12,601 V
percentage:  97%
capacity:100%
technology:  lithium-ion
icon-name:  'battery-full-charged-symbolic'

Device: /org/freedesktop/UPower/devices/battery_hid_00o02o76o4fo9bocb_battery
  native-path:  hid-00:02:76:4f:9b:cb-battery
  model:HP Touch to Pair Mouse
  power supply: no
  updated:  mar 26 mag 2015 15:25:46 CEST (28 seconds ago)
  has history:  yes
  has statistics:   yes
  battery
present: yes
rechargeable:yes
state:   discharging
warning-level:   action
energy:  0 Wh
energy-empty:0 Wh
energy-full: 0 Wh
energy-full-design:  0 Wh
energy-rate: 0 W
percentage:  0%
capacity:100%
icon-name:  'battery-caution-symbolic'

Device: /org/freedesktop/UPower/devices/DisplayDevice
  power supply: yes
  updated:  mar 26 mag 2015 15:01:45 CEST (1469 seconds ago)
  has history:  no
  has statistics:   no
  battery
present: yes
state:   fully-charged
warning-level:   none
energy:  121,57 Wh
energy-full: 124,18 Wh
energy-rate: 13,6686 W
percentage:  97%
icon-name:  'battery-full-charged-symbolic'

Daemon:
  daemon-version:  0.99.2
  on-battery:  no
  lid-is-closed:   no
  lid-is-present:  yes
  critical-action: HybridSleep

** Affects: upower (Ubuntu)
 Importance: Undecided
 Status: New

** Attachment added: "Battery icon detail"
   
https://bugs.launchpad.net/bugs/1458875/+attachment/4404840/+files/Schermata%20del%202015-05-26%2015%3A22%3A42.png

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

Title:
  Upower report wrong level of bluetooth mouse battery and battery level
  icon is wrong

Status in upower package in Ubuntu:
  New

Bug description:
  On Ubuntu 15.04 my bluetooth mouse gives this message:

  May 26 15:12:45 hp850ssd upowerd[1071]: (upowerd:1071): UPower-Linux-
  WARNING **: no valid voltage value found for device
  
/sys/devices/pci:00/:00:14.0/usb1/1-3/1-3.2/1-3.2:1.0/bluetooth/hci0/hci0:11/0005:03F0:044C.0002/power_supply/hid-00:02:76:4f:9b
  :cb-battery, assuming 10V

  My mouse has two AA battery, so level is wrong and the battery icon
  report wrong laptop status until I click with right button on battery
  icon

  This is upower -d output

  Device: /org/freedesktop/UPower/devices/line_power_AC
native-path:  AC
power supply: yes
updated:  mar 26 mag 2015 15:12:38 CEST (816 seconds ago)
has history:  no
has statistics:   no
line-power
  warning-level:   none
  online:  yes
  icon-name:  'ac-adapter-symbolic'

  Device: /org/freedesktop/UPower/devices/battery_BAT0
native-path:  BAT0
vendor:   Hewlett-Packard
model:Primary
serial:   00585 2014/03/10
power supply: yes
updated:  mar 26 mag 2015 15:24:21 CEST (113 seconds ago)
has history:  yes
has statistics:   yes
battery
  present: yes
   

[Touch-packages] [Bug 1153488] Re: Treats bluetooth input device batteries as batteries

2015-05-26 Thread redfox7691
I just performed an upgrade to Uuntu 15.04  and started seeing this
issue with my bluetooth mouse "HP Touch To Pair Mouse" and my HP 850G1
laptop: moreover battery level is too low . Here is output of upower
--dump

Device: /org/freedesktop/UPower/devices/line_power_AC
  native-path:  AC
  power supply: yes
  updated:  mar 26 mag 2015 11:55:11 CEST (2849 seconds ago)
  has history:  no
  has statistics:   no
  line-power
warning-level:   none
online:  yes
icon-name:  'ac-adapter-symbolic'

Device: /org/freedesktop/UPower/devices/battery_BAT0
  native-path:  BAT0
  vendor:   Hewlett-Packard
  model:Primary
  serial:   00585 2014/03/10
  power supply: yes
  updated:  mar 26 mag 2015 12:42:32 CEST (8 seconds ago)
  has history:  yes
  has statistics:   yes
  battery
present: yes
rechargeable:yes
state:   fully-charged
warning-level:   none
energy:  124,18 Wh
energy-empty:0 Wh
energy-full: 124,18 Wh
energy-full-design:  124,18 Wh
energy-rate: 0 W
voltage: 12,774 V
percentage:  100%
capacity:100%
technology:  lithium-ion
icon-name:  'battery-full-charged-symbolic'

Device: /org/freedesktop/UPower/devices/battery_hid_00o02o76o4fo9bocb_battery
  native-path:  hid-00:02:76:4f:9b:cb-battery
  model:HP Touch to Pair Mouse
  power supply: no
  updated:  mar 26 mag 2015 12:42:24 CEST (16 seconds ago)
  has history:  yes
  has statistics:   yes
  battery
present: yes
rechargeable:yes
state:   discharging
warning-level:   action
energy:  0 Wh
energy-empty:0 Wh
energy-full: 0 Wh
energy-full-design:  0 Wh
energy-rate: 0 W
percentage:  0%
capacity:100%icon-name:  'battery-caution-symbolic'

Device: /org/freedesktop/UPower/devices/DisplayDevice
  power supply: yes
  updated:  mar 26 mag 2015 11:17:55 CEST (5085 seconds ago)
  has history:  no
  has statistics:   no
  battery
present: yes
state:   fully-charged
warning-level:   none
energy:  124,18 Wh
energy-full: 124,18 Wh
energy-rate: 0 W
percentage:  100%
icon-name:  'battery-full-charged-symbolic'

Daemon:
  daemon-version:  0.99.2
  on-battery:  no
  lid-is-closed:   no
  lid-is-present:  yes
  critical-action: HybridSleep

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

Title:
  Treats bluetooth input device batteries as batteries

Status in gnome-power-manager package in Ubuntu:
  Invalid
Status in upower package in Ubuntu:
  Fix Released
Status in gnome-power-manager source package in Precise:
  Invalid
Status in upower source package in Precise:
  Fix Released
Status in gnome-power-manager source package in Quantal:
  Invalid
Status in upower source package in Quantal:
  Won't Fix
Status in gnome-power-manager source package in Raring:
  Invalid
Status in upower source package in Raring:
  Fix Released
Status in gnome-power-manager source package in Saucy:
  Invalid
Status in upower source package in Saucy:
  Fix Released

Bug description:
  [Impact]

   * There are many Bluetooth devices with battery information inside.
  When they are treated as system battery, it will make the system
  poweroff/suspend/hibernate when some Bluetooth device has critical low
  battery. It is a very annoying behavior for the users. Originally,
  there is no such Bluetooth battery information until Ubuntu 12.04
  brings linux-quantal-lts and linux-raring-lts, so those linux kernels
  also bring this issue.

  [Test Case]

   * Pair some Bluetooth devices, such as Apple Wireless Mouse or Apple 
Wireless Keyboard.
   * Click the power indicator and you can find Apple Wireless Mouse is listed 
as system battery, and there is no Apple Wireless Keyboard. If you open 
gnome-power-statistics, you can find the 'Supply' field of Apple Wireless Mouse 
is 'Yes' but it should not be.

  [Regression Potential]

   * There is no obvious regression as I know.

  [Other Info]

   * Most patches are from upstream, modified to fix the conflicts, and made by 
the same developer (i.e. fourdollars).
   * We need another patch from 
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=d0a934b764c67b4bf626f5b7cf725a6e3066afd2
 to make Apple Wireless Keyboard showing.

  [Original Bug Description]

  This is a weird one... the system is an HP Pavilion 23 All In One and
  is powered by a large po

[Touch-packages] [Bug 1382302] Re: Broadcom Corporation BCM4352 bluetooth adapter not finding any bluetooth devices

2015-05-08 Thread redfox7691
The BCM4352 is wifi part of chipset, the bluetooth component has a
different id. Last Tuesday I've bought a half size PCIE card, an
Azurewave AW-CE123H 802.11ac/nbg WiFi+BT Broadcom BCM4352, because I use
my laptop as hackintosh and the original Intel board is not supported.

>From a OSX forum I've learned that my new hardware needs a specific
firmware and I've installed a component to inject this firmware into my
card at every boot and sleep/wake cycle.

After this I've found that, under Linux, bluetooth was not working:
after some searching I've found that btusb module supports device
13d3:3404 (iProduct  BCM20702A0)  only from kernel 3.19, but (for other
reasons) I'm using kernel 3.18 on my Ubuntu 14.04.

I don't know where is the commit hash, but in btusb.c of kernel 3.19 at
line 109/110 there is support at firmware loading for 13d3:3404 device,
this is absent in 3.18.13 kernel.

I hope that this can you help to find piece of information that you
asked for.

Regards,
Claudio

-- 
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/1382302

Title:
  Broadcom Corporation BCM4352 bluetooth adapter not finding any
  bluetooth devices

Status in bluez package in Ubuntu:
  Fix Released

Bug description:
  Broadcom Corporation BCM4352 wi-fi/bluetooth adapter  is unable to
  find/detect Bluetooth devices, and Bluetooth devices can not see the
  Ubuntu PC, even when in pairing mode.

  (Here is a similar bug, but for a different Broadcom device:
  https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1264311)

  MOTHERBOARD INFO

  $ sudo dmidecode -t baseboard
  # dmidecode 2.12
  SMBIOS 2.7 present.

  Handle 0x0002, DMI type 2, 15 bytes
  Base Board Information
   Manufacturer: ASRock
   Product Name: Z87E-ITX
   Version:
   Serial Number: E80-34027900563
   Asset Tag:
   Features:
    Board is a hosting board
    Board is replaceable
   Location In Chassis:
   Chassis Handle: 0x0003
   Type: Motherboard
   Contained Object Handles: 0

  UBUNTU INFO

  $ lsb_release -a
  No LSB modules are available.
  Distributor ID:   Ubuntu
  Description:  Ubuntu 14.04.1 LTS
  Release:  14.04
  Codename: trusty

   $ uname -a
  Linux Computer 3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:28:38 UTC 2014 
x86_64 x86_64 x86_64 GNU/Linux

  WI-FI DEVICE INFO

  $ lspci | grep Broadcom
  03:00.0 Network controller: Broadcom Corporation BCM4352 802.11ac Wireless 
Network Adapter (rev 03)

  Note, the BCM4352 802.11ac device is a combination Wi-Fi + Bluetooth
  adapter.

  BLUETOOTH DEVICE INFO

  $ lsusb
  Bus 002 Device 002: ID 8087:8000 Intel Corp.
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 003: ID 13d3:3404 IMC Networks
  Bus 001 Device 002: ID 8087:8008 Intel Corp.
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 1b1c:0c04 Corsair
  Bus 003 Device 003: ID 046d:0826 Logitech, Inc.
  Bus 003 Device 002: ID 09da:024f A4 Tech Co., Ltd RF Receiver and G6-20D 
Wireless Optical Mouse
  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

  The system log does not show any errors when the btusb module is
  loaded...

  kernel: [36245.996355] usbcore: registered new interface driver btusb
  bluetoothd[833]: Unknown command complete for opcode 19
  bluetoothd[833]: Endpoint registered: sender=:1.1820 path=/MediaEndpoint/HFPAG
  bluetoothd[833]: Endpoint registered: sender=:1.1820 path=/MediaEndpoint/HFPHS
  bluetoothd[833]: Endpoint registered: sender=:1.1820 
path=/MediaEndpoint/A2DPSource
  bluetoothd[833]: Endpoint registered: sender=:1.1820 
path=/MediaEndpoint/A2DPSink
  bluetoothd[833]: Endpoint registered: sender=:1.77 path=/MediaEndpoint/HFPAG
  bluetoothd[833]: Endpoint registered: sender=:1.77 path=/MediaEndpoint/HFPHS
  bluetoothd[833]: Endpoint registered: sender=:1.77 
path=/MediaEndpoint/A2DPSource
  bluetoothd[833]: Endpoint registered: sender=:1.77 
path=/MediaEndpoint/A2DPSink
  bluetoothd[833]: Adapter /org/bluez/833/hci0 has been enabled

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1382302/+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 1382302] Re: Broadcom Corporation BCM4352 bluetooth adapter not finding any bluetooth devices

2015-05-07 Thread redfox7691
SOLVED: if you have this USB device 13d3:3404 like me there is a lack of
firmware uploading, this is solved in kernel 4.0, so if you have a
kernel 3.x you must patch btusb.c and recompile this module.

For example I have a 3.18.12 kernel (installed into Ubuntu 14.04 from
http://kernel.ubuntu.com/~kernel-ppa/mainline/?C=N;O=D), here is what
I've done:

- get the kernel source with wget 
https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.18.12.tar.xz
- tar xpvf linux-3.18.12.tar.xz
- cd linux-3.18.12/drivers/bluetooth
- gedit btusb
- add this line under /* Broadcom BCM20702A0 */ 
  { USB_DEVICE(0x13d3, 0x3404), .driver_info = BTUSB_BCM_PATCHRAM },
- cp /boot/config-$(uname -r) .config
- cp /usr/src/linux-headers-$(uname -r)/Module.symvers Module.symvers
- sudo apt-get install build-essential linux-headers-generic
- sudo cp btusb.ko /lib/modules/$(uname -r)/kernel/drivers/bluetooth/
- get file https://dl.dropboxusercontent.com/u/2259248/BCM20702A0-13d3-3404.hcd 
and put it into /lib/firmware/brcm directory
- reboot

That's all, folk!

-- 
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/1382302

Title:
  Broadcom Corporation BCM4352 bluetooth adapter not finding any
  bluetooth devices

Status in bluez package in Ubuntu:
  Fix Released

Bug description:
  Broadcom Corporation BCM4352 wi-fi/bluetooth adapter  is unable to
  find/detect Bluetooth devices, and Bluetooth devices can not see the
  Ubuntu PC, even when in pairing mode.

  (Here is a similar bug, but for a different Broadcom device:
  https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1264311)

  MOTHERBOARD INFO

  $ sudo dmidecode -t baseboard
  # dmidecode 2.12
  SMBIOS 2.7 present.

  Handle 0x0002, DMI type 2, 15 bytes
  Base Board Information
   Manufacturer: ASRock
   Product Name: Z87E-ITX
   Version:
   Serial Number: E80-34027900563
   Asset Tag:
   Features:
    Board is a hosting board
    Board is replaceable
   Location In Chassis:
   Chassis Handle: 0x0003
   Type: Motherboard
   Contained Object Handles: 0

  UBUNTU INFO

  $ lsb_release -a
  No LSB modules are available.
  Distributor ID:   Ubuntu
  Description:  Ubuntu 14.04.1 LTS
  Release:  14.04
  Codename: trusty

   $ uname -a
  Linux Computer 3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:28:38 UTC 2014 
x86_64 x86_64 x86_64 GNU/Linux

  WI-FI DEVICE INFO

  $ lspci | grep Broadcom
  03:00.0 Network controller: Broadcom Corporation BCM4352 802.11ac Wireless 
Network Adapter (rev 03)

  Note, the BCM4352 802.11ac device is a combination Wi-Fi + Bluetooth
  adapter.

  BLUETOOTH DEVICE INFO

  $ lsusb
  Bus 002 Device 002: ID 8087:8000 Intel Corp.
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 003: ID 13d3:3404 IMC Networks
  Bus 001 Device 002: ID 8087:8008 Intel Corp.
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 1b1c:0c04 Corsair
  Bus 003 Device 003: ID 046d:0826 Logitech, Inc.
  Bus 003 Device 002: ID 09da:024f A4 Tech Co., Ltd RF Receiver and G6-20D 
Wireless Optical Mouse
  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

  The system log does not show any errors when the btusb module is
  loaded...

  kernel: [36245.996355] usbcore: registered new interface driver btusb
  bluetoothd[833]: Unknown command complete for opcode 19
  bluetoothd[833]: Endpoint registered: sender=:1.1820 path=/MediaEndpoint/HFPAG
  bluetoothd[833]: Endpoint registered: sender=:1.1820 path=/MediaEndpoint/HFPHS
  bluetoothd[833]: Endpoint registered: sender=:1.1820 
path=/MediaEndpoint/A2DPSource
  bluetoothd[833]: Endpoint registered: sender=:1.1820 
path=/MediaEndpoint/A2DPSink
  bluetoothd[833]: Endpoint registered: sender=:1.77 path=/MediaEndpoint/HFPAG
  bluetoothd[833]: Endpoint registered: sender=:1.77 path=/MediaEndpoint/HFPHS
  bluetoothd[833]: Endpoint registered: sender=:1.77 
path=/MediaEndpoint/A2DPSource
  bluetoothd[833]: Endpoint registered: sender=:1.77 
path=/MediaEndpoint/A2DPSink
  bluetoothd[833]: Adapter /org/bluez/833/hci0 has been enabled

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1382302/+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 1382302] Re: Broadcom Corporation BCM4352 bluetooth adapter not finding any bluetooth devices

2015-05-07 Thread redfox7691
Fixed on Kernel 4.0 or with patch of btusb.c and firmware from Windows
driver

** Changed in: bluez (Ubuntu)
   Status: Confirmed => Fix Released

-- 
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/1382302

Title:
  Broadcom Corporation BCM4352 bluetooth adapter not finding any
  bluetooth devices

Status in bluez package in Ubuntu:
  Fix Released

Bug description:
  Broadcom Corporation BCM4352 wi-fi/bluetooth adapter  is unable to
  find/detect Bluetooth devices, and Bluetooth devices can not see the
  Ubuntu PC, even when in pairing mode.

  (Here is a similar bug, but for a different Broadcom device:
  https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1264311)

  MOTHERBOARD INFO

  $ sudo dmidecode -t baseboard
  # dmidecode 2.12
  SMBIOS 2.7 present.

  Handle 0x0002, DMI type 2, 15 bytes
  Base Board Information
   Manufacturer: ASRock
   Product Name: Z87E-ITX
   Version:
   Serial Number: E80-34027900563
   Asset Tag:
   Features:
    Board is a hosting board
    Board is replaceable
   Location In Chassis:
   Chassis Handle: 0x0003
   Type: Motherboard
   Contained Object Handles: 0

  UBUNTU INFO

  $ lsb_release -a
  No LSB modules are available.
  Distributor ID:   Ubuntu
  Description:  Ubuntu 14.04.1 LTS
  Release:  14.04
  Codename: trusty

   $ uname -a
  Linux Computer 3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:28:38 UTC 2014 
x86_64 x86_64 x86_64 GNU/Linux

  WI-FI DEVICE INFO

  $ lspci | grep Broadcom
  03:00.0 Network controller: Broadcom Corporation BCM4352 802.11ac Wireless 
Network Adapter (rev 03)

  Note, the BCM4352 802.11ac device is a combination Wi-Fi + Bluetooth
  adapter.

  BLUETOOTH DEVICE INFO

  $ lsusb
  Bus 002 Device 002: ID 8087:8000 Intel Corp.
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 003: ID 13d3:3404 IMC Networks
  Bus 001 Device 002: ID 8087:8008 Intel Corp.
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 1b1c:0c04 Corsair
  Bus 003 Device 003: ID 046d:0826 Logitech, Inc.
  Bus 003 Device 002: ID 09da:024f A4 Tech Co., Ltd RF Receiver and G6-20D 
Wireless Optical Mouse
  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

  The system log does not show any errors when the btusb module is
  loaded...

  kernel: [36245.996355] usbcore: registered new interface driver btusb
  bluetoothd[833]: Unknown command complete for opcode 19
  bluetoothd[833]: Endpoint registered: sender=:1.1820 path=/MediaEndpoint/HFPAG
  bluetoothd[833]: Endpoint registered: sender=:1.1820 path=/MediaEndpoint/HFPHS
  bluetoothd[833]: Endpoint registered: sender=:1.1820 
path=/MediaEndpoint/A2DPSource
  bluetoothd[833]: Endpoint registered: sender=:1.1820 
path=/MediaEndpoint/A2DPSink
  bluetoothd[833]: Endpoint registered: sender=:1.77 path=/MediaEndpoint/HFPAG
  bluetoothd[833]: Endpoint registered: sender=:1.77 path=/MediaEndpoint/HFPHS
  bluetoothd[833]: Endpoint registered: sender=:1.77 
path=/MediaEndpoint/A2DPSource
  bluetoothd[833]: Endpoint registered: sender=:1.77 
path=/MediaEndpoint/A2DPSink
  bluetoothd[833]: Adapter /org/bluez/833/hci0 has been enabled

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1382302/+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 1382302] Re: Broadcom Corporation BCM4352 bluetooth adapter not finding any bluetooth devices

2015-05-05 Thread redfox7691
Ubuntu 14.04 on  EliteBook 850G1 with Azurewave AW-CE123H 802.11ac/nbg WiFi+BT 
Broadcom BCM4352. Wifi works very well but bluetooth does not work.
I've tried to load firmware from Windows Drivers without success.

If I boot on OSX (yes, my 850G1 works perfectly as hackintosh) first and
then restart Ubuntu (without poweoff), bluetooth works fine.

-- 
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/1382302

Title:
  Broadcom Corporation BCM4352 bluetooth adapter not finding any
  bluetooth devices

Status in bluez package in Ubuntu:
  Confirmed

Bug description:
  Broadcom Corporation BCM4352 wi-fi/bluetooth adapter  is unable to
  find/detect Bluetooth devices, and Bluetooth devices can not see the
  Ubuntu PC, even when in pairing mode.

  (Here is a similar bug, but for a different Broadcom device:
  https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1264311)

  MOTHERBOARD INFO

  $ sudo dmidecode -t baseboard
  # dmidecode 2.12
  SMBIOS 2.7 present.

  Handle 0x0002, DMI type 2, 15 bytes
  Base Board Information
   Manufacturer: ASRock
   Product Name: Z87E-ITX
   Version:
   Serial Number: E80-34027900563
   Asset Tag:
   Features:
    Board is a hosting board
    Board is replaceable
   Location In Chassis:
   Chassis Handle: 0x0003
   Type: Motherboard
   Contained Object Handles: 0

  UBUNTU INFO

  $ lsb_release -a
  No LSB modules are available.
  Distributor ID:   Ubuntu
  Description:  Ubuntu 14.04.1 LTS
  Release:  14.04
  Codename: trusty

   $ uname -a
  Linux Computer 3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:28:38 UTC 2014 
x86_64 x86_64 x86_64 GNU/Linux

  WI-FI DEVICE INFO

  $ lspci | grep Broadcom
  03:00.0 Network controller: Broadcom Corporation BCM4352 802.11ac Wireless 
Network Adapter (rev 03)

  Note, the BCM4352 802.11ac device is a combination Wi-Fi + Bluetooth
  adapter.

  BLUETOOTH DEVICE INFO

  $ lsusb
  Bus 002 Device 002: ID 8087:8000 Intel Corp.
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 003: ID 13d3:3404 IMC Networks
  Bus 001 Device 002: ID 8087:8008 Intel Corp.
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 1b1c:0c04 Corsair
  Bus 003 Device 003: ID 046d:0826 Logitech, Inc.
  Bus 003 Device 002: ID 09da:024f A4 Tech Co., Ltd RF Receiver and G6-20D 
Wireless Optical Mouse
  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

  The system log does not show any errors when the btusb module is
  loaded...

  kernel: [36245.996355] usbcore: registered new interface driver btusb
  bluetoothd[833]: Unknown command complete for opcode 19
  bluetoothd[833]: Endpoint registered: sender=:1.1820 path=/MediaEndpoint/HFPAG
  bluetoothd[833]: Endpoint registered: sender=:1.1820 path=/MediaEndpoint/HFPHS
  bluetoothd[833]: Endpoint registered: sender=:1.1820 
path=/MediaEndpoint/A2DPSource
  bluetoothd[833]: Endpoint registered: sender=:1.1820 
path=/MediaEndpoint/A2DPSink
  bluetoothd[833]: Endpoint registered: sender=:1.77 path=/MediaEndpoint/HFPAG
  bluetoothd[833]: Endpoint registered: sender=:1.77 path=/MediaEndpoint/HFPHS
  bluetoothd[833]: Endpoint registered: sender=:1.77 
path=/MediaEndpoint/A2DPSource
  bluetoothd[833]: Endpoint registered: sender=:1.77 
path=/MediaEndpoint/A2DPSink
  bluetoothd[833]: Adapter /org/bluez/833/hci0 has been enabled

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1382302/+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