I’m trying to get a touchscreen to work but this happens:
[ 8384.786265] usb 1-1.1: new full-speed USB device number 4 using xhci-hcd
[ 8384.907490] usb 1-1.1: New USB device found, idVendor=0416, idProduct=c168, bcdDevice= 0.00
[ 8384.907507] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 8384.907512] usb 1-1.1: Product: MTouch
[ 8384.907516] usb 1-1.1: Manufacturer: TSTP
[ 8384.907520] usb 1-1.1: SerialNumber: CMTP_1.0
[ 8395.322240] xhci-hcd xhci-hcd.2.auto: xHCI host not responding to stop endpoint command.
[ 8395.322254] xhci-hcd xhci-hcd.2.auto: USBSTS:
[ 8395.346452] xhci-hcd xhci-hcd.2.auto: xHCI host controller not responding, assume dead
[ 8395.348739] xhci-hcd xhci-hcd.2.auto: HC died; cleaning up
[ 8395.354199] usb 1-1: USB disconnect, device number 2
[ 8395.354932] usb 1-1.1: USB disconnect, device number 4
[ 8395.356118] usb 1-1.2: USB disconnect, device number 3
khadas@Khadas:~$ uname -r
I’m running Ubuntu but I’ve tried with Android and it doesn’t work either.
I did some more testing and the touchscreen works on both my main workstation and my mobile phone. Maybe my board is defective? Would it make sense?
What’s you touchscreen? And not sure whether the driver support your souchscreen.
It is a brand I have honestly never heard of: https://www.amazon.it/gp/product/B09MS7JX7V/ref=ppx_yo_dt_b_asin_title_o02_s00?ie=UTF8&psc=1
I think the drivers are not included indeed. Do you have any clue what I should include? On my desktop it appears to be using usbhid
Can you try to install the new kernel and try again?
$ wget https://dl.khadas.com/.test/linux-image-amlogic-mainline_1.0.11_arm64.deb
$ sudo dpkg -i linux-image-amlogic-mainline_1.0.11_arm64.deb
$ sudo reboot
I tried but it gets stuck on the Khadas logo after reboot. This is what I get with a USB to TTL converter.
I’m available for any other information that is needed. Thank you!
What’s the orinal image you used? From the log above is 5.17 kernel we call it mainline image, but the log you provided is not mainline image. minicom-log.txt · GitHub
The debian package I provided is for mainline kernel , so you can’t install it on a 4.9 image, please use the mailine image and try again.
Oh I’m sorry, it’s a very new world to me. I have flashed the image to an SD and tried it. Something weird is happening now, my mouse and keyboard are not working anymore.
dmesg shows them as properly recognized but I can’t move the cursor or type anything. I have tried to plug the touchscreen and the results are the same as before.
I don’t know if it can be useful but this is the
dmesg output on my desktop where the touchscreen actually works.
[ 1855.744065] usb 1-2: new full-speed USB device number 8 using xhci_hcd
[ 1855.897352] usb 1-2: New USB device found, idVendor=0416, idProduct=c168, bcdDevice= 0.00
[ 1855.897367] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1855.897373] usb 1-2: Product: MTouch
[ 1855.897377] usb 1-2: Manufacturer: TSTP
[ 1855.897381] usb 1-2: SerialNumber: CMTP_1.0
[ 1855.900892] input: TSTP MTouch as /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0/0003:0416:C168.0006/input/input31
[ 1855.964524] hid-generic 0003:0416:C168.0006: input,hidraw5: USB HID v1.11 Mouse [TSTP MTouch] on usb-0000:00:14.0-2/input0
[ 1855.967057] input: TSTP MTouch as /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/0003:0416:C168.0007/input/input32
[ 1855.967237] hid-generic 0003:0416:C168.0007: input,hidraw6: USB HID v1.11 Device [TSTP MTouch] on usb-0000:00:14.0-2/input1
[ 1856.060779] input: TSTP MTouch as /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/0003:0416:C168.0007/input/input33
[ 1856.061121] hid-multitouch 0003:0416:C168.0007: input,hidraw6: USB HID v1.11 Device [TSTP MTouch] on usb-0000:00:14.0-2/input1
lbenevento@alan:~$ uname -r