OS: openSUSE 12.1
KDE 4.7.2
phone: LG Optimus V, configured with debugging enabled
Problem:
ADB (from the Android SDK) does not seem to work. As usual, the test command is “adb devices” which should return a list of any recognized devices, but instead returns an empty list. I find it interesting that despite ADB not working, the LG phone is properly recognized on auto-detect, an appropriate udev rule and entry is created, and the phone’s storage is mountable without any special effort. If so much automatically works, why does ADB not work?
**
Have inspected the following Forum threads and tried their solutions:**
1.Create a Vendor entry in adb_usb.ini
0x1004
- Modified udev Android Rules
Somehow a rule was already created as follows
SUBSYSTEM=="usb", ATTR{idVendor}=="1004", MODE="0666", GRO:UP="plugdev"
Changed the rule to recommended
SUBSYSTEM=="usb" , SYSFS{idVendor}=="1004" , MODE="6310" , OWNER="user"
Also tried with both enries in the same udev rule
Although the Forum post recommended reloading the udev rules, I’ve verified and consistent with documentation it’s not necessary, I also verified udev is utilized by both “Device Notifier” and KDE Dolphin to auto-detect and mount the phone.
http://forums.opensuse.org/forums/english/other-forums/development/programming-scripting/466987-android-adb-fails-recognize-usb-connected-phone.html
I’ve tested with both the phone mounted as mass storage and not mounted, no diff.
Curiously, I’m surprised that openSUSE recognizes the device properly and identifies, is listed by lsusb and YAST Hardware information. At first I suspected perhaps a faulty driver supporting only mass storage, but if “Hardware Information” is accurate then the driver being used is actually a general purpose communications driver originally designed for modems.
Specific questions:
- Why and what is the purpose of the hidden folder and file? (./android/adb_usb.ini) What process or module is supposed to use this file?
- Although I’m using sysvinit instead of systemd, I seem to remember that with systemd udev is supposed to be deprecated in favor of some kind of systemd services. I can’t seem to find anything on this specific to creating as service similar to the udev Android rules, in fact I find hardly any kind of hard reference information, only “soft” general advice.
Thx,
TS