-
-
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
Xorg startup segfault with Waveshare USB TS #135
Comments
xf86-input-tslib 1.x.x is broken. Use 0.0.7. until it's fixed. This is no tslib issue, it's xf86-input-tslib specific. Alternatively, you don't use xf86-input-tslib at all, and use xf86-input-evdev and ts_uinput (which is included in tslib tools), see the tslib README documentation. |
Thankyou, im now using 0.0.7. Now I get this repeated very quickly on the console:
|
and what version of tslib are you running here? |
It's 1.1.6. |
alright then. could you post the output of evtest for your device? |
Is this what you meant? I'm not sure if this helps? When I start X, I get no errors until I tap on the touchscreen, which is when i get the flood of "tslib: Selected device is not a Linux input event device" messages. In case it makes any difference, this is a raspberry Pi CM3, running a OS built by buildroot.
|
well. it helps. you don't use an evdev driver. you presumably have |
Okay, so module_raw waveshare fixed the errors, but the touchscreen doesnt appear to do anything at all. There is a binary called "tspress" which appears to be a Qt touch input test app. And....
How frustrating. Thank you very much for your continued help though!!! |
You'd have to find out your waveshare vid and pid. The waveshare module_raw seems to require to add So try |
oh. and also the "data length" seems to be required: the ts.conf syntax is:
|
please feel free to open a new issue about using |
Hello `tc@piCorePlayer:~$ cat /proc/bus/input/devices I: Bus=0003 Vendor=0eef Product=0005 Version=0110 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 ` 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 |
Greetings,
I'm trying to get my rPi up and running. It uses a Waveshare USB capacitive touch screen.
dmesg shows:
On attempting to startx i get a sigfault error.
The Xorg log shows:
If I move or rename /usr/lib/xorg/modules/input/tslib_drv.so so it's not loaded, X starts up ok.
(no working touchscreen though obviously).
Any ideas?
Thanks!
The text was updated successfully, but these errors were encountered: