plunky
4416c38a31
update DPRINTF to reflect actual function name
2010-05-14 17:32:57 +00:00
plunky
ba2b0dff29
hid_get_data() does not work if the size of data is less than
...
a byte and crosses a byte boundary, and it always returns a
sign-extended value.
fix this by using the algorithm from libusbhid to read bytes,
and provide a hid_get_udata() function to return unsigned data
values.
while here, const args
2010-05-12 18:44:48 +00:00
martin
ce099b4099
Remove clause 3 and 4 from TNF licenses
2008-04-28 20:22:51 +00:00
plunky
086f1f09f5
fix misleading comment
2007-09-08 07:46:13 +00:00
tron
5d67049004
Bluetooth fixes by Iain Hibbert:
...
- Update bthidev(4) to use property lists for configuration.
2006-07-26 10:40:50 +00:00
gdamore
a5c89047c0
Initial import of bluetooth stack on behalf of Iain Hibbert. (plunky@,
...
NetBSD Foundation Membership still pending.) This stack was written by
Iain under sponsorship from Itronix Inc.
The stack includes support for rfcomm networking (networking via your
bluetooth enabled cell phone), hid devices (keyboards/mice), and headsets.
Drivers for both PCMCIA and USB bluetooth controllers are included.
2006-06-19 15:44:33 +00:00
christos
4656123e9c
Use c instead of s->cur.
2006-04-14 17:18:59 +00:00
augustss
86650920c9
Get rid of trailing white space.
2002-07-11 21:14:24 +00:00
tsutsui
e6f8529d26
Call malloc(9) with M_ZERO flag instead of memset() after malloc().
2002-01-12 16:58:16 +00:00
augustss
c572876ecb
Fix another descriptor parsing bug. Thanks to Tero Kivinen for
...
patiently supplying me with debug output.
2002-01-02 11:10:50 +00:00
augustss
5db54303c8
Reset global count value properly.
2001-12-29 18:56:20 +00:00
augustss
198e193c28
Don't clear global report values when reporting an item.
2001-12-29 17:48:29 +00:00
augustss
935b0481a9
Introduce an extra driver level for HID devices, uhidev. This uhidev driver
...
attaches to the hub, and HID drivers (ums, ukbd, and uhid) attach to
uhidev. The reason for this change is that some HID devices report multiple
components (like a keyboard and a mouse) using the same interface, but with
different report identifiers. The report identifier can be specified with
a locator for the HID drivers.
Furthermore, change the ukbd driver to handle other formats than the boot
protocol.
2001-12-28 17:32:36 +00:00
lukem
667807e40c
add RCSIDs
2001-11-13 06:24:53 +00:00
augustss
ed9486e158
Bring the coding style into the 80s, i.e., get rid of __P and use
...
ANSI prototypes and declarations.
2000-06-01 14:28:57 +00:00
augustss
30c20f930f
Change my email address.
2000-04-27 15:26:44 +00:00
augustss
af0c0d535a
Fix a bug in HID Pop handling. From UCHIYAMA Yasushi.
2000-04-06 22:58:32 +00:00
augustss
fc72e72d7d
Change (almost) all static to Static. The symbol `Static' can then be defined
...
to `' or `static' depending on if you want to debug or not.
2000-03-27 12:33:53 +00:00
augustss
670d533d54
Keep the bit position even when the report descriptor says POP.
2000-03-17 18:09:17 +00:00
augustss
3386c68b46
Cosmetic changes and some small improvements. From FreeBSD and Nick Hibma.
1999-11-18 23:32:25 +00:00
augustss
0d2fabdf26
A number of stylistic changes to increase readability (many suggested
...
by Nick Hibma):
use NULL not 0
declare all local definitions static
rename s/usbd_request/usbd_xfer/ s/reqh/xfer/
rename s/r/err/
use implicit test for no err
KNF
1999-11-12 00:34:57 +00:00
augustss
03a522d3c1
Merge in a large batch of changes from Nick Hibma <hibma@skylink.it> so
...
the USB stack compiles on FreeBSD again.
1999-10-13 08:10:55 +00:00
augustss
b8b1e35ece
Some changes from FreeBSD (no functional differences).
1999-08-14 14:49:31 +00:00
augustss
875aa92d2c
Various little fixes from the FreeBSD version.
1999-01-08 11:58:25 +00:00
augustss
e4b5e096e8
Fix some FreeBSD compiler warnings.
1999-01-07 02:22:50 +00:00
augustss
e0c228ae9c
Merge changes to make the USB stack work with FreeBSD. The original
...
diffs from Nick Hibma <n_hibma@freebsd.org>, but with substantial
changes from me.
XXX Not tested on FreeBSD yet.
1998-12-26 12:53:00 +00:00
augustss
0280322dcb
Change debug level of a printf.
1998-12-08 14:31:58 +00:00
augustss
ca707fcdf2
Make the copyright header conform to the NetBSD template.
1998-11-25 22:32:04 +00:00
augustss
b79d954aac
Let hid_locate() return the item flags as well as the position.
1998-07-24 20:57:46 +00:00
augustss
deb00272b9
Add USB support. Supported so far:
...
* UHCI and OHCI host controllers on PCI
* Hubs
* HID devices withe special drivers for mouse and keyboard
* Printers
1998-07-12 19:51:55 +00:00