USB drivers on Linux??

Jerry Hildenbrand

Space Cowboy
Staff member
Oct 11, 2009
5,569
2,797
113
Visit site
there are no drivers, or htc sync for linux.

Make sure you have the latest Sun jre installed
Extract the SDK
if Ubuntu --
Code:
sudo su
<password>
cd /path to SDK/tools/
./adb kill-server
./adb start-server
exit

then try adb with your user account
 

gbm85

Well-known member
Jun 10, 2010
95
1
0
Visit site
Yeah every time you reboot your computer or stop the adb server, you have to run adb start-server as root or through sudo. Otherwise it won't be able to access any devices.
 

gksmithlcw

Software Engineer
Jun 5, 2010
439
9
18
Visit site
there are no drivers, or htc sync for linux.

Make sure you have the latest Sun jre installed
Extract the SDK
if Ubuntu --
Code:
sudo su
<password>
cd /path to SDK/tools/
./adb kill-server
./adb start-server
exit

then try adb with your user account

Yeah every time you reboot your computer or stop the adb server, you have to run adb start-server as root or through sudo. Otherwise it won't be able to access any devices.

Thanks guys.
 

Jerry Hildenbrand

Space Cowboy
Staff member
Oct 11, 2009
5,569
2,797
113
Visit site
Thanks guys.

No problem!

This is a great place to practice bash scripting ;)

open a term, su to root, enter pwd, cd to dir, stop/start server, exit root shell, cd back to dir as user.

And there's a few of us Linuxiots here, so shout out when you hit the next inevitable snag lol
 

gksmithlcw

Software Engineer
Jun 5, 2010
439
9
18
Visit site
No problem!

This is a great place to practice bash scripting ;)

open a term, su to root, enter pwd, cd to dir, stop/start server, exit root shell, cd back to dir as user.

And there's a few of us Linuxiots here, so shout out when you hit the next inevitable snag lol

Well... The snag is... I'm getting the following:

List of devices attached
???????????? no permissions

Do I need to sudo just to access the device?
 

Jerry Hildenbrand

Space Cowboy
Staff member
Oct 11, 2009
5,569
2,797
113
Visit site
64 bit system?

if so, delete your extracted SDK folder (keep the downloaded file)

apt-get install ia32-libs

then re-extract the sdk and try again.
 

gksmithlcw

Software Engineer
Jun 5, 2010
439
9
18
Visit site
64 bit system?

if so, delete your extracted SDK folder (keep the downloaded file)

apt-get install ia32-libs

then re-extract the sdk and try again.

It is a 64 bit system, yes. But I already have the latest version of ia32-libs installed.

Could it be because I'm using OpenJava and not the Sun Java JRE? If so, how the hell do I get the Sun JRE on Lucid Lynx? I can't seem to find it...
 

Jerry Hildenbrand

Space Cowboy
Staff member
Oct 11, 2009
5,569
2,797
113
Visit site
You have to use Sun java (yeah, strange choice for OSS I know)

edit /etc/apt/sources.list
add this line at the end:
Code:
deb http://archive.canonical.com/ lucid partner

then update apt

Code:
sudo apt-get update


Then you can install sun java by
Code:
sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts

After it's done, run
Code:
sudo update-alternatives --config java

to choose which java install to use. Hopefully this will fix you up
 

Trending Posts

Forum statistics

Threads
943,088
Messages
6,917,203
Members
3,158,815
Latest member
kemberley1