[Pkg-utopia-maintainers] Bug#554362: devicekit-power: Doesnt find my UPS ("not a HID device... ")
Jean-Luc Coulon (f5ibh)
jean-luc.coulon at wanadoo.fr
Tue Nov 3 17:53:15 UTC 2009
Package: devicekit-power
Version: 012-2
Severity: normal
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I've an UPS MGE Ellipse (now known as Eaton) with idVendor = 0463 and
idProduct = ffff
[jean-luc at tangerine] % lsusb ~
Bus 003 Device 002: ID 0463:ffff MGE UPS Systems UPS
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
.....
It used to report the right status via the usb link with nut-hal-drivers.
With latest gnome-power-manager and devicekit-power, it fails.
- - It exists in /lib/udev/rules.d/95-devkit-power-hid.rules:
# Eaton
ATTRS{idVendor}=="0463", ATTRS{idProduct}=="0001", ENV{DKP_BATTERY_TYPE}="ups"
ATTRS{idVendor}=="0463", ATTRS{idProduct}=="ffff", ENV{DKP_BATTERY_TYPE}="ups"
- - I've lauched devkit-power as root with --verbose and then plu-in the cable,
I got the following:
- SYSFS add /sys/devices/pci0000:00/0000:00:12.0/usb3/3-3
TI:21:50:00 TH:0xacf030 FI:dkp-device.c FN:dkp_device_coldplug,547
- device now coldplug
TI:21:50:00 TH:0xacf030 FI:dkp-device.c FN:dkp_device_coldplug,555
- failed to coldplug /sys/devices/pci0000:00/0000:00:12.0/usb3/3-3
TI:21:50:00 TH:0xacf030 FI:dkp-device.c FN:dkp_device_coldplug,588
- device now not coldplug
TI:21:50:00 TH:0xacf030 FI:dkp-device.c FN:dkp_device_coldplug,547
- device now coldplug
TI:21:50:00 TH:0xacf030 FI:dkp-device.c FN:dkp_device_coldplug,555
- failed to coldplug /sys/devices/pci0000:00/0000:00:12.0/usb3/3-3
TI:21:50:00 TH:0xacf030 FI:dkp-device.c FN:dkp_device_coldplug,588
- device now not coldplug
TI:21:50:00 TH:0xacf030 FI:dkp-backend.c FN:dkp_backend_uevent_signal_handler_cb,257
- SYSFS add /sys/devices/pci0000:00/0000:00:12.0/usb3/3-3/3-3:1.0
TI:21:50:00 TH:0xacf030 FI:dkp-device.c FN:dkp_device_coldplug,547
- device now coldplug
TI:21:50:00 TH:0xacf030 FI:dkp-device.c FN:dkp_device_coldplug,555
- failed to coldplug /sys/devices/pci0000:00/0000:00:12.0/usb3/3-3/3-3:1.0
TI:21:50:00 TH:0xacf030 FI:dkp-device.c FN:dkp_device_coldplug,588
- device now not coldplug
TI:21:50:00 TH:0xacf030 FI:dkp-device.c FN:dkp_device_coldplug,547
- device now coldplug
TI:21:50:00 TH:0xacf030 FI:dkp-device.c FN:dkp_device_coldplug,555
- failed to coldplug /sys/devices/pci0000:00/0000:00:12.0/usb3/3-3/3-3:1.0
TI:21:50:00 TH:0xacf030 FI:dkp-device.c FN:dkp_device_coldplug,588
- device now not coldplug
TI:21:50:00 TH:0xacf030 FI:dkp-backend.c FN:dkp_backend_uevent_signal_handler_cb,257
- SYSFS add /sys/devices/pci0000:00/0000:00:12.0/usb3/3-3/3-3:1.0/usb/hiddev0
TI:21:50:00 TH:0xacf030 FI:dkp-device.c FN:dkp_device_coldplug,547
- device now coldplug
TI:21:50:00 TH:0xacf030 FI:dkp-device-csr.c FN:dkp_device_csr_coldplug,153
- not a recognised csr device
TI:21:50:00 TH:0xacf030 FI:dkp-device.c FN:dkp_device_coldplug,555
- failed to coldplug /sys/devices/pci0000:00/0000:00:12.0/usb3/3-3/3-3:1.0/usb/hiddev0
TI:21:50:00 TH:0xacf030 FI:dkp-device.c FN:dkp_device_coldplug,588
- device now not coldplug
TI:21:50:00 TH:0xacf030 FI:dkp-device.c FN:dkp_device_coldplug,547
- device now coldplug
TI:21:50:00 TH:0xacf030 FI:dkp-device-hid.c FN:dkp_device_hid_coldplug,329
- using device: /dev/usb/hiddev0
TI:21:50:00 TH:0xacf030 FI:dkp-device-hid.c FN:dkp_device_hid_coldplug,339
- not a HID device: /dev/usb/hiddev0
TI:21:50:00 TH:0xacf030 FI:dkp-device.c FN:dkp_device_coldplug,555
- failed to coldplug /sys/devices/pci0000:00/0000:00:12.0/usb3/3-3/3-3:1.0/usb/hiddev0
TI:21:50:00 TH:0xacf030 FI:dkp-device.c FN:dkp_device_coldplug,588
- device now not coldplug
- -----8<-----------8<------------8<--------------8<----------------8<-------
We can see that it is reported as "not a HID device: /dev/usb/hiddev0"
Here is how the device is created in /dev/usb:
[jeann-luc at tangerine] % ls /dev/usb/* -l
crw-rw---- 1 root root 180, 96 nov. 2 21:48 /dev/usb/hiddev0
Regards
Jean-Luc
System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (900, 'unstable'), (700, 'experimental'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.31-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages devicekit-power depends on:
ii libc6 2.10.1-5 GNU C Library: Shared libraries
ii libdbus-1-3 1.2.16-2 simple interprocess messaging syst
ii libdbus-glib-1-2 0.82-2 simple interprocess messaging syst
ii libdevkit-power-gobject1 012-2 abstraction for power management -
ii libglib2.0-0 2.22.2-2 The GLib library of C routines
ii libgudev-1.0-0 146-6 GObject-based wrapper library for
ii libpolkit-gobject-1-0 0.94-4 PolicyKit Authorization API
ii libusb-0.1-4 2:0.1.12-13 userspace USB programming library
ii udev 146-6 /dev/ and hotplug management daemo
Versions of packages devicekit-power recommends:
ii pm-utils 1.2.5-4 utilities and scripts for power ma
ii policykit-1 0.94-4 framework for managing administrat
devicekit-power suggests no packages.
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iD8DBQFK8G4LUdGGXzzGnNARAkQMAJ0U6P2XlB8ro7eOOrNK9zRYLgNRiwCfT5PK
YmdU9dyzxcJRUPUtcJ/NB+M=
=AWca
-----END PGP SIGNATURE-----
More information about the Pkg-utopia-maintainers
mailing list