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

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

 



On Wed, Sep 29, 2010 at 12:16:50PM +0900, Tomoki Sekiyama wrote:
> Hi Greg,
> 
> This is the driver code for YUREX (leg-shakes sensosr) I showed you
> at the party after LinuxCon Japan.

Heh, thanks for posting the patch, I like it a lot.

> 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]*.

Is there any reason this has to be a character device?  The way you use
the device seems to be just like a sysfs file.  Could it be done as a
sysfs instead?  If so, it would reduce the ammount of code here.

Are there userspace tools that are expecting the /dev/ node, or is it
just used as you showed me at the meeting by running 'cat' and 'echo' on
the device node?

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