[debian] tslib device

Michael 'Mickey' Lauer mickey at openmoko.org
Tue Sep 30 08:17:01 CEST 2008


Am Montag, den 29.09.2008, 22:07 +0530 schrieb sparky mat:
> I am trying to get the touchscreen to work in SDL (on Debian) compiled
> over DirectFB. SDL is not detecting any event from the touchscreen.
> 
> As far as I understand, the following environment variables are to be set:
> 
> export SDL_MOUSEDRV=TSLIB
> export SDL_MOUSEDEV=/dev/input/event1 ( <-- is this correct? )

It might be correct, might be wrong. The kernel layers actually give no
guarantee about the order of input nodes. In OpenEmbedded, we use a
custom udev rule to make a softlink from touchscreen0 to [whatever is
the input node of it] -- debian should copy that technique.

:M:




More information about the support mailing list