| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
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@
|
|
|
|
| |
and IOCPARM_LEN macros types.
|
|
|
|
| |
ok deraadt@
|
|
|
|
|
| |
Errors will result in nice clean panic messages so we know what's wrong.
Reviewed by dhill visa natano jsg.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
ok stsp@ kettenis@
|
|
|
|
|
|
| |
Needed by some touchscreens.
no objection matthieu@
|
|
|
|
|
|
|
| |
have any direct symbols used. Tested for indirect use by compiling
amd64/i386/sparc64 kernels.
ok tedu@ deraadt@
|
|
|
|
| |
ok dlg@ mpi@ bcook@ millert@ miod@
|
|
|
|
| |
after discussions with beck deraadt kettenis.
|
|
|
|
|
| |
really impossible to debug the USB stack when any single device you plug
in your machine starts to vomit its own poetry,
|
|
|
|
| |
Okay mpi@
|
|
|
|
|
|
|
|
|
| |
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@
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
the WSMOUSEIO_SCALIBCOORDS fail with EINVAL if the settings would cause a
division-by-zero.
ok deraadt@
|
|
|
|
|
|
| |
them from userland, and nothing in the kernel uses them.
ok krw@, miod@
|
|
|
|
|
|
| |
The dying flag will be set in activate()/DEACTIVATE.
ok deraadt@
|
|
|
|
|
| |
devices actually supported by this device. The Linux driver confirms
they exist. ok miod@ jsg@.
|
|
|
|
|
|
| |
This is needed for the addition of further suspend/resume actions.
Okay deraadt@, marco@.
|
|
|
|
|
|
| |
Found by LLVM/Clang Static Analyzer.
ok fgsch@ krw@
|
| |
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
also clean up uts_get_pos() interface while there; spotted by and joint work
with fgsch@, ok matthieu@ robert@
|
| |
|
|
|
|
|
| |
just return 0 or 1 on this axis, depending on the contact.
Ok robert@ miod@.
|
| |
|
|
|
|
|
|
|
|
| |
USB_DECLARE_DRIVER macros.
No binary change.
ok dlg.
|
|
|
|
|
|
| |
No binary change.
ok ray.
|
|
|
|
|
|
| |
No binary change.
ok mk.
|
|
|
|
| |
From Karl Sjödahl <dunceor@gmail.com>
|
|
|
|
|
|
|
| |
(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.
|
|
|
|
|
|
|
|
| |
and the address of it's argument: USBDEV(sc->sc_dev) yields &sc->sc_dev.
No binary changes.
ok jsg.
|
|
|
|
|
|
| |
Tested by thib and myself.
ok mbalmer jsg
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
ok deraadt@ krw@ mbalmer@
|
|
|
|
|
| |
invert the X or Y coordinates to make the top left
corner (0,0).
|
|
|
|
|
|
|
|
| |
for getting and passing calibration values. Move the scale
struct to uts_softc so that each device can have it's own values
instead of using the global one.
ok miod@
|
|
|
|
|
|
|
| |
this should prevent phantom devices from attaching axe or uberry on
some machines.
ok deraadt@
|
|
|
|
|
|
| |
is defined and make sure that we are calling wsmouse_input every time
the screen gets touched on different types of touchscreens.
Some minor cleanups while here.
|
|
|
|
|
|
| |
Mouse. Currently limited to USB mice.
Adapted from a diff from Gareth <garf@loveandnature.co.za> on tech@
|
|
|
|
|
| |
so let's adapt the code by specifing the corrent length and
and move the check to the correct place.
|
|
currently the driver only support touchscreens made by eGalax and
Future Technology Devices (ITM)
ok deraadt@
|