-
-
Notifications
You must be signed in to change notification settings - Fork 292
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Calibration issue with WaveShare 7" HDMI-LCD (C) #166
Comments
first of all, please provide the (full) output of either evtest or evemu-record when you do one "tap" on the screen. what I suspect is that you should use "module_raw input" instead of "module_raw waveshare..." |
Hello |
Hello, by chance evtest is available as a package. Here is the result with one tap. (and module_raw waveshare)
evemu-record is not available unfortunately. I tried with module_raw input (after backup & reboot), here is the evtest output:
|
I succeed to get a debug-enabled tslib for picoreplayer (Thanks Ralphy). Here is the logs printed on the screen when launching ts_calibrate. Hope this helps. Thank you
|
Any idea? |
1 similar comment
Any idea? |
4 years later...did you make it to work somehow? |
I've found a solution for my case, might help someone stuck on Waveshare touchscreens working with tslib: #187 |
Hello
I try to run Waveshare 7" hdmi (C) on picoreplayer (tinycore) with TSLIB 1.16 compiled for this system.
`tc@piCorePlayer:~$ cat /proc/bus/input/devices
I: Bus=0003 Vendor=0eef Product=0005 Version=0110
N: Name="BYZHYYZHY By ZH851 Mouse"
P: Phys=usb-20980000.usb-1.3.3/input0
S: Sysfs=/devices/platform/soc/20980000.usb/usb1/1-1/1-1.3/1-1.3.3/1-1.3.3:1.0/0003:0EEF:0005.0001/input/input0
U: Uniq=c0U585P865
H: Handlers=mouse0 event0 js0
B: PROP=0
B: EV=1b
B: KEY=70000 0 0 0 0 0 0 0 0
B: ABS=3
B: MSC=10
I: Bus=0003 Vendor=0eef Product=0005 Version=0110
N: Name="BYZHYYZHY By ZH851 Touchscreen"
P: Phys=usb-20980000.usb-1.3.3/input0
S: Sysfs=/devices/platform/soc/20980000.usb/usb1/1-1/1-1.3/1-1.3.3/1-1.3.3:1.0/0003:0EEF:0005.0001/input/input1
U: Uniq=c0U585P865
H: Handlers=mouse1 event1
B: PROP=0
B: EV=1b
B: KEY=401 0 1 0 0 0 0 0 0 0 0
B: ABS=100 3
B: MSC=10
`
When I use ts_calibrate with event1, the calibration does not work: crosshair is well displayed, bt when I press top-left corner, it jumps immediately to bottom right or further. at the end the calibration file is not correct ad the touchpad does not work.
`#module_raw input
module_raw waveshare vid_pid=0eef:0005 len=25
module pthres pmin=1
module debounce drop_threshold=40
module dejitter delta=100
module linear
`
I tried the debounce mode, no success.
If i tried module_raw waveshare vid_pid=0eef:0005 len=25 i obtained ts_read bad file descriptor.
I'm stuck completly. Don't know if this is a bug or a wrong config.
Thank you
Originally posted by @tparvais in #135 (comment)
The text was updated successfully, but these errors were encountered: