psbkkim Posted June 22, 2016 Posted June 22, 2016 I bought some 7 inch HDMI screen(800*480 manufacturer-Alientek) with USB controlled touch screen.( http://www.aliexpress.com/item/New-7-inch-USB-Capacitive-Touch-Screen-LCD-Display-HDMI-for-Raspberry-Pi-Pi2-Wholesale/32607731510.html ) HDMI screen can be displayed on Orange Pi One (Armbian 3.4.112-sun8i) using h3disp command. Touch screen could not work on Orange Pi, but that works on linux i386(4.2.0-38-generic). The symptom is as follows. Touch screen is defined ad /dev/usbdev*.* on Orange Pi. but on linux i386 is defined as hidraw device. (I will use uinput or uhid handing this touch screen). ==== orange pi ===== 1)dmesg [ 194.360084] usb 6-1: new full-speed USB device number 2 using sunxi-ohci 2)lsusb Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub *** Bus 006 Device 002: ID 0483:5750 STMicroelectronics *** Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 005: ID 1bcf:0007 Sunplus Innovation Technology Inc. Optical Mouse Bus 001 Device 004: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB Bus 001 Device 003: ID 413c:2003 Dell Computer Corp. Keyboard Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub 3) Not displayed on hidraw device list 4) ls /dev/usbdev* crw------- 1 root root 189, 0 Jun 21 08:41 /dev/usbdev1.1 crw------- 1 root root 189, 1 Jun 21 08:41 /dev/usbdev1.2 crw------- 1 root root 189, 2 Jun 21 08:41 /dev/usbdev1.3 crw------- 1 root root 189, 3 Jun 21 08:41 /dev/usbdev1.4 crw------- 1 root root 189, 4 Jun 21 08:41 /dev/usbdev1.5 crw------- 1 root root 189, 128 Jun 21 08:41 /dev/usbdev2.1 crw------- 1 root root 189, 256 Jun 21 08:41 /dev/usbdev3.1 crw------- 1 root root 189, 384 Jun 21 08:41 /dev/usbdev4.1 crw------- 1 root root 189, 512 Jun 21 08:41 /dev/usbdev5.1 crw------- 1 root root 189, 640 Jun 21 08:41 /dev/usbdev6.1 crw------- 1 root root 189, 641 Jun 22 10:51 /dev/usbdev6.2 crw------- 1 root root 189, 768 Jun 21 08:41 /dev/usbdev7.1 crw------- 1 root root 189, 896 Jun 21 08:41 /dev/usbdev8.1 4) devadm info -q all -n /dev/usbdev6.2 P: /devices/platform/sunxi-ohci.2/usb6/6-1 N: bus/usb/006/002 E: BUSNUM=006 E: DEVNAME=/dev/bus/usb/006/002 E: DEVNUM=002 E: DEVPATH=/devices/platform/sunxi-ohci.2/usb6/6-1 E: DEVTYPE=usb_device E: DRIVER=usb E: MAJOR=189 E: MINOR=641 E: PRODUCT=483/5750/200 E: SUBSYSTEM=usb E: TYPE=0/0/0 ==== Linux 4.2(i386) ===== 1)dmesg [ 57.106742] input: \xffffffe5\xffffffb9\xffffffbf\xffffffb9\xffffffbf\xffffffe5\xffffffb7\xffffff9e\xffffffb7\xffffff9e\xffffffe6\xffffff98\xffffff9f\xffffff98\xffffff9f\xffffffe7\xffffffbf\xffffffbc\xffffffbf\xffffffbc\xffffffe7\xffffff94\xffffffb5\xffffff94\xffffffb5\xffffffe5\xffffffad\xffffff90\xffffffad\xffffff90\xffffffe7\xffffffa7\xffffff91\xffffffa7\xffffff91\xffffffe8\xffffff81\xffffffa2\xffffff81\xffffffa2\xffffffe6\xffffff9c\xffffff89\xffffff9c\xffffff89\xffffffe9\xffffff99\xffffff90\xffffff99\xffffff90\xffffffe5\xffffff85\xffffffac\xffffff85\xffffffac\xffffffe5\xffffff8f\xffffffb8\xffffff8f\xffffffb8 ALIENTEK \xffffffe8\xffffffa7\xffffffa6\xffffffa7\xffffffa6\xffffffe6\xffffff8e\xffffffa7\xffffff8e\xffffffa7USB\xffffffe9\xffffffbc\xffffffa0\xffffffbc\xffffffa0\xffffffe6\xffffffa0\xffffff87\xffffffa0\xffffff87 as /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/0003:0483:5750.0002/input/input4 [ 57.112223] hid-multitouch 0003:0483:5750.0002: input,hiddev0,hidraw1: USB HID v1.10 Mouse [\xffffffe5\xffffffb9\xffffffbf\xffffffb9\xffffffbf\xffffffe5\xffffffb7\xffffff9e\xffffffb7\xffffff9e\xffffffe6\xffffff98\xffffff9f\xffffff98\xffffff9f\xffffffe7\xffffffbf\xffffffbc\xffffffbf\xffffffbc\xffffffe7\xffffff94\xffffffb5\xffffff94\xffffffb5\xffffffe5\xffffffad\xffffff90\xffffffad\xffffff90\xffffffe7\xffffffa7\xffffff91\xffffffa7\xffffff91\xffffffe8\xffffff81\xffffffa2\xffffff81\xffffffa2\xffffffe6\xffffff9c\xffffff89\xffffff9c\xffffff89\xffffffe9\xffffff99\xffffff90\xffffff99\xffffff90\xffffffe5\xffffff85\xffffffac\xffffff85\xffffffac\xffffffe5\xffffff8f\xffffffb8\xffffff8f\xffffffb8 ALIENTEK \xffffffe8\xffffffa7\xffffffa6\xffffffa7\xffffffa6\xffffffe6\xffffff8e\xffffffa7\xffffff8e\xffffffa7USB\xffffffe9\xffffffbc\xffffffa0\xffffffbc\xffffffa0\xffffffe6\xffffffa0\xffffff87\xffffffa0\xffffff87] on usb-0000:00:1d.1-2/input0 [ 2144.868141] usb 3-2: USB disconnect, device number 2 [ 2149.228073] usb 3-2: new full-speed USB device number 3 using uhci_hcd [ 2149.405133] usb 3-2: New USB device found, idVendor=0483, idProduct=5750 [ 2149.405146] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 2149.405155] usb 3-2: Product: ALIENTEK \xffffffe8\xffffffa7\xffffffa6\xffffffa7\xffffffa6\xffffffe6\xffffff8e\xffffffa7\xffffff8e\xffffffa7USB\xffffffe9\xffffffbc\xffffffa0\xffffffbc\xffffffa0\xffffffe6\xffffffa0\xffffff87\xffffffa0\xffffff87 [ 2149.405164] usb 3-2: Manufacturer: \xffffffe5\xffffffb9\xffffffbf\xffffffb9\xffffffbf\xffffffe5\xffffffb7\xffffff9e\xffffffb7\xffffff9e\xffffffe6\xffffff98\xffffff9f\xffffff98\xffffff9f\xffffffe7\xffffffbf\xffffffbc\xffffffbf\xffffffbc\xffffffe7\xffffff94\xffffffb5\xffffff94\xffffffb5\xffffffe5\xffffffad\xffffff90\xffffffad\xffffff90\xffffffe7\xffffffa7\xffffff91\xffffffa7\xffffff91\xffffffe8\xffffff81\xffffffa2\xffffff81\xffffffa2\xffffffe6\xffffff9c\xffffff89\xffffff9c\xffffff89\xffffffe9\xffffff99\xffffff90\xffffff99\xffffff90\xffffffe5\xffffff85\xffffffac\xffffff85\xffffffac\xffffffe5\xffffff8f\xffffffb8\xffffff8f\xffffffb8 [ 2149.405173] usb 3-2: SerialNumber: 6D7B207A5357 [ 2149.432694] input: \xffffffe5\xffffffb9\xffffffbf\xffffffb9\xffffffbf\xffffffe5\xffffffb7\xffffff9e\xffffffb7\xffffff9e\xffffffe6\xffffff98\xffffff9f\xffffff98\xffffff9f\xffffffe7\xffffffbf\xffffffbc\xffffffbf\xffffffbc\xffffffe7\xffffff94\xffffffb5\xffffff94\xffffffb5\xffffffe5\xffffffad\xffffff90\xffffffad\xffffff90\xffffffe7\xffffffa7\xffffff91\xffffffa7\xffffff91\xffffffe8\xffffff81\xffffffa2\xffffff81\xffffffa2\xffffffe6\xffffff9c\xffffff89\xffffff9c\xffffff89\xffffffe9\xffffff99\xffffff90\xffffff99\xffffff90\xffffffe5\xffffff85\xffffffac\xffffff85\xffffffac\xffffffe5\xffffff8f\xffffffb8\xffffff8f\xffffffb8 ALIENTEK \xffffffe8\xffffffa7\xffffffa6\xffffffa7\xffffffa6\xffffffe6\xffffff8e\xffffffa7\xffffff8e\xffffffa7USB\xffffffe9\xffffffbc\xffffffa0\xffffffbc\xffffffa0\xffffffe6\xffffffa0\xffffff87\xffffffa0\xffffff87 as /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/0003:0483:5750.0003/input/input11 [ 2149.436802] hid-multitouch 0003:0483:5750.0003: input,hiddev0,hidraw1: USB HID v1.10 Mouse [\xffffffe5\xffffffb9\xffffffbf\xffffffb9\xffffffbf\xffffffe5\xffffffb7\xffffff9e\xffffffb7\xffffff9e\xffffffe6\xffffff98\xffffff9f\xffffff98\xffffff9f\xffffffe7\xffffffbf\xffffffbc\xffffffbf\xffffffbc\xffffffe7\xffffff94\xffffffb5\xffffff94\xffffffb5\xffffffe5\xffffffad\xffffff90\xffffffad\xffffff90\xffffffe7\xffffffa7\xffffff91\xffffffa7\xffffff91\xffffffe8\xffffff81\xffffffa2\xffffff81\xffffffa2\xffffffe6\xffffff9c\xffffff89\xffffff9c\xffffff89\xffffffe9\xffffff99\xffffff90\xffffff99\xffffff90\xffffffe5\xffffff85\xffffffac\xffffff85\xffffffac\xffffffe5\xffffff8f\xffffffb8\xffffff8f\xffffffb8 ALIENTEK \xffffffe8\xffffffa7\xffffffa6\xffffffa7\xffffffa6\xffffffe6\xffffff8e\xffffffa7\xffffff8e\xffffffa7USB\xffffffe9\xffffffbc\xffffffa0\xffffffbc\xffffffa0\xffffffe6\xffffffa0\xffffff87\xffffffa0\xffffff87] on usb-0000:00:1d.1-2/input0 [16162.076104] usb usb3-port2: disabled by hub (EMI?), re-enabling... [16162.076120] usb 3-2: USB disconnect, device number 3 [16162.348039] usb 3-2: new full-speed USB device number 4 using uhci_hcd [16162.520647] usb 3-2: New USB device found, idVendor=0483, idProduct=5750 [16162.520657] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [16162.520663] usb 3-2: Product: ALIENTEK \xffffffe8\xffffffa7\xffffffa6\xffffffa7\xffffffa6\xffffffe6\xffffff8e\xffffffa7\xffffff8e\xffffffa7USB\xffffffe9\xffffffbc\xffffffa0\xffffffbc\xffffffa0\xffffffe6\xffffffa0\xffffff87\xffffffa0\xffffff87 [16162.520669] usb 3-2: Manufacturer: \xffffffe5\xffffffb9\xffffffbf\xffffffb9\xffffffbf\xffffffe5\xffffffb7\xffffff9e\xffffffb7\xffffff9e\xffffffe6\xffffff98\xffffff9f\xffffff98\xffffff9f\xffffffe7\xffffffbf\xffffffbc\xffffffbf\xffffffbc\xffffffe7\xffffff94\xffffffb5\xffffff94\xffffffb5\xffffffe5\xffffffad\xffffff90\xffffffad\xffffff90\xffffffe7\xffffffa7\xffffff91\xffffffa7\xffffff91\xffffffe8\xffffff81\xffffffa2\xffffff81\xffffffa2\xffffffe6\xffffff9c\xffffff89\xffffff9c\xffffff89\xffffffe9\xffffff99\xffffff90\xffffff99\xffffff90\xffffffe5\xffffff85\xffffffac\xffffff85\xffffffac\xffffffe5\xffffff8f\xffffffb8\xffffff8f\xffffffb8 [16162.520674] usb 3-2: SerialNumber: 6D7B207A5357 [16162.539878] input: \xffffffe5\xffffffb9\xffffffbf\xffffffb9\xffffffbf\xffffffe5\xffffffb7\xffffff9e\xffffffb7\xffffff9e\xffffffe6\xffffff98\xffffff9f\xffffff98\xffffff9f\xffffffe7\xffffffbf\xffffffbc\xffffffbf\xffffffbc\xffffffe7\xffffff94\xffffffb5\xffffff94\xffffffb5\xffffffe5\xffffffad\xffffff90\xffffffad\xffffff90\xffffffe7\xffffffa7\xffffff91\xffffffa7\xffffff91\xffffffe8\xffffff81\xffffffa2\xffffff81\xffffffa2\xffffffe6\xffffff9c\xffffff89\xffffff9c\xffffff89\xffffffe9\xffffff99\xffffff90\xffffff99\xffffff90\xffffffe5\xffffff85\xffffffac\xffffff85\xffffffac\xffffffe5\xffffff8f\xffffffb8\xffffff8f\xffffffb8 ALIENTEK \xffffffe8\xffffffa7\xffffffa6\xffffffa7\xffffffa6\xffffffe6\xffffff8e\xffffffa7\xffffff8e\xffffffa7USB\xffffffe9\xffffffbc\xffffffa0\xffffffbc\xffffffa0\xffffffe6\xffffffa0\xffffff87\xffffffa0\xffffff87 as /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/0003:0483:5750.0004/input/input13 [16162.541787] hid-multitouch 0003:0483:5750.0004: input,hiddev0,hidraw1: USB HID v1.10 Mouse [\xffffffe5\xffffffb9\xffffffbf\xffffffb9\xffffffbf\xffffffe5\xffffffb7\xffffff9e\xffffffb7\xffffff9e\xffffffe6\xffffff98\xffffff9f\xffffff98\xffffff9f\xffffffe7\xffffffbf\xffffffbc\xffffffbf\xffffffbc\xffffffe7\xffffff94\xffffffb5\xffffff94\xffffffb5\xffffffe5\xffffffad\xffffff90\xffffffad\xffffff90\xffffffe7\xffffffa7\xffffff91\xffffffa7\xffffff91\xffffffe8\xffffff81\xffffffa2\xffffff81\xffffffa2\xffffffe6\xffffff9c\xffffff89\xffffff9c\xffffff89\xffffffe9\xffffff99\xffffff90\xffffff99\xffffff90\xffffffe5\xffffff85\xffffffac\xffffff85\xffffffac\xffffffe5\xffffff8f\xffffffb8\xffffff8f\xffffffb8 ALIENTEK \xffffffe8\xffffffa7\xffffffa6\xffffffa7\xffffffa6\xffffffe6\xffffff8e\xffffffa7\xffffff8e\xffffffa7USB\xffffffe9\xffffffbc\xffffffa0\xffffffbc\xffffffa0\xffffffe6\xffffffa0\xffffff87\xffffffa0\xffffff87] on usb-0000:00:1d.1-2/input0 [18850.396130] usb 3-2: USB disconnect, device number 4 [18852.548037] usb 3-2: new full-speed USB device number 5 using uhci_hcd [18852.724082] usb 3-2: New USB device found, idVendor=0483, idProduct=5750 [18852.724092] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [18852.724099] usb 3-2: Product: ALIENTEK \xffffffe8\xffffffa7\xffffffa6\xffffffa7\xffffffa6\xffffffe6\xffffff8e\xffffffa7\xffffff8e\xffffffa7USB\xffffffe9\xffffffbc\xffffffa0\xffffffbc\xffffffa0\xffffffe6\xffffffa0\xffffff87\xffffffa0\xffffff87 [18852.724105] usb 3-2: Manufacturer: \xffffffe5\xffffffb9\xffffffbf\xffffffb9\xffffffbf\xffffffe5\xffffffb7\xffffff9e\xffffffb7\xffffff9e\xffffffe6\xffffff98\xffffff9f\xffffff98\xffffff9f\xffffffe7\xffffffbf\xffffffbc\xffffffbf\xffffffbc\xffffffe7\xffffff94\xffffffb5\xffffff94\xffffffb5\xffffffe5\xffffffad\xffffff90\xffffffad\xffffff90\xffffffe7\xffffffa7\xffffff91\xffffffa7\xffffff91\xffffffe8\xffffff81\xffffffa2\xffffff81\xffffffa2\xffffffe6\xffffff9c\xffffff89\xffffff9c\xffffff89\xffffffe9\xffffff99\xffffff90\xffffff99\xffffff90\xffffffe5\xffffff85\xffffffac\xffffff85\xffffffac\xffffffe5\xffffff8f\xffffffb8\xffffff8f\xffffffb8 [18852.724110] usb 3-2: SerialNumber: 6D7B207A5357 [18852.743319] input: \xffffffe5\xffffffb9\xffffffbf\xffffffb9\xffffffbf\xffffffe5\xffffffb7\xffffff9e\xffffffb7\xffffff9e\xffffffe6\xffffff98\xffffff9f\xffffff98\xffffff9f\xffffffe7\xffffffbf\xffffffbc\xffffffbf\xffffffbc\xffffffe7\xffffff94\xffffffb5\xffffff94\xffffffb5\xffffffe5\xffffffad\xffffff90\xffffffad\xffffff90\xffffffe7\xffffffa7\xffffff91\xffffffa7\xffffff91\xffffffe8\xffffff81\xffffffa2\xffffff81\xffffffa2\xffffffe6\xffffff9c\xffffff89\xffffff9c\xffffff89\xffffffe9\xffffff99\xffffff90\xffffff99\xffffff90\xffffffe5\xffffff85\xffffffac\xffffff85\xffffffac\xffffffe5\xffffff8f\xffffffb8\xffffff8f\xffffffb8 ALIENTEK \xffffffe8\xffffffa7\xffffffa6\xffffffa7\xffffffa6\xffffffe6\xffffff8e\xffffffa7\xffffff8e\xffffffa7USB\xffffffe9\xffffffbc\xffffffa0\xffffffbc\xffffffa0\xffffffe6\xffffffa0\xffffff87\xffffffa0\xffffff87 as /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/0003:0483:5750.0005/input/input15 [18852.744946] hid-multitouch 0003:0483:5750.0005: input,hiddev0,hidraw1: USB HID v1.10 Mouse [\xffffffe5\xffffffb9\xffffffbf\xffffffb9\xffffffbf\xffffffe5\xffffffb7\xffffff9e\xffffffb7\xffffff9e\xffffffe6\xffffff98\xffffff9f\xffffff98\xffffff9f\xffffffe7\xffffffbf\xffffffbc\xffffffbf\xffffffbc\xffffffe7\xffffff94\xffffffb5\xffffff94\xffffffb5\xffffffe5\xffffffad\xffffff90\xffffffad\xffffff90\xffffffe7\xffffffa7\xffffff91\xffffffa7\xffffff91\xffffffe8\xffffff81\xffffffa2\xffffff81\xffffffa2\xffffffe6\xffffff9c\xffffff89\xffffff9c\xffffff89\xffffffe9\xffffff99\xffffff90\xffffff99\xffffff90\xffffffe5\xffffff85\xffffffac\xffffff85\xffffffac\xffffffe5\xffffff8f\xffffffb8\xffffff8f\xffffffb8 ALIENTEK \xffffffe8\xffffffa7\xffffffa6\xffffffa7\xffffffa6\xffffffe6\xffffff8e\xffffffa7\xffffff8e\xffffffa7USB\xffffffe9\xffffffbc\xffffffa0\xffffffbc\xffffffa0\xffffffe6\xffffffa0\xffffff87\xffffffa0\xffffff87] on usb-0000:00:1d.1-2/input0 [22998.196132] usb 3-2: USB disconnect, device number 5 [262129.404037] usb 3-2: new full-speed USB device number 6 using uhci_hcd [262129.580080] usb 3-2: New USB device found, idVendor=0483, idProduct=5750 [262129.580089] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [262129.580095] usb 3-2: Product: ALIENTEK \xffffffe8\xffffffa7\xffffffa6\xffffffa7\xffffffa6\xffffffe6\xffffff8e\xffffffa7\xffffff8e\xffffffa7USB\xffffffe9\xffffffbc\xffffffa0\xffffffbc\xffffffa0\xffffffe6\xffffffa0\xffffff87\xffffffa0\xffffff87 [262129.580101] usb 3-2: Manufacturer: \xffffffe5\xffffffb9\xffffffbf\xffffffb9\xffffffbf\xffffffe5\xffffffb7\xffffff9e\xffffffb7\xffffff9e\xffffffe6\xffffff98\xffffff9f\xffffff98\xffffff9f\xffffffe7\xffffffbf\xffffffbc\xffffffbf\xffffffbc\xffffffe7\xffffff94\xffffffb5\xffffff94\xffffffb5\xffffffe5\xffffffad\xffffff90\xffffffad\xffffff90\xffffffe7\xffffffa7\xffffff91\xffffffa7\xffffff91\xffffffe8\xffffff81\xffffffa2\xffffff81\xffffffa2\xffffffe6\xffffff9c\xffffff89\xffffff9c\xffffff89\xffffffe9\xffffff99\xffffff90\xffffff99\xffffff90\xffffffe5\xffffff85\xffffffac\xffffff85\xffffffac\xffffffe5\xffffff8f\xffffffb8\xffffff8f\xffffffb8 [262129.580107] usb 3-2: SerialNumber: 6D7B207A5357 [262129.598320] input: \xffffffe5\xffffffb9\xffffffbf\xffffffb9\xffffffbf\xffffffe5\xffffffb7\xffffff9e\xffffffb7\xffffff9e\xffffffe6\xffffff98\xffffff9f\xffffff98\xffffff9f\xffffffe7\xffffffbf\xffffffbc\xffffffbf\xffffffbc\xffffffe7\xffffff94\xffffffb5\xffffff94\xffffffb5\xffffffe5\xffffffad\xffffff90\xffffffad\xffffff90\xffffffe7\xffffffa7\xffffff91\xffffffa7\xffffff91\xffffffe8\xffffff81\xffffffa2\xffffff81\xffffffa2\xffffffe6\xffffff9c\xffffff89\xffffff9c\xffffff89\xffffffe9\xffffff99\xffffff90\xffffff99\xffffff90\xffffffe5\xffffff85\xffffffac\xffffff85\xffffffac\xffffffe5\xffffff8f\xffffffb8\xffffff8f\xffffffb8 ALIENTEK \xffffffe8\xffffffa7\xffffffa6\xffffffa7\xffffffa6\xffffffe6\xffffff8e\xffffffa7\xffffff8e\xffffffa7USB\xffffffe9\xffffffbc\xffffffa0\xffffffbc\xffffffa0\xffffffe6\xffffffa0\xffffff87\xffffffa0\xffffff87 as /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/0003:0483:5750.0006/input/input21 [262129.599280] hid-multitouch 0003:0483:5750.0006: input,hiddev0,hidraw1: USB HID v1.10 Mouse [\xffffffe5\xffffffb9\xffffffbf\xffffffb9\xffffffbf\xffffffe5\xffffffb7\xffffff9e\xffffffb7\xffffff9e\xffffffe6\xffffff98\xffffff9f\xffffff98\xffffff9f\xffffffe7\xffffffbf\xffffffbc\xffffffbf\xffffffbc\xffffffe7\xffffff94\xffffffb5\xffffff94\xffffffb5\xffffffe5\xffffffad\xffffff90\xffffffad\xffffff90\xffffffe7\xffffffa7\xffffff91\xffffffa7\xffffff91\xffffffe8\xffffff81\xffffffa2\xffffff81\xffffffa2\xffffffe6\xffffff9c\xffffff89\xffffff9c\xffffff89\xffffffe9\xffffff99\xffffff90\xffffff99\xffffff90\xffffffe5\xffffff85\xffffffac\xffffff85\xffffffac\xffffffe5\xffffff8f\xffffffb8\xffffff8f\xffffffb8 ALIENTEK \xffffffe8\xffffffa7\xffffffa6\xffffffa7\xffffffa6\xffffffe6\xffffff8e\xffffffa7\xffffff8e\xffffffa7USB\xffffffe9\xffffffbc\xffffffa0\xffffffbc\xffffffa0\xffffffe6\xffffffa0\xffffff87\xffffffa0\xffffff87] on usb-0000:00:1d.1-2/input0 2)lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 006: ID 0483:5750 STMicroelectronics Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 002: ID 1c4f:0003 SiGma Micro HID controller Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub 3) ls -l /dev/hid* crw------- 1 root root 248, 0 6ì›” 19 09:46 /dev/hidraw0 crw------- 1 root root 248, 1 6ì›” 22 10:34 /dev/hidraw1 4) devadm info -q all -n /dev/hidraw1 P: /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/0003:0483:5750.0006/hidraw/hidraw1 N: hidraw1 E: DEVNAME=/dev/hidraw1 E: DEVPATH=/devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/0003:0483:5750.0006/hidraw/hidraw1 E: ID_BUS=usb E: ID_MODEL=ALIENTEK_触控USBé¼ æ ‡ E: ID_MODEL_ENC=ALIENTEK\x20触控USBé¼ æ ‡ E: ID_MODEL_ID=5750 E: ID_REVISION=0200 E: ID_SERIAL=广州星翼电å科è¢æœ‰é™å…¬å¸_ALIENTEK_触控USBé¼ æ ‡_6D7B207A5357 E: ID_SERIAL_SHORT=6D7B207A5357 E: ID_TYPE=hid E: ID_USB_DRIVER=usbhid E: ID_USB_INTERFACES=:030000: E: ID_USB_INTERFACE_NUM=00 E: ID_VENDOR=广州星翼电å科è¢æœ‰é™å…¬å¸ E: ID_VENDOR_ENC=广州星翼电å科è¢æœ‰é™å…¬å¸ E: ID_VENDOR_ID=0483 E: MAJOR=248 E: MINOR=1 E: SUBSYSTEM=hidraw E: USEC_INITIALIZED=2129599927 5) no /dev/usbdev* list ================================================= I want to know that if I upgrade kernel mainline(4.x) is it possible to define that touch(Alientek) as hidraw? Have anybody heard about this? Could I find mainline armbian kernel(4.x if experimental ok) image? And where?
Igor Posted June 22, 2016 Posted June 22, 2016 http://mirror.igorpecovnik.com/test/h3/ At least: - no ethernet, but you can connect some USB based ethernet - no HDMI This is really experimental and unsupported but I guess we could have first regular H3 build / pre-build within one month.
tkaiser Posted June 22, 2016 Posted June 22, 2016 Could I find mainline armbian kernel(4.x if experimental ok) image? And where? http://linux-sunxi.org/Banana_Pi_M2%2B#OS_images (5.07 and network by default only works on the Gbit equipped H3 boards). But as Igor said: simply using any of the supported USB-Ethernet dongles networking is OK (even faster when using an GbE-dongle like this). To get all USB ports and Ethernet working on an OPi PC or One just do: cd /boot/dtb/ cat sun8i-h3-orangepi-pc.dtb >sun8i-h3-bananapi-m2plus.dtb reboot Then enjoy and please keep in mind that this 5.07 release back from April does not implement throttling (which is more an issue on the overheating H3 devices but not on the Oranges) BTW: Replacing both firstrun and armhwinfo with the most recent scripts from our github repo and exchanging the host name, Armbian experience will further improve. But please also keep in mind that this OS image will not be able to be upgraded later cat <<-EOF >/etc/armbian-release # PLEASE DO NOT EDIT THIS FILE BOARD=orangepione ID="Orange Pi One" VERSION=5.07 LINUXFAMILY=sun8i BRANCH=dev EOF sed -i 's/bananapim2plus/orangepione/' /etc/hostname && reboot Also assigning a fixed MAC address in /etc/network/interfaces is a good idea.
tkaiser Posted June 22, 2016 Posted June 22, 2016 'sudo armbianmonitor -u' output of such a modified 5.07/4.6-rc1 image: http://sprunge.us/FaHA (I exchanged /usr/local/bin/armbianmonitor also and this runs on an OPi PC Plus now)
psbkkim Posted June 24, 2016 Author Posted June 24, 2016 Thank you for quick response. I followed Tkaiser's advice step by step. And result is successful as follows on orange pi one. ===== Dmesg Output === [ 6014.152636] usb 4-1: new full-speed USB device number 2 using ohci-platform [ 6014.381663] usb 4-1: New USB device found, idVendor=0483, idProduct=5750 [ 6014.381680] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 6014.381691] usb 4-1: Product: ALIENTEK 触控USBé¼ æ ‡ [ 6014.381702] usb 4-1: Manufacturer: 广州星翼电å科è¢æœ‰é™å…¬å¸ [ 6014.381712] usb 4-1: SerialNumber: 6D7B207A5357 [ 6014.474055] input: 广州星翼电å科è¢æœ‰é™å…¬å¸ ALIENTEK 触控USBé¼ æ ‡ as /devices/platform/soc/1c1b400.usb/usb4/4-1/4-1:1.0/0003:0483:5750.0001/input/input1 [ 6014.474837] hid-multitouch 0003:0483:5750.0001: input,hiddev0,hidraw0: USB HID v1.10 Mouse [广州星翼电å科è¢æœ‰é™å…¬å¸ ALIENTEK 触控USBé¼ æ ‡] on usb-1c1b400.usb-1/input0 =================== I think Problem is that there is no hid-multitouch driver in kernel 3.4. By the way present kernel version(4.6) you suggested cannot display HDMI terminal. I will wait new kernel that HDMI is possible. Cf. On Raspberry pi 3 HDMI & multi touch screen are possible at the same time.(mainline kernel v.4)
tkaiser Posted June 24, 2016 Posted June 24, 2016 I think Problem is that there is no hid-multitouch driver in kernel 3.4. By the way present kernel version(4.6) you suggested cannot display HDMI terminal. Did you try 'modprobe hid-multitouch' already? It's built as module. And yes, mainline kernel for H3 lacks HDMI support and given that there was no progress regarding Allwinner releasing sources under a useable license I doubt we get display support in 2016. Allwinner released $something for A64 recently http://irclog.whitequark.org/linux-sunxi/2016-06-23#16815585;(no idea whether that improves the situation, at least display controller in A64 and H3 are the same) 1
psbkkim Posted June 25, 2016 Author Posted June 25, 2016 Thank you, Thank you very much!!! Tkaiser. I succeed to use 7 inch HDMI touch screen(800*480) on Orange Pi One.(Touch Firmware STM32F103 hid-multitouch, 14 byte raw data, moreover you don't need to write your uinput or uhid driver) According to your advice(modprobe hid_multitouch --> insert module into /etc/modules) , usb touch module works. One tip more: In fex file I modified following 2 lines. ==== [disp-init] fb0-format=0 fb0-wwidth=800 fb0-height=480 ==== After that, touch screen & HDMI all the same function nicely. (Some body(igorpecovnik) maybe added driver. --> cf. https://github.com/igorpecovnik/lib/blob/master/patch/kernel/sun8i-default/0026-h3-hdmi-additional-mode-800x480p-from-lobodis-initia.patch) Thank you, Tkaiser & Igor 2
martinayotte Posted June 25, 2016 Posted June 25, 2016 About HDMI mainline, I don't know and didn't follow everything, but I think some patches have been submitted to linux-sunxi by Jef Moine.
shahidali55 Posted July 21, 2016 Posted July 21, 2016 Thanks tkaiser and psbkkim. This works perfectly for my new 7inch HDMI display and Orange Pi One running Armbian 5.14 (legacy kernel). Steps followed: sudo nano /etc/modules +hid_multitouch cp /boot/script.bin . bin2fex script.bin script.fex sudo nano script.fex -fb0_width = 0 -fb0_height = 0 +fb0_width = 1024 +fb0_height = 600 sudo fex2bin ./script.fex /boot/script.bin sudo shutdown -r now Did you try 'modprobe hid-multitouch' already? It's built as module. And yes, mainline kernel for H3 lacks HDMI support and given that there was no progress regarding Allwinner releasing sources under a useable license I doubt we get display support in 2016. Allwinner released $something for A64 recently http://irclog.whitequark.org/linux-sunxi/2016-06-23#16815585;(no idea whether that improves the situation, at least display controller in A64 and H3 are the same) Thank you, Thank you very much!!! Tkaiser. I succeed to use 7 inch HDMI touch screen(800*480) on Orange Pi One.(Touch Firmware STM32F103 hid-multitouch, 14 byte raw data, moreover you don't need to write your uinput or uhid driver) According to your advice(modprobe hid_multitouch --> insert module into /etc/modules) , usb touch module works. One tip more: In fex file I modified following 2 lines. ==== [disp-init] fb0-format=0 fb0-wwidth=800 fb0-height=480 ==== After that, touch screen & HDMI all the same function nicely. (Some body(igorpecovnik) maybe added driver. --> cf. https://github.com/igorpecovnik/lib/blob/master/patch/kernel/sun8i-default/0026-h3-hdmi-additional-mode-800x480p-from-lobodis-initia.patch) Thank you, Tkaiser & Igor
shahidali55 Posted July 25, 2016 Posted July 25, 2016 Can the HDMI output be rotated by 90 degree on the Orange Pi One with legacy kernel ? I have tried fiddling with the fbcon parameter as suggested by Igor in this post, but it did nothing. I didn't really expect the fbcon hint to work since it was a suggestion for Freescale i.MX6x kernel
Recommended Posts