Touch Screen not working

Everything about X, Gnome, KDE, ... and everything running on it

Touch Screen not working

Postby Binary-Synapse » 2018-05-10 17:26

Hello.

My Touchscreen is not working in Debian 9.4 (stock kernel) or Debian 10 (stock kernel).
In Ubuntu Live it works perfectly.

The touch screen is identified as eTurboTouch.

In Debian9.4, lsusb and lsmod show the following output:

Code: Select all
jpik@debian:~$ sudo lsusb -v -s 004:002

Bus 004 Device 002: ID 22b9:0005 eTurboTouch Technology, Inc.
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        32
  idVendor           0x22b9 eTurboTouch Technology, Inc.
  idProduct          0x0005
  bcdDevice            0.00
  iManufacturer           1 HID TOUCH
  iProduct                2 HID Touch Panel
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           34
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 No Subclass
      bInterfaceProtocol      0 None
      iInterface              0
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.01
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength     183
         Report Descriptors:
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
Device Status:     0x0000
  (Bus Powered)
jpik@debian:~$


Code: Select all
jpik@debian:~$ lsmod
Module                  Size  Used by
nls_ascii              16384  1
nls_cp437              20480  1
vfat                   20480  1
fat                    69632  1 vfat
uas                    24576  0
usb_storage            73728  2 uas
ctr                    16384  6
ccm                    20480  3
fuse                   98304  3
iTCO_wdt               16384  0
iTCO_vendor_support    16384  1 iTCO_wdt
snd_hda_codec_hdmi     49152  1
arc4                   16384  2
rtl8192ce              61440  0
rtl_pci                28672  1 rtl8192ce
rtl8192c_common        53248  1 rtl8192ce
rtlwifi                77824  3 rtl_pci,rtl8192ce,rtl8192c_common
intel_powerclamp       16384  0
gma500_gfx            180224  3
snd_hda_codec_realtek    90112  1
snd_hda_codec_generic    69632  1 snd_hda_codec_realtek
mac80211              671744  3 rtl_pci,rtl8192ce,rtlwifi
drm_kms_helper        155648  1 gma500_gfx
snd_hda_intel          36864  3
pcspkr                 16384  0
coretemp               16384  0
cfg80211              589824  2 mac80211,rtlwifi
joydev                 20480  0
snd_hda_codec         135168  4 snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
snd_hda_core           86016  5 snd_hda_intel,snd_hda_codec,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
snd_hwdep              16384  1 snd_hda_codec
sg                     32768  0
evdev                  24576  17
drm                   360448  5 gma500_gfx,drm_kms_helper
snd_pcm               110592  4 snd_hda_intel,snd_hda_codec,snd_hda_core,snd_hda_codec_hdmi
serio_raw              16384  0
lpc_ich                24576  0
mfd_core               16384  1 lpc_ich
i2c_algo_bit           16384  1 gma500_gfx
snd_timer              32768  1 snd_pcm
snd                    86016  14 snd_hda_intel,snd_hwdep,snd_hda_codec,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek,snd_pcm
shpchp                 36864  0
soundcore              16384  1 snd
classmate_laptop       20480  0
rfkill                 24576  4 classmate_laptop,cfg80211
button                 16384  0
battery                20480  0
acpi_cpufreq           20480  1
video                  40960  1 gma500_gfx
ac                     16384  0
parport_pc             28672  0
ppdev                  20480  0
lp                     20480  0
parport                49152  3 lp,parport_pc,ppdev
ip_tables              24576  0
x_tables               36864  1 ip_tables
autofs4                40960  2
ext4                  585728  1
crc16                  16384  1 ext4
jbd2                  106496  1 ext4
crc32c_generic         16384  2
fscrypto               28672  1 ext4
ecb                    16384  0
glue_helper            16384  0
lrw                    16384  0
gf128mul               16384  1 lrw
ablk_helper            16384  0
cryptd                 24576  1 ablk_helper
aes_x86_64             20480  6
mbcache                16384  2 ext4
sd_mod                 49152  5
hid_generic            16384  0
usbhid                 53248  0
hid                   122880  2 hid_generic,usbhid
ahci                   36864  2
libahci                32768  1 ahci
psmouse               135168  0
libata                249856  2 ahci,libahci
i2c_i801               24576  0
i2c_smbus              16384  1 i2c_i801
scsi_mod              225280  5 sd_mod,usb_storage,libata,uas,sg
uhci_hcd               45056  0
ehci_pci               16384  0
ehci_hcd               81920  1 ehci_pci
usbcore               253952  6 usbhid,usb_storage,ehci_hcd,uhci_hcd,uas,ehci_pci
usb_common             16384  1 usbcore
r8169                  86016  0
mii                    16384  1 r8169
fan                    16384  0
thermal                20480  0
jpik@debian:~$


Any suggestions?
Thank you.
Binary-Synapse
 
Posts: 66
Joined: 2011-12-06 01:14

Re: Touch Screen not working

Postby bw123 » 2018-05-10 23:01

Found these with
apt search touchscreen
Code: Select all
x11-touchscreen-calibrator/stable 0.2-2 amd64
  X Window System's Touchscreen Calibrator

xinput-calibrator/stable 0.7.5+git20140201-1+b2 amd64
  Generic touchscreen calibration program for X.Org


I never used one, if ubuntu works for you, why not use that?
User avatar
bw123
 
Posts: 3074
Joined: 2011-05-09 06:02
Location: TN_USA

Re: Touch Screen not working

Postby Binary-Synapse » 2018-05-11 13:01

Hello bw123.

Unfortunately, that didn't seem to work.
Although the touch panel doesn't work, the evtest tool captures every input I make into it (touch, movement, etc...), showing the respective cursor coordinates.

"x11-touchscreen-calibrator" only shows one output line and nothing else. When that happens, I have to press CTRL+C to terminate it. Shouldn't it show a window to perform the calibration procedure?

Here are some relevant outputs:

Code: Select all
jpik@debian:~$ sudo x11-touchscreen-calibrator
screen: 1024x600, display: 1024x600 (0,0), preferred: 1024x600 (LVDS-1), scaling mode: 'Full' RR_Rotate_0
^C
jpik@debian:~$


Code: Select all
jpik@debian:~$ sudo evtest
No device specified, trying to scan all of /dev/input/event*
Available devices:
/dev/input/event0:   AT Translated Set 2 keyboard
/dev/input/event1:   USB Optical Mouse
/dev/input/event2:   SynPS/2 Synaptics TouchPad
/dev/input/event3:   HID TOUCH HID Touch Panel
/dev/input/event4:   Lid Switch
/dev/input/event5:   Power Button
/dev/input/event6:   Sleep Button
/dev/input/event7:   Power Button
/dev/input/event8:   cmpc_keys
/dev/input/event9:   cmpc_tablet
/dev/input/event10:   cmpc_accel_v4
/dev/input/event11:   PC Speaker
/dev/input/event12:   Video Bus
/dev/input/event13:   HDA Digital PCBeep
/dev/input/event14:   HDA Intel Mic
/dev/input/event15:   HDA Intel Headphone
/dev/input/event16:   HDA Intel Headphone
/dev/input/event17:   HDA Intel HDMI/DP,pcm=3
Select the device event number [0-17]: 3
Input driver version is 1.0.1
Input device ID: bus 0x3 vendor 0x22b9 product 0x5 version 0x101
Input device name: "HID TOUCH HID Touch Panel"
Supported events:
  Event type 0 (EV_SYN)
  Event type 1 (EV_KEY)
    Event code 272 (BTN_LEFT)
    Event code 273 (BTN_RIGHT)
    Event code 274 (BTN_MIDDLE)
    Event code 320 (BTN_TOOL_PEN)
    Event code 330 (BTN_TOUCH)
    Event code 331 (BTN_STYLUS)
  Event type 3 (EV_ABS)
    Event code 0 (ABS_X)
      Value   2868
      Min        0
      Max     4095
    Event code 1 (ABS_Y)
      Value   2326
      Min        0
      Max     4095
  Event type 4 (EV_MSC)
    Event code 4 (MSC_SCAN)
Properties:
Testing ... (interrupt to exit)
Event: time 1526040181.469499, type 4 (EV_MSC), code 4 (MSC_SCAN), value d0042
Event: time 1526040181.469499, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 1
Event: time 1526040181.469499, type 1 (EV_KEY), code 320 (BTN_TOOL_PEN), value 1
Event: time 1526040181.469499, type 3 (EV_ABS), code 0 (ABS_X), value 3131
Event: time 1526040181.469499, type 3 (EV_ABS), code 1 (ABS_Y), value 2666
Event: time 1526040181.469499, -------------- SYN_REPORT ------------
Event: time 1526040181.506558, type 4 (EV_MSC), code 4 (MSC_SCAN), value d0042
Event: time 1526040181.506558, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 0
Event: time 1526040181.506558, type 1 (EV_KEY), code 320 (BTN_TOOL_PEN), value 0
Event: time 1526040181.506558, -------------- SYN_REPORT ------------
Event: time 1526040181.935343, type 4 (EV_MSC), code 4 (MSC_SCAN), value d0042
Event: time 1526040181.935343, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 1
Event: time 1526040181.935343, type 1 (EV_KEY), code 320 (BTN_TOOL_PEN), value 1
Event: time 1526040181.935343, type 3 (EV_ABS), code 0 (ABS_X), value 3219
Event: time 1526040181.935343, type 3 (EV_ABS), code 1 (ABS_Y), value 2628
Event: time 1526040181.935343, -------------- SYN_REPORT ------------
Event: time 1526040182.001960, type 4 (EV_MSC), code 4 (MSC_SCAN), value d0042
Event: time 1526040182.001960, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 0
Event: time 1526040182.001960, type 1 (EV_KEY), code 320 (BTN_TOOL_PEN), value 0
Event: time 1526040182.001960, -------------- SYN_REPORT ------------
jpik@debian:~$


Code: Select all
jpik@debian:~$ ls /etc/X11/Xsession.d/
20dbus_xdg-runtime              55gnome-session_gnomerc       90gpg-agent
20vdpau-va-gl                   55xfce4-session               90qt5-opengl
20x11-common_process-args       60xbrlapi                     90qt-a11y
30x11-common_xresources         60xdg-user-dirs-update        90x11-common_ssh-agent
35x11-common_xhost-local        75dbus_dbus-launch            95dbus_update-activation-env
40x11-common_xsessionrc         75x11-touchscreen-calibrator  99x11-common_start
50x11-common_determine-startup  90atk-adaptor
jpik@debian:~$



Code: Select all
jpik@debian:~$ cat /etc/X11/Xsession.d/75x11-touchscreen-calibrator
if [ -f /usr/bin/x11-touchscreen-calibrator ]; then
    /usr/bin/x11-touchscreen-calibrator -d
fi
jpik@debian:~$


Thank you.
Binary-Synapse
 
Posts: 66
Joined: 2011-12-06 01:14


Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable