$ grep -r . /sys/class/power_supply/*hid*
/sys/class/power_supply/hid-10:9A:DD:96:DA:0D-battery/type:Battery
** 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
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.
`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
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.
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 -
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
$ 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
@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