lkml.org 
[lkml]   [2009]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Purpose of parameter in sysfs binary read
On Tue, 18 Aug 2009 09:41:56 -0600
"Rick L. Vinyard, Jr." <rvinyard@cs.nmsu.edu> 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.

If its a bitmap image why not register the device as a framebuffer ?


\
 
 \ /
  Last update: 2009-08-19 18:07    [W:0.075 / U:0.380 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site