jjmilburn
jjmilburn

Reputation: 390

Spreadtrum (Vendor ID 1782) Issues Connecting to adb

I have a phone which is detected by adb on a Mac, but not on my machine. By "not detected", I mean that it does show up in lsusb, but "adb devices" reports a blank list of devices:

adb devices List of devices attached

I have tried the following:

Pertinent Info:

Bus 003 Device 003: ID 1782:5d01 Spreadtrum Communications Inc.

SUBSYSTEM=="usb", ATTR{idVendor}=="1782", MODE="0666", GROUP="plugdev"

I can debug other devices using the same USB port and same cable without an issue, but I'm unsure why this phone won't connect.

Other related issues:

The first link appears similar to this issue, but I don't see any resolution. Does adb consider a list of devices other than what is in the udev rules? Is something else grabbing this device and keeping adb from noticing it?

EDIT - Confirmed that I am a member of the plugdev group: josh@josh-N56VJ:~/Development$ groups josh adm dialout cdrom sudo audio dip plugdev lpadmin sambashare inpdev

Upvotes: 8

Views: 5899

Answers (1)

jjmilburn
jjmilburn

Reputation: 390

Solved, with this universal rule, thanks to this extremely helpful answer:

ACTION=="add", SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{ID_USB_INTERFACES}=="*:ff420?:*", MODE="0666"

ADB not detecting device samsung i777 in ubuntu 12.04

Thanks to @alex-p

Additional Info:

Phone = Blu Dash Jr

EDIT I also needed to manually add the vendor ID (1782) to the ~/.android/adb_usb.ini file, as follows:

# ANDROID 3RD PARTY USB VENDOR ID LIST -- DO NOT EDIT.
# USE 'android update adb' TO GENERATE.
# 1 USB VENDOR ID PER LINE.
0x1782

Still not sure where the vendor ID list is supposed to be edited since the file tells me not to, but this works.

Upvotes: 7

Related Questions