summaryrefslogtreecommitdiff
path: root/sys/dev/usb/files.usb
diff options
context:
space:
mode:
authorYojiro Uo <yuo@cvs.openbsd.org>2012-09-20 13:52:12 +0000
committerYojiro Uo <yuo@cvs.openbsd.org>2012-09-20 13:52:12 +0000
commit06e2955cdc9dc864884658fa3502f0887b1feb94 (patch)
tree2a8ce216449c5044baf38e86239bb612d333e612 /sys/dev/usb/files.usb
parentee967bb279f78037ebc496177469bc4f5a82b2e3 (diff)
add device driver for Toradex OAK usb sensors:
uoaklux(4): Toradex OAK LUX, USB illuminance sensor uoakrh(4) : Toradex OAK RH, USB temperature and relative humidity sensor uoakv(4) : Toradex OAK V, USB +/- 10V 8channel ADC interface ok deraadet@
Diffstat (limited to 'sys/dev/usb/files.usb')
-rw-r--r--sys/dev/usb/files.usb21
1 files changed, 20 insertions, 1 deletions
diff --git a/sys/dev/usb/files.usb b/sys/dev/usb/files.usb
index 1e4000a5232..9f73c825e54 100644
--- a/sys/dev/usb/files.usb
+++ b/sys/dev/usb/files.usb
@@ -1,4 +1,4 @@
-# $OpenBSD: files.usb,v 1.101 2012/09/19 16:33:04 jsg Exp $
+# $OpenBSD: files.usb,v 1.102 2012/09/20 13:52:11 yuo Exp $
# $NetBSD: files.usb,v 1.16 2000/02/14 20:29:54 augustss Exp $
#
# Config file and device description for machine-independent USB code.
@@ -138,6 +138,25 @@ device usps
attach usps at uhub
file dev/usb/usps.c usps
+# Toradex OAK common
+define uoak
+file dev/usb/uoak_subr.c
+
+# Toradex OAK series USB RH sensor
+device uoakrh: hid, uoak
+attach uoakrh at uhidbus
+file dev/usb/uoakrh.c uoakrh
+
+# Toradex OAK series USB LUX sensor
+device uoaklux: hid, uoak
+attach uoaklux at uhidbus
+file dev/usb/uoaklux.c uoaklux
+
+# Toradex OAK series USB 10V sensor
+device uoakv: hid, uoak
+attach uoakv at uhidbus
+file dev/usb/uoakv.c uoakv
+
# Misc
# Gude Expert mouseCLOCK DCF77 time signal station receiver
device udcf