[SOLVED] Adding Multitouch USB to XU4 kernel

Moderators: odroid, mdrjr

[SOLVED] Adding Multitouch USB to XU4 kernel

Unread postby mdpc » Wed Jul 06, 2016 6:45 pm

Hello. I have been trying with not much success to build kernel and add multitouch driver for my zaagtech multitouch frame.
I am using Ubuntu 14.04 x64 on intel cpu. Here is what i have done so far
Install Toolchain
Code: Select all
$ sudo mkdir -p /opt/toolchains
$ sudo tar xvfz arm-eabi-4.6.tar.gz -C /opt/toolchains/

add the toolchain path to PATH
check the toolchain installed right
Code: Select all
$ arm-eabi-gcc -v

it is i see
Code: Select all
gcc version 4.6.4-google
at the end
clone git
Code: Select all
$ git clone --depth 1 https://github.com/hardkernel/linux.git -b odroidxu3-3.10.y-android
$ cd linux

edit files to add new driver info
Code: Select all
 hid.ids.h
 hid.multitouch.c

make defconfig
Code: Select all
make odroidxu3_defconfig

make menuconfig to switch usb touchscreen on[b]
Code: Select all
make menuconfig

[b]make proper[b]
Code: Select all
make
make modules

[b]Do adb connect via tcp/ip and push module .ko files and zImage file

Code: Select all
adb connect 192.168.1.xxx
adb remount
find . -name *.ko -exec adb push {} /system/lib/modules/ \;
adb push /arch/arm/boot/zImage system/lib/modules

finally use adb over tcp/ip to get adb shell and dd zImage
Code: Select all
adb shell
cd /system/lib/modules
busybox dd conv=notrunc seek=2455 bs=512 if=zImage of=/dev/block/mmcblk0
sync
exit
adb reboot


At this point the device does reboot and i am hoping to use my new kernel with multitouch device.

However device does not boot. Blue LED stays lit for 10 mins + and nothing happens.

If it's any help i have a Zaagtech X Series 6 Touch Overlay

doing lsusb tells me that
VID = aaec
PID - c021

which i have added to the hid.ids.h file. I am not sure how to proceed now? Device is 100% working in windows 7 + 8 no driver needed.

Am i better off trying to use different kernel? Do i NEED UART kit?
does sound like it would be hella lot easier if the device had OTG and could do it with fastboot method.

Turning the device into huge tablet was basically my reason for getting one. also why still stuck at android 4? seem strange as android 5 and 6 much better. Devs given up on XU4??
Last edited by mdpc on Wed Jul 06, 2016 6:48 pm, edited 1 time in total.
mdpc
 
Posts: 2
Joined: Wed Jul 06, 2016 6:17 pm
languages_spoken: english
ODROIDs: XU4

Re: Adding Multitouch USB to XU4 kernel

Unread postby Riiio » Wed Jul 06, 2016 6:47 pm

@ odroid

our efforts to compile our own kernel.

any advice would be appreciated.

we've spent a few days here learning about what is what.. it'd be satisfying to see it work.
Riiio
 
Posts: 28
Joined: Thu Jun 30, 2016 12:56 am
languages_spoken: english
ODROIDs: XU4

Re: Adding Multitouch USB to XU4 kernel

Unread postby mdpc » Thu Jul 07, 2016 3:37 am

After further research and more digging the screen is appearing in dmesg but seems not to be initialized
Code: Select all
<6>[   28.067588] [c4] lowmemorykiller: oom_adj 1 => oom_score_adj 58
<6>[   28.073484] [c4] lowmemorykiller: oom_adj 2 => oom_score_adj 117
<6>[   28.080616] [c4] lowmemorykiller: oom_adj 3 => oom_score_adj 176
<6>[   28.085470] [c4] lowmemorykiller: oom_adj 9 => oom_score_adj 529
<6>[   28.091459] [c4] lowmemorykiller: oom_adj 15 => oom_score_adj 1000
<6>[   28.294460] [c5] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
<6>[   28.384878] [c6] acc_open
<6>[   28.386035] [c6] acc_release
<11>[   35.139728] [c7] init: sys_prop: permission denied uid:1003  name:service.bootanim.exit
<4>[   35.179300] [c4] s5p-hdmi 14530000.hdmi: state restore latency exceeded, new value 26473666 ns
<6>[   35.186591] [c4] s5p-hdmi 14530000.hdmi: HDMI interrupt changed to internal
<6>[   43.369657] [c0] usb 3-1.1: new full-speed USB device number 4 using xhci-hcd
<4>[   43.394883] [c1] usb 3-1.1: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes
<6>[   43.432519] [c0] input: Telink Wireless Receiver as /devices/usb.1/12000000.dwc3/xhci-hcd.2.auto/usb3/3-1/3-1.1/3-1.1:1.0/input/input3
<6>[   43.443925] [c1] hid-generic 0003:248A:8566.0001: input: USB HID v1.11 Keyboard [Telink Wireless Receiver] on usb-xhci-hcd.2.auto-1.1/input0
<6>[   43.462239] [c0] input: Telink Wireless Receiver as /devices/usb.1/12000000.dwc3/xhci-hcd.2.auto/usb3/3-1/3-1.1/3-1.1:1.1/input/input4
<6>[   43.474353] [c2] hid-generic 0003:248A:8566.0002: input: USB HID v1.11 Mouse [Telink Wireless Receiver] on usb-xhci-hcd.2.auto-1.1/input1
<4>[   48.952773] [c3] set_aud_pll_rate[51] : aud_pll set_rate=180633600, get_rate = 180633609
<11>[   48.968457] [c1] init: untracked pid 4023 exited
<6>[   49.046983] [c0] r8152 6-1:1.0 eth0: Stop submitting intr, status -71
<11>[   49.874253] [c3] init: untracked pid 4074 exited
<14>[   74.557580] [c3] healthd: battery l=80 v=5 t=0.0 h=2 st=4 chg=
<4>[   94.114760] [c3] set_aud_pll_rate[51] : aud_pll set_rate=180633600, get_rate = 180633609
<4>[  130.231550] [c2] set_aud_pll_rate[51] : aud_pll set_rate=180633600, get_rate = 180633609
<4>[  132.403753] [c1] RTL871X: module init start
<4>[  132.406508] [c1] RTL871X: rtl8192cu v4.0.5_11249.20140422
<4>[  132.411876] [c1] RTL871X: build time: May 30 2016 14:24:02
<4>[  132.508327] [c0] RTL871X: rtw_ndev_init(wlan0)
<4>[  132.517314] [c2] RTL871X: rtw_ndev_init(wlan1)
<6>[  132.526986] [c2] usbcore: registered new interface driver rtl8192cu
<4>[  132.531860] [c2] RTL871X: module init ret=0
<6>[  133.352841] [c1] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
<4>[  135.113712] [c3] RTL871X: module exit start
<6>[  135.116494] [c3] usbcore: deregistering interface driver rtl8192cu
<4>[  135.123276] [c0] RTL871X: rtw_ndev_uninit(wlan0)
<4>[  135.190334] [c0] RTL871X: rtw_ndev_uninit(wlan1)
<4>[  135.204287] [c0] RTL871X: rtw_cmd_thread: DriverStopped(1) SurpriseRemoved(0) break at line 484
<4>[  135.269307] [c0] RTL871X: module exit success
<14>[  195.334329] [c0] healthd: battery l=80 v=5 t=0.0 h=2 st=4 chg=
<14>[  255.399831] [c0] healthd: battery l=80 v=5 t=0.0 h=2 st=4 chg=
<14>[  315.437919] [c1] healthd: battery l=80 v=5 t=0.0 h=2 st=4 chg=
<14>[  375.503393] [c1] healthd: battery l=80 v=5 t=0.0 h=2 st=4 chg=
<14>[  435.568897] [c1] healthd: battery l=80 v=5 t=0.0 h=2 st=4 chg=
<4>[  464.818674] [c1] set_aud_pll_rate[51] : aud_pll set_rate=180633600, get_rate = 180633609
<4>[  488.111742] [c3] set_aud_pll_rate[51] : aud_pll set_rate=180633600, get_rate = 180633609
<14>[  495.634575] [c1] healthd: battery l=80 v=5 t=0.0 h=2 st=4 chg=
<14>[  555.700043] [c1] healthd: battery l=80 v=5 t=0.0 h=2 st=4 chg=
<6>[  602.277308] [c0] usb 3-1.1: USB disconnect, device number 4
<4>[  613.094516] [c0] ignore hpd change
<6>[  613.097150] [c0] s5p-hdmi 14530000.hdmi: unplugged
<6>[  613.136693] [c1] s5p-hdmi 14530000.hdmi: HDMI interrupt changed to external
<4>[  613.152129] [c3] mali 11800000.mali: state restore latency exceeded, new value 883375 ns
<3>[  613.795108] [c0] usb 6-1: usb_reset_and_verify_device Failed to disable LTM
<3>[  613.795108] .
<6>[  613.804131] usb 6-1: USB disconnect, device number 2
<6>[  614.089390] [c0] usb 6-1: new SuperSpeed USB device number 3 using xhci-hcd
<4>[  614.109682] [c0] usb 6-1: Parent hub missing LPM exit latency info.  Power management will be impacted.
<6>[  614.139599] [c0] cdc_ether 6-1:2.0 eth0: register 'cdc_ether' at usb-xhci-hcd.5.auto-1, CDC Ethernet Device, 00:1e:06:30:4a:e0
<6>[  614.151889] [c0] cdc_ether 6-1:2.0 eth0: unregister 'cdc_ether' usb-xhci-hcd.5.auto-1, CDC Ethernet Device
<6>[  614.327134] [c0] usb 6-1: reset SuperSpeed USB device number 3 using xhci-hcd
<4>[  614.344656] [c0] usb 6-1: Parent hub missing LPM exit latency info.  Power management will be impacted.
<4>[  614.352908] [c0] xhci-hcd xhci-hcd.5.auto: xHCI xhci_drop_endpoint called with disabled ep dccbdf00
<4>[  614.361683] [c0] xhci-hcd xhci-hcd.5.auto: xHCI xhci_drop_endpoint called with disabled ep dccbdf2c
<4>[  614.371801] [c0] xhci-hcd xhci-hcd.5.auto: xHCI xhci_drop_endpoint called with disabled ep dccbdf58
<6>[  614.422101] [c0] r8152 6-1:1.0 eth0: v2.04.0 (2015/03/06)
<6>[  614.426187] [c0] r8152 6-1:1.0 eth0: This product is covered by one or more of the following patents:
<6>[  614.426187]       US6,570,884, US6,115,776, and US6,327,625.
<6>[  614.426187]
<6>[  614.494482] [c0] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
<14>[  674.480947] [c2] healthd: battery l=80 v=5 t=0.0 h=2 st=4 chg=
<14>[  674.563397] [c3] healthd: battery l=80 v=5 t=0.0 h=2 st=4 chg=
<6>[  701.816628] [c0] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
<4>[  717.378040] [c0] ###########################################
<4>[  717.382269] [c0] # HDMI HPD state 1 #
<4>[  717.385913] [c0] ###########################################
<6>[  717.529828] [c0] EDID: found 1080i@60
<6>[  717.532012] [c0] EDID: found 720p@60
<6>[  717.535604] [c0] EDID: found 480p@60
<6>[  717.539128] [c0] EDID: found 600@60
<6>[  717.542628] [c0] EDID: found 768@60
<6>[  717.546108] [c0] EDID: found 480p@59.94
<6>[  717.549917] [c0] EDID: found 576p@50
<6>[  717.553444] [c0] EDID: found 1080i@50
<6>[  717.557118] [c0] EDID: found 720p@50
<6>[  717.560703] [c0] EDID: found 1080p@60
<6>[  717.564361] [c0] EDID: found 1080p@50
<6>[  717.567934] [c0] EDID: found 1080p@24
<6>[  717.571610] [c0] EDID: misc flags 00000004
<6>[  717.575513] EDID: Audio channels 2
<4>[  717.579042] [c0] ###########################################
<4>[  717.584709] [c0] # HDMI PHY Resolution 720p60hz #
<4>[  717.589394] [c0] ###########################################
<4>[  717.595067] [c0] ###########################################
<4>[  717.600675] [c0] # HDMI EDID mode 0 #
<4>[  717.604318] [c0] ###########################################
<4>[  717.609962] [c0] ###########################################
<4>[  717.615598] [c0] # hdev->dvi_mode false #
<4>[  717.619588] [c0] ###########################################
<6>[  717.625900] [c0] s5p-hdmi 14530000.hdmi: plugged
<6>[  717.714408] [c3] s5p-hdmi 14530000.hdmi: HDMI interrupt changed to internal
<6>[  731.489658] [c0] usb 3-1.1: new full-speed USB device number 5 using xhci-hcd
<4>[  731.514692] [c0] usb 3-1.1: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes
<6>[  731.528851] [c0] input: Telink Wireless Receiver as /devices/usb.1/12000000.dwc3/xhci-hcd.2.auto/usb3/3-1/3-1.1/3-1.1:1.0/input/input5
<6>[  731.540294] [c3] hid-generic 0003:248A:8566.0003: input: USB HID v1.11 Keyboard [Telink Wireless Receiver] on usb-xhci-hcd.2.auto-1.1/input0
<6>[  731.561243] [c3] input: Telink Wireless Receiver as /devices/usb.1/12000000.dwc3/xhci-hcd.2.auto/usb3/3-1/3-1.1/3-1.1:1.1/input/input6
<6>[  731.574273] [c3] hid-generic 0003:248A:8566.0004: input: USB HID v1.11 Mouse [Telink Wireless Receiver] on usb-xhci-hcd.2.auto-1.1/input1
<4>[  734.827673] [c3] set_aud_pll_rate[51] : aud_pll set_rate=180633600, get_rate = 180633609
<4>[  748.004028] [c3] set_aud_pll_rate[51] : aud_pll set_rate=180633600, get_rate = 180633609
<4>[  759.268020] [c2] set_aud_pll_rate[51] : aud_pll set_rate=180633600, get_rate = 180633609
<4>[  772.795113] [c0] set_aud_pll_rate[51] : aud_pll set_rate=180633600, get_rate = 180633609
<4>[  777.119459] [c0] set_aud_pll_rate[51] : aud_pll set_rate=180633600, get_rate = 180633609
<14>[  791.635067] [c1] healthd: battery l=80 v=5 t=0.0 h=2 st=4 chg=
<4>[  809.247558] [c0] ignore hpd change
<6>[  809.250190] [c0] s5p-hdmi 14530000.hdmi: unplugged
<6>[  809.281136] [c0] s5p-hdmi 14530000.hdmi: HDMI interrupt changed to external
<6>[  811.173152] [c0] usb 3-1.1: USB disconnect, device number 5
<4>[  811.290319] [c0] mali 11800000.mali: state restore latency exceeded, new value 917416 ns
<6>[  814.944465] [c0] usb 3-1.1: new full-speed USB device number 6 using xhci-hcd
<4>[  814.969828] [c1] usb 3-1.1: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes
<6>[  814.985030] [c0] input: Telink Wireless Receiver as /devices/usb.1/12000000.dwc3/xhci-hcd.2.auto/usb3/3-1/3-1.1/3-1.1:1.0/input/input7
<6>[  814.999364] [c2] hid-generic 0003:248A:8566.0005: input: USB HID v1.11 Keyboard [Telink Wireless Receiver] on usb-xhci-hcd.2.auto-1.1/input0
<6>[  815.020119] [c2] input: Telink Wireless Receiver as /devices/usb.1/12000000.dwc3/xhci-hcd.2.auto/usb3/3-1/3-1.1/3-1.1:1.1/input/input8
<6>[  815.033139] [c0] hid-generic 0003:248A:8566.0006: input: USB HID v1.11 Mouse [Telink Wireless Receiver] on usb-xhci-hcd.2.auto-1.1/input1
<4>[  815.049577] [c0] mali 11800000.mali: state restore latency exceeded, new value 951083 ns
<4>[  820.410757] [c0] ###########################################
<4>[  820.414994] [c0] # HDMI HPD state 1 #
<4>[  820.418592] [c0] ###########################################
<6>[  820.564808] [c0] EDID: found 1080i@60
<6>[  820.567045] [c0] EDID: found 720p@60
<6>[  820.570590] [c0] EDID: found 480p@60
<6>[  820.574113] [c0] EDID: found 600@60
<6>[  820.577613] [c0] EDID: found 768@60
<6>[  820.581124] [c0] EDID: found 480p@59.94
<6>[  820.584902] [c0] EDID: found 576p@50
<6>[  820.588429] [c0] EDID: found 1080i@50
<6>[  820.592103] [c0] EDID: found 720p@50
<6>[  820.595664] [c0] EDID: found 1080p@60
<6>[  820.599334] [c0] EDID: found 1080p@50
<6>[  820.602919] [c0] EDID: found 1080p@24
<6>[  820.606595] [c0] EDID: misc flags 00000004
<6>[  820.610497] EDID: Audio channels 2
<4>[  820.614028] [c0] ###########################################
<4>[  820.619696] [c0] # HDMI PHY Resolution 720p60hz #
<4>[  820.624379] [c0] ###########################################
<4>[  820.630026] [c0] ###########################################
<4>[  820.635685] [c0] # HDMI EDID mode 0 #
<4>[  820.639307] [c0] ###########################################
<4>[  820.644948] [c0] ###########################################
<4>[  820.650594] [c0] # hdev->dvi_mode false #
<4>[  820.654576] [c0] ###########################################
<6>[  820.660852] [c0] s5p-hdmi 14530000.hdmi: plugged
<4>[  820.744299] [c0] s5p-hdmi 14530000.hdmi: state restore latency exceeded, new value 27984625 ns
<6>[  820.751618] [c0] s5p-hdmi 14530000.hdmi: HDMI interrupt changed to internal
<4>[  836.967774] [c1] set_aud_pll_rate[51] : aud_pll set_rate=180633600, get_rate = 180633609
<4>[  846.267476] [c3] set_aud_pll_rate[51] : aud_pll set_rate=180633600, get_rate = 180633609
<4>[  865.380193] [c0] ignore hpd change
<6>[  865.382800] [c0] s5p-hdmi 14530000.hdmi: unplugged
<6>[  865.418338] [c0] s5p-hdmi 14530000.hdmi: HDMI interrupt changed to external
<4>[  909.659807] [c0] ###########################################
<4>[  909.663998] [c0] # HDMI HPD state 1 #
<4>[  909.667686] [c0] ###########################################
<6>[  909.809870] [c0] EDID: found 1080i@60
<6>[  909.812056] [c0] EDID: found 720p@60
<6>[  909.815676] [c0] EDID: found 480p@60
<6>[  909.819202] [c0] EDID: found 600@60
<6>[  909.822642] [c0] EDID: found 768@60
<6>[  909.826151] [c0] EDID: found 480p@59.94
<6>[  909.829961] [c0] EDID: found 576p@50
<6>[  909.833488] [c0] EDID: found 1080i@50
<6>[  909.837161] [c0] EDID: found 720p@50
<6>[  909.840724] [c0] EDID: found 1080p@60
<6>[  909.844363] [c0] EDID: found 1080p@50
<6>[  909.848004] [c0] EDID: found 1080p@24
<6>[  909.851654] [c0] EDID: misc flags 00000004
<6>[  909.855557] EDID: Audio channels 2
<4>[  909.859086] [c0] ###########################################
<4>[  909.864754] [c0] # HDMI PHY Resolution 720p60hz #
<4>[  909.869448] [c0] ###########################################
<4>[  909.875087] [c0] ###########################################
<4>[  909.880796] [c0] # HDMI EDID mode 0 #
<4>[  909.884365] [c0] ###########################################
<4>[  909.890007] [c0] ###########################################
<4>[  909.895642] [c0] # hdev->dvi_mode false #
<4>[  909.899633] [c0] ###########################################
<6>[  909.905895] [c0] s5p-hdmi 14530000.hdmi: plugged
<4>[  910.004289] [c2] s5p-hdmi 14530000.hdmi: state restore latency exceeded, new value 31944333 ns
<6>[  910.011604] [c2] s5p-hdmi 14530000.hdmi: HDMI interrupt changed to internal
<4>[  922.334677] [c0] set_aud_pll_rate[51] : aud_pll set_rate=180633600, get_rate = 180633609
<6>[  927.477530] [c0] nf_conntrack: automatic helper assignment is deprecated and it will be removed soon. Use the iptables CT target to attach helpers instead.
<4>[  933.101078] [c1] set_aud_pll_rate[51] : aud_pll set_rate=180633600, get_rate = 180633609
<4>[  963.810436] [c0] pd-g3d: Power-on latency exceeded, new value 1376875 ns
<14>[  969.966570] [c2] healthd: battery l=80 v=5 t=0.0 h=2 st=4 chg=
<6>[  975.340630] [c1] adb_release
<3>[  975.342063] [c1] dwc3 12400000.dwc3: request ddd3c700 was not queued to ep0out
<6>[  975.353566] [c3] adb_open
<6>[  975.354908] [c7] adb_bind_config
<6>[  995.476479] [c5] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
<6>[ 1024.659247] [c2] usb 2-1: new full-speed USB device number 2 using exynos-ohci
<3>[ 1024.886310] [c0] hid-generic 0003:AAEC:C021.0007: device has no listeners, quitting
<4>[ 1024.903256] [c0] usb 2-1: ctrl urb status -62 received
<4>[ 1024.907242] [c0] usb 2-1: ctrl urb status -62 received
<4>[ 1024.912246] [c0] usb 2-1: ctrl urb status -62 received
<4>[ 1024.918241] [c0] usb 2-1: ctrl urb status -62 received
<6>[ 1024.923195] [c0] input: Multi touch   Multi touch overlay device as /devices/12120000.usb/usb2/2-1/2-1:1.1/input/input9
<6>[ 1024.935842] [c0] hid-multitouch 0003:AAEC:C021.0008: input: USB HID v1.00 Mouse [Multi touch   Multi touch overlay device] on usb-12120000.usb-1/input1
<6>[ 1024.948480] [c0] usb 2-1: USB disconnect, device number 2
<4>[ 1024.953347] [c0] usb 2-1: ctrl urb status -62 received
<6>[ 1026.459261] [c1] usb 2-1: new full-speed USB device number 3 using exynos-ohci
<3>[ 1026.686309] [c0] hid-generic 0003:AAEC:C021.0009: device has no listeners, quitting
<4>[ 1026.704265] [c0] usb 2-1: ctrl urb status -62 received
<4>[ 1026.708247] [c0] usb 2-1: ctrl urb status -62 received
<4>[ 1026.713240] [c0] usb 2-1: ctrl urb status -62 received
<4>[ 1026.719247] [c0] usb 2-1: ctrl urb status -62 received
<6>[ 1026.724215] [c0] input: Multi touch   Multi touch overlay device as /devices/12120000.usb/usb2/2-1/2-1:1.1/input/input10
<6>[ 1026.736765] [c0] hid-multitouch 0003:AAEC:C021.000A: input: USB HID v1.00 Mouse [Multi touch   Multi touch overlay device] on usb-12120000.usb-1/input1
<6>[ 1026.749522] [c0] usb 2-1: USB disconnect, device number 3
<4>[ 1026.754262] [c0] usb 2-1: ctrl urb status -62 received
<6>[ 1028.264272] [c3] usb 2-1: new full-speed USB device number 4 using exynos-ohci
<3>[ 1028.496318] [c0] hid-generic 0003:AAEC:C021.000B: device has no listeners, quitting
<4>[ 1028.514270] [c0] usb 2-1: ctrl urb status -62 received
<4>[ 1028.518258] [c0] usb 2-1: ctrl urb status -62 received
<4>[ 1028.523252] [c0] usb 2-1: ctrl urb status -62 received
<4>[ 1028.529256] [c0] usb 2-1: ctrl urb status -62 received
<6>[ 1028.534203] [c0] input: Multi touch   Multi touch overlay device as /devices/12120000.usb/usb2/2-1/2-1:1.1/input/input11
<6>[ 1028.546809] [c0] hid-multitouch 0003:AAEC:C021.000C: input: USB HID v1.00 Mouse [Multi touch   Multi touch overlay device] on usb-12120000.usb-1/input1
<6>[ 1028.559534] [c0] usb 2-1: USB disconnect, device number 4
<4>[ 1028.564313] [c0] usb 2-1: ctrl urb status -62 received
<6>[ 1030.069245] [c1] usb 2-1: new full-speed USB device number 5 using exynos-ohci
<3>[ 1030.296304] [c0] hid-generic 0003:AAEC:C021.000D: device has no listeners, quitting
<4>[ 1030.313250] [c0] usb 2-1: ctrl urb status -62 received
<4>[ 1030.317241] [c0] usb 2-1: ctrl urb status -62 received
<4>[ 1030.322238] [c0] usb 2-1: ctrl urb status -62 received
<4>[ 1030.328243] [c0] usb 2-1: ctrl urb status -62 received
<6>[ 1030.334409] [c0] input: Multi touch   Multi touch overlay device as /devices/12120000.usb/usb2/2-1/2-1:1.1/input/input12
<6>[ 1030.345296] [c0] hid-multitouch 0003:AAEC:C021.000E: input: USB HID v1.00 Mouse [Multi touch   Multi touch overlay device] on usb-12120000.usb-1/input1
<6>[ 1030.358998] [c0] usb 2-1: USB disconnect, device number 5
<4>[ 1030.362961] [c0] usb 2-1: ctrl urb status -62 received
<6>[ 1031.684243] [c2] usb 2-1: new full-speed USB device number 6 using exynos-ohci
<3>[ 1031.910307] [c0] hid-generic 0003:AAEC:C021.000F: device has no listeners, quitting
<4>[ 1031.927252] [c0] usb 2-1: ctrl urb status -62 received
<4>[ 1031.931238] [c0] usb 2-1: ctrl urb status -62 received
<4>[ 1031.936245] [c0] usb 2-1: ctrl urb status -62 received
<4>[ 1031.942238] [c0] usb 2-1: ctrl urb status -62 received
<6>[ 1031.948327] [c0] input: Multi touch   Multi touch overlay device as /devices/12120000.usb/usb2/2-1/2-1:1.1/input/input13
<6>[ 1031.959144] [c0] hid-multitouch 0003:AAEC:C021.0010: input: USB HID v1.00 Mouse [Multi touch   Multi touch overlay device] on usb-12120000.usb-1/input1
<6>[ 1031.971923] [c2] usb 2-1: USB disconnect, device number 6
<4>[ 1031.973254] [c0] usb 2-1: ctrl urb status -62 received
<6>[ 1033.484253] [c0] usb 2-1: new full-speed USB device number 7 using exynos-ohci
<3>[ 1033.712316] [c0] hid-generic 0003:AAEC:C021.0011: device has no listeners, quitting
<4>[ 1033.730269] [c0] usb 2-1: ctrl urb status -62 received
<4>[ 1033.734263] [c0] usb 2-1: ctrl urb status -62 received
<4>[ 1033.739257] [c0] usb 2-1: ctrl urb status -62 received
<4>[ 1033.745251] [c0] usb 2-1: ctrl urb status -62 received
<6>[ 1033.750340] [c2] input: Multi touch   Multi touch overlay device as /devices/12120000.usb/usb2/2-1/2-1:1.1/input/input14
<6>[ 1033.761575] [c2] hid-multitouch 0003:AAEC:C021.0012: input: USB HID v1.00 Mouse [Multi touch   Multi touch overlay device] on usb-12120000.usb-1/input1
<6>[ 1033.774127] [c2] usb 2-1: USB disconnect, device number 7
<4>[ 1033.774266] [c0] usb 2-1: ctrl urb status -62 received
<6>[ 1035.099275] [c3] usb 2-1: new full-speed USB device number 8 using exynos-ohci
<3>[ 1035.326301] [c0] hid-generic 0003:AAEC:C021.0013: device has no listeners, quitting
<4>[ 1035.344259] [c0] usb 2-1: ctrl urb status -62 received
<4>[ 1035.348243] [c0] usb 2-1: ctrl urb status -62 received
<4>[ 1035.353239] [c0] usb 2-1: ctrl urb status -62 received
<4>[ 1035.359248] [c0] usb 2-1: ctrl urb status -62 received
<6>[ 1035.364204] [c0] input: Multi touch   Multi touch overlay device as /devices/12120000.usb/usb2/2-1/2-1:1.1/input/input15
<6>[ 1035.376804] [c1] hid-multitouch 0003:AAEC:C021.0014: input: USB HID v1.00 Mouse [Multi touch   Multi touch overlay device] on usb-12120000.usb-1/input1
<4>[ 1035.389255] [c0] usb 2-1: ctrl urb status -62 received
<6>[ 1035.389482] [c1] usb 2-1: USB disconnect, device number 8
<6>[ 1036.899243] [c2] usb 2-1: new full-speed USB device number 9 using exynos-ohci
<3>[ 1037.126317] [c0] hid-generic 0003:AAEC:C021.0015: device has no listeners, quitting
<4>[ 1037.143268] [c0] usb 2-1: ctrl urb status -62 received
<4>[ 1037.147253] [c0] usb 2-1: ctrl urb status -62 received
<4>[ 1037.152258] [c0] usb 2-1: ctrl urb status -62 received
<4>[ 1037.158251] [c0] usb 2-1: ctrl urb status -62 received
<6>[ 1037.164466] [c0] input: Multi touch   Multi touch overlay device as /devices/12120000.usb/usb2/2-1/2-1:1.1/input/input16
<6>[ 1037.175351] [c3] hid-multitouch 0003:AAEC:C021.0016: input: USB HID v1.00 Mouse [Multi touch   Multi touch overlay device] on usb-12120000.usb-1/input1
<6>[ 1037.187892] [c3] usb 2-1: USB disconnect, device number 9
<4>[ 1037.188266] [c0] usb 2-1: ctrl urb status -62 received
<6>[ 1038.699243] [c2] usb 2-1: new full-speed USB device number 10 using exynos-ohci
<3>[ 1038.926318] [c0] hid-generic 0003:AAEC:C021.0017: device has no listeners, quitting
<4>[ 1038.946266] [c0] usb 2-1: ctrl urb status -62 received
<4>[ 1038.950258] [c0] usb 2-1: ctrl urb status -62 received
<4>[ 1038.955252] [c0] usb 2-1: ctrl urb status -62 received
<4>[ 1038.961251] [c0] usb 2-1: ctrl urb status -62 received
<6>[ 1038.966160] [c0] input: Multi touch   Multi touch overlay device as /devices/12120000.usb/usb2/2-1/2-1:1.1/input/input17
<6>[ 1038.978810] [c2] hid-multitouch 0003:AAEC:C021.0018: input: USB HID v1.00 Mouse [Multi touch   Multi touch overlay device] on usb-12120000.usb-1/input1
<4>[ 1038.991258] [c0] usb 2-1: ctrl urb status -62 received
<6>[ 1038.991443] [c2] usb 2-1: USB disconnect, device number 10
<6>[ 1040.499242] [c1] usb 2-1: new full-speed USB device number 11 using exynos-ohci
<3>[ 1040.726301] [c0] hid-generic 0003:AAEC:C021.0019: device has no listeners, quitting
<4>[ 1040.744260] [c0] usb 2-1: ctrl urb status -62 received
<4>[ 1040.748242] [c0] usb 2-1: ctrl urb status -62 received
<4>[ 1040.753236] [c0] usb 2-1: ctrl urb status -62 received
<4>[ 1040.759248] [c0] usb 2-1: ctrl urb status -62 received
<6>[ 1040.765206] [c1] input: Multi touch   Multi touch overlay device as /devices/12120000.usb/usb2/2-1/2-1:1.1/input/input18
<6>[ 1040.776008] [c2] hid-multitouch 0003:AAEC:C021.001A: input: USB HID v1.00 Mouse [Multi touch   Multi touch overlay device] on usb-12120000.usb-1/input1
<6>[ 1040.788621] [c2] usb 2-1: USB disconnect, device number 11
<4>[ 1040.789276] [c0] usb 2-1: ctrl urb status -62 received
<6>[ 1042.299247] [c1] usb 2-1: new full-speed USB device number 12 using exynos-ohci
<3>[ 1042.526305] [c0] hid-generic 0003:AAEC:C021.001B: device has no listeners, quitting
<4>[ 1042.544257] [c0] usb 2-1: ctrl urb status -62 received
<4>[ 1042.548247] [c0] usb 2-1: ctrl urb status -62 received
<4>[ 1042.553239] [c0] usb 2-1: ctrl urb status -62 received
<4>[ 1042.559251] [c0] usb 2-1: ctrl urb status -62 received
<6>[ 1042.564210] [c0] input: Multi touch   Multi touch overlay device as /devices/12120000.usb/usb2/2-1/2-1:1.1/input/input19
<6>[ 1042.576781] [c0] hid-multitouch 0003:AAEC:C021.001C: input: USB HID v1.00 Mouse [Multi touch   Multi touch overlay device] on usb-12120000.usb-1/input1
<6>[ 1042.589523] [c0] usb 2-1: USB disconnect, device number 12
<4>[ 1042.594366] [c0] usb 2-1: ctrl urb status -62 received
<6>[ 1044.099256] [c2] usb 2-1: new full-speed USB device number 13 using exynos-ohci
<3>[ 1044.326309] [c0] hid-generic 0003:AAEC:C021.001D: device has no listeners, quitting
<4>[ 1044.344263] [c0] usb 2-1: ctrl urb status -62 received
<4>[ 1044.348243] [c0] usb 2-1: ctrl urb status -62 received
<4>[ 1044.353249] [c0] usb 2-1: ctrl urb status -62 received
<4>[ 1044.359250] [c0] usb 2-1: ctrl urb status -62 received
<6>[ 1044.364207] [c0] input: Multi touch   Multi touch overlay device as /devices/12120000.usb/usb2/2-1/2-1:1.1/input/input20
<6>[ 1044.376799] [c1] hid-multitouch 0003:AAEC:C021.001E: input: USB HID v1.00 Mouse [Multi touch   Multi touch overlay device] on usb-12120000.usb-1/input1
<4>[ 1044.389254] [c0] usb 2-1: ctrl urb status -62 received
<6>[ 1044.389451] [c1] usb 2-1: USB disconnect, device number 13
<6>[ 1045.714245] [c1] usb 2-1: new full-speed USB device number 14 using exynos-ohci
<3>[ 1045.941319] [c0] hid-generic 0003:AAEC:C021.001F: device has no listeners, quitting
<4>[ 1045.958269] [c0] usb 2-1: ctrl urb status -62 received
<4>[ 1045.962254] [c0] usb 2-1: ctrl urb status -62 received
<4>[ 1045.967259] [c0] usb 2-1: ctrl urb status -62 received
<4>[ 1045.973253] [c0] usb 2-1: ctrl urb status -62 received
<6>[ 1045.979428] [c0] input: Multi touch   Multi touch overlay device as /devices/12120000.usb/usb2/2-1/2-1:1.1/input/input21
<6>[ 1045.990290] [c1] hid-multitouch 0003:AAEC:C021.0020: input: USB HID v1.00 Mouse [Multi touch   Multi touch overlay device] on usb-12120000.usb-1/input1
<6>[ 1046.002836] [c1] usb 2-1: USB disconnect, device number 14
<4>[ 1046.003268] [c0] usb 2-1: ctrl urb status -62 received
<6>[ 1047.514260] [c1] usb 2-1: new full-speed USB device number 15 using exynos-ohci
<3>[ 1047.741325] [c0] hid-generic 0003:AAEC:C021.0021: device has no listeners, quitting
<4>[ 1047.759276] [c0] usb 2-1: ctrl urb status -62 received
<4>[ 1047.763265] [c0] usb 2-1: ctrl urb status -62 received
<4>[ 1047.768257] [c0] usb 2-1: ctrl urb status -62 received
<4>[ 1047.774262] [c0] usb 2-1: ctrl urb status -62 received
<6>[ 1047.779268] [c0] input: Multi touch   Multi touch overlay device as /devices/12120000.usb/usb2/2-1/2-1:1.1/input/input22
<6>[ 1047.791991] [c0] hid-multitouch 0003:AAEC:C021.0022: input: USB HID v1.00 Mouse [Multi touch   Multi touch overlay device] on usb-12120000.usb-1/input1
<6>[ 1047.804735] [c0] usb 2-1: USB disconnect, device number 15
<4>[ 1047.809577] [c0] usb 2-1: ctrl urb status -62 received
<6>[ 1049.314255] [c0] usb 2-1: new full-speed USB device number 16 using exynos-ohci
<3>[ 1049.541296] [c0] hid-generic 0003:AAEC:C021.0023: device has no listeners, quitting
<4>[ 1049.559251] [c0] usb 2-1: ctrl urb status -62 received
<4>[ 1049.563236] [c0] usb 2-1: ctrl urb status -62 received
<4>[ 1049.568236] [c0] usb 2-1: ctrl urb status -62 received
<4>[ 1049.574245] [c0] usb 2-1: ctrl urb status -62 received
<6>[ 1049.579147] [c0] input: Multi touch   Multi touch overlay device as /devices/12120000.usb/usb2/2-1/2-1:1.1/input/input23
<6>[ 1049.592019] [c0] hid-multitouch 0003:AAEC:C021.0024: input: USB HID v1.00 Mouse [Multi touch   Multi touch overlay device] on usb-12120000.usb-1/input1
<6>[ 1049.604683] [c0] usb 2-1: USB disconnect, device number 16
<4>[ 1049.609611] [c0] usb 2-1: ctrl urb status -62 received
<6>[ 1051.114253] [c2] usb 2-1: new full-speed USB device number 17 using exynos-ohci
<3>[ 1051.341382] [c0] hid-generic 0003:AAEC:C021.0025: device has no listeners, quitting
<4>[ 1051.358333] [c0] usb 2-1: ctrl urb status -62 received
<4>[ 1051.362319] [c0] usb 2-1: ctrl urb status -62 received
<4>[ 1051.367325] [c0] usb 2-1: ctrl urb status -62 received
<4>[ 1051.373320] [c0] usb 2-1: ctrl urb status -62 received
<6>[ 1051.379565] [c0] input: Multi touch   Multi touch overlay device as /devices/12120000.usb/usb2/2-1/2-1:1.1/input/input24
<6>[ 1051.390428] [c0] hid-multitouch 0003:AAEC:C021.0026: input: USB HID v1.00 Mouse [Multi touch   Multi touch overlay device] on usb-12120000.usb-1/input1
<6>[ 1051.404106] [c0] usb 2-1: USB disconnect, device number 17
<4>[ 1051.408160] [c0] usb 2-1: ctrl urb status -62 received
<6>[ 1052.914245] [c1] usb 2-1: new full-speed USB device number 18 using exynos-ohci
<3>[ 1053.141322] [c0] hid-generic 0003:AAEC:C021.0027: device has no listeners, quitting
<4>[ 1053.159276] [c0] usb 2-1: ctrl urb status -62 received
<4>[ 1053.163261] [c0] usb 2-1: ctrl urb status -62 received
<4>[ 1053.168256] [c0] usb 2-1: ctrl urb status -62 received
<4>[ 1053.174269] [c0] usb 2-1: ctrl urb status -62 received
<6>[ 1053.179208] [c1] input: Multi touch   Multi touch overlay device as /devices/12120000.usb/usb2/2-1/2-1:1.1/input/input25
<6>[ 1053.190640] [c1] hid-multitouch 0003:AAEC:C021.0028: input: USB HID v1.00 Mouse [Multi touch   Multi touch overlay device] on usb-12120000.usb-1/input1
<6>[ 1053.203170] [c1] usb 2-1: USB disconnect, device number 18
<4>[ 1053.203268] [c0] usb 2-1: ctrl urb status -62 received
<6>[ 1054.714249] [c1] usb 2-1: new full-speed USB device number 19 using exynos-ohci
<3>[ 1054.940355] [c0] hid-generic 0003:AAEC:C021.0029: device has no listeners, quitting
<4>[ 1054.957303] [c0] usb 2-1: ctrl urb status -62 received
<4>[ 1054.961294] [c0] usb 2-1: ctrl urb status -62 received
<4>[ 1054.966289] [c0] usb 2-1: ctrl urb status -62 received
<4>[ 1054.972288] [c0] usb 2-1: ctrl urb status -62 received
<6>[ 1054.977189] [c0] input: Multi touch   Multi touch overlay device as /devices/12120000.usb/usb2/2-1/2-1:1.1/input/input26
<6>[ 1054.988748] [c2] hid-multitouch 0003:AAEC:C021.002A: input: USB HID v1.00 Mouse [Multi touch   Multi touch overlay device] on usb-12120000.usb-1/input1
<4>[ 1055.001299] [c0] usb 2-1: ctrl urb status -62 received
<6>[ 1055.001365] [c2] usb 2-1: USB disconnect, device number 19


But unfortunately it seems that every time we build kernel with above code we end up with not working touch device and also no ethernet drivers and no wifi driver also.

please if someone can shed light on how we are going wrong here it would be greatly appreciated. i'm sure we are close.
mdpc
 
Posts: 2
Joined: Wed Jul 06, 2016 6:17 pm
languages_spoken: english
ODROIDs: XU4

Re: Adding Multitouch USB to XU4 kernel

Unread postby odroid » Thu Jul 07, 2016 10:45 am

Did you follow this instruction?
http://odroid.com/dokuwiki/doku.php?id= ... ndroid#xu4

@Riiio
You needed a USB-UART console access.

@mdpc
You needed to copy compiled .ko file into /system/lib/modules/ directory.
User avatar
odroid
Site Admin
 
Posts: 29098
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Adding Multitouch USB to XU4 kernel

Unread postby Riiio » Thu Jul 07, 2016 7:25 pm

UART *has just arrived* in the post.
--
We have copied .ko files to system/lib/modules/ using voodik's method.

find . -name *.ko -exec adb push {} /system/lib/modules/ \; */Pushing Modules
adb push /arch/arm/boot/zImage system/lib/modules */ Pushing Kernel.

8 .ko files were copied alongside zImage.

Is this correct?


---
Another point to mention is during this stage..
busybox dd conv=notrunc seek=2455 bs=512 if=zImage of=/dev/block/mmcblk0
..We are replacing "seek=2455" with "seek=1263"
---
We also push VID_##PID_##.idc to /system/usr/idc

Thanks for your time.
Riiio
 
Posts: 28
Joined: Thu Jun 30, 2016 12:56 am
languages_spoken: english
ODROIDs: XU4

Re: Adding Multitouch USB to XU4 kernel

Unread postby odroid » Fri Jul 08, 2016 8:39 am

Try to update the kernel image (zImage-dtb) in u-boot prompt via "movi write kernel command" as described in the WiKi.
http://odroid.com/dokuwiki/doku.php?id= ... ndroid#xu4
User avatar
odroid
Site Admin
 
Posts: 29098
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Adding Multitouch USB to XU4 kernel

Unread postby Riiio » Sat Jul 09, 2016 9:00 pm

Ok.
We followed your instructions, loaded using movi write..
The kernel loaded, but the wifi and ethernet were not working (no touch).

To try understand where we were going wrong, We re-installed everything and tried to find the issue.
We compile the kernel using 'make' without edits, the kernel works. With wifi and ethernet.
We compile the kernel using 'make' and make menuconfig, embedding the drivers (OdroidMag2.14) one by one, the kernel works. With wifi and ethernet.
However, when we compile the kernel with edits to the hid.ids and hid.multitouch files, the kernel loads without wifi or ethernet.

Why is this? are we missing something simple?
I've looked through the forums about the issue, i'll try a few potential solutions and edit this post as I progress.
Attachments
nowifieth log.txt
(67.69 KiB) Downloaded 76 times
Riiio
 
Posts: 28
Joined: Thu Jun 30, 2016 12:56 am
languages_spoken: english
ODROIDs: XU4

Re: Adding Multitouch USB to XU4 kernel

Unread postby odroid » Tue Jul 12, 2016 10:12 am

Once you compile the Kernel, compiled ko modules must be copied into /system/lib/modules/ directory again.
User avatar
odroid
Site Admin
 
Posts: 29098
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Adding Multitouch USB to XU4 kernel

Unread postby Riiio » Wed Jul 27, 2016 4:07 am

Thanks Odroid team for your time here. The issue has been solved.
Riiio
 
Posts: 28
Joined: Thu Jun 30, 2016 12:56 am
languages_spoken: english
ODROIDs: XU4


Return to Android

Who is online

Users browsing this forum: No registered users and 4 guests