LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-23-2015, 05:37 AM   #1
krazyivan
LQ Newbie
 
Registered: Jan 2012
Posts: 29

Rep: Reputation: Disabled
problem with X input events, /dev/input/eventX number changes


short sum up:

-> a X input device sometimes have a different /dev/input/eventX number in between restarts
-> should this number change (I never noticed this before)
-> how to make it persistent?


longer more extensive description:
xinput /dev/input/event* number persistance
I have a rather complicated desktop config (advanced kioks sollution with 4screens, only on of them not being a touchscreen). Two are exactly the same (Same model, vendor, etc).
After going through hell and back to actually make them work correctly and properly calibrated I still have a big issue:
I have a script that recodgnises(from xinput --list-props) them and assignes each of the identical touchscreens to appropriate video heads (having a 50 chance of success I also have a procedure to flip them but that's beside the point), but sometimes the number on /dev/input/event* changes resulting a touchscreen having the default transformation matrix (making it useless)

extra problems: I cannot use udev to match serial number and assign a device name statically- we are talking about hundreds of machines, I need this automated. I cannot use udev to match specific usb ports for those touch screens as the manufacturer of the hardware/kioks assembly will not ensure usb plugs order(differnt company).

xorg config fragment to ilustrate (vendor obfuscated)
{code}

Section "InputClass"
Identifier "calibrationiB"
MatchProduct "XXXX"
Option "Calibration" "2188 14444 14019 2438"
MatchDevicePath "/dev/input/event9"
Option "TransformationMatrix" "1 0 0 0 0.267326732673 0.267326732673 0 0 1"

EndSection

{code}

Last edited by krazyivan; 12-23-2015 at 05:39 AM.
 
  


Reply

Tags
dev, xinput, xorg.conf



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Alternatives to key event from /dev/input/eventX Xeratul Linux - General 1 05-24-2012 02:12 PM
HAL vs Xserver (/dev/input/mice?): convincing X to *not* use a given input device? stuartnlevy Linux - Desktop 6 01-24-2012 04:06 PM
Get /dev/input/eventX from VID:PID (C/C++) Litch84 Programming 1 10-08-2011 05:49 AM
Mouse going back and forth between /dev/input/event3 and /dev/input/event4 Linux.tar.gz Linux - Hardware 2 03-05-2011 04:46 PM
[SOLVED] Touchscreen input device not appearing in /dev/input rohshall Linux - Embedded & Single-board computer 4 08-21-2009 10:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration