[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090825113619.GB1341@ucw.cz>
Date: Tue, 25 Aug 2009 13:36:19 +0200
From: Pavel Machek <pavel@....cz>
To: "Rick L. Vinyard, Jr." <rvinyard@...nmsu.edu>
Cc: Alan Cox <alan@...rguk.ukuu.org.uk>, Greg KH <greg@...ah.com>,
Linux USB <linux-usb@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: Purpose of parameter in sysfs binary read
Hi!
> > If its a bitmap image why not register the device as a framebuffer ?
> >
>
> Would that preclude it also being registered as a HID? The primary purpose
> of the device is to function as a keypad input.
>
> But, in addition to sending keystroke output you can send a usb control
> message to change the backlight color and an interrupt message to load a
> bitmap as an image.
>
> The bitmap itself is simple, but requires a specific format. Byte 0 must
> be 0x03 followed by 31 bytes of null. The low bit of byte 32 is x,y (0,0)
> second high bit is (0,1)... with low bit of byte 33 being (1,0)...
Sounds very much like auxdisplay things we already have in tree...
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists