From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gary Thomas To: Jonathan Larmour Cc: ecos-discuss@sources.redhat.com, "richard.panton" Subject: Re: [ECOS] TouchScreen drivers Date: Tue, 05 Sep 2000 04:04:00 -0000 Message-id: References: <39B3A5FF.69DD3148@redhat.com> X-SW-Source: 2000-09/msg00029.html On 04-Sep-00 Jonathan Larmour wrote: > "richard.panton" wrote: >> >> Has anyone worked on touch screen drivers for eCos? >> >> I'm intending to do a driver for the SA1110 Assabet board (using the >> UCB1300 codec chip), and would like to ensure it is compatible with any >> other touch-screen drivers out there. > > There's touch panel support in eCos for the Cirrus Logic EDB7xxx boards - > see hal/arm/edb7xxx/current/misc/lcd_panel_support.c > > but it was done somewhat ad hoc I believe - it wasn't formalized into a > proper interface. This may be because it's too simple to bother > formalizing, I don't know. Gary, this is your baby - any opinions? > This was definitely done ad hoc, but the basic structure should be usable. The basic idea is that the touch screen handler creates small events which are placed in a kernel message buffer which users can read. The EDB7xxx touch driver is the only one we've played with so far. We'd certainly appreciate more contributions in this area.