History log of /openbsd-src/sys/dev/usb/uhidev.c (Results 76 – 100 of 109)
Revision Date Author Comments
# 703a0cae 23-Jul-2009 jsg <jsg@openbsd.org>

Use the correct buffer for non-zero report IDs in uhidev_set_report().
From Dave Huang via NetBSD rev 1.18.

ok miod@ deraadt@


# c53ba6eb 02-Jun-2009 miod <miod@openbsd.org>

Avoid a buf oflow in uhidev_set_report_async() if we have to prepend the
report id and the data to report is too long (this should probably
use dynamic allocation for large reports).


# d874cce4 26-Jun-2008 ray <ray@openbsd.org>

First pass at removing clauses 3 and 4 from NetBSD licenses.

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 t

First pass at removing clauses 3 and 4 from NetBSD licenses.

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@

show more ...


# bbdbd44d 14-Jun-2008 todd <todd@openbsd.org>

remove #ifdef __macppc__ due to a misunderstanding:
- the wskbd/wsmouse is not phantom, but actually is pre-paired keyboard/mice
talking wskbd/wsmouse to the os
this permits the bluetooth device

remove #ifdef __macppc__ due to a misunderstanding:
- 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@

show more ...


# 224959d1 12-Nov-2007 deraadt <deraadt@openbsd.org>

fewer lines of dmesg output spew (matters more on newer sony laptops with... 15 lines of usb devices..


# fc5c6ac5 11-Oct-2007 deraadt <deraadt@openbsd.org>

treat usb vendor/product names as a locator, and have usbd_print handle it,
so that it shows up before the :. as a result, all the usb devices do not
need to have name printing code anymore. all th

treat usb vendor/product names as a locator, and have usbd_print handle it,
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

show more ...


# 0b149fa0 11-Sep-2007 gilles <gilles@openbsd.org>

KNF

prompted and "much better" by marco@, ok pyr@


# 5f03ef85 09-Sep-2007 fgsch <fgsch@openbsd.org>

more M_ZERO conversions; ok krw@.


# 9f5f6d50 14-Jun-2007 mbalmer <mbalmer@openbsd.org>

Remove the definition and usage of the USB_DECLARE_DRIVER_CLASS and
USB_DECLARE_DRIVER macros.

No binary change.

ok dlg.


# 73030186 12-Jun-2007 mbalmer <mbalmer@openbsd.org>

Remove the definition and use of the device_ptr_t which was a struct device *.

No binary change.

ok mk.


# 4ab2b9fe 10-Jun-2007 mbalmer <mbalmer@openbsd.org>

Remove the definition and use of the USBDEVNAME macro.

(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 ini

Remove the definition and use of the USBDEVNAME macro.

(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.

show more ...


# 1596fc1e 10-Jun-2007 mbalmer <mbalmer@openbsd.org>

Remove the definition and use of the USBDEV macro. It only created confusion
and the address of it's argument: USBDEV(sc->sc_dev) yields &sc->sc_dev.

No binary changes.

ok jsg.


# 78315254 05-Jun-2007 mbalmer <mbalmer@openbsd.org>

Remove the "Static" declaration of many functions. It was defined to be empty
and it was not consistently used. It was confusing as it suggested these
functions were static, which they were not.

d

Remove the "Static" declaration of many functions. It was defined to be empty
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.

show more ...


# 000788eb 04-Jun-2007 mbalmer <mbalmer@openbsd.org>

Last part of FreeBSD/NetBSD sepcific code removal.

ok jsg@


# de5d9ff0 27-May-2007 jsg <jsg@openbsd.org>

Farewell USB_{ATTACH,MATCH,DETACH}* you will not be missed.
ok deraadt@ krw@ mbalmer@


# 695146ce 21-May-2007 jsg <jsg@openbsd.org>

Remove logprintf macro


# 05288322 26-Nov-2006 deraadt <deraadt@openbsd.org>

cover up a bug (resulting in noise in dmesg) that we still do not
understand, happens on the sun x4100 virtual console; ok dlg


# 23631bc8 22-Aug-2006 marco <marco@openbsd.org>

Fix possible NULL deref from Alexey V. Vatchenko <avv@mail.zp.ua>


# f35c38e7 18-Aug-2006 jason <jason@openbsd.org>

support for ucycom:
- teach ucom that not all i/o is done via bulk pipes
- teach uhidev that i/o interrupt pipes are distinct


# 07aaebcc 23-Jun-2006 miod <miod@openbsd.org>

In a drivers activate() entry point, if on DVACT_DEACTIVATE it does
something, then it MUST return zero on DVACT_ACTIVATE, not EOPNOTSUPP;
this very popular bug has been cut and pasted a lot of times

In a drivers activate() entry point, if on DVACT_DEACTIVATE it does
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@

show more ...


# f7925245 17-Jun-2006 miod <miod@openbsd.org>

Recent Powerbook systems have their on-board keyboard and mouse devices
also showing up as usb devices, but both devices are tied.
To make things less confusing, do not attach the usb phantoms at all.


# 54817261 14-May-2006 matthieu <matthieu@openbsd.org>

Add a quirk to force the Wi-spy spectrum analyser to attach as ugen.
It claims to be a HID device, but it's not really one. ok miod@, jsg@.


# ab0892d7 07-Mar-2006 krw <krw@openbsd.org>

Remove last NRND NetBSDisms from tree.

ok deraadt@ brad@


# c66f3b6d 06-Jan-2006 brad <brad@openbsd.org>

add Wacom Graphire3 and Graphire4 support.

From NetBSD via Michael Knudsen

ok dlg@


# 71a5dfce 01-Aug-2005 brad <brad@openbsd.org>

Don't keep the devinfo string on the stack, instead use malloc/free.
This should cure some rare stack overflows.

From augustss NetBSD

ok dlg@ pascoe@


12345