upower/src/linux
Arkadiusz Miśkiewicz 09fa9d5463 Locate non-unifying receiver by looking for hidraw with hiddev exposed.
For non unifying receiver we were trying to locate receiver hiddraw
device by looking into INTERFACES property. This doesn't work well
for non-unifying devices from keyboard+mouse sets (which use single
dongle for 2 devices but are still non-unifying).

The only thing that's different between hiddraw receiver and other
devices (mouse, keyboard etc) is that receiver also exposes hiddev
interface.

Use that fact to reliably locate receiver.

Signed-off-by: Arkadiusz Miśkiewicz <arekm@maven.pl>
Signed-off-by: Richard Hughes <richard@hughsie.com>
2013-03-28 12:14:11 +00:00
..
hidpp-device.c hid++v1 detection for unreachable devices and features upgrade 2013-03-28 12:13:31 +00:00
hidpp-device.h hid++v1 detection for unreachable devices and features upgrade 2013-03-28 12:13:31 +00:00
hidpp-test.c Factor out the Logitech Unifying support to support other devices 2013-01-10 12:08:46 +00:00
integration-test integration-test: Always run on a fake system bus 2013-02-20 14:59:56 +01:00
Makefile.am Drop --enable-systemd and linking to libsystemd-daemon 2013-03-21 07:16:56 +01:00
sysfs-utils.c Don't spam the log when we're saving history when on low power 2011-10-06 09:12:04 +01:00
sysfs-utils.h Initial split to make DeviceKit-power compile without GUdev for non-linux platforms 2009-07-27 16:40:11 +01:00
up-backend.c Fix test for logind availability 2013-03-21 07:10:18 +01:00
up-device-csr.c Fix crash in up_device_csr_finalize() 2012-04-03 12:28:27 +02:00
up-device-csr.h trivial: DkpDevice -> UpDevice (no ABI or API break) 2010-01-18 12:49:30 +00:00
up-device-hid.c Clamp the UPS percentage from 0 to 100 to fix syslog spam 2012-02-17 10:30:47 +00:00
up-device-hid.h trivial: DkpDevice -> UpDevice (no ABI or API break) 2010-01-18 12:49:30 +00:00
up-device-idevice.c Port from EggDebug to the GLib built-in logging framework 2010-11-01 11:28:31 +00:00
up-device-idevice.h Add battery query support for iDevices 2010-05-28 13:49:56 +01:00
up-device-supply.c linux: Bump maximum accepted "time to empty" to 10 days 2013-01-31 12:24:14 +01:00
up-device-supply.h trivial: DkpDevice -> UpDevice (no ABI or API break) 2010-01-18 12:49:30 +00:00
up-device-unifying.c Locate non-unifying receiver by looking for hidraw with hiddev exposed. 2013-03-28 12:14:11 +00:00
up-device-unifying.h Factor out the Logitech Unifying support to support other devices 2013-01-10 12:08:46 +00:00
up-device-wup.c Port from EggDebug to the GLib built-in logging framework 2010-11-01 11:28:31 +00:00
up-device-wup.h trivial: DkpDevice -> UpDevice (no ABI or API break) 2010-01-18 12:49:30 +00:00
up-dock.c Re-coldplug dock status when resuming from sleep 2012-04-11 17:54:11 +01:00
up-dock.h Add an option for polling dock devices in UPower.conf, defaulting to false 2011-03-03 14:02:27 +00:00
up-input.c trivial: remove an overzealous warning when starting up 2011-09-28 16:12:40 +01:00
up-input.h trivial: DkpInput -> UpInput (no ABI or API break) 2010-01-18 13:15:47 +00:00
up-native.c trivial: DkpNative -> UpNative (no ABI or API break) 2010-01-18 13:12:37 +00:00