summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/uhidev.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* In xxactivate() DVACT_DEACTIVATE, when calling a series of config_deactivate()deraadt2010-08-311-6/+8
| | | | | | for sub-devices, return the last error return value instead of |'ing the failures together and creating some value that is non-0 (bravo!) but potentially loses the specific error value...
* Handle USB_GET_REPORT, USB_GET_REPORT_DESC, USB_GET_REPORT_ID andmiod2010-08-021-1/+70
| | | | | | | USB_SET_REPORT ioctls in ukbd and ums. This allows usbhidctl to be used on these devices e.g. to dump the report descriptor of troublesome models. ok deraadt@
* suppress warning massage for polling only HID devices.yuo2009-11-231-3/+3
|
* Get rid of devact enum, substitute it with an int and coresponding defines.pirofti2009-10-131-3/+3
| | | | | | This is needed for the addition of further suspend/resume actions. Okay deraadt@, marco@.
* Use the correct buffer for non-zero report IDs in uhidev_set_report().jsg2009-07-231-2/+2
| | | | | | From Dave Huang via NetBSD rev 1.18. ok miod@ deraadt@
* Avoid a buf oflow in uhidev_set_report_async() if we have to prepend themiod2009-06-021-1/+8
| | | | | report id and the data to report is too long (this should probably use dynamic allocation for large reports).
* First pass at removing clauses 3 and 4 from NetBSD licenses.ray2008-06-261-8/+1
| | | | | | | | | Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
* remove #ifdef __macppc__ due to a misunderstanding:todd2008-06-141-13/+1
| | | | | | | | | - the wskbd/wsmouse is not phantom, but actually is pre-paired keyboard/mice talking wskbd/wsmouse to the os this permits the bluetooth device to attach as wskbd/wsmouse using bluetooth keyboards for ddb> and in general if you have paired them in an os that supports flipping the funny bluetooth device into full bluetooth mode ok drahn@
* fewer lines of dmesg output spew (matters more on newer sony laptops with... 15 lines of usb devices..deraadt2007-11-121-5/+6
|
* treat usb vendor/product names as a locator, and have usbd_print handle it,deraadt2007-10-111-6/+3
| | | | | | so that it shows up before the :. as a result, all the usb devices do not need to have name printing code anymore. all this now works and prints nicely because usbd_probe_and_attach() is serialized. ok kettenis
* KNFgilles2007-09-111-2/+2
| | | | prompted and "much better" by marco@, ok pyr@
* more M_ZERO conversions; ok krw@.fgsch2007-09-091-3/+2
|
* Remove the definition and usage of the USB_DECLARE_DRIVER_CLASS andmbalmer2007-06-141-2/+17
| | | | | | | | USB_DECLARE_DRIVER macros. No binary change. ok dlg.
* Remove the definition and use of the device_ptr_t which was a struct device *.mbalmer2007-06-121-4/+4
| | | | | | No binary change. ok mk.
* Remove the definition and use of the USBDEVNAME macro.mbalmer2007-06-101-11/+11
| | | | | | | (This might look easy, but it was a big diff. Thanks to dlg and especially jsg for looking over it; we found at least four mistakes in the initial diff.) ok jsg.
* Remove the definition and use of the USBDEV macro. It only created confusionmbalmer2007-06-101-3/+3
| | | | | | | | and the address of it's argument: USBDEV(sc->sc_dev) yields &sc->sc_dev. No binary changes. ok jsg.
* Remove the "Static" declaration of many functions. It was defined to be emptymbalmer2007-06-051-6/+6
| | | | | | | and it was not consistently used. It was confusing as it suggested these functions were static, which they were not. discussed with dlg and jsg, ok jsg.
* Last part of FreeBSD/NetBSD sepcific code removal.mbalmer2007-06-041-11/+1
| | | | ok jsg@
* Farewell USB_{ATTACH,MATCH,DETACH}* you will not be missed.jsg2007-05-271-18/+19
| | | | ok deraadt@ krw@ mbalmer@
* Remove logprintf macrojsg2007-05-211-3/+3
|
* cover up a bug (resulting in noise in dmesg) that we still do notderaadt2006-11-261-2/+2
| | | | understand, happens on the sun x4100 virtual console; ok dlg
* Fix possible NULL deref from Alexey V. Vatchenko <avv@mail.zp.ua>marco2006-08-221-3/+3
|
* support for ucycom:jason2006-08-181-39/+158
| | | | | - teach ucom that not all i/o is done via bulk pipes - teach uhidev that i/o interrupt pipes are distinct
* In a drivers activate() entry point, if on DVACT_DEACTIVATE it doesmiod2006-06-231-4/+3
| | | | | | something, then it MUST return zero on DVACT_ACTIVATE, not EOPNOTSUPP; this very popular bug has been cut and pasted a lot of times... ok deraadt@ mickey@
* Recent Powerbook systems have their on-board keyboard and mouse devicesmiod2006-06-171-1/+14
| | | | | also showing up as usb devices, but both devices are tied. To make things less confusing, do not attach the usb phantoms at all.
* Add a quirk to force the Wi-spy spectrum analyser to attach as ugen.matthieu2006-05-141-1/+3
| | | | It claims to be a HID device, but it's not really one. ok miod@, jsg@.
* Remove last NRND NetBSDisms from tree.krw2006-03-071-12/+1
| | | | ok deraadt@ brad@
* add Wacom Graphire3 and Graphire4 support.brad2006-01-061-6/+26
| | | | | | From NetBSD via Michael Knudsen ok dlg@
* Don't keep the devinfo string on the stack, instead use malloc/free.brad2005-08-011-4/+6
| | | | | | | | This should cure some rare stack overflows. From augustss NetBSD ok dlg@ pascoe@
* put "do { } while (0)" wrappers on all the debug maroc functionsderaadt2004-07-081-3/+3
|
* sync with NetBSDnate2003-07-051-14/+18
| | | | remove unused global.
* fix documentation links from netbsdnate2003-05-191-2/+2
|
* string cleanup; nate okderaadt2003-05-071-2/+2
|
* sync with NetBSDnate2002-11-111-3/+13
|
* update $NetBSD$ tagsnate2002-07-251-2/+2
|
* get rid of trailing whitespacenate2002-07-251-11/+11
|
* Sync hid stuff including ukbd, ums, and uhid with NetBSDnate2002-05-091-0/+513
| | | | | | | | | This adds a uhidev device which can be thought of as something like a uhid bus. It allows more than one ukbd, ums, or uhid to attach to the same device instance. This functionality is found on many of the newer keyboards that have extra buttons. (The extra buttons show up as uhid device(s)). Tested by me on i386, dale on macppc, and jason on sparc64
* Meant to commit only ulpt and committed everything. Most things weren't readynate2002-05-071-513/+0
|
* Sync ulpt driver with NetBSDnate2002-05-071-0/+513