Summary: | No power info for Bluetooth Logitech Mouses | ||
---|---|---|---|
Product: | upower | Reporter: | Paolo Melchiorre <paulox> |
Component: | general | Assignee: | Richard Hughes <richard> |
Status: | RESOLVED NOTOURBUG | QA Contact: | |
Severity: | major | ||
Priority: | medium | CC: | bugzilla, johasixt, paulox |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux (All) | ||
URL: | https://bugs.launchpad.net/ubuntu/+source/upower/+bug/1243738 | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Paolo Melchiorre
2013-10-29 13:42:06 UTC
That usually means that your kernel doesn't export the battery information for your device, or that it's a CSR device, and we don't try to process it. What's the output of: ls -l /sys/class/power_supply/ If there's no trace of the mouse there, you'll need to start modifying the 95-upower-csr.rules file UPower ships. Thanks for you're reply. $ ls -l /sys/class/power_supply/ totale 0 lrwxrwxrwx 1 root root 0 nov 3 22:53 AC -> ../../devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/AC lrwxrwxrwx 1 root root 0 nov 3 22:53 BAT0 -> ../../devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0 $ cat /lib/udev/rules.d/95-upower-csr.rules ############################################################################################################## # Logitech Mice with CSR battery readouts # # These are properties defining the behavior: # UPOWER_CSR_DUAL (Dual Receiver) # SUBSYSTEM!="usb", GOTO="up_csr_end" ATTR{idVendor}=="046d", ENV{UPOWER_VENDOR}="Logitech, Inc." ATTR{idVendor}=="046d", ATTR{idProduct}=="c501", ENV{UPOWER_PRODUCT}="Mouse Receiver", ENV{UPOWER_BATTERY_TYPE}="mouse" ATTR{idVendor}=="046d", ATTR{idProduct}=="c502", ENV{UPOWER_PRODUCT}="Dual Receiver", ENV{UPOWER_BATTERY_TYPE}="mouse", ENV{UPOWER_CSR_DUAL}="1" ATTR{idVendor}=="046d", ATTR{idProduct}=="c504", ENV{UPOWER_PRODUCT}="Freedom Optical", ENV{UPOWER_BATTERY_TYPE}="mouse", ENV{UPOWER_CSR_DUAL}="1" ATTR{idVendor}=="046d", ATTR{idProduct}=="c505", ENV{UPOWER_PRODUCT}="Elite Duo", ENV{UPOWER_BATTERY_TYPE}="keyboard" ATTR{idVendor}=="046d", ATTR{idProduct}=="c506", ENV{UPOWER_PRODUCT}="MX700 Optical Mouse", ENV{UPOWER_BATTERY_TYPE}="mouse" ATTR{idVendor}=="046d", ATTR{idProduct}=="c508", ENV{UPOWER_PRODUCT}="Optical TrackMan", ENV{UPOWER_BATTERY_TYPE}="mouse" ATTR{idVendor}=="046d", ATTR{idProduct}=="c50e", ENV{UPOWER_PRODUCT}="MX1000 Laser Mouse", ENV{UPOWER_BATTERY_TYPE}="mouse" ATTR{idVendor}=="046d", ATTR{idProduct}=="c510", ENV{UPOWER_PRODUCT}="Click! Mouse", ENV{UPOWER_BATTERY_TYPE}="mouse" ATTR{idVendor}=="046d", ATTR{idProduct}=="c512", ENV{UPOWER_PRODUCT}="Keyboard+Mouse Receiver", ENV{UPOWER_BATTERY_TYPE}="keyboard" ATTR{idVendor}=="046d", ATTR{idProduct}=="c702", ENV{UPOWER_PRODUCT}="Presenter", ENV{UPOWER_BATTERY_TYPE}="mouse" LABEL="up_csr_end" # Unifying HID++ devices SUBSYSTEM!="hid", GOTO="up_unifying_end" ATTRS{idVendor}=="046d", ENV{UPOWER_VENDOR}="Logitech, Inc." ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c52b", DRIVER=="logitech-djdevice", ENV{UPOWER_BATTERY_TYPE}="unifying" ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c532", DRIVER=="logitech-djdevice", ENV{UPOWER_BATTERY_TYPE}="unifying" ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c52f", ENV{UPOWER_BATTERY_TYPE}="lg-wireless" ATTRS{idVendor}=="046d", ATTRS{idProduct}=="b008", ENV{UPOWER_BATTERY_TYPE}="lg-wireless" LABEL="up_unifying_end" I tried to add the line : ATTRS{idVendor}=="046d", ATTRS{idProduct}=="b008", ENV{UPOWER_BATTERY_TYPE}="lg-wireless" But I don't know how force upower to read again the file. What kind of test I'll do ? Paolo (In reply to comment #2) > Thanks for you're reply. > > $ ls -l /sys/class/power_supply/ <snip> The mouse's battery isn't exported through the kernel then. > $ cat /lib/udev/rules.d/95-upower-csr.rules <snip> > I tried to add the line : > > ATTRS{idVendor}=="046d", ATTRS{idProduct}=="b008", > ENV{UPOWER_BATTERY_TYPE}="lg-wireless" > > But I don't know how force upower to read again the file. Rebooting is the easiest. > What kind of test I'll do ? Is it a mouse with a separate receiver, or is it plain Bluetooth? lg-wireless type is for unifying devices, which I guess your mouse isn't. Try adding the "UPOWER_BATTERY_TYPE" set to mouse instead, as do some of the lines in the file mentioned. Where did you get those vendor and product IDs btw? >> What kind of test I'll do ? > Is it a mouse with a separate receiver, or is it plain Bluetooth? Plain Bluetooth > Try adding the "UPOWER_BATTERY_TYPE" set to mouse instead, > as do some of the in the lines file mentioned. this is the line I added ATTRS{idVendor}=="046d", ATTRS{idProduct}=="b008", ENV{UPOWER_BATTERY_TYPE}="mouse" and after reboot the output is the same $ ls -l /sys/class/power_supply/ totale 0 lrwxrwxrwx 1 root root 0 nov 4 09:51 AC -> ../../devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/AC lrwxrwxrwx 1 root root 0 nov 4 09:51 BAT0 -> ../../devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0 > Where did you get those vendor and product IDs btw? I used dmesg command to find product id. Is the wrong way ? $ dmesg | grep Blue [ 2.357804] usb 1-1.4: Product: DW375 Bluetooth Module [ 31.918115] Bluetooth: Core ver 2.16 [ 31.918137] Bluetooth: HCI device and connection manager initialized [ 31.918145] Bluetooth: HCI socket layer initialized [ 31.918147] Bluetooth: L2CAP socket layer initialized [ 31.918153] Bluetooth: SCO socket layer initialized [ 36.062269] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 36.062273] Bluetooth: BNEP filters: protocol multicast [ 36.062282] Bluetooth: BNEP socket layer initialized [ 36.063448] Bluetooth: RFCOMM TTY layer initialized [ 36.063459] Bluetooth: RFCOMM socket layer initialized [ 36.063460] Bluetooth: RFCOMM ver 1.11 [ 99.942084] Bluetooth: HIDP (Human Interface Emulation) ver 1.2 [ 99.942094] Bluetooth: HIDP socket layer initialized [ 99.942626] input: Bluetooth Laser Travel Mouse as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.0/bluetooth/hci0/hci0:11/input18 [ 99.942749] hid-generic 0005:046D:B008.0002: input,hidraw1: BLUETOOTH HID v3.18 Mouse [Bluetooth Laser Travel Mouse] on d0:df:9a:b3:61:e3 Thanks for the feedback I hope we can enable this mouse in upower 1.0 Paolo Can I activate debug or view upower log to fix this issue ? (In reply to comment #5) > Can I activate debug or view upower log to fix this issue ? As root: killall -9 upowerd ; upowerd -v Ok this is my log, I hope this can help to find the problem: $ sudo killall -9 upowerd $ sudo /usr/lib/upower/upowerd -v TI:14:19:24 Starting upowerd version 0.9.22 TI:14:19:24 cannot find a keyboard backlight TI:14:19:24 excuting command: /usr/bin/pm-is-supported --suspend TI:14:19:24 excuting command: /usr/bin/pm-is-supported --hibernate TI:14:19:24 adding swap device: dm-2 TI:14:19:24 swap device dm-2 is not encrypted (allows hibernate) TI:14:19:24 daemon now coldplug TI:14:19:24 registering subsystem : power_supply TI:14:19:24 taking a guess for power supply scope TI:14:19:24 object path = /org/freedesktop/UPower/devices/line_power_AC TI:14:19:24 added native-path: AC TI:14:19:24 added AC TI:14:19:24 taking a guess for power supply scope TI:14:19:24 using min design voltage TI:14:19:24 resetting unknown timeout after 0 retries TI:14:19:24 energy 62,160000 bigger than full 35,309100 TI:14:19:24 object path = /org/freedesktop/UPower/devices/battery_BAT0 TI:14:19:24 using min design voltage TI:14:19:24 resetting unknown timeout after 0 retries TI:14:19:24 added native-path: BAT0 TI:14:19:24 using id: DELL_5CGM419-62-26065 TI:14:19:24 loading 2347 items of data from /var/lib/upower/history-rate-DELL_5CGM419-62-26065.dat TI:14:19:24 loading 840 items of data from /var/lib/upower/history-charge-DELL_5CGM419-62-26065.dat TI:14:19:24 loading 1169 items of data from /var/lib/upower/history-time-full-DELL_5CGM419-62-26065.dat TI:14:19:24 loading 1431 items of data from /var/lib/upower/history-time-empty-DELL_5CGM419-62-26065.dat TI:14:19:24 saving in 600 seconds TI:14:19:24 added BAT0 TI:14:19:24 registering subsystem : usb TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1a.0/usb1 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1a.0/usb1 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1a.0/usb1 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-0:1.0 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-0:1.0 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-0:1.0 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.0 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.0 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.0 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.1 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.1 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.1 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.2 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.2 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.2 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.3 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.3 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.3 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5:1.0 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5:1.0 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5:1.0 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5:1.1 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5:1.1 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5:1.1 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1:1.0 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1:1.0 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1:1.0 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1d.0/usb2 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1d.0/usb2 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1d.0/usb2 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-0:1.0 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-0:1.0 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-0:1.0 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4:1.0 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4:1.0 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4:1.0 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4:1.1 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4:1.1 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4:1.1 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4:1.2 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4:1.2 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4:1.2 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.8 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.8 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.8 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.8/2-1.8:0.0 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.8/2-1.8:0.0 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.8/2-1.8:0.0 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.8/2-1.8:0.1 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.8/2-1.8:0.1 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.8/2-1.8:0.1 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.0 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.0 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.0 TI:14:19:24 registering subsystem : usbmisc TI:14:19:24 registering subsystem : tty TI:14:19:24 failed to coldplug /sys/devices/platform/serial8250/tty/ttyS0 TI:14:19:24 failed to coldplug /sys/devices/platform/serial8250/tty/ttyS1 TI:14:19:24 failed to coldplug /sys/devices/platform/serial8250/tty/ttyS10 TI:14:19:24 failed to coldplug /sys/devices/platform/serial8250/tty/ttyS11 TI:14:19:24 failed to coldplug /sys/devices/platform/serial8250/tty/ttyS12 TI:14:19:24 failed to coldplug /sys/devices/platform/serial8250/tty/ttyS13 TI:14:19:24 failed to coldplug /sys/devices/platform/serial8250/tty/ttyS14 TI:14:19:24 failed to coldplug /sys/devices/platform/serial8250/tty/ttyS15 TI:14:19:24 failed to coldplug /sys/devices/platform/serial8250/tty/ttyS16 TI:14:19:24 failed to coldplug /sys/devices/platform/serial8250/tty/ttyS17 TI:14:19:24 failed to coldplug /sys/devices/platform/serial8250/tty/ttyS18 TI:14:19:24 failed to coldplug /sys/devices/platform/serial8250/tty/ttyS19 TI:14:19:24 failed to coldplug /sys/devices/platform/serial8250/tty/ttyS2 TI:14:19:24 failed to coldplug /sys/devices/platform/serial8250/tty/ttyS20 TI:14:19:24 failed to coldplug /sys/devices/platform/serial8250/tty/ttyS21 TI:14:19:24 failed to coldplug /sys/devices/platform/serial8250/tty/ttyS22 TI:14:19:24 failed to coldplug /sys/devices/platform/serial8250/tty/ttyS23 TI:14:19:24 failed to coldplug /sys/devices/platform/serial8250/tty/ttyS24 TI:14:19:24 failed to coldplug /sys/devices/platform/serial8250/tty/ttyS25 TI:14:19:24 failed to coldplug /sys/devices/platform/serial8250/tty/ttyS26 TI:14:19:24 failed to coldplug /sys/devices/platform/serial8250/tty/ttyS27 TI:14:19:24 failed to coldplug /sys/devices/platform/serial8250/tty/ttyS28 TI:14:19:24 failed to coldplug /sys/devices/platform/serial8250/tty/ttyS29 TI:14:19:24 failed to coldplug /sys/devices/platform/serial8250/tty/ttyS3 TI:14:19:24 failed to coldplug /sys/devices/platform/serial8250/tty/ttyS30 TI:14:19:24 failed to coldplug /sys/devices/platform/serial8250/tty/ttyS31 TI:14:19:24 failed to coldplug /sys/devices/platform/serial8250/tty/ttyS4 TI:14:19:24 failed to coldplug /sys/devices/platform/serial8250/tty/ttyS5 TI:14:19:24 failed to coldplug /sys/devices/platform/serial8250/tty/ttyS6 TI:14:19:24 failed to coldplug /sys/devices/platform/serial8250/tty/ttyS7 TI:14:19:24 failed to coldplug /sys/devices/platform/serial8250/tty/ttyS8 TI:14:19:24 failed to coldplug /sys/devices/platform/serial8250/tty/ttyS9 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/console TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/ptmx TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty0 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty1 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty10 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty11 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty12 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty13 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty14 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty15 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty16 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty17 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty18 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty19 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty2 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty20 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty21 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty22 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty23 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty24 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty25 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty26 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty27 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty28 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty29 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty3 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty30 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty31 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty32 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty33 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty34 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty35 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty36 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty37 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty38 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty39 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty4 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty40 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty41 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty42 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty43 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty44 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty45 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty46 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty47 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty48 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty49 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty5 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty50 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty51 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty52 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty53 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty54 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty55 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty56 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty57 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty58 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty59 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty6 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty60 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty61 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty62 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty63 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty7 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty8 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/tty9 TI:14:19:24 failed to coldplug /sys/devices/virtual/tty/ttyprintk TI:14:19:24 registering subsystem : input TI:14:19:24 not a switch [/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input3/../capabilities/sw] TI:14:19:24 invalid bitmask entry for /sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input3 TI:14:19:24 invalid bitmask entry for /sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input3/event3 TI:14:19:24 not a switch [/sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:00/input/input6/../capabilities/sw] TI:14:19:24 invalid bitmask entry for /sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:00/input/input6 TI:14:19:24 invalid bitmask entry for /sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:00/input/input6/event6 TI:14:19:24 not a switch [/sys/devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input1/../capabilities/sw] TI:14:19:24 invalid bitmask entry for /sys/devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input1 TI:14:19:24 invalid bitmask entry for /sys/devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input1/event1 TI:14:19:24 not a switch [/sys/devices/LNXSYSTM:00/device:00/PNP0C0D:00/input/input0/../capabilities/sw] TI:14:19:24 no device file: /sys/devices/LNXSYSTM:00/device:00/PNP0C0D:00/input/input0 TI:14:19:24 watching /dev/input/event0 (12) TI:14:19:24 using /sys/devices/LNXSYSTM:00/device:00/PNP0C0D:00/input/input0/event0 for lid event TI:14:19:24 lid_is_closed = no TI:14:19:24 lid_is_present = yes TI:14:19:24 added /sys/devices/LNXSYSTM:00/device:00/PNP0C0D:00/input/input0/event0 TI:14:19:24 not a switch [/sys/devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input2/../capabilities/sw] TI:14:19:24 invalid bitmask entry for /sys/devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input2 TI:14:19:24 invalid bitmask entry for /sys/devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input2/event2 TI:14:19:24 not a switch [/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.0/bluetooth/hci0/hci0:12/input19/../capabilities/sw] TI:14:19:24 invalid bitmask entry for /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.0/bluetooth/hci0/hci0:12/input19 TI:14:19:24 invalid bitmask entry for /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.0/bluetooth/hci0/hci0:12/input19/event18 TI:14:19:24 invalid bitmask entry for /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.0/bluetooth/hci0/hci0:12/input19/mouse2 TI:14:19:24 not a switch [/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5:1.0/input/input9/../capabilities/sw] TI:14:19:24 invalid bitmask entry for /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5:1.0/input/input9 TI:14:19:24 invalid bitmask entry for /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5:1.0/input/input9/event9 TI:14:19:24 not a switch [/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/input10/../capabilities/sw] TI:14:19:24 not a lid: /sys/devices/pci0000:00/0000:00:1b.0/sound/card0/input10 TI:14:19:24 not a lid: /sys/devices/pci0000:00/0000:00:1b.0/sound/card0/input10/event10 TI:14:19:24 not a switch [/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/input11/../capabilities/sw] TI:14:19:24 not a lid: /sys/devices/pci0000:00/0000:00:1b.0/sound/card0/input11 TI:14:19:24 not a lid: /sys/devices/pci0000:00/0000:00:1b.0/sound/card0/input11/event11 TI:14:19:24 not a switch [/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/input12/../capabilities/sw] TI:14:19:24 not a lid: /sys/devices/pci0000:00/0000:00:1b.0/sound/card0/input12 TI:14:19:24 not a lid: /sys/devices/pci0000:00/0000:00:1b.0/sound/card0/input12/event12 TI:14:19:24 not a switch [/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/input13/../capabilities/sw] TI:14:19:24 not a lid: /sys/devices/pci0000:00/0000:00:1b.0/sound/card0/input13 TI:14:19:24 not a lid: /sys/devices/pci0000:00/0000:00:1b.0/sound/card0/input13/event13 TI:14:19:24 not a switch [/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/input14/../capabilities/sw] TI:14:19:24 not a lid: /sys/devices/pci0000:00/0000:00:1b.0/sound/card0/input14 TI:14:19:24 not a lid: /sys/devices/pci0000:00/0000:00:1b.0/sound/card0/input14/event14 TI:14:19:24 not a switch [/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/input15/../capabilities/sw] TI:14:19:24 not a lid: /sys/devices/pci0000:00/0000:00:1b.0/sound/card0/input15 TI:14:19:24 not a lid: /sys/devices/pci0000:00/0000:00:1b.0/sound/card0/input15/event15 TI:14:19:24 not a switch [/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/input16/../capabilities/sw] TI:14:19:24 not a lid: /sys/devices/pci0000:00/0000:00:1b.0/sound/card0/input16 TI:14:19:24 not a lid: /sys/devices/pci0000:00/0000:00:1b.0/sound/card0/input16/event16 TI:14:19:24 not a switch [/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4:1.2/input/input5/../capabilities/sw] TI:14:19:24 invalid bitmask entry for /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4:1.2/input/input5 TI:14:19:24 invalid bitmask entry for /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4:1.2/input/input5/event5 TI:14:19:24 not a switch [/sys/devices/platform/i8042/serio0/input/input4/../capabilities/sw] TI:14:19:24 invalid bitmask entry for /sys/devices/platform/i8042/serio0/input/input4 TI:14:19:24 invalid bitmask entry for /sys/devices/platform/i8042/serio0/input/input4/event4 TI:14:19:24 not a switch [/sys/devices/platform/i8042/serio1/input/input7/../capabilities/sw] TI:14:19:24 invalid bitmask entry for /sys/devices/platform/i8042/serio1/input/input7 TI:14:19:24 invalid bitmask entry for /sys/devices/platform/i8042/serio1/input/input7/event7 TI:14:19:24 invalid bitmask entry for /sys/devices/platform/i8042/serio1/input/input7/mouse0 TI:14:19:24 not a switch [/sys/devices/platform/i8042/serio1/input/input8/../capabilities/sw] TI:14:19:24 invalid bitmask entry for /sys/devices/platform/i8042/serio1/input/input8 TI:14:19:24 invalid bitmask entry for /sys/devices/platform/i8042/serio1/input/input8/event8 TI:14:19:24 invalid bitmask entry for /sys/devices/platform/i8042/serio1/input/input8/mouse1 TI:14:19:24 not a switch [/sys/devices/virtual/input/input17/../capabilities/sw] TI:14:19:24 invalid bitmask entry for /sys/devices/virtual/input/input17 TI:14:19:24 invalid bitmask entry for /sys/devices/virtual/input/input17/event17 TI:14:19:24 not a switch [/sys/devices/virtual/input/mice/../capabilities/sw] TI:14:19:24 not a switch [/sys/devices/virtual/input/mice/capabilities/sw] TI:14:19:24 registering subsystem : hid TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.0/bluetooth/hci0/hci0:12/0005:046D:B008.0003 TI:14:19:24 failed to coldplug /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4:1.2/0003:1130:1620.0001 TI:14:19:24 Polling docks: NO TI:14:19:24 graphics device /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-DP-1 is off TI:14:19:24 graphics device /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-DP-2 is off TI:14:19:24 graphics device /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-DP-3 is off TI:14:19:24 graphics device /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-HDMI-A-1 is off TI:14:19:24 graphics device /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-HDMI-A-2 is off TI:14:19:24 graphics device /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-HDMI-A-3 is off TI:14:19:24 graphics device /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-LVDS-1 is on TI:14:19:24 graphics device /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-VGA-1 is off TI:14:19:24 is_docked = no TI:14:19:24 on_battery = no TI:14:19:24 on_low_battery = no TI:14:19:24 daemon now not coldplug TI:14:19:24 excuting command: /usr/sbin/pm-powersave false TI:14:19:24 total swap available 4075300 kb, active memory 875000 kb (21,0%) TI:14:19:24 enough swap to for hibernate TI:14:19:24 total swap available 4075300 kb, active memory 875000 kb (21,0%) TI:14:19:24 enough swap to for hibernate TI:14:19:25 doing the delayed refresh (4) TI:14:19:25 using min design voltage TI:14:19:25 resetting unknown timeout after 0 retries TI:14:19:25 deferring as others queued TI:14:19:25 deferring as others queued TI:14:19:25 emitting changed on BAT0 TI:14:19:25 emitting device-changed: /org/freedesktop/UPower/devices/battery_BAT0 TI:14:19:26 doing the delayed refresh (3) TI:14:19:26 using min design voltage TI:14:19:26 resetting unknown timeout after 0 retries TI:14:19:26 emitting changed on BAT0 TI:14:19:26 emitting device-changed: /org/freedesktop/UPower/devices/battery_BAT0 TI:14:19:27 doing the delayed refresh (2) TI:14:19:27 using min design voltage TI:14:19:27 resetting unknown timeout after 0 retries TI:14:19:27 emitting changed on BAT0 TI:14:19:27 emitting device-changed: /org/freedesktop/UPower/devices/battery_BAT0 TI:14:19:28 doing the delayed refresh (1) TI:14:19:28 using min design voltage TI:14:19:28 resetting unknown timeout after 0 retries TI:14:19:28 emitting changed on BAT0 TI:14:19:28 emitting device-changed: /org/freedesktop/UPower/devices/battery_BAT0 TI:14:19:29 doing the delayed refresh (0) TI:14:19:29 using min design voltage TI:14:19:29 resetting unknown timeout after 0 retries TI:14:19:29 emitting changed on BAT0 TI:14:19:29 emitting device-changed: /org/freedesktop/UPower/devices/battery_BAT0 TI:14:20:47 total swap available 4075300 kb, active memory 893080 kb (21,0%) TI:14:20:47 enough swap to for hibernate TI:14:21:04 limiting data to last 600 seconds TI:14:21:04 length of array (before) 2 TI:14:21:05 average is 74,021431 TI:14:21:05 limiting data to last 600 seconds TI:14:21:05 length of array (before) 2 TI:14:21:07 limiting data to last 600 seconds TI:14:21:07 length of array (before) 2 TI:14:21:07 average is 74,021431 TI:14:21:08 limiting data to last 600 seconds TI:14:21:08 length of array (before) 2 TI:14:21:08 enabling timer stats TI:14:21:11 event TI:14:21:11 event TI:14:21:11 interval=2,000000 TI:14:21:12 average is 74,021431 TI:14:21:12 average is 74,021431 TI:14:21:13 limiting data to last 600 seconds TI:14:21:13 length of array (before) 2 TI:14:21:13 average is 74,021431 TI:14:21:13 event TI:14:21:13 event TI:14:21:13 interval=4,000000 TI:14:21:13 limiting data to last 600 seconds TI:14:21:13 length of array (before) 2 TI:14:21:15 event TI:14:21:15 event TI:14:21:15 interval=6,000000 TI:14:21:17 event TI:14:21:17 event TI:14:21:17 interval=8,000000 TI:14:21:19 event TI:14:21:19 event TI:14:21:19 interval=10,000000 TI:14:21:21 event TI:14:21:21 event TI:14:21:21 interval=12,000000 TI:14:21:23 event TI:14:21:23 event TI:14:21:23 interval=14,000000 TI:14:21:25 event TI:14:21:25 event TI:14:21:25 interval=16,000000 TI:14:21:27 event TI:14:21:27 event TI:14:21:27 interval=18,000000 TI:14:21:29 event TI:14:21:29 event TI:14:21:29 interval=20,000000 TI:14:21:31 event TI:14:21:31 event TI:14:21:31 interval=22,000000 TI:14:21:31 failed to get cmdline: Apertura del file "/proc/14795/cmdline" non riuscita: File o directory non esistente TI:14:21:33 event TI:14:21:33 event TI:14:21:33 interval=24,000000 TI:14:21:35 event TI:14:21:35 event TI:14:21:35 interval=26,000000 TI:14:21:37 event TI:14:21:37 event TI:14:21:37 interval=28,000000 TI:14:21:37 failed to get cmdline: Apertura del file "/proc/14797/cmdline" non riuscita: File o directory non esistente TI:14:21:39 event TI:14:21:39 event TI:14:21:39 interval=30,000000 TI:14:21:41 event TI:14:21:41 event TI:14:21:41 interval=32,000000 TI:14:21:41 failed to get cmdline: Apertura del file "/proc/14801/cmdline" non riuscita: File o directory non esistente TI:14:21:41 disabling timer stats as we are idle TI:14:21:41 disabling timer stats (In reply to comment #3) > lg-wireless type is for unifying devices, which I guess your mouse isn't. > Try adding the "UPOWER_BATTERY_TYPE" set to mouse instead, as do some of the > lines in the file mentioned. I use "mouse" instead of "lg-wireless" as below: ATTR{idVendor}=="046d", ATTR{idProduct}=="b008", ENV{UPOWER_PRODUCT}="Bluetooth Laser Travel Mouse", ENV{UPOWER_BATTERY_TYPE}="mouse" This is current situation: $ upower -d Device: /org/freedesktop/UPower/devices/line_power_AC native-path: AC power supply: yes updated: mar 16 set 2014 10:22:55 CEST (1117 seconds ago) has history: no has statistics: no line-power online: yes Device: /org/freedesktop/UPower/devices/battery_BAT0 native-path: BAT0 vendor: Samsung SDI model: DELL 5CGM419 serial: 26065 power supply: yes updated: mar 16 set 2014 10:41:30 CEST (2 seconds ago) has history: yes has statistics: yes battery present: yes rechargeable: yes state: charging energy: 8,8578 Wh energy-empty: 0 Wh energy-full: 27,1395 Wh energy-full-design: 62,16 Wh energy-rate: 21,1233 W voltage: 12,315 V time to full: 51,9 minutes percentage: 32% capacity: 43,6607% technology: lithium-ion History (charge): 1410856890 32,000 charging 1410856830 31,000 charging History (rate): 1410856890 21,123 charging Daemon: daemon-version: 0.9.23 can-suspend: yes can-hibernate: no on-battery: no on-low-battery: no lid-is-closed: no lid-is-present: yes is-docked: no No power information form my Logitech m557 Bluetooth Mouse on Ubuntu Gnome 14.04 with upower 0.99 $ lsb_release -rd Description: Ubuntu 14.04.1 LTS Release: 14.04 $ apt-cache policy upower upower: Installato: 0.99.1-3~trusty1 Candidato: 0.99.1-3~trusty1 Tabella versione: *** 0.99.1-3~trusty1 0 500 http://ppa.launchpad.net/gnome3-team/gnome3-staging/ubuntu/ trusty/main amd64 Packages 100 /var/lib/dpkg/status 0.9.23-2ubuntu1 0 500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages $ hcitool info 00:1F:20:E1:AF:D8 Requesting information ... BD Address: 00:1F:20:E1:AF:D8 Device Name: Bluetooth Mouse M557 LMP Version: 3.0 (0x5) LMP Subversion: 0x2211 Manufacturer: Broadcom Corporation (15) Features page 0: 0xbc 0x04 0x82 0x78 0x00 0x06 0x59 0x83 <encryption> <slot offset> <timing accuracy> <role switch> <sniff mode> <channel quality> <paging scheme> <broadcast encrypt> <enhanced iscan> <interlaced iscan> <interlaced pscan> <inquiry with RSSI> <sniff subrating> <pause encryption> <extended inquiry> <simple pairing> <encapsulated PDU> <non-flush flag> <LSTO> <inquiry TX power> <extended features> Features page 1: 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00 $ upower -d Device: /org/freedesktop/UPower/devices/line_power_AC native-path: AC power supply: yes updated: lun 20 ott 2014 23:07:24 CEST (36905 seconds ago) has history: no has statistics: no line-power warning-level: none online: no icon-name: 'ac-adapter-symbolic' Device: /org/freedesktop/UPower/devices/battery_BAT0 native-path: BAT0 vendor: Samsung SDI model: DELL 5CGM419 serial: 26065 power supply: yes updated: mar 21 ott 2014 09:22:12 CEST (17 seconds ago) has history: yes has statistics: yes battery present: yes rechargeable: yes state: discharging warning-level: none energy: 11,8881 Wh energy-empty: 0 Wh energy-full: 24,8862 Wh energy-full-design: 62,16 Wh energy-rate: 34,1436 W voltage: 10,443 V time to empty: 20,9 minutes percentage: 47% capacity: 40,0357% technology: lithium-ion icon-name: 'battery-good-symbolic' History (charge): 1413876132 47,000 discharging History (rate): 1413876132 34,144 discharging Device: /org/freedesktop/UPower/devices/DisplayDevice power supply: yes updated: gio 01 gen 1970 01:00:00 CET (1413876149 seconds ago) has history: no has statistics: no battery present: yes state: discharging warning-level: none energy: 11,8881 Wh energy-full: 24,8862 Wh energy-rate: 34,1436 W time to empty: 20,9 minutes percentage: 47% icon-name: 'battery-good-symbolic' Daemon: daemon-version: 0.99.1 on-battery: yes lid-is-closed: no lid-is-present: yes critical-action: PowerOff I'll close this as not a upower bug, as the battery information should be exported through the kernel, and isn't in this case. Please send a mail to the linux-input mailing-list, and they'll guide you to get the necessary debug information to support it (if it's possible). |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.