Re: Purpose of parameter in sysfs binary read

From: Greg KH
Date: Tue Aug 18 2009 - 12:06:47 EST


On Tue, Aug 18, 2009 at 09:41:56AM -0600, Rick L. Vinyard, Jr. wrote:
> Greg KH wrote:
> > On Tue, Aug 18, 2009 at 08:55:29AM -0600, Rick L. Vinyard, Jr. wrote:
> > What are you using the binary sysfs attribute for? It should ONLY be
> > used as a pass-through to and from hardware, with no interpretation by
> > the kernel at all.
>
> It's for the Logitech G13's game panel image (a simple binary bitmap of
> the pixels).
>
> It doesn't do any interpretation... just a few checks on the magic number
> and size.

Cool. Have a pointer to the driver yet?

thanks,

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