[Bug 1153488] Re: System reads bluetooth input devices as a Battery

2013-09-04 Thread Shih-Yuan Lee
$ grep -r . /sys/class/power_supply/*hid* /sys/class/power_supply/hid-10:9A:DD:96:DA:0D-battery/type:Battery

[Bug 1153488] Re: System reads bluetooth input devices as a Battery

2013-09-03 Thread Martin Pitt
** Summary changed: - System reads Apple Magic Mouse (BT) as a Battery + System reads bluetooth input devices as a Battery -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1153488 Title: System reads

[Bug 1153488] Re: System reads bluetooth input devices as a Battery

2013-09-03 Thread Martin Pitt
For developing a test case for this it would be really helpful if you could copypaste the output of this command: grep -r . /sys/class/power_supply/*hid* Thanks! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1153488] Re: System reads bluetooth input devices as a Battery

2013-09-03 Thread Shih-Yuan Lee
`grep -r . /sys/class/power_supply/*hid*` seems to run forever. Is there other command that can run sooner? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1153488 Title: System reads bluetooth input

[Bug 1153488] Re: System reads bluetooth input devices as a Battery

2013-09-03 Thread Martin Pitt
Hm, it should take no time at all, so it seems trying to read a particular attribute triggers a kernel bug. Could you start with ls -lR /sys/class/power_supply/*hid* ? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1153488] Re: System reads bluetooth input devices as a Battery

2013-09-03 Thread hshan
Here's mine; (Problem with my bluetooth keyboard) ls -lR /sys/class/power_supply/*hid* lrwxrwxrwx 1 root root 0 Sep 3 06:50 /sys/class/power_supply/hid-00:1f:20:38:cc:30-battery -

[Bug 1153488] Re: System reads bluetooth input devices as a Battery

2013-09-03 Thread Shih-Yuan Lee
ls -lR /sys/class/power_supply/*hid* lrwxrwxrwx 1 root root 0 Sep 4 13:32 /sys/class/power_supply/hid-10:9A:DD:96:DA:0D-battery - ../../devices/pci:00/:00:1a.0/usb3/3-1/3-1:1.0/bluetooth/hci0/hci0:11/0005:05AC:0239.0003/power_supply/hid-10:9A:DD:96:DA:0D-battery lrwxrwxrwx 1 root root

[Bug 1153488] Re: System reads bluetooth input devices as a Battery

2013-09-03 Thread Shih-Yuan Lee
$ ls -lR /sys/class/power_supply/../../devices/pci:00/:00:1a.0/usb3/3-1/3-1:1.0/bluetooth/hci0/hci0:11/0005:05AC:0239.0003/power_supply/hid-10:9A:DD:96:DA:0D-battery

[Bug 1153488] Re: System reads bluetooth input devices as a Battery

2013-09-03 Thread Shih-Yuan Lee
@pitti, I can run `grep -r . /sys/class/power_supply/*hid*` in Ubuntu 13.04 without any problem. But when I run it in Ubuntu 12.04, it shows some messages like grep: warning: ...: recursive directory loop. It seems to be another bug of grep in Ubuntu 12.04. :P -- You received this bug