1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-05 15:21:37 +03:00
Commit Graph

18 Commits

Author SHA1 Message Date
Kay Sievers
e48e291202 trivial cleanups 2011-04-13 01:47:56 +02:00
Marco d'Itri
efb27d6465 hid2hci: fix for Logitech diNovo Edge keyboard 2010-07-23 12:08:31 +02:00
Marco d'Itri
a466c239a9 hid2hci: fix Logitech diNovo, MX5500 and other keyboards 2010-07-19 10:37:41 +02:00
Martin Pitt
ba854cf8c3 Fix hid2hci rules harder
Commit 2b463cb0 changed the rules to match against hiddev* for all devices in
an attempt to fix Debian #567237/LP #444420. However, this caused regressions
with other devices (e. g. LP #550288) and thus was reverted in commit 8b56ba.

Now use hidraw* for the devices where it's confirmed that they only work with
that, and hiddev* for the others.

https://launchpad.net/bugs/444420
2010-06-11 15:14:55 +02:00
Yury G. Kudryashov
d5a4ca9dfe hid2hci: include linux/types.h for __u32 2010-04-20 06:57:58 +02:00
Kay Sievers
8b56bada9a Revert "Fix switching Logitech bluetooth adapters into hci mode."
This reverts commit 2b463cb050.
2010-04-19 15:10:34 +02:00
Kay Sievers
4b06c40935 replace "add|change" with "!remove" 2010-04-12 16:52:41 +02:00
Marco d'Itri
2b463cb050 Fix switching Logitech bluetooth adapters into hci mode.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=567237
https://bugs.launchpad.net/ubuntu/+source/udev/+bug/444420
2010-03-16 12:47:42 +01:00
Mario Limonciello
8a0217ffd4 hid2hci: remove superfluous bmAttributes match
For the retrigger of the device on remove we were trying to match bmAttributes
of self powered which is unnecessary.
2009-08-20 19:43:51 +02:00
Diego Elio 'Flameeyes' Pettenò
b02140b6bc Also merge into the top-level Makefile.am the simpler extras. 2009-08-07 19:15:29 +02:00
Mario Limonciello
8aba9a4bca hid2hci: install re-trigger for hid device when recovering from S3 2009-08-07 02:23:44 +02:00
Kay Sievers
2a827c959a make: build internal tools against libudev-private.la 2009-07-25 20:37:45 +02:00
Kay Sievers
4b6769f612 hid2hci: rewrite (and break) rules and device handling
We must never access random devices in /dev which do not belong to
the event we are handling. Hard-coding /dev/hidrawX, and looping over all
devices is absolutely not acceptable --> hook into hidraw events.

We can not relay on (rather random) properties merged into the parent
device by earlier rules --> use libudev to find the sibling device
with a matching interface.

Libusb does not fit into udev's use case. We never want want to scan
and open() all usb devices in the system, just to find the device
we are already handling the event for --> put all the stupid scanning
into a single function and prepare for a fixed libusb or drop it later.
2009-07-24 18:06:22 +02:00
Kay Sievers
9821e70264 hid2hci: remove hid structures and include kernel header 2009-07-22 01:03:33 +02:00
Mario Limonciello
5bacd2aadc hid2hci: support to hid2hci for recovering Dell BT devices after S3 2009-07-22 00:33:27 +02:00
Martin Pitt
b53c3a21b9 hid2hci: narrow matches to real HCI devices
The previous rules just checked bInterfaceProtocol but not the actual device
and interface class. This caused the hci rules to be applied for Dell USB hubs
and attached input devices like keyboards and mouses as well, breaking them
completely.

Tighten the match to also check device and interface class/subclass.

https://launchpad.net/bugs/392144
2009-06-26 08:17:23 +02:00
Kay Sievers
6133f3432f cleanup ./configure installation directory options 2009-06-17 02:25:07 +02:00
Mario Limonciello
be51950dc4 hid2hci: move from udev-extras 2009-06-16 19:30:22 +02:00