LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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-2015, 10:38 AM   #1
profecie
LQ Newbie
 
Registered: May 2015
Posts: 2

Rep: Reputation: Disabled
Touchscreen input X11


Hello,

I try to deploy CentOS 6.1 on embedded system with touchscreen working on serial port with driver developped and tested on many linux like Ubuntu or Debian
command:
Code:
cat /proc/bus/input/devices
display the touchscreen device

I: Bus=0013 Vendor=002a Product=0000 Version=0110
N: Name="eTurboTouch Serial TouchScreen"
P: Phys=ttyXR4/serio0/input0
S: Sysfs=/devices/serio2/input/input9
U: Uniq=
H: Handlers=mouse2 event6
B: EV=b
B: KEY=400 0 0 0 0 0 0 0 0 0 0
B: ABS=3

and
Code:
cat /dev/input/mouse2
or
Code:
cat /dev/input/event6
display the events correctly.

But nothing happened and the cursor doesn't move.I tried to modify xorg.conf but without success

Can you help me?
Thank you in advance

Last edited by profecie; 05-19-2015 at 10:47 AM.
 
Old 05-19-2015, 07:20 PM   #2
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,111
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
Mine is a Dell XT2 Touchscreen that interfaces through internal usb vs your way

Quote:
working on serial port
Though being detected, which is good. No inputs is kinda hard to trouble shoot.

If you have a recent udev. I guess you can try

Code:
sed '/Sysfs=/!d; s/.*=//' /proc/bus/input/devices | xargs -I '{}' udevadm info --path='{}'  | grep TOUCHSCREEN
Code:
xinput list | grep -i touchscreen
I probably won't be of much help because I find my driver used for my touchscreen through a usb command

Code:
dmesg | grep usb
All I can figure is to try

Code:
dmesg grep | less
after you try and move the mouse cursor and cross your fingers it tells you something useful.
My feeling the is the serial port is the roadblock for accepting inputs.
Mine works with the wacom type of pen with mouse buttons on it and also my finger is accepted as a input device.

Our touchscreens are probably miles apart as far as who made them and how.
As far as /etc/X11/xorg.conf goes
To me, the best thing is to have no xorg.conf at all and let Xorg find and setup the touchscreen itself.

But if you have a line in xorg.conf that says

Code:
Option "AutoAddDevices" "false"
change it to

Code:
Option "AutoAddDevices" "true"
and cross your fingers again. A logout or reboot may be required. I don't know.
I am just a Linux user scooter tramp with some home grown skills so that is the best I can suggest.

Last edited by rokytnji; 05-19-2015 at 07:21 PM.
 
Old 05-20-2015, 01:09 AM   #3
profecie
LQ Newbie
 
Registered: May 2015
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thank you for your reply!This is the reply of the differents commands

Code:
sed '/Sysfs=/!d; s/.*=//' /proc/bus/input/devices | xargs -I '{}' udevadm info --path='{}'  | grep TOUCHSCREEN
display
Code:
missing option
missing option
missing option
missing option
missing option
missing option
missing option


Code:
xinput list | grep -i touchscreen
display nothing



Code:
dmesg grep | less
Code:
eturbo serio1: eTurboTouch Touchscreen, fw: 1.10.00
input: eTurboTouch Serial TouchScreen as /devices/serio1/input/input6
I can also see coordinates(X Y) that i trace in the driver when i click on the screen
 
Old 05-20-2015, 08:12 AM   #4
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,111
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
Quote:
/devices/serio1/input/input6
is a key here I think that will unlock the no input thing.
That is missing somewhere maybe.

wish I knew more about touchscreens. I wonder if you have mlocate or locate or some other search tool that
you can use to find in text files the line

Quote:
input6
or

Quote:
/devices/serio1/input/input6
which I think should be serial maybe instead of seriol.

Also. I use the inxi script when I wish to describe what I am running in a Linux forum.
Like this Atom Netbook with a touchscreen also that I own besides the Dell I mentioned earlier. Where the touchscreen is a older model but works also just fine. But is internally usb connected.

Code:
inxi -Fxxz
System:    Host: puppypc25782 Kernel: 3.18.1 i686 (32 bit gcc: 4.9.2)
           Desktop: Xfce 4.10.0 (Gtk 2.24.8) dm: N/A
           Distro: Vanguard-Carolina Linux Linux 3.18.1 [ arch]
Machine:   System: Intel (portable) product: Intel powered classmate PC v: 3rd Gen
           Mobo: QCI model: Intel powered classmate PC v: 3rd Gen
           Bios: Phoenix v: HP94510A.86A.0035.2009.0427.2020 date: 04/27/2009
CPU:       Single core Intel Atom N270 (-HT-) cache: 512 KB
           flags: (nx pae sse sse2 sse3 ssse3) bmips: 3193
           clock speeds: min/max: 800/1600 MHz 1: 800 MHz 2: 800 MHz
Graphics:  Card: Intel Mobile 945GME Express Integrated Graphics Controller
           bus-ID: 00:02.0 chip-ID: 8086:27ae
           Display Server: X.org 1.16.2 drivers: intel (unloaded: fbdev,vesa)
           tty size: 80x24 Advanced Data: N/A for root
Audio:     Card Intel N10/ICH 7 Family High Definition Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0 chip-ID: 8086:27d8
           Sound: Advanced Linux Sound Architecture v: k3.18.1
Network:   Card-1: Realtek RTL8101E/RTL8102E PCI Express Fast Ethernet controller
           driver: r8169 v: 2.3LK-NAPI port: 2000
           bus-ID: 02:00.0 chip-ID: 10ec:8136
           IF: eth0 state: down mac: <filter>
           Card-2: Ralink
           driver: rt2800usb v: 2.3.0 usb-ID: 001-004 chip-ID: 148f:3070
           IF: wlan0 state: N/A speed: N/A duplex: N/A mac: N/A
Drives:    HDD Total Size: 60.0GB (11.5% used)
           ID-1: /dev/sda model: TOSHIBA_MK6028GA size: 60.0GB serial: N/A temp: 40C
Partition: ID-1: swap-1 size: 2.15GB used: 0.00GB (0%) fs: swap dev: /dev/sda5
RAID:      System: supported: linear raid0
           No RAID devices: /proc/mdstat, md_mod kernel module present
           Unused Devices: none
Sensors:   System Temperatures: cpu: 48.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 127 Uptime: 17 min Memory: 252.7/2013.4MB
           Init: SysVinit v: N/A runlevel: 5 Gcc sys: N/A
           Client: Shell (bash 4.3.301 running in Terminal) inxi: 2.2.21
Code:
 dmesg | grep usb
<snip>
[    2.472782] usb 5-1: Manufacturer: eTurboTouch
[    2.484093] input: eTurboTouch eTurboTouch as /devices/pci0000:00/0000:00:1d.3/usb5/5-1/5-1:1.0/0003:22B9:0006.0001/input/input3
[    2.484416] input: eTurboTouch eTurboTouch as /devices/pci0000:00/0000:00:1d.3/usb5/5-1/5-1:1.0/0003:22B9:0006.0001/input/input4
[    2.484793] hid-generic 0003:22B9:0006.0001: input,hiddev0,hidraw0: USB HID v1.01 Mouse [eTurboTouch eTurboTouch] on usb-0000:00:1d.3-1/input0
<snip>
Quote:
I can also see coordinates(X Y) that i trace in the driver when i click on the screen
That's nice. You need to post such things (readouts) so other members besides me respond to your thread. I am going to be unavailable all day as I have to go fix motorcycles which is how I make my money.

Good Luck with it. Rok
 
  


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
Can we limit touchscreen input to an arbitrary region? rubin427 Linux - Desktop 1 11-11-2009 11:20 PM
Success with GUNZE touchscreen, but /dev/input changes after reboot General Linux - Hardware 1 10-22-2009 08:39 AM
[SOLVED] Touchscreen input device not appearing in /dev/input rohshall Linux - Embedded & Single-board computer 4 08-21-2009 10:39 AM
X11 faking input NNP Programming 0 08-29-2006 06:59 PM
Good keyboardless input systems for non-touchscreen STB with a mouse/joystick? AireTamStorm Linux - Software 1 07-20-2006 08:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:51 PM.

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