Trying to debub Android modem from OpenWrt router using attached with no success. Built in put it is not connecting. Does not see android device. Interesting thing is I can connect to the android device IF connected from Ubuntu PC first, then hot swapped to the router
Anyone ever tried to use from OpenWrt? Are there tricks...
From Linux PC -
linux-PC$ sudo adb kill-server
linux-PC$ sudo adb usb
- daemon not running. starting it now on port 5037 *
- daemon started successfully *
restarting in USB mode
linux-PC$ sudo adb tcpip 5555
linux-PC$ sudo adb connect 192.168.1.1
connected to 192.168.1.1:5555
linux-PC$ sudo adb devices
List of devices attached
1234567890 device
192.168.1.1:5555 device
From OpenWrt router
root@router:/# adb kill-server
root@router:/# adb devices
- daemon not running. starting it now on port 5037 *
- daemon started successfully *
List of devices attached
root@router:/# adb usb
error: device not found
root@router:/# adb tcpip 5555
error: device not found
root@router:/# adb connect 192.168.1.1
connected to 192.168.1.1:5555
root@router:/# adb devices
List of devices attached
192.168.1.1:5555 device
From Linux PC -
linux-PC$ sudo adb kill-server
linux-PC$ sudo adb usb
- daemon not running. starting it now on port 5037 *
- daemon started successfully *
restarting in USB mode
linux-PC$ sudo adb tcpip 5555
linux-PC$ sudo adb connect 192.168.1.1
connected to 192.168.1.1:5555
linux-PC$ sudo adb devices
List of devices attached
1234567890 device
192.168.1.1:5555 device
From OpenWrt router
root@router:/# adb kill-server
root@router:/# adb devices
- daemon not running. starting it now on port 5037 *
- daemon started successfully *
List of devices attached
root@router:/# adb usb
error: device not found
root@router:/# adb tcpip 5555
error: device not found
root@router:/# adb connect 192.168.1.1
connected to 192.168.1.1:5555
root@router:/# adb devices
List of devices attached
192.168.1.1:5555 device
USB enumerates
[ 81.103143] usb 2-1: new SuperSpeed USB device number 3 using xhci-hcd
[ 81.123634] usb 2-1: Parent hub missing LPM exit latency info. Power management will be impacted.
[ 81.136085] usb 2-1: New USB device found, idVendor=05c6, idProduct=90f8
[ 81.153478] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 81.165985] usb 2-1: Product: SM8150-MTP _SN:1AB5AD49
[ 81.170037] usb 2-1: Manufacturer: QUALCOMM
[ 81.174634] usb 2-1: SerialNumber: 1234567890
[ 81.204395] cdc_ether 2-1:1.0 usb0: register 'cdc_ether' at usb-xhci-hcd.0.auto-1, CDC Ethernet Device, a2:f9:a2:bd:0a:07
[ 81.230385] GobiSerial 2-1:1.2: GobiSerial converter detected
[ 81.236903] usb 2-1: GobiSerial converter now attached to ttyUSB0
[ 81.253000] GobiSerial 2-1:1.3: GobiSerial converter detected
[ 81.259618] usb 2-1: GobiSerial converter now attached to ttyUSB1
[ 81.276919] GobiSerial 2-1:1.4: GobiSerial converter detected
[ 81.285319] usb 2-1: GobiSerial converter now attached to ttyUSB2
[ 81.296852] GobiSerial 2-1:1.5: GobiSerial converter detected
[ 81.305737] usb 2-1: GobiSerial converter now attached to ttyUSB3
[ 81.334965] GobiSerial 2-1:1.6: GobiSerial converter detected
[ 81.341058] usb 2-1: GobiSerial converter now attached to ttyUSB4
[ 81.352263] GobiSerial 2-1:1.7: GobiSerial converter detected
[ 81.363926] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
[ 81.374822] usb 2-1: GobiSerial converter now attached to ttyUSB5
[ 81.392105] IPv6: ADDRCONF(NETDEV_CHANGE): usb0: link becomes ready
[ 16.921838] i2c_geni 890000.i2c: i2c error :-107
[ 16.926654] i2c_geni 890000.i2c: i2c error :-107
[ 16.931472] i2c_geni 890000.i2c: i2c error :-107
[ 16.936342] msm-usb-ssphy-qmp 88e
root@router:/# ls -la /dev/tty*
crw-r--r-- 1 root root 5, 0 Jan 1 1970 /dev/tty
crw-r--r-- 1 root root 251, 0 Jun 4 18:41 /dev/ttyMSM0
crw-r--r-- 1 root root 249, 0 Jan 1 1970 /dev/ttyQHS0
crw-r--r-- 1 root root 4, 64 Jan 1 1970 /dev/ttyS0
crw-r--r-- 1 root root 4, 65 Jan 1 1970 /dev/ttyS1
crw-r--r-- 1 root root 188, 0 Jun 4 18:40 /dev/ttyUSB0
crw-r--r-- 1 root root 188, 1 Jun 4 18:40 /dev/ttyUSB1
crw-r--r-- 1 root root 188, 2 Jun 4 18:40 /dev/ttyUSB2
crw-r--r-- 1 root root 188, 3 Jun 4 18:40 /dev/ttyUSB3
crw-r--r-- 1 root root 188, 4 Jun 4 18:40 /dev/ttyUSB4
crw-r--r-- 1 root root 188, 5 Jun 4 18:40 /dev/ttyUSB5