LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 05-19-2009, 01:48 PM   #1
slacky
Member
 
Registered: Feb 2004
Location: USA
Distribution: Debian
Posts: 174

Rep: Reputation: 16
Save "xinput set-int-prop" properties to xorg.conf or elsewhere?


Hello,

I have a Elo AccuTouch 2216 USB touchscreen that seems automatically supported by a clean install of Ubuntu 9.04. However, to actually use it correctly, I need to run some xinput commands to invert the Y axis and calibrate:

Code:
xinput set-int-prop "EloTouchSystems..." "Evdev Axis Inversion" 8 0 1
xinput set-int-prop "EloTouchSystems..." "Evdev Axis Calibration" 32 500 3500 538 3538
These properties are shown by xinput list-props and documented as properties in the evdev Xorg input driver man page.

My questions is - where can I configure or save these settings so I don't have to ever enter again? On older versions of Ubuntu for serial touchscreens I'd add to xorg.conf, but that seems to be depreciated and these are listed as properties instead of options.

Thanks,
slacky
 
Old 05-19-2009, 03:08 PM   #2
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,453

Rep: Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941
You have to edit/create a HAL configuration file, as explained in this tutorial. Make a backup of the original files before doing any modification, so that you can restore the previous situation if something goes wrong.
 
Old 05-20-2009, 09:36 AM   #3
slacky
Member
 
Registered: Feb 2004
Location: USA
Distribution: Debian
Posts: 174

Original Poster
Rep: Reputation: 16
Thanks. I couldn't manage to make a HAL fdi xml file that changed anything, but I found out if I installed the xserver-xorg-input-evtouch package, there's a evtouch driver that will take the options I need in the xorg.conf file. Whether that's better or worse, I don't know - but at least I have it working right.
 
Old 05-20-2009, 11:44 AM   #4
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,453

Rep: Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941
Quote:
Originally Posted by slacky View Post
Thanks. I couldn't manage to make a HAL fdi xml file that changed anything, but I found out if I installed the xserver-xorg-input-evtouch package, there's a evtouch driver that will take the options I need in the xorg.conf file. Whether that's better or worse, I don't know - but at least I have it working right.
Good to know. Thanks for sharing your solution. Cheers!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems configuring "xorg.conf" with "ATI FGLRX" BlueSpirit Slackware 3 09-16-2006 02:01 PM
Permission Denied when trying as "root" to edit xorg.conf d3g@ Linux - Newbie 4 09-07-2006 05:19 PM
"nv" to "nvidia" in xorg.conf causes X not to start jon2kx Ubuntu 10 09-05-2006 08:36 PM
How do you run "xorg.conf.back" file? in Toshiba laptop hajime_saitou0 Linux - Laptop and Netbook 1 09-14-2005 09:03 PM
"Could not save properties. You do not have sufficient access to write to /home/rons rdaves@earthlink.net Linux - General 1 06-28-2001 09:21 PM


All times are GMT -5. The time now is 11:43 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration