Re: [PATCH] USB driver for Meywa-Denki & Kayac YUREX

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, May 21, 2010 at 02:36:17AM +0900, Tomoki Sekiyama wrote:
> Hi,
> I wrote a USB driver of YUREX for Linux, that is a sensor device
> connected to USB. I've referred to a driver for OpenBSD :
>   http://www.openbsd.org/cgi-bin/cvsweb/src/sys/dev/usb/uyurex.c
> 
> *Description:
> The YUREX is a BBU (leg shakes) sensor, which is a USB HID
> as a definition. However, it is actually a sensor with a
> counter, so this driver provides a character device to
> read and write the counter via /dev/yurex[0-9]*.
> Instead, this patch adds a blacklist entry for YUREX not to
> recognized as a ubshid.

If you are just using a character device with a custom interface, why
does this need to be a kernel module at all?  Can't you just do the same
thing with libusb/usbfs instead from userspace?

Or is there some reason this should be a kernel driver?

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux