o_flyer Posted September 25, 2017 Posted September 25, 2017 Hello, guys. I have a trouble with touch screen on OPi PC 2 (Connected via USB). Touch detected like Bus 006 Device 002: ID 0eef:0005 D-WAV Scientific Co., Ltd Tried to add `modprobe ads7846` and `modprobe hid-multitouch`. Without results. But on last command returned an error modprobe: FATAL: Module hid-multitouch not found in directory /lib/modules/4.11.1-sun50iw2 Can u help me? Thanks.
Igor Posted September 25, 2017 Posted September 25, 2017 We don't deal with 3rd party hardware support. Board troubles are already over the top. Edit: Moved to Peer to Peer technical support
o_flyer Posted September 25, 2017 Author Posted September 25, 2017 Very little information on this matter ;(
Igor Posted September 25, 2017 Posted September 25, 2017 2 minutes ago, o_flyer said: Very little information on this matter ;( You need to get a driver to run and that driver is usually supplied by hardware maker. It's also possible that support exists in a kernel, but it's not enabled. It's on you to find out ...
o_flyer Posted September 25, 2017 Author Posted September 25, 2017 Are you sure that it's the driver?
o_flyer Posted September 25, 2017 Author Posted September 25, 2017 ads7846.ko already exists in dir /lib/modules/4.11.1-sun50iw2/kernel/drivers/input/touchscreen/
Igor Posted September 25, 2017 Posted September 25, 2017 8 minutes ago, o_flyer said: Are you sure that it's the driver? And you need to enable it (LCD) in DT. Speaking generally.
o_flyer Posted September 25, 2017 Author Posted September 25, 2017 And how to do this, can you tell me please? And what is DT?
zador.blood.stained Posted September 25, 2017 Posted September 25, 2017 38 minutes ago, o_flyer said: Touch detected like Bus 006 Device 002: ID 0eef:0005 D-WAV Scientific Co., Ltd Tried to add `modprobe ads7846` and `modprobe hid-multitouch`. ADS7846 is an SPI driver, but you list a USB based device. 38 minutes ago, o_flyer said: But on last command returned an error modprobe: FATAL: Module hid-multitouch not found in directory /lib/modules/4.11.1-sun50iw2 It's not enabled in the kernel config, and even if we enable it you will need to compile a new kernel or install new packages manually.
Igor Posted September 26, 2017 Posted September 26, 2017 @o_flyer Is perhaps such display? https://github.com/TinkerBoard/debian_kernel/commit/ea22619e44dea9118442c45b33cf243ed2d85021 https://github.com/TinkerBoard/debian_kernel/commit/26a39a08af6382f0ea9afebf0b1630d46d94d550 Than some kernel patching is needed. Just to understand where you might need to start digging in ...
o_flyer Posted September 26, 2017 Author Posted September 26, 2017 @Igor, No, i have 5'' display and he has no files with dts extension (only for 3.5inch display).
zador.blood.stained Posted September 26, 2017 Posted September 26, 2017 @Igor It looks like USB touch, not SPI. Readme here summarizes how "good" the software situation is with these displays.
o_flyer Posted September 26, 2017 Author Posted September 26, 2017 Ок, i tried to install rpi_touch, but system just froze. Remains last solution rebuild kernel by this guide - https://docs.armbian.com/Developer-Guide_Build-Preparation/, yes? (Including CONFIG_HID_MULTITOUCH=y)
o_flyer Posted September 26, 2017 Author Posted September 26, 2017 After build kernel, in path /output/debs there are files with deb extension. How i can replace kernel with new?
martinayotte Posted September 26, 2017 Posted September 26, 2017 copy the linux-image-<version>.deb on the OPi, then execute "dpkg -i linux-image-<version>.deb"
martinayotte Posted September 26, 2017 Posted September 26, 2017 Does it still appear as "eth0" in "ifconfig" ? What "dmesg" is showing ? Did you update DT from the same kernel build, ie .: installed the "linux-dtb-<version>.deb" ?
o_flyer Posted September 26, 2017 Author Posted September 26, 2017 No, eth0 missing in ifconfig, dmesg without changes. OK, i'l try to update dtb packet.
o_flyer Posted September 26, 2017 Author Posted September 26, 2017 That helped. Thanks. Maybe because of different versions 5.11(here - https://www.armbian.com/orange-pi-pc2/) vs 5.13 (from git)?
martinayotte Posted September 26, 2017 Posted September 26, 2017 When installing new kernel, you should always install the DTB that comes from the same build, because there can be discrepancies across 2 builds. EDIT : I've just realized that maybe you are using Legacy build instead of Mainline, in such case DTB doesn't exist. BTW, did you carefully looked at the "dmesg" logs ?
Recommended Posts