#
81508fe3 |
| 23-May-2024 |
jsg <jsg@openbsd.org> |
remove unneeded includes; ok mpi@
|
#
7f43c6d4 |
| 26-Apr-2023 |
bentley <bentley@openbsd.org> |
Fix typo in comment: default scalue values -> default scale values
|
#
f88cb03e |
| 31-Jul-2020 |
mglocker <mglocker@openbsd.org> |
Nuke all occurrences of usbd_abort_pipe() if it gets called right before usbd_close_pipe(), since usbd_close_pipe() already takes care about aborting non-empty pipes.
As investigated by gerhard@ usb
Nuke all occurrences of usbd_abort_pipe() if it gets called right before usbd_close_pipe(), since usbd_close_pipe() already takes care about aborting non-empty pipes.
As investigated by gerhard@ usbdi.c rev. 1.57 did add usbd_abort_pipe() to usbd_close_pipe(), but the drivers didn't get cleaned up afterwards.
ok gerhard@
show more ...
|
#
36a555e0 |
| 06-Nov-2019 |
mglocker <mglocker@openbsd.org> |
Make udl(4) and uts(4) compile again in debug mode by fixing IOCGROUP and IOCPARM_LEN macros types.
|
#
fee0d090 |
| 15-Mar-2018 |
kevlo <kevlo@openbsd.org> |
Remove unused struct member.
ok deraadt@
|
#
234dfda1 |
| 08-Apr-2017 |
deraadt <deraadt@openbsd.org> |
A pile of sizes to free(9). In test for a few days in snapshots. Errors will result in nice clean panic messages so we know what's wrong. Reviewed by dhill visa natano jsg.
|
#
c0d38480 |
| 02-Sep-2016 |
mpi <mpi@openbsd.org> |
Avoid calling usbd_set_config_index() in *_attach() and let the stack do it instead.
If anything bad happen due to a malformed descriptor it makes no sense to try to attach a driver, and bail before
Avoid calling usbd_set_config_index() in *_attach() and let the stack do it instead.
If anything bad happen due to a malformed descriptor it makes no sense to try to attach a driver, and bail before probing.
show more ...
|
#
84b8bfaf |
| 05-Jun-2016 |
bru <bru@openbsd.org> |
Use the new input functions of wsmouse in mouse and touchscreen drivers.
ok stsp@ kettenis@
|
#
690400d3 |
| 10-Feb-2016 |
guenther <guenther@openbsd.org> |
Permit negative x and y coordinates in mouse.scale for uts and ums. Needed by some touchscreens.
no objection matthieu@
|
#
21dab745 |
| 14-Mar-2015 |
jsg <jsg@openbsd.org> |
Remove some includes include-what-you-use claims don't have any direct symbols used. Tested for indirect use by compiling amd64/i386/sparc64 kernels.
ok tedu@ deraadt@
|
#
9b18ffb8 |
| 19-Dec-2014 |
guenther <guenther@openbsd.org> |
Use <sys/endian.h> instead of <machine/endian.h>
ok dlg@ mpi@ bcook@ millert@ miod@
|
#
df2ac69f |
| 12-Jul-2014 |
tedu <tedu@openbsd.org> |
add a size argument to free. will be used soon, but for now default to 0. after discussions with beck deraadt kettenis.
|
#
ae343004 |
| 07-Mar-2014 |
mpi <mpi@openbsd.org> |
Do not define per-driver DEBUG variable when USB_DEBUG is defined. It's really impossible to debug the USB stack when any single device you plug in your machine starts to vomit its own poetry,
|
#
cbb8e2d4 |
| 07-Nov-2013 |
pirofti <pirofti@openbsd.org> |
Replace sc_dying in favour of usbd_is_dying() and usbd_deactivate().
Okay mpi@
|
#
ab0b1be7 |
| 15-Apr-2013 |
mglocker <mglocker@openbsd.org> |
Get rid of various 'typedef struct' definitions and use plain structure definitions instead. We don't change usb.h for now to stay compatible with userland.
Tested by mpi@ on macppc and myself on i
Get rid of various 'typedef struct' definitions and use plain structure definitions instead. We don't change usb.h for now to stay compatible with userland.
Tested by mpi@ on macppc and myself on i386.
ok mpi@
show more ...
|
#
0b1c7607 |
| 03-Jul-2011 |
matthew <matthew@openbsd.org> |
Remove config_activate() and DVACT_ACTIVATE. PCMCIA's the only thing that's ever used it, and it's long since been changed to use DVACT_{QUIESCE,SUSPEND,RESUME} instead.
ok deraadt@, dlg@; miod@ al
Remove config_activate() and DVACT_ACTIVATE. PCMCIA's the only thing that's ever used it, and it's long since been changed to use DVACT_{QUIESCE,SUSPEND,RESUME} instead.
ok deraadt@, dlg@; miod@ also agreed with this idea when I brought it up a few weeks ago
show more ...
|
#
76341711 |
| 03-Mar-2011 |
kettenis <kettenis@openbsd.org> |
Prevent division-by-zero when scaling down to the screen resolution. Make the WSMOUSEIO_SCALIBCOORDS fail with EINVAL if the settings would cause a division-by-zero.
ok deraadt@
|
#
0036ea2d |
| 25-Jan-2011 |
jakemsr <jakemsr@openbsd.org> |
garbage collect "usb events". without /dev/usb there is no way to access them from userland, and nothing in the kernel uses them.
ok krw@, miod@
|
#
70e15fe7 |
| 24-Sep-2010 |
yuo <yuo@openbsd.org> |
remove dying flag in detach() function. The dying flag will be set in activate()/DEACTIVATE.
ok deraadt@
|
#
984f86a3 |
| 05-Dec-2009 |
matthieu <matthieu@openbsd.org> |
Ignore HID devices that have the same vendor and product ids than devices actually supported by this device. The Linux driver confirms they exist. ok miod@ jsg@.
|
#
e78728c7 |
| 13-Oct-2009 |
pirofti <pirofti@openbsd.org> |
Get rid of devact enum, substitute it with an int and coresponding defines.
This is needed for the addition of further suspend/resume actions.
Okay deraadt@, marco@.
|
#
1d4b9eab |
| 14-Feb-2009 |
chl <chl@openbsd.org> |
remove dead assignments and newly created unused variables.
Found by LLVM/Clang Static Analyzer.
ok fgsch@ krw@
|
#
e79d18d3 |
| 29-Dec-2008 |
miod <miod@openbsd.org> |
typo
|
#
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 ...
|
#
ccf92902 |
| 18-Sep-2007 |
miod <miod@openbsd.org> |
Do not return from uts_intr() without restoring spl if it has been changed, also clean up uts_get_pos() interface while there; spotted by and joint work with fgsch@, ok matthieu@ robert@
|