← Back to team overview

ubuntu-phone team mailing list archive

Re: adb devices -l - no device found

 

Hi konrad,

Attached are a few troubleshooting tips using udev and sample udev
configuration file. This had worked for me in latest ubuntu 15.10 (with
BQ 5)

Not sure if Ubuntu 14.04 had udev support nor not though

Hope it helps

Thanks and Regards,
Suchindra Chandrahas

On Wednesday 16 December 2015 09:47 PM, Konrad Hofer wrote:
> Hi,
> 
> I updated to OTA8.5, thanks very much to all involved.
> When I connect the bq 4.5 via usb, I don't see it using lsusb,
> no access to the files via filemanager either.
> Developer mode is enabled. Running Ubuntu 14.04 64bit
> 
> Any ideas what I could try/do?
> 
> thanks a lot
> konrad
> 
> 
* Run 'lsusb' and get the device product ID and vendor ID (say <productID> and <vendorID>)
* Edit /etc/udev/rules.d/51-android.rules and enter the following:

SUBSYSTEMS=="usb", ATTR{idProduct}=="<productID>",  ATTR{idVendor}=="<vendorID>", MODE="0666", GROUP="plugdev"

For example:

SUBSYSTEMS=="usb", ATTRS{idVendor}=="1782", ATTRS{idProduct}=="5d27", MODE:="0666", GROUP="plugdev"

* Edit ~/.android/adb_usb.ini and enter the following:

<vendorID>

For example:

0xab72

* Run the following commands:

#
# Add your username to group plugdev
#
sudo useradd -G plugdev <user name>

#
# Logout and login to the system
#

#
# Reload udev rules
#
sudo udevadm control --reload-rules

#
# Restart udev service
#
sudo service udev restart

#
# trigger
#
sudo udevadm trigager

#
# Adb restart
#
adb kill-server
adb start-server
adb devices
# ATTRS{idVendor}=="2a47", ATTRS{idProduct}=="0c02", ENV{ID_MM_DEVICE_IGNORE}="1"
# ATTRS{idVendor}=="2a47", ATTRS{idProduct}=="0c02", ENV{MTP_NO_PROBE}="1"
# SUBSYSTEMS=="usb", ATTRS{idVendor}=="2a47", ATTRS{idProduct}=="0c02", MODE:="0666"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1782", ATTRS{idProduct}=="5d27", MODE:="0666", GROUP="plugdev"
# KERNEL=="ttyUSB*", ATTRS{idVendor}=="2a47", ATTRS{idProduct}=="0c02", MODE:="0666"

References