Commit Graph

36 Commits

Author SHA1 Message Date
Johan Hedberg
b8779d2202 Revert "Ensure config.h is included by using CPPFLAGS"
This reverts commit 8a03376544.

The patch needs to be split up and the gdbus/ changes were bogus
compared to the original commit message.

Conflicts:
	Makefile.am
	Makefile.obexd
	profiles/cyclingspeed/cyclingspeed.c
	profiles/heartrate/heartrate.c
	src/error.c
2012-12-07 12:46:04 +02:00
Lucas De Marchi
8a03376544 Ensure config.h is included by using CPPFLAGS
Instead of trying to include config.h in each file over the tree and
possibly forgetting to include it, give a "-include config.h" argument
to the compiler so it's guaranteed that a) it will be included for all
source files and b) it will be the first header included.

gdbus/ directory is left out, since it would break other projects using
it.
2012-12-05 17:18:07 +02:00
Tom Gundersen
35beaaa5b3 udev: remove deprecated function
This function has in the past returned "/sys" unconditionally. As of
udev-183 it is gone, so just replace it with the string.
2012-05-27 22:35:59 +03:00
Johan Hedberg
4ae0fb61c2 Fix minor coding style issues in hid2hci 2011-04-28 12:57:56 -07:00
Kay Sievers
94b0a8f405 Update hid2hci tool from udev codebase 2011-04-28 12:54:31 -07:00
Marcel Holtmann
9184e2eeb7 Update copyright information 2010-01-01 17:08:17 -08:00
Marcel Holtmann
b5fdd00fad Fix to complicated logic Dell switching routine 2009-05-18 11:19:11 -07:00
Mario Limonciello
4e90276635 Reinstitute usb_detach_kernel_driver_np, but in the proper place
The kernel might still be grab the usb device, so release it before claim.
2009-05-18 11:15:45 -07:00
Marcel Holtmann
d16c663f55 Fix uninitialized fallout from Mario's patches 2009-05-16 15:25:39 -07:00
Mario Limonciello
a09e97ef08 Fix dmesg errors about hid2hci not claiming interface before usage
These errors were caused from trying to detach the kernel driver from
the interface, which was unnecessary. A simple usb_claim_interface is
all that is necessary. It is however, important to ensure the interface
claim is successful.
2009-05-16 06:37:29 -07:00
Mario Limonciello
4c027b63d4 Add support for switching from HCI->HID mode for Dell BT adapters
This allows Dell BT adapters to be able to be switched back to HID mode
if users desire to do so, such as on shutdown.
2009-05-16 06:14:17 -07:00
Mario Limonciello
7b2ece36e0 Add support for command line arguments on hid2hci tool
This means that the hid2hci tool will not have to run on every bootup
for every machine with BlueZ installed. It instead gets ran on demand
if a product that is called out from a udev rules file contains the
correct attributes and/or VID/PID.

It also makes it easier for users to manually test new VID/PID
combinations to determine if they should be supported by BlueZ.
2009-05-16 06:12:47 -07:00
Marcel Holtmann
9c0b5859e6 Fix mostly every warning caused by -Wsign-compare 2009-01-29 17:58:28 +01:00
Marcel Holtmann
fb333f1c88 Update copyright information 2009-01-01 19:33:20 +01:00
Marcel Holtmann
583fe76aaf Add support for Dell Wireless 365 2008-10-23 06:40:29 +02:00
Marcel Holtmann
e3bb061533 Add more product IDs for Logitech MX5500 2008-10-23 06:38:54 +02:00
Marcel Holtmann
4679885ba9 Add support for switching HID proxy devices from Dell 2008-05-09 09:33:51 +00:00
Marcel Holtmann
79dd6fbaf1 Fix wrong error message 2008-03-20 13:45:18 +00:00
Marcel Holtmann
e823c15e43 Update copyright information 2008-02-02 03:37:05 +00:00
Marcel Holtmann
720c7262b6 Add fix for Logitech HID proxy switching 2007-12-09 17:47:22 +00:00
Marcel Holtmann
d5c3190e0a Add support for Logitech diNovo Edge dongle 2007-09-09 01:11:32 +00:00
Marcel Holtmann
c7d02264b4 Typo 2007-02-14 09:25:40 +00:00
Marcel Holtmann
607695ed10 Update copyright information 2007-01-13 17:48:12 +00:00
Marcel Holtmann
225ca66857 Add device ids for Logitech diNovo Laser keyboard and mouse 2006-12-03 14:09:45 +00:00
Marcel Holtmann
854c86afe6 Update HCI switching for Logitech MX 5000 2006-08-09 20:51:28 +00:00
Marcel Holtmann
47e47d4cfe Add another Apple product id 2006-08-09 14:27:30 +00:00
Marcel Holtmann
d9f928803e Add another Apple product id 2006-04-12 22:03:51 +00:00
Marcel Holtmann
f2e48c44a7 Update copyright information 2006-01-03 13:28:56 +00:00
Marcel Holtmann
632a943277 Big cleanup of CVS relics 2005-10-29 22:36:31 +00:00
Marcel Holtmann
8a908f68a1 Add support for the Logitech diNovo Media Desktop Laser 2005-10-24 22:22:45 +00:00
Marcel Holtmann
1f422e5f2b Fix some GCC 4.0 warnings 2005-07-05 21:15:41 +00:00
Marcel Holtmann
6b24ea1e4f Add support for KYE/Genius adapter 2004-11-29 15:02:25 +00:00
Marcel Holtmann
750ac6d869 Check for usb_get_busses() and usb_interrupt_read() 2004-08-12 13:17:11 +00:00
Marcel Holtmann
90a6c1b2e4 Use the functions from the USB library 2004-07-26 20:57:01 +00:00
Marcel Holtmann
b66d3f9b2c Unify copyright and license information 2004-04-28 10:39:47 +00:00
Marcel Holtmann
8e0ea13430 Add hid2hci utility 2004-04-24 11:16:58 +00:00