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
7d05674ba7
Distinguish between device and interface classes.
...
(I finally found a document that said that they were different.)
2000-02-29 21:37:00 +00:00
augustss
4b93911b25
Generate usb events on attach and detach.
2000-02-02 13:18:45 +00:00
augustss
c3716a6bb9
Add an argument to usbd_open_pipe_intr() to specify the polling interval
...
for an interrupt pipe in case we don't what what the descriptor suggests.
2000-01-19 00:23:58 +00:00
takemura
ba04c55ed3
Absolute pointing device support.
...
- Wsmouse_input() get new argument 'flag', which indicates whether x/y/z are
relative or absolute.
- Wsmouse get new io controls, WSMOUSEIO_SCALIBCOORDS and
WSMOUSEIO_GCALIBCOORDS.
2000-01-08 02:57:22 +00:00
augustss
3150a2103c
Reverse the sign on the wheel data. I got it wrong from the start.
1999-12-24 01:14:01 +00:00
augustss
aa32088c20
Cosmetic changes.
1999-11-26 01:39:27 +00:00
augustss
aef39844d9
Add quirk for speakers that pretend to support the audio class, but don't.
...
Add quirk for mice that geberate spurious button up events (XXX fix not fully
implemented).
1999-11-15 22:04:14 +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
305998532f
Dot't forget to deactivate subdevices.
1999-09-12 08:21:49 +00:00
augustss
24251055bc
Change the way the `struct device' base part of all driver softc are
...
declared and accessed to make it more portable. Idea from Nick Hibma, FreeBSD.
No functional changes.
1999-09-05 19:32:18 +00:00
augustss
f3421bec94
Change the way the direction is extracted from the endpoint descriptor.
...
No functional changes to the drivers. From Nick Hibma, FreeBSD.
1999-09-04 22:26:11 +00:00
augustss
036a9c6974
Change some 'struct device' to 'bdevice'. From FreeBSD.
1999-08-28 21:42:35 +00:00
augustss
1f2661798f
Make sure to mark the device as dying already in the (de)activate routine.
...
This avoids access to it before the detach routine has blown it away.
1999-08-23 22:55:14 +00:00
augustss
24f66ce158
Get rid of FreeBSD code; there was so little to share in this driver
...
that it should be split.
1999-08-16 23:36:25 +00:00
augustss
b8b1e35ece
Some changes from FreeBSD (no functional differences).
1999-08-14 14:49:31 +00:00
augustss
b177c7a397
Totally redo the way device detach is done. It now uses a kernel event
...
thread and the config detach method.
Squish a number of space leaks on detach.
1999-06-30 06:44:22 +00:00
augustss
7ef0c8eef3
Add a quirk for mice with reversed Z-axis.
1999-06-26 00:09:15 +00:00
augustss
69e451c1ce
Call ws routines at spltty() from interrupt routines.
1999-05-09 15:10:30 +00:00
augustss
b8f2118f7c
Fix Z axis buglet.
1999-01-12 22:06:48 +00:00
augustss
f963dc8ddb
Some minor updates from FreeBSD.
1999-01-10 19:13:15 +00:00
augustss
07e0165b97
Update/add URLs to relevant USB specs.
1999-01-10 11:13:36 +00:00
augustss
875aa92d2c
Various little fixes from the FreeBSD version.
1999-01-08 11:58:25 +00:00
augustss
3b9a669a7d
Remove #include that slipped in at FreeBSD merge.
1998-12-30 17:46:20 +00:00
augustss
0ae031028d
Add a special wsmouse type for USB mice.
1998-12-30 13:14:21 +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
46e04a18a1
Take care of some lines > 80 chars.
1998-12-10 23:16:47 +00:00
augustss
f8b9a417f0
Improvement to the ugen driver.
...
Better error checking.
Some code rearrengment.
1998-12-09 00:18:10 +00:00
augustss
cf75925c7f
Even shorter printfs at attach.
1998-12-02 22:54:52 +00:00
augustss
fd3af06364
Avoid wrapping lines in attach printfs.
1998-12-02 17:20:20 +00:00
augustss
ca707fcdf2
Make the copyright header conform to the NetBSD template.
1998-11-25 22:32:04 +00:00
augustss
c73add02ca
Fix some typos.
1998-11-21 18:57:09 +00:00
matt
259cf4c4a1
Don't include <machine/mouse.h>. Some platforms (e.g. alpha) don't one.
1998-10-01 19:10:26 +00:00
augustss
6aff95b06c
Make sure to abort the interrupt pipe on disconnect of a mouse or keyboard.
...
Improve some error messages.
1998-08-01 20:11:38 +00:00
augustss
a0803787f7
Add functions to execute asynchronous requests and use these from
...
interrupt context.
[I had some feline debugging help here. I noticed that every time Kem,
our kitty, jumped onto the USB keyboard the machine crashed.]
1998-07-29 20:50:11 +00:00
augustss
ae97a4cbf5
Support for USB mice with Z axis or wheel.
1998-07-28 21:21:47 +00:00
drochner
1b27072062
add zero z axis argument
1998-07-27 22:34:30 +00:00
augustss
47f172660c
Make ums attach to wsmouse only.
1998-07-27 18:51:32 +00:00
augustss
67ec8587a0
Provide wsmouse attachment for the USB mouse driver.
...
XXX Keep /dev/ums* for now since XFree86 does not understand wsmouse yet.
1998-07-25 01:46:38 +00:00
augustss
1a5dd77c56
Punt if the mouse reports absolute coordinates.
1998-07-24 20:59:57 +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