Re: [Bug 1153488] Re: Treats bluetooth input device batteries as system power supply

2013-09-04 Thread hshan
Thanks Martin for looking into this. we must be a great minority!?


On Wed, Sep 4, 2013 at 9:27 AM, Shih-Yuan Lee <1153...@bugs.launchpad.net>wrote:

> export LC_ALL=C
> ls -lR /sys/class/power_supply/* > /tmp/out.txt 2>&1
> echo >> /tmp/out.txt
> ls -lR /sys/class/bluetooth/* >> /tmp/out.txt 2>&1
> echo >> /tmp/out.txt
> udevadm info --export-db >> /tmp/out.txt 2>&1
> echo >> /tmp/out.txt
> grep -r . /sys/class/power_supply/* /sys/class/bluetooth/* >> /tmp/out.txt
> 2>&1
>
>
> ** Attachment added: "out.txt"
>
> https://bugs.launchpad.net/ubuntu/+source/gnome-power-manager/+bug/1153488/+attachment/3802450/+files/out.txt
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1153488
>
> Title:
>   Treats bluetooth input device batteries as system power supply
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/gnome-power-manager/+bug/1153488/+subscriptions
>


** Attachment added: "out.txt"
   https://bugs.launchpad.net/bugs/1153488/+attachment/3803177/+files/out.txt

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1153488

Title:
  Treats bluetooth input device batteries as system power supply

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-power-manager/+bug/1153488/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 1153488] Re: Treats bluetooth input device batteries as system power supply

2013-09-04 Thread Shih-Yuan Lee
export LC_ALL=C
ls -lR /sys/class/power_supply/* > /tmp/out.txt 2>&1
echo >> /tmp/out.txt
ls -lR /sys/class/bluetooth/* >> /tmp/out.txt 2>&1
echo >> /tmp/out.txt
udevadm info --export-db >> /tmp/out.txt 2>&1
echo >> /tmp/out.txt
grep -r . /sys/class/power_supply/* /sys/class/bluetooth/* >> /tmp/out.txt 2>&1


** Attachment added: "out.txt"
   
https://bugs.launchpad.net/ubuntu/+source/gnome-power-manager/+bug/1153488/+attachment/3802450/+files/out.txt

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1153488

Title:
  Treats bluetooth input device batteries as system power supply

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-power-manager/+bug/1153488/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 1153488] Re: Treats bluetooth input device batteries as system power supply

2013-09-04 Thread Martin Pitt
Sorr, this command might not even be enough; please rather do

  ls -lR /sys/class/power_supply/*hid* > /tmp/out.txt
  udevadm info --export-db >> /tmp/out.txt
  grep -r . /sys/class/power_supply /sys/class/bluetooth/ >> /tmp/out.txt

and attach /tmp/out.txt after that. Thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1153488

Title:
  Treats bluetooth input device batteries as system power supply

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-power-manager/+bug/1153488/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 1153488] Re: Treats bluetooth input device batteries as system power supply

2013-09-04 Thread Martin Pitt
Thanks Lee and hshan!

It turns out that to test Lee's patch I need information about the
parent devices as well, which should be keyboard/mouse input devices.
Can you please do

  for f in  /sys/class/power_supply/*; do t=`readlink -f $f`; echo "=== $f -> 
$t ==="; grep -r . `dirname $t`; done > /tmp/out.txt
 
and attach /tmp/out.txt here?

Thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1153488

Title:
  Treats bluetooth input device batteries as system power supply

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-power-manager/+bug/1153488/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs