Touch panel question

More
06 Jun 2018 17:25 #111773 by tecno
Replied by tecno on topic Touch panel question

I have struggled with the same thing every time I've tried to install a touch screen. The trick is figuring out what configuration file needs to be edited to save the changes. It seems to be different for every Linux distribution version.


You are so right about the trick to find what file needs to be edited.

Please Log in or Create an account to join the conversation.

More
07 Jun 2018 02:48 - 07 Jun 2018 03:44 #111813 by InMyDarkestHour
I would like to see the output of
sudo lsub -v -d 0eef:0001

Have you tried this yet:

linux-tips.com/t/usb-egalax-touchscreen-...em-with-debian-9/551

It mentions installing xserver-xorg-input-evdev package, which is available for stretch, with a conf stanza
Last edit: 07 Jun 2018 03:44 by InMyDarkestHour.

Please Log in or Create an account to join the conversation.

More
07 Jun 2018 06:52 #111817 by tecno
Replied by tecno on topic Touch panel question
bengt@combimill:~$ sudo lsusb -v -d 0eef:0001
[sudo] lösenord för bengt:

Bus 003 Device 002: ID 0eef:0001 D-WAV Scientific Co., Ltd eGalax TouchScreen
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x0eef D-WAV Scientific Co., Ltd
idProduct 0x0001 eGalax TouchScreen
bcdDevice 1.00
iManufacturer 1 eGalax Inc.
iProduct 2 USB TouchController
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 4 USB TouchScreen
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 5
Device Status: 0x0002
(Bus Powered)
Remote Wakeup Enabled
bengt@combimill:~$

Please Log in or Create an account to join the conversation.

More
07 Jun 2018 07:26 #111819 by tecno
Replied by tecno on topic Touch panel question
I have evdev installed and xorg.conf

Here the /var/log/userlog

File Attachment:

File Name: user.log_2...6-07.txt
File Size:211 KB
Attachments:

Please Log in or Create an account to join the conversation.

More
07 Jun 2018 07:41 #111822 by InMyDarkestHour
hmmmm usbtouchscreen should be load

if you run lsmod can you see usbtouchscreen loaded ?

Can you post the output of
cat /proc/bus/input/device

The bit that has me worried is Vendor Specific Class, one would expect to see mention of HID.

Please Log in or Create an account to join the conversation.

More
07 Jun 2018 07:53 #111823 by tecno
Replied by tecno on topic Touch panel question
Will do that shortly, have to go shopping food ;)

I suspect that I have made a bobo as regards how I installed the touch. Find no markings on what is up and front.
Looking at the drawing the 4 wires goes out on right side, but what is front and what is back?

On the milling machine the touch is mounted in reverse to drawing = 4 wires go out left and here only clue what is back/front is the adhesive to set it on the monitor.
So this could very well explain why pointing left cursor goes right.

On the lathe 4 wires goes out right but here there was no adhesive so it might be flipped as here touching low cursor goes high.

Obviously there is no way to set the calibration parameters that stick in the conf file.

So I will try to shift Y min max wires on the lathe to see if that solves the problem. and X on milling machine.

Please Log in or Create an account to join the conversation.

More
07 Jun 2018 08:33 #111824 by InMyDarkestHour
Is there any part# marking front or back ?

Is there a cyprus semiconductor chip on board ?

Please Log in or Create an account to join the conversation.

More
07 Jun 2018 09:04 #111826 by tecno
Replied by tecno on topic Touch panel question

hmmmm usbtouchscreen should be load

if you run lsmod can you see usbtouchscreen loaded ?

Can you post the output of
cat /proc/bus/input/device

The bit that has me worried is Vendor Specific Class, one would expect to see mention of HID.


bengt@combimill:/etc/X11$ lsmod
Module Size Used by
iTCO_wdt 16384 0
iTCO_vendor_support 16384 1 iTCO_wdt
usbtouchscreen 24576 0
uas 24576 0
usb_storage 53248 1 uas
evdev 20480 11
joydev 20480 0
coretemp 16384 0
pcspkr 16384 0
serio_raw 16384 0
lpc_ich 20480 0
sg 32768 0
mfd_core 16384 1 lpc_ich
i915 1196032 3
rng_core 16384 0
video 36864 1 i915
shpchp 32768 0
drm_kms_helper 114688 1 i915
drm 258048 5 i915,drm_kms_helper
i2c_algo_bit 16384 1 i915
button 16384 1 i915
ip_tables 20480 0
x_tables 20480 1 ip_tables
autofs4 36864 2
ext4 512000 1
crc16 16384 1 ext4
jbd2 77824 1 ext4
crc32c_generic 16384 2
fscrypto 24576 1 ext4
ecb 16384 0
xts 16384 0
lrw 16384 0
gf128mul 20480 2 lrw,xts
ablk_helper 16384 0
cryptd 20480 1 ablk_helper
aes_i586 20480 0
mbcache 16384 2 ext4
hid_generic 16384 0
usbhid 45056 0
hid 94208 2 hid_generic,usbhid
sr_mod 24576 0
cdrom 49152 1 sr_mod
sd_mod 40960 3
ata_generic 16384 0
ata_piix 32768 2
libata 192512 2 ata_piix,ata_generic
psmouse 114688 0
i2c_i801 24576 0
i2c_smbus 16384 1 i2c_i801
scsi_mod 180224 6 sd_mod,usb_storage,libata,uas,sr_mod,sg
ehci_pci 16384 0
uhci_hcd 40960 0
ehci_hcd 65536 1 ehci_pci
usbcore 184320 7 usbtouchscreen,usbhid,usb_storage,ehci_hcd,uhci_hcd,uas,ehci_pci
usb_common 16384 1 usbcore
r8169 77824 0
mii 16384 1 r8169
fan 16384 0
thermal 20480 0
bengt@combimill:/etc/X11$

cat /proc/bus/input/devices is EMPTY

Please Log in or Create an account to join the conversation.

More
07 Jun 2018 09:13 #111827 by tecno
Replied by tecno on topic Touch panel question

Is there any part# marking front or back ?

Is there a cyprus semiconductor chip on board ?


Only *marking* on the 17" was the adhesive that show backside of panel, 15" no adhesive.

CY7C63723C

Please Log in or Create an account to join the conversation.

More
07 Jun 2018 09:29 #111828 by tecno
Replied by tecno on topic Touch panel question
Progress but not OK. Touch and cursor are in the same place more or less but I can not reach edges.

Shifted Y axis wires on the lathe and now we are close. Now it is time to get calibration values to stick but the one-million$ question is what file and where ;)

Please Log in or Create an account to join the conversation.

Time to create page: 0.107 seconds
Powered by Kunena Forum