LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 08-28-2017, 09:10 AM   #1
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 1,168
Blog Entries: 2

Rep: Reputation: 166Reputation: 166
Arrow Touchscreen on ARM with either evdev and libinupt


So, I've bought a touchscreen
Code:
input: 深圳市全动电子技术有限公司 ByQDtech 触控USB鼠标 as /devices/platform/soc@01c00000/1c14000.usb/usb3/3-1/3-1.4/3-1.4:1.0/0003:0483:5750.0004/input/input3
it's 7", it has USB touch (capacitive) able to register quite few fingers but lacks quite support on linux

I will post as I go on and uncover it's features and programs that enable it on Linux/GNU (Slackware).

Following this post will be a short report for how far I've got until now, and what needs be addressed yet.

The final goal:

1. Set up a portable computer with able to input text and run apps for standard X11
2. Android like handling of user input (in therms of on screen keyboard etc) but running XFCE4 or as similar to it as practical.
3. Support for 0/90/270/18 degree screen rotation
4. avoid patching any Slackware provided package if possible.
 
Old 08-28-2017, 09:19 AM   #2
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 1,168
Blog Entries: 2

Original Poster
Rep: Reputation: 166Reputation: 166
Lightbulb

So far got it running, it draws ~500m more on the USB plug than the Banana Pi M1 without it. (so ~2.5W)
If the back light is switched off, it draws around 90mA instead

It registers proper with X11 and uses libinput as default driver.
The pointer responds smoothly but lacks right click emulation and any gestures (all reserved for touchpads only?)
If I make a file in
Code:
/etc/X11/xorg.conf.d
and code it as follows:
Code:
Section "InputClass"
    Identifier "switching to evdev"
    Driver "evdev"
#    Driver "libinput"
    MatchProduct "深圳市全动电子技术有限公司 ByQDtech 触控USB鼠标"

    MatchIsTouchscreen "on"

    Option "EmulateThirdButton" "1"
    Option "EmulateThirdButtonTimeout" "750"
    Option "EmulateThirdButtonMoveThreshold" "30"

EndSection
I even get right click on the Touchscreen, but, alas, the debounce is terrible so I get about 4 keypresses from the xvkbd.
I like xvkbd a bit better than the florence virtual keyboad that seems like more advanced but quite less stable option?

So far i found that evdev can be patched to have debounce:
Arch patches it by default?
But failed to find any way to trick libinput into "faking" a right click?

Stay tuned, or even better yet, do chime in and help?
 
  


Reply

Tags
evdev, libinput, slackware, touchscreen


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LXer: Rugged touchscreen PCs come in ARM and x86 flavors LXer Syndicated Linux News 0 01-07-2016 04:51 AM
[SOLVED] Touchscreen recognized by evdev/evtest but does nothing in X Newbie414 Linux - Hardware 4 07-26-2015 08:21 AM
Dual head setup with one touchscreen stretching over non-touchscreen display gutaker Linux - Hardware 0 03-13-2012 05:06 PM
LXer: ARM-based vehicle PC has integral touchscreen LXer Syndicated Linux News 0 10-01-2011 08:20 AM
Touchscreen Drivers - Toughbook CF-19 w/Red Hat 5.3 (Fujitsu USB Touchscreen) bsheridan Linux - Laptop and Netbook 0 11-17-2009 11:54 AM

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

All times are GMT -5. The time now is 12:29 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration