From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752035AbZHSSZv (ORCPT ); Wed, 19 Aug 2009 14:25:51 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751320AbZHSSZv (ORCPT ); Wed, 19 Aug 2009 14:25:51 -0400 Received: from mail.cs.nmsu.edu ([128.123.64.3]:46932 "EHLO mail.cs.nmsu.edu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751142AbZHSSZu (ORCPT ); Wed, 19 Aug 2009 14:25:50 -0400 Message-ID: <3eb87686d834e14f35378d3c3c79fb02.squirrel@intranet.cs.nmsu.edu> In-Reply-To: <20090819191944.23e6e0ee@lxorguk.ukuu.org.uk> References: <9f97a27ccc13bd63ce99be04018b6bde.squirrel@intranet.cs.nmsu.edu> <20090818151427.GA6295@kroah.com> <20090819170501.1dbd29a8@lxorguk.ukuu.org.uk> <5ea7c6a46fa1e051d69a302fdc8961ac.squirrel@intranet.cs.nmsu.edu> <20090819191944.23e6e0ee@lxorguk.ukuu.org.uk> Date: Wed, 19 Aug 2009 12:25:45 -0600 Subject: Re: Purpose of parameter in sysfs binary read From: "Rick L. Vinyard, Jr." To: "Alan Cox" Cc: "Greg KH" , "Linux USB" , "LKML" User-Agent: SquirrelMail/1.4.19 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT X-Priority: 3 (Normal) Importance: Normal Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.