ADB doesn't detect device


#1

Hi,

I hope you guys can help me. I’m new to Linux, so this may be a very easy question, but I just can’t get ADB to detect my device. ‘adb devices’ just doesn’t show any device, the list stays empty:
isabel@isabel-F3Sv:/etc$ adb devices
List of devices attached

I did create the Udev rules:
In the file /etc/udev/rules.d/51-android.rules insert the following two lines and
save:
SUBSYSTEM==“usb”, ATTRS{idVendor}==“1199”, MODE="0666"
SUBSYSTEM==“usb”, ATTRS{idVendor}==“18d1”, MODE=“0666”

and registered my device:
Execute:
$ sudo gedit ~/.android/adb_usb.ini
Add this lines:

ANDROID 3RD PARTY USB VENDOR ID LIST

1 USB VENDOR ID PER LINE.

0x1199
0x18D1
Exit gedit and restart ADB server:
adb kill-server adb start-server

using lsusb I can see my device:
isabel@isabel-F3Sv:/etc$ lsusb
Bus 001 Device 002: ID 174f:6a31 Syntek Web Cam - Asus A8J, F3S, F5R, VX2S, V1S
Bus 002 Device 004: ID 1199:68c0 Sierra Wireless, Inc.
Bus 004 Device 002: ID 0b05:1712 ASUSTek Computer, Inc. BT-183 Bluetooth 2.0+EDR adapter
Bus 007 Device 002: ID 08ff:1600 AuthenTec, Inc. AES1600
Bus 001 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 003 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 005 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 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Using Minicom ttyACM0 I can also give AT-commands to the WP, so something is alive over the USB, but ADB just won’t see it.

If you have any suggestions to make ADB recognize the WP, please let me know.

Thanks in advance,

Isabel.


#2

Hi Isabel,

it’s possible the device has not adb enabled, is it the default Linux image ?

Is there a tty on the UART1 port on the Dev Kit ?

Also, I found that the ‘sierra’ Linux module sometimes prevent adb accessing devices, so you can also try removing it by doing:

sudo rmmod sierra


#3

Hi Isabel,

ADB doesn’t work on Linux with these devices. Fastboot works, but you won’t be able to use the ADB shell. You have much better alternatives (namely ssh) anyway, so you shouldn’t need ADB. You can use ECM to get an IP address over USB, or you can use the Ethernet connection and have your device appear on your LAN.

Regards,
Andrew