Skip to content

Commit 6bc235a

Browse files
Tomoki Sekiyamagregkh
authored andcommitted
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 <[email protected]> Cc: Jiri Kosina <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 3323b71 commit 6bc235a

File tree

5 files changed

+570
-0
lines changed

5 files changed

+570
-0
lines changed

drivers/hid/hid-core.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1662,6 +1662,7 @@ static const struct hid_device_id hid_ignore_list[] = {
16621662
{ HID_USB_DEVICE(USB_VENDOR_ID_GTCO, USB_DEVICE_ID_GTCO_1006) },
16631663
{ HID_USB_DEVICE(USB_VENDOR_ID_GTCO, USB_DEVICE_ID_GTCO_1007) },
16641664
{ HID_USB_DEVICE(USB_VENDOR_ID_IMATION, USB_DEVICE_ID_DISC_STAKKA) },
1665+
{ HID_USB_DEVICE(USB_VENDOR_ID_JESS, USB_DEVICE_ID_JESS_YUREX) },
16651666
{ HID_USB_DEVICE(USB_VENDOR_ID_KBGEAR, USB_DEVICE_ID_KBGEAR_JAMSTUDIO) },
16661667
{ HID_USB_DEVICE(USB_VENDOR_ID_KWORLD, USB_DEVICE_ID_KWORLD_RADIO_FM700) },
16671668
{ HID_USB_DEVICE(USB_VENDOR_ID_KYE, USB_DEVICE_ID_KYE_GPEN_560) },

drivers/hid/hid-ids.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,9 @@
304304
#define USB_VENDOR_ID_IMATION 0x0718
305305
#define USB_DEVICE_ID_DISC_STAKKA 0xd000
306306

307+
#define USB_VENDOR_ID_JESS 0x0c45
308+
#define USB_DEVICE_ID_JESS_YUREX 0x1010
309+
307310
#define USB_VENDOR_ID_KBGEAR 0x084e
308311
#define USB_DEVICE_ID_KBGEAR_JAMSTUDIO 0x1001
309312

drivers/usb/misc/Kconfig

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,3 +231,16 @@ config USB_ISIGHTFW
231231
driver beforehand. Tools for doing so are available at
232232
http://bersace03.free.fr
233233

234+
config USB_YUREX
235+
tristate "USB YUREX driver support"
236+
depends on USB
237+
help
238+
Say Y here if you want to connect a YUREX to your computer's
239+
USB port. The YUREX is a leg-shakes sensor. See
240+
<http://bbu.kayac.com/en/> for further information.
241+
This driver supports read/write of leg-shakes counter and
242+
fasync for the counter update via a device file /dev/yurex*.
243+
244+
To compile this driver as a module, choose M here: the
245+
module will be called yurex.
246+

drivers/usb/misc/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ obj-$(CONFIG_USB_TEST) += usbtest.o
2222
obj-$(CONFIG_USB_TRANCEVIBRATOR) += trancevibrator.o
2323
obj-$(CONFIG_USB_USS720) += uss720.o
2424
obj-$(CONFIG_USB_SEVSEG) += usbsevseg.o
25+
obj-$(CONFIG_USB_YUREX) += yurex.o
2526

2627
obj-$(CONFIG_USB_SISUSBVGA) += sisusbvga/
2728

0 commit comments

Comments
 (0)