LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-02-2019, 12:13 PM   #1
mkdigital
LQ Newbie
 
Registered: May 2019
Posts: 2

Rep: Reputation: Disabled
Manual resolution setting not affecting touchscreen


I have customer who is using a display with a touchscreen with an older version of Slackware, version 12.2. Slackware is not recognizing the resolution of the display, 1600x1200. Going into the display settings the resolution was listed. They are using a GeForce 9800GT and ran the the Nvidia drivers to create a new config. They went in manually and added the resolution to the xorg.conf file. This has allowed the resolution to be displayed at 1600x1200, but the touchscreen does not appear to be operating at that resolution. It appears to be working off a different resolution. So if I touch around the edges of the touchscreen it makes a smaller box than the screen. We have been able to duplicate this problem on a test rig, but we don't have anyone well versed in linux. After talking to the touchscreen manufacturer, they say that it is not an issue with their linux drivers, it works with Slackware.

This is the section added to the xorg.conf file:
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Modes "1600x1200"
EndSubSection
EndSection

Should modifying the xorg.conf like this let it work or is a different approach required? I am not sure if I should try to work with what they are doing or if we need to go in a different direction.
 
Old 05-02-2019, 12:55 PM   #2
navigium
Member
 
Registered: Aug 2014
Location: Switzerland
Distribution: Slackware, FreeBSD
Posts: 119

Rep: Reputation: 58
Right now I'm not on my laptop with a touchscreen, but I remember that I had a similar problem when the touch screen synced to the external monitor rather than the actual touch screen. The point is that the touch screen is more like a wacom tablet laid over the monitor. So you have to use
Code:
xsetwacom
to scale the touch screen to your actual monitor.

I can look up the exact commands tomorrow if it is still needed, but searching the internet for the exact xsetwacom command should help.
 
Old 05-02-2019, 02:22 PM   #3
mkdigital
LQ Newbie
 
Registered: May 2019
Posts: 2

Original Poster
Rep: Reputation: Disabled
It looks like this command is specific for Wacom touchscreens. This command is not found when I tried it so I don't have that installed. Is it part of drivers that aren't specific to Wacom as well? I forgot to mention the manufacturer of the touchscreen in my original post. It is 3M.
 
Old 05-02-2019, 11:59 PM   #4
navigium
Member
 
Registered: Aug 2014
Location: Switzerland
Distribution: Slackware, FreeBSD
Posts: 119

Rep: Reputation: 58
Quote:
Originally Posted by mkdigital View Post
It looks like this command is specific for Wacom touchscreens. This command is not found when I tried it so I don't have that installed. Is it part of drivers that aren't specific to Wacom as well? I forgot to mention the manufacturer of the touchscreen in my original post. It is 3M.
I thought I used this tool on non-wacom devices in the past, but I might be wrong. I'm now on my touch device and realized that I moved the calibration configuration to a xorg.conf file:

Code:
# cat /etc/X11/xorg.conf.d/99-calibration.conf 
Section "InputClass"
	Identifier	"calibration"
	MatchProduct	"Wacom ISDv4 E6 Pen"
	Option "ForceDevice" "LVDS1"
	Option	"MinX"	"120"
	Option	"MaxX"	"27609"
	Option	"MinY"	"-44"
	Option	"MaxY"	"15512"
EndSection
Something along those lines might work for you, too. Of course the numbers and the product name will be different for you. You should be able to find the product name using

Code:
xinput --list
but I guess you already know this. The "ForceDevice" line is important if you attach other monitors to make sure it calibrates with respect to the monitor which is actually behind the touch sensor.
 
  


Reply



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
Dual head setup with one touchscreen stretching over non-touchscreen display gutaker Linux - Hardware 0 03-13-2012 04:06 PM
looking for touchscreen drivers for mandriva 2008, touchscreen working with windows inder_18nec Linux - Software 3 02-20-2010 05:11 PM
Touchscreen Drivers - Toughbook CF-19 w/Red Hat 5.3 (Fujitsu USB Touchscreen) bsheridan Linux - Laptop and Netbook 0 11-17-2009 10:54 AM
Setting system date and time affecting the clock and date on BIOS satimis Ubuntu 7 09-21-2007 08:02 AM
915 resolution affecting windows xp mnk123 Linux - Laptop and Netbook 1 09-24-2006 01:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:22 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