SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Just wondering if anyone else is developing apps for Android on Slackware? I'm hoping to try my hand at it soon, but for some reason, I can't get "adb devices" to show my device. It just displays a blank line.
When I use lsusb, my device is shown though so I don't see what's wrong. Mounting on Slackware has always been somewhat of a nightmare for me, so that might be what's going wrong here. Anyone have any idea?
Have you added the appropriate lines to the UDEV rules, or else started the ADB server as root? By default, the device will not be accessible by a normal user account, so it wouldn't show up under "adb devices" even if it was properly detected.
Have you added the appropriate lines to the UDEV rules, or else started the ADB server as root? By default, the device will not be accessible by a normal user account, so it wouldn't show up under "adb devices" even if it was properly detected.
have same problem... adb running on multilibrary system... lsusb is showing my phone but adb devices is clear
udev rules applied
You have to start the adb server as root if you are unable to get a device listing using "adb devices". I have to do so myself.
For instance, when I run "adb devices" I get this output:
Code:
$ adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
???????????? no permissions
Then, run this:
Code:
$ adb kill-server
$ sudo adb start-server
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
$ adb devices
List of devices attached
SH226TJ00810 device
You have to start the adb server as root if you are unable to get a device listing using "adb devices". I have to do so myself.
For instance, when I run "adb devices" I get this output:
Code:
$ adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
???????????? no permissions
Then, run this:
Code:
$ adb kill-server
$ sudo adb start-server
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
$ adb devices
List of devices attached
SH226TJ00810 device
Eric
aye! done that... so again:
phone htc desire s (saga)
is showing different lsusb when fastboot or when conected normaly running (that's normal)
when normaly running adb does notice the phone, once in fastboot mode adb devices is blank not even permission problem
Ah, you did not give us dull details in your first post then!
The "adb devices" does not work for devices which are in fastboot mode. Instead you should use the commmand "fastboot devices" to get a listing of the attached device when it is in fastboot mode.
Ah, you did not give us dull details in your first post then!
The "adb devices" does not work for devices which are in fastboot mode. Instead you should use the commmand "fastboot devices" to get a listing of the attached device when it is in fastboot mode.
Eric
Erick cheers... Thank you... Once again detailed info is a detailed info... I'll improve thank you...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.