LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Point of Sale and Touchscreen hell (https://www.linuxquestions.org/questions/linux-server-73/point-of-sale-and-touchscreen-hell-4175423250/)

jpeery 08-21-2012 11:15 AM

Point of Sale and Touchscreen hell
 
Arg!!! I am driving myself nuts trying to figure out how to get a touchscreen working on an IBM POS (POINT OF SALE) and CentOS 6.3. Worked fine on Cent 5, but I guess since 6 doesn't use straight X (as I understand it), something changed and I can't seem to get this dude to work. In brief, I explicitly added the elo.ko module (insmod), I can see the module, and corresponding driver (elotouch) load ok in /var/log/messages and /var/log/Xorg.0.log, but it still doesn't work! I've added the 8250 uart option to boot for 8 total com ports, and regardless of what I assign, the touchscreen doesn't recognize touch. I do, weirdly, see it listed in the mouse settings in Xfce... Here's my system info,if ANYONE can help I'd be most obliged!!!

== BEGIN uname -rmi ==
2.6.32-279.5.1.el6.i686 i686 i386
== END uname -rmi ==

== BEGIN rpm -qa \*-release\* ==
centos-release-6-3.el6.centos.9.i686
== END rpm -qa \*-release\* ==

== BEGIN cat /etc/redhat-release ==
CentOS release 6.3 (Final)
== END cat /etc/redhat-release ==

== BEGIN getenforce ==
Disabled
== END getenforce ==

== BEGIN free -m ==
total used free shared buffers cached
Mem: 998 704 294 0 98 351
-/+ buffers/cache: 254 744
Swap: 2015 0 2015
== END free -m ==

== BEGIN rpm -qa yum\* rpm-\* python | sort ==
python-2.6.6-29.el6_2.2.i686
rpm-libs-4.8.0-27.el6.i686
rpm-python-4.8.0-27.el6.i686
yum-3.2.29-30.el6.centos.noarch
yum-metadata-parser-1.1.2-16.el6.i686
yum-plugin-fastestmirror-1.1.30-14.el6.noarch
yum-plugin-security-1.1.30-14.el6.noarch
yum-utils-1.1.30-14.el6.noarch
== END rpm -qa yum\* rpm-\* python | sort ==

== BEGIN ls /etc/yum.repos.d ==
CentOS-Base.repo
CentOS-Debuginfo.repo
CentOS-Media.repo
CentOS-Vault.repo
== END ls /etc/yum.repos.d ==

== BEGIN cat /etc/yum.conf ==
[main]
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=5
bugtracker_url=http://bugs.centos.org/set_project.php?project_id=16&ref=http://b ugs.centos.org/bug_report_page.php?category=yum
distroverpkg=centos-release

# This is the default, if you make this bigger yum won't see if the metadata
# is newer on the remote and so you'll "gain" the bandwidth of not having to
# download the new metadata and "pay" for it by yum not having correct
# information.
# It is esp. important, to have correct metadata, for distributions like
# Fedora which don't keep old packages around. If you don't like this checking
# interupting your command line usage, it's much better to have something
# manually check the metadata once an hour (yum-updatesd will do this).
# metadata_expire=90m

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
== END cat /etc/yum.conf ==

== BEGIN yum repolist all ==
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
repo id repo name status
C6.0-base CentOS-6.0 - Base disabled
C6.0-centosplus CentOS-6.0 - CentOSPlus disabled
C6.0-contrib CentOS-6.0 - Contrib disabled
C6.0-extras CentOS-6.0 - Extras disabled
C6.0-updates CentOS-6.0 - Updates disabled
C6.1-base CentOS-6.1 - Base disabled
C6.1-centosplus CentOS-6.1 - CentOSPlus disabled
C6.1-contrib CentOS-6.1 - Contrib disabled
C6.1-extras CentOS-6.1 - Extras disabled
C6.1-updates CentOS-6.1 - Updates disabled
C6.2-base CentOS-6.2 - Base disabled
C6.2-centosplus CentOS-6.2 - CentOSPlus disabled
C6.2-contrib CentOS-6.2 - Contrib disabled
C6.2-extras CentOS-6.2 - Extras disabled
C6.2-updates CentOS-6.2 - Updates disabled
base CentOS-6 - Base enabled: 4,776
c6-media CentOS-6 - Media disabled
centosplus CentOS-6 - Plus disabled
contrib CentOS-6 - Contrib disabled
debug CentOS-6 - Debuginfo disabled
extras CentOS-6 - Extras enabled: 4
updates CentOS-6 - Updates enabled: 381
repolist: 5,161
== END yum repolist all ==

== BEGIN egrep 'include|exclude' /etc/yum.repos.d/*.repo ==
== END egrep 'include|exclude' /etc/yum.repos.d/*.repo ==

== BEGIN sed -n -e "/^\[/h; /priority *=/{ G; s/\n/ /; s/ity=/ity = /; p }" /etc /yum.repos.d/*.repo | sort -k3n ==
== END sed -n -e "/^\[/h; /priority *=/{ G; s/\n/ /; s/ity=/ity = /; p }" /etc /yum.repos.d/*.repo | sort -k3n ==

== BEGIN cat /etc/fstab ==

#
# /etc/fstab
# Created by anaconda on Mon Aug 20 14:40:20 2012
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/vg_pos-lv_root / ext4 defaults 1 1
UUID=6cde0af5-b383-4a79-a82a-c425e999382d /boot ext4 defaul ts 1 2
/dev/mapper/vg_pos-lv_home /home ext4 defaults 1 2
UUID=d3c8e95f-ea6d-4ee4-940e-c16838125ab0 swap swap defaul ts 0 0
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
== END cat /etc/fstab ==

== BEGIN df -h ==
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_pos-lv_root
4.0G 1.7G 2.1G 45% /
tmpfs 500M 12K 500M 1% /dev/shm
/dev/sda1 485M 31M 429M 7% /boot
/dev/mapper/vg_pos-lv_home
31G 177M 29G 1% /home
== END df -h ==

== BEGIN fdisk -lu ==

Disk /dev/sda: 40.0 GB, 40016019456 bytes
255 heads, 63 sectors/track, 4865 cylinders, total 78156288 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00088733

Device Boot Start End Blocks Id System
/dev/sda1 * 2048 1026047 512000 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 1026048 5154815 2064384 82 Linux swap / Solaris
Partition 2 does not end on cylinder boundary.
/dev/sda3 5154816 78155775 36500480 8e Linux LVM

Disk /dev/mapper/vg_pos-lv_root: 4294 MB, 4294967296 bytes
255 heads, 63 sectors/track, 522 cylinders, total 8388608 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000


Disk /dev/mapper/vg_pos-lv_home: 33.1 GB, 33080475648 bytes
255 heads, 63 sectors/track, 4021 cylinders, total 64610304 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

== END fdisk -lu ==

== BEGIN blkid ==
/dev/sda1: UUID="6cde0af5-b383-4a79-a82a-c425e999382d" TYPE="ext4"
/dev/sda2: UUID="d3c8e95f-ea6d-4ee4-940e-c16838125ab0" TYPE="swap"
/dev/sda3: UUID="Pj798j-VexX-iDvP-UFDB-jeI5-0AoU-2stBk9" TYPE="LVM2_member"
/dev/mapper/vg_pos-lv_root: UUID="9f34c98d-87b1-4081-9f5d-f0261c2ed634" TYPE="ex t4"
/dev/mapper/vg_pos-lv_home: UUID="872df928-e755-49d3-beef-96370e5a7756" TYPE="ex t4"
== END blkid ==

== BEGIN cat /proc/mdstat ==
Personalities :
unused devices: <none>
== END cat /proc/mdstat ==

== BEGIN pvs ==
PV VG Fmt Attr PSize PFree
/dev/sda3 vg_pos lvm2 a-- 34.81g 0
== END pvs ==

== BEGIN vgs ==
VG #PV #LV #SN Attr VSize VFree
vg_pos 1 2 0 wz--n- 34.81g 0
== END vgs ==

== BEGIN lvs ==
LV VG Attr LSize Pool Origin Data% Move Log Copy% Convert
lv_home vg_pos -wi-ao-- 30.81g
lv_root vg_pos -wi-ao-- 4.00g
== END lvs ==

== BEGIN rpm -qa kernel\* | sort ==
kernel-2.6.32-279.5.1.el6.i686
kernel-firmware-2.6.32-279.5.1.el6.noarch
== END rpm -qa kernel\* | sort ==

== BEGIN lspci -nn ==
00:00.0 Host bridge [0600]: Intel Corporation 82845G/GL[Brookdale-G]/GE/PE DRAM Controller/Host-Hub Interface [8086:2560] (rev 03)
00:02.0 VGA compatible controller [0300]: Intel Corporation 82845G/GL[Brookdale- G]/GE Chipset Integrated Graphics Device [8086:2562] (rev 03)
00:1d.0 USB controller [0c03]: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/IC H4-M) USB UHCI Controller #1 [8086:24c2] (rev 02)
00:1d.1 USB controller [0c03]: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/IC H4-M) USB UHCI Controller #2 [8086:24c4] (rev 02)
00:1d.2 USB controller [0c03]: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/IC H4-M) USB UHCI Controller #3 [8086:24c7] (rev 02)
00:1d.7 USB controller [0c03]: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller [8086:24cd] (rev 02)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev 8 2)
00:1f.0 ISA bridge [0601]: Intel Corporation 82801DB/DBL (ICH4/ICH4-L) LPC Inter face Bridge [8086:24c0] (rev 02)
00:1f.1 IDE interface [0101]: Intel Corporation 82801DB (ICH4) IDE Controller [8 086:24cb] (rev 02)
00:1f.3 SMBus [0c05]: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMB us Controller [8086:24c3] (rev 02)
01:04.0 System peripheral [0880]: IBM Device [1014:02a2] (rev 10)
01:04.1 Serial controller [0700]: IBM Device [1014:02a4] (rev 10)
01:08.0 Ethernet controller [0200]: Intel Corporation 82801DB PRO/100 VM (LOM) E thernet Controller [8086:103b] (rev 82)
== END lspci -nn ==

== BEGIN lsusb ==
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0409:0059 NEC Corp. HighSpeed Hub
Bus 001 Device 003: ID 0557:7000 ATEN International Co., Ltd Hub
Bus 001 Device 004: ID 046d:c313 Logitech, Inc. Internet 350 Keyboard
== END lsusb ==

== BEGIN rpm -qa kmod\* kmdl\* ==
== END rpm -qa kmod\* kmdl\* ==

== BEGIN ifconfig -a ==
eth0 Link encap:Ethernet HWaddr 00:14:5E:10:0F:AA
inet addr:192.168.0.130 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::214:5eff:fe10:faa/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:106006 errors:0 dropped:0 overruns:0 frame:0
TX packets:354 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:8509201 (8.1 MiB) TX bytes:51502 (50.2 KiB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:24 errors:0 dropped:0 overruns:0 frame:0
TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1440 (1.4 KiB) TX bytes:1440 (1.4 KiB)

== END ifconfig -a ==

== BEGIN brctl show ==
bridge name bridge id STP enabled interfaces
== END brctl show ==

== BEGIN route -n ==
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 eth0
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
== END route -n ==

== BEGIN sysctl -a | grep .rp_filter ==
net.ipv4.conf.all.rp_filter = 0
net.ipv4.conf.all.arp_filter = 0
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.default.arp_filter = 0
net.ipv4.conf.lo.rp_filter = 1
net.ipv4.conf.lo.arp_filter = 0
net.ipv4.conf.eth0.rp_filter = 1
net.ipv4.conf.eth0.arp_filter = 0
== END sysctl -a | grep .rp_filter ==

== BEGIN ip rule show ==
0: from all lookup local
32766: from all lookup main
32767: from all lookup default
== END ip rule show ==

== BEGIN ip route show ==
192.168.0.0/24 dev eth0 proto kernel scope link src 192.168.0.130
169.254.0.0/16 dev eth0 scope link metric 1002
default via 192.168.0.1 dev eth0 proto static
== END ip route show ==

== BEGIN cat /etc/resolv.conf ==
# Generated by NetworkManager
domain corecashless.com
search corecashless.com
nameserver 192.168.0.25
nameserver 192.168.0.45
== END cat /etc/resolv.conf ==

== BEGIN egrep 'net|hosts' /etc/nsswitch.conf ==
#hosts: db files nisplus nis dns
hosts: files dns
#networks: nisplus [NOTFOUND=return] files
#netmasks: nisplus [NOTFOUND=return] files
netmasks: files
networks: files
netgroup: nisplus
== END egrep 'net|hosts' /etc/nsswitch.conf ==

== BEGIN chkconfig --list | grep -Ei 'network|wpa' ==
NetworkManager 0:off 1:off 2:on 3:on 4:on 5:on 6:off
network 0:off 1:off 2:on 3:on 4:on 5:on 6:off
wpa_supplicant 0:off 1:off 2:off 3:off 4:off 5:off 6:off
== END chkconfig --list | grep -Ei 'network|wpa' ==

ShadowCat8 08-21-2012 07:29 PM

Greetings,

Well, I am not familiar with the current packaging system (other than the fact that the packages are RPMs) or the breakdown of package sections in CentOS, but one thing I would ask you is if you have the "x11-drivers/xf86-input-elographics" package installed?

Basically, I am thinking that the X(org) server needs to know that it's not only a display, but an input device, too. And, along those lines, are you sure it is defined properly in xorg.conf?

HTH. Let us know.


All times are GMT -5. The time now is 11:02 AM.