summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/ugold.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add support for the "TEMPer1F_H1V1.5F" USB temperature and humiditystsp2017-10-051-2/+13
| | | | | | | | sensor to the ugold(4) driver. Patch by Jan Klemkow Tested by Remi Locherer ok mpi@ patrick@
* Remove unneeded <sys/malloc.h> from Michael W. Bombardieri.mpi2017-01-091-2/+1
|
* revert manual additions of hid.h now that usbhid.h brings it injcs2016-01-091-3/+1
|
* Move HID support files out of dev/usb into new dev/hid directoryjcs2016-01-081-2/+3
| | | | | | | | | These files aren't USB-specific and were used by the previous Bluetooth implementation, and will be used by the upcoming HID-over-i2C implementation ok deraadt previous version ok kettenis and mpi
* update author information of the copyright section.yuo2015-08-121-2/+2
| | | | no binary update.
* fix regressions introduced in my previous commmit, resulting injung2015-08-111-10/+24
| | | | | | | | | | 'unknown command' dmesg lines for TEMPer devices and a possible type command loop for unsupported TEMPerHUM devices, moreover, 2 whitespace fixes while here tested by myself and frederic cambus ok mpi@
* add support for newer PCsensor TEMPerHUM thermo- and hygrometers:jung2015-07-151-19/+169
| | | | | | | | | | TEMPerHUM1V1.2 tested by Raf Czlonka via bugs@ and TEMPerHUM1V1.0 tested by myself earlier version tested by sasano, input from mpi@ and deraadt ok mpi@
* Change uhidev(4) set/get report functions in various way.mpi2014-12-111-3/+6
| | | | | | | | | | | | | | Always pass the parent uhidev(4) descriptor corresponding to the single USB device with multiple reportIDs instead of a child. Make uhidev_get_report() aware of non NUL reportID by prepending a byte to the given buffer, just like uhidev_set_report{,async}() already do. Return the number of bytes written or read upon success and -1 otherwise. This allow callers to deal with short reads without having do mess with xfer error codes madness. Reviewed and tested by David Higgs.
* Make sure to call uhidev_close() upon detach, plug another xfer leak.mpi2014-04-291-1/+4
|
* Modify the uhidev_*_report() methods to always take a report ID argumentmpi2014-04-151-3/+3
| | | | | | | | instead of using the default, per-driver, one. This is a step to move away from the 1 report ID <-> 1 driver design which is no longer true since the addition of upd(4). ok andre@
* Add a temporary hack to let a subdriver claim all the reportIDs ofmpi2014-03-191-1/+4
| | | | | | | a device. This should be removed once all the drivers attaching to uhidev(4) are converted. ok andre@, sthen@
* Use the async version of uhidev_set_report(), there's no need to sleepmpi2013-11-041-2/+3
| | | | | | | until the transfer is done when submitting a command since the answers are read from the interrupt and we cannot do much if it fails. ok sasano@
* need sys/device.hderaadt2013-09-061-1/+2
|
* ugold(4) is a driver for PCsensor's USB gold TEMPer temperaturesasano2013-09-051-0/+257
measurement device (idVendor:idProduct=0x0c45:0x7401). newly added. ok by mpi@ and sthen@