You've already forked linux-rockchip
mirror of
https://github.com/armbian/linux-rockchip.git
synced 2026-01-06 11:08:10 -08:00
USB: add driver for Meywa-Denki & Kayac YUREX
Meywa-Denki/Kayac YUREX is a leg-shakes sensor device. See http://bbu.kayac.com/en/about/ for further information. This driver support read/write the leg-shakes counter in the device via a device file /dev/yurex[0-9]*. [minor coding style cleanups fixed by gregkh] Signed-off-by: Tomoki Sekiyama <tomoki.sekiyama@gmail.com> Cc: Jiri Kosina <jkosina@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
3323b7107e
commit
6bc235a2e2
@@ -1662,6 +1662,7 @@ static const struct hid_device_id hid_ignore_list[] = {
|
||||
{ HID_USB_DEVICE(USB_VENDOR_ID_GTCO, USB_DEVICE_ID_GTCO_1006) },
|
||||
{ HID_USB_DEVICE(USB_VENDOR_ID_GTCO, USB_DEVICE_ID_GTCO_1007) },
|
||||
{ HID_USB_DEVICE(USB_VENDOR_ID_IMATION, USB_DEVICE_ID_DISC_STAKKA) },
|
||||
{ HID_USB_DEVICE(USB_VENDOR_ID_JESS, USB_DEVICE_ID_JESS_YUREX) },
|
||||
{ HID_USB_DEVICE(USB_VENDOR_ID_KBGEAR, USB_DEVICE_ID_KBGEAR_JAMSTUDIO) },
|
||||
{ HID_USB_DEVICE(USB_VENDOR_ID_KWORLD, USB_DEVICE_ID_KWORLD_RADIO_FM700) },
|
||||
{ HID_USB_DEVICE(USB_VENDOR_ID_KYE, USB_DEVICE_ID_KYE_GPEN_560) },
|
||||
|
||||
@@ -304,6 +304,9 @@
|
||||
#define USB_VENDOR_ID_IMATION 0x0718
|
||||
#define USB_DEVICE_ID_DISC_STAKKA 0xd000
|
||||
|
||||
#define USB_VENDOR_ID_JESS 0x0c45
|
||||
#define USB_DEVICE_ID_JESS_YUREX 0x1010
|
||||
|
||||
#define USB_VENDOR_ID_KBGEAR 0x084e
|
||||
#define USB_DEVICE_ID_KBGEAR_JAMSTUDIO 0x1001
|
||||
|
||||
|
||||
@@ -231,3 +231,16 @@ config USB_ISIGHTFW
|
||||
driver beforehand. Tools for doing so are available at
|
||||
http://bersace03.free.fr
|
||||
|
||||
config USB_YUREX
|
||||
tristate "USB YUREX driver support"
|
||||
depends on USB
|
||||
help
|
||||
Say Y here if you want to connect a YUREX to your computer's
|
||||
USB port. The YUREX is a leg-shakes sensor. See
|
||||
<http://bbu.kayac.com/en/> for further information.
|
||||
This driver supports read/write of leg-shakes counter and
|
||||
fasync for the counter update via a device file /dev/yurex*.
|
||||
|
||||
To compile this driver as a module, choose M here: the
|
||||
module will be called yurex.
|
||||
|
||||
|
||||
@@ -22,6 +22,7 @@ obj-$(CONFIG_USB_TEST) += usbtest.o
|
||||
obj-$(CONFIG_USB_TRANCEVIBRATOR) += trancevibrator.o
|
||||
obj-$(CONFIG_USB_USS720) += uss720.o
|
||||
obj-$(CONFIG_USB_SEVSEG) += usbsevseg.o
|
||||
obj-$(CONFIG_USB_YUREX) += yurex.o
|
||||
|
||||
obj-$(CONFIG_USB_SISUSBVGA) += sisusbvga/
|
||||
|
||||
|
||||
552
drivers/usb/misc/yurex.c
Normal file
552
drivers/usb/misc/yurex.c
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user