Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Simon Busch <morphis@gravedo.de>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH 14/15] xserver-xorg-conf: switch from plain tslib access to evdev for touchscreen on palmpre machine
Date: Tue, 19 Oct 2010 09:42:58 +0200	[thread overview]
Message-ID: <4CBD4C02.6070002@gravedo.de> (raw)
In-Reply-To: <i9id6u$jcd$2@dough.gmane.org>

On 18.10.2010 23:11, Koen Kooi wrote:
>>  Section "InputDevice"
>>      Identifier  "Touchscreen"
>> -    Driver      "tslib"
>> -    Option      "Device"                "/dev/touchscreen"
>> +    Driver      "evdev"
>> +    Option      "Device"                "/dev/input/event6"
> 
> You're better of using /dev/input/touchscreen0 for that since event
> numbers are pretty much random.

No, thats not possible as the /dev/input/event6 is an uinput device and
not provided by any kernel driver. On the palmpre machine we have a
special situation with the touchscreen. The kernel gives you access on
the touchscreen through /dev/touchscreen. It can be opened only once. So
we have written a touchscreen management daemon called tsmd. It opens
/dev/touchscreen, creates a new uinput device, processes all touchscreen
events via tslib and reports them to the user via the uinput node. So
there is no /dev/input/touchscreen0 ever available.

regards,
morphis



  reply	other threads:[~2010-10-19  7:43 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-18 18:51 More work on support for palmpre machine Simon Busch
2010-10-18 18:51 ` [PATCH 01/15] tslib: adjust various recipe settings for the " Simon Busch
2010-10-18 18:51 ` [PATCH 02/15] read-tokens: add initial git version Simon Busch
2010-10-18 18:51 ` [PATCH 03/15] tsmd: add initial recipe Simon Busch
2010-10-18 18:51 ` [PATCH 04/15] netbase: powerup usb0 interface automatically on palmpre machine Simon Busch
2010-10-31  8:54   ` Denis 'GNUtoo' Carikli
2010-10-31 10:46     ` Simon Busch
2010-10-18 18:51 ` [PATCH 05/15] palmpre: prefer git version of tslib Simon Busch
2010-10-18 19:00   ` Martin Jansa
2010-10-19  7:46     ` Simon Busch
2010-10-19 12:46       ` [PATCH 15/15] preferred-shr-versions: choose git version of tslib as default Simon Busch
2010-10-18 21:10   ` [PATCH 05/15] palmpre: prefer git version of tslib Koen Kooi
2010-10-18 18:51 ` [PATCH 06/15] tslib: add patch for git version to compile cy8mrln plugin Simon Busch
2010-10-18 18:51 ` [PATCH 07/15] initscripts-shr: remove unused usb-gadget script for palmpre machine Simon Busch
2010-10-18 18:58   ` Martin Jansa
2010-10-18 18:51 ` [PATCH 08/15] tellbootie: add initial git version Simon Busch
2010-10-18 18:51 ` [PATCH 09/15] palmpre-audio-scripts: add initial version Simon Busch
2010-10-18 18:51 ` [PATCH 10/15] tslib: fix typo in palmpre machine ts.conf file and switch to raw module Simon Busch
2010-10-18 18:51 ` [PATCH 11/15] linux-palmpre: bump git SRCREV for devtmpfs support Simon Busch
2010-10-18 18:51 ` [PATCH 12/15] linux-palmpre: enable devtmpfs per default but do not auto mount it Simon Busch
2010-10-18 18:51 ` [PATCH 13/15] initscripts-shr: add mountdevtmpfs init script for palmpre machine Simon Busch
2010-10-20  8:04   ` Klaus 'mrmoku' Kurzmann
2010-10-18 18:51 ` [PATCH 14/15] xserver-xorg-conf: switch from plain tslib access to evdev for touchscreen on " Simon Busch
2010-10-18 21:11   ` Koen Kooi
2010-10-19  7:42     ` Simon Busch [this message]
2010-10-18 18:51 ` [PATCH 15/15] palmpre: add some utilities to MACHINE_EXTRA_RDEPEND Simon Busch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CBD4C02.6070002@gravedo.de \
    --to=morphis@gravedo.de \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox