o_flyer Posted September 25, 2017 Share 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. Link to comment Share on other sites More sharing options...
Igor Posted September 25, 2017 Share 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 Link to comment Share on other sites More sharing options...
o_flyer Posted September 25, 2017 Author Share Posted September 25, 2017 Very little information on this matter ;( Link to comment Share on other sites More sharing options...
Igor Posted September 25, 2017 Share 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 ... Link to comment Share on other sites More sharing options...
o_flyer Posted September 25, 2017 Author Share Posted September 25, 2017 Are you sure that it's the driver? Link to comment Share on other sites More sharing options...
o_flyer Posted September 25, 2017 Author Share Posted September 25, 2017 ads7846.ko already exists in dir /lib/modules/4.11.1-sun50iw2/kernel/drivers/input/touchscreen/ Link to comment Share on other sites More sharing options...
Igor Posted September 25, 2017 Share 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. Link to comment Share on other sites More sharing options...
o_flyer Posted September 25, 2017 Author Share Posted September 25, 2017 And how to do this, can you tell me please? And what is DT? Link to comment Share on other sites More sharing options...
zador.blood.stained Posted September 25, 2017 Share 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. Link to comment Share on other sites More sharing options...
Igor Posted September 26, 2017 Share 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 ... Link to comment Share on other sites More sharing options...
o_flyer Posted September 26, 2017 Author Share Posted September 26, 2017 @Igor, No, i have 5'' display and he has no files with dts extension (only for 3.5inch display). Link to comment Share on other sites More sharing options...
zador.blood.stained Posted September 26, 2017 Share Posted September 26, 2017 @Igor It looks like USB touch, not SPI. Readme here summarizes how "good" the software situation is with these displays. Link to comment Share on other sites More sharing options...
o_flyer Posted September 26, 2017 Author Share 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) Link to comment Share on other sites More sharing options...
o_flyer Posted September 26, 2017 Author Share Posted September 26, 2017 After build kernel, in path /output/debs there are files with deb extension. How i can replace kernel with new? Link to comment Share on other sites More sharing options...
martinayotte Posted September 26, 2017 Share Posted September 26, 2017 copy the linux-image-<version>.deb on the OPi, then execute "dpkg -i linux-image-<version>.deb" Link to comment Share on other sites More sharing options...
o_flyer Posted September 26, 2017 Author Share Posted September 26, 2017 Thanks all! It works! Link to comment Share on other sites More sharing options...
o_flyer Posted September 26, 2017 Author Share Posted September 26, 2017 But i lost ethernet connection( Link to comment Share on other sites More sharing options...
martinayotte Posted September 26, 2017 Share 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" ? Link to comment Share on other sites More sharing options...
o_flyer Posted September 26, 2017 Author Share Posted September 26, 2017 No, eth0 missing in ifconfig, dmesg without changes. OK, i'l try to update dtb packet. Link to comment Share on other sites More sharing options...
o_flyer Posted September 26, 2017 Author Share 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)? Link to comment Share on other sites More sharing options...
martinayotte Posted September 26, 2017 Share 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 ? Link to comment Share on other sites More sharing options...
Recommended Posts