Re: Purpose of parameter in sysfs binary read

From: Rick L. Vinyard, Jr.
Date: Wed Aug 19 2009 - 14:25:58 EST


Alan Cox wrote:
>> 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.
>
> Ok that actually fits the LCD interface model a bit better, but the LCD
> class right now is a hack inside of a single driver so eventually needs
> fixing
>
>> 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)...
>
> How big is it and can it be used for general purpose graphics - I know
> the G19 is something like 320x240 but the G13 ?
>

160x43 --- The same as the G15 and MX5000 keyboards. In fact, it takes the
same bitmap pattern as the keyboards.

160x43 is small, but some graphics are definitely possible, console/text
is certainly possible.

--
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/