getting device path or sysfs name of input device
Peter Hutterer
peter.hutterer at who-t.net
Sun May 9 22:07:04 PDT 2010
On Sun, May 09, 2010 at 09:50:47PM -0700, Alan Coopersmith wrote:
> On 5/9/2010 9:00 AM, John R. wrote:
> >On 05/09/10 08:41, Tias wrote:
> >
> >[snip]
> >
> >>I want to make the calibration permanent, and not just applied when the
> >>program is run.
> >
> >I am not an xorg developer so cannot assist with your technical questions.
> >
> >One of the other options you mention is adding calibration info to a
> >xorg.conf.d file. It share a common disadvantage with udev method in
> >that it requires write access to files generally written to by root.
>
> xorg.conf.d will be far more portable than udev though, if you care
> about users of non-Linux kernels such as the BSD's or OpenSolaris.
And we really don't recommend configuring X through udev. If udev rules are
necessary, use them to "tag" devices only. The specific configuration then
goes into the xorg.conf.
Example I'm working on atm:
Some touchpads have a less-than-ideal button positioning. This affects some
specific models so you can use udev (or another config backend) to assign a
"touchpad_overlapping_buttons" tag to those devices.
Then in the xorg.conf, you can match this to whatever specific configuration
you require for this kind of touchpads.
Cheers,
Peter
More information about the xorg
mailing list