The problem with the touchscreen driver not working in X is caused by the
following.....
The touchscreen driver gets assigned a device number dynamically. The number
it gets depends upon what other dynamic devices have been loaded first. So
for example, if the touchscreen driver gets loaded before you plug a card
in, it'll be deviceID 254... but if it's the second device to get loaded,
it'll become 253.. and if you have a dual sleeve, with two cards plugged in
before the TS driver gets loaded, the the TS driver will become a lowly 252.
So.. What ID it ends up getting depends on what cards you've got plugged in,
and when you plugged them in.
The /etc/init.d/devfs script just does a mknod when we boot up, and doesn't
take into account the nature of this driver.
I believe that the correct fix would be for the touchscreen driver to gain a
fixed device major number. If I'm reading the docs right, it should be
device major 10 (Misc serial devices such as touchscreens). Then this
problem would disappear, because it'll always have the same numbers.
An alterative fix could be achieved using a post-install line in the
modules.conf to grep /proc/devices, find the device no. and create the nodes
accordingly.
Jim / Tangent
Received on Thu Jul 5 19:15:58 2001
This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:42:39 EDT