2015-07-21, 07:18
Quote: You fail to provide any meaningful information such as which touchscreen model you have, yet you rant and whine.
Such an attitude won't get you any help.
You're right, I overreacted, and I'm sorry and own up to it.
As far as the info on the screen, I did:
Code:
lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 002: ID 0c24:000e Taiyo Yuden Bluetooth Device(BC04-External)
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 002: ID 0eef:0005 D-WAV Scientific Co., Ltd
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 0430:0530 Sun Microsystems, Inc.
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
the "Bus 005 Device 002: ID 0eef:0005 D-WAV Scientific Co., Ltd" entry is the touch screen device. What's weird is that the egalax screens say the everything minus "egalax", suggesting that it's a close clone to it.
When I increase the verbosity with sudo lsusb -vv:
Code:
Bus 005 Device 002: ID 0eef:0005 D-WAV Scientific Co., Ltd
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x0eef D-WAV Scientific Co., Ltd
idProduct 0x0005
bcdDevice 2.00
iManufacturer 1 RPI_TOUCH
iProduct 2 By ZH851
iSerial 3 iz785322U335
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 41
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 0 No Subclass
bInterfaceProtocol 0 None
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.10
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 33
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 32
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 16
Device Status: 0x0000
(Bus Powered)
and on dmesg:
Code:
[ 3518.984098] usb 5-2: new full-speed USB device number 3 using uhci_hcd
[ 3519.152112] usb 5-2: New USB device found, idVendor=0eef, idProduct=0005
[ 3519.152118] usb 5-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3519.152121] usb 5-2: Product: By ZH851
[ 3519.152123] usb 5-2: Manufacturer: RPI_TOUCH
[ 3519.152126] usb 5-2: SerialNumber: iz785322U335
[ 3519.160526] hid-generic 0003:0EEF:0005.0003: hiddev0,hidraw1: USB HID v1.10 Device [RPI_TOUCH By ZH851] on usb-0000:00:1d.0-2/input0
I was able to get the drivers and make them work with osmc and the touch does work, but only on the left upper corner as mentioned. I can touch anywhere on the screen while it is on the screensaver and osmc wakes up, suggesting that the screen works, but kodi needs something to map those touch events to the framebuffer, which is where I am at now.