A whole line of tablets don't show at ADB devices anymore (they worked just fine one week ago). Other Android devices do work (like my Nexus 5 phone). This is first time I face this problem. I've read and tried most solutions I've found at SO and other sites to no avail. Here's the situation:
lsusb
as Bus 010 Device 004: ID 18d1:dddd Google Inc.
./etc/udev/rules.d/51-android.rules
and added SUBSYSTEM=="usb", ATTRS{idVendor}=="18d1", MODE="0666"
(and several other attribute combinations here).udev
via sudo service udev restart
.A strange thing is that even if I empty /etc/udev/rules.d/51-android.rules
file and restart the udev
daemon, adb
still detects my Nexus 5 phone.
Changes I remember I did before this problem started to happen:
udev
changes/problem here?)Any further suggestions are welcome, thanks in advance.
EDIT: When running lsusb -v
as suggested in the comments, I can see this description:
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk-Only
iInterface 1 Mass Storage
while the Nexus 5 shows as
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 0
iInterface 4 MTP
EDIT: The tablets are working perfectly through ADB in other computers (Windows and Linux). So it must be a problem with my box.
EDIT: As suggested in the comments, I tried ADB in TCP mode and works fine. After running dmesg
I can see the system is trying to load the Windows driver for ADB using ndiswrapper
[277701.803751] usb 1-4: reset high-speed USB device number 48 using ehci-pci
[277701.952803] ndiswrapper (load_wrap_driver:103): couldn't load driver android_winusb; check system log for messages from 'loadndisdriver'
This message doesn't show on the other Linux boxes where ADB works fine through USB.
Since the same devices work on other PCs, you can already rule out hardware issues on the tablets' side. Further things to check are:
$ pkill adb
$ sudo adb devices
lsusb
and other functionality works as expected. Running dmesg
should give you the required information to solve your problem, likely it's an interfering device driver. Try unloading it using rmmod
/modprobe
.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With