First of all, sorry for my terrible languache.
I bought 7" display with usb touchscreen from Eleduino. It works fine with Raspibian distros presented by vendor, but I want to connect it to my RPi B+ with OpenELEC on board.
Ok, I've downloaded OpenELEC source code from github and build it. But touchscreen didn't work with it.
Use lsusb
to get info about device: here it is: Bus 001 Device 004: ID 0eef:0005 D-WAV Scientific Co., Ltd
. Cool! Google told me, what it EETI's eGalax touchscreen, so, I try to install drivers into my RPi. And without any result. EETI support gave me an advise to ask FocalTech support, but they didn't give answer.
One attention. Touchscreen works on FocalTech FT5306 chip. This chip provides i2c interface, but not in this lcd :D. This touchscreen connects to RPi by usb -> STM32 -> FT5306.
By the way, Eleduino support didn't want to help me at all.
So, I try to build OpenELEC linux kernel with all avaliable support for usb touchscreens and usb devices. Without any result, but I found next in dmesg:
[ 970.528797] usb 1-1.4: new full-speed USB device number 5 using dwc_otg
[ 970.625619] usb 1-1.4: New USB device found, idVendor=0eef, idProduct=0005
[ 970.625656] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 970.625673] usb 1-1.4: Product: By ZH851
[ 970.625687] usb 1-1.4: Manufacturer: RPI_TOUCH
[ 970.625701] usb 1-1.4: SerialNumber: RÿhgWUC`g
[ 970.652930] hid-generic 0003:0EEF:0005.0002: hiddev0,hidraw0: USB HID v1.10 Device [RPI_TOUCH By ZH851] on usb-bcm2708_usb-1.4/input0
and in /dev I found 2 new devices: /dev/hidraw0 and /dev/usb/hiddev0. When I use cat
for this device nodes and touch connected touchscreen I get some unreadable data on console. I thought, what the problem is easy: Linux can't understand what it's input device! Ok. I found tslib. Build it with support for hiddev, but after configurating tslib and start ts_calibrate it tolds me next:
xres = 1, yres = 1
tslib: Selected device is not a Linux input event device
Now, I don't know what to do... Please, could somebody help me?
/dev/input/
?diff -qr 3.12.26 4.0.4
kernels, there 3.12.26 is a dirrectory with drivers from eleduino and 4.0.4 is OpenELEC kernel.