Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Ubuntu Jaunty and adb not playing well together
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  18 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Zigurd  
View profile  
 More options Apr 15 2009, 3:56 pm
From: Zigurd <zigurd.medni...@gmail.com>
Date: Wed, 15 Apr 2009 12:56:03 -0700 (PDT)
Local: Wed, Apr 15 2009 3:56 pm
Subject: Ubuntu Jaunty and adb not playing well together
Trying to get an Ubuntu Jaunty system to talk to a dev phone. I have
the 1.5 sdk and the new master branch of the sources.

 If I change the udev rules to:

SUBSYSTEM=="usb", ATTRS{idVendor}=="0bb4", MODE="0666"

...I'm able to mount the memory card and read and write to it. But the
command:

adb devices

...shows only the emulator (so adb appears to work with the new sdk),
but not the handset.

Any ideas?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Turner  
View profile  
 More options Apr 15 2009, 4:03 pm
From: David Turner <di...@android.com>
Date: Wed, 15 Apr 2009 22:03:28 +0200
Local: Wed, Apr 15 2009 4:03 pm
Subject: Re: [android-developers] Ubuntu Jaunty and adb not playing well together

I believe there is a conflict in latest versions of Ubuntu, try to rename
your 50-android-something
rule file to 51-android-something, because Ubuntu recently added another
50-something file that
appears to be resetting/overriding the definitions here.

Let us know if this works.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Zigurd  
View profile  
 More options Apr 15 2009, 4:27 pm
From: Zigurd <zigurd.medni...@gmail.com>
Date: Wed, 15 Apr 2009 13:27:44 -0700 (PDT)
Local: Wed, Apr 15 2009 4:27 pm
Subject: Re: Ubuntu Jaunty and adb not playing well together
There does not appear to be another udev rules file starting with 50
in Ubuntu Jaunty.

I did find a workaround that works: Remove (or comment-out) the udev
rule, and set permissions on adb to run as root. Rebooted, and now
"adb devices" results in...

* daemon not running. starting it now *
* daemon started successfully *
List of devices attached
HT91RLZ01056    device

...I just got this result moments ago, so I have not checked that
everything depending on this functions correctly, but it's progress
relative to where I was.

On Apr 15, 4:03 pm, David Turner <di...@android.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Zigurd  
View profile  
 More options Apr 15 2009, 4:36 pm
From: Zigurd <zigurd.medni...@gmail.com>
Date: Wed, 15 Apr 2009 13:36:49 -0700 (PDT)
Local: Wed, Apr 15 2009 4:36 pm
Subject: Re: Ubuntu Jaunty and adb not playing well together
My not-very-elegant "solution" indicates this is a permission issue.
The udev rule appears to set permissions, so it probably isn't being
run. It would be nice to verify the udev rule match, but I'm a udev
n00b and can't find what the ATTRS (formerly SYSFS) rule is supposed
to match.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
DavidG  
View profile  
 More options Apr 24 2009, 1:16 am
From: DavidG <dgu...@gmail.com>
Date: Thu, 23 Apr 2009 22:16:24 -0700 (PDT)
Local: Fri, Apr 24 2009 1:16 am
Subject: Re: Ubuntu Jaunty and adb not playing well together
I just reformatted and installed Ubuntu 9.04 (Jaunty) and I appear to
be experiencing this same issue. My G1 just isn't recognized, but it
worked fine in Ubuntu 8.10. What exactly is the process to get things
working again in 9.04?

On Apr 15, 3:36 pm, Zigurd <zigurd.medni...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Xavier Le Vourch  
View profile  
 More options Apr 24 2009, 2:49 am
From: Xavier Le Vourch <xavier.levou...@xlv-labs.com>
Date: Thu, 23 Apr 2009 23:49:13 -0700
Local: Fri, Apr 24 2009 2:49 am
Subject: Re: [android-developers] Re: Ubuntu Jaunty and adb not playing well together

DavidG wrote:
> I just reformatted and installed Ubuntu 9.04 (Jaunty) and I appear to
> be experiencing this same issue. My G1 just isn't recognized, but it
> worked fine in Ubuntu 8.10. What exactly is the process to get things
> working again in 9.04?

I just had the same problem. With some help from the #android irc
channel, I managed to get it working using:

cp /etc/udev/rules.d/50-android.rules /etc/udev/rules.d/51-android.rules

/etc/init.d/udev reload

Xavier

--
XLV Labs

Publisher of "Who Called?", Caller Id application for Android phones:

http://www.xlv-labs.com/whocalled


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
DavidG  
View profile  
 More options Apr 24 2009, 10:19 am
From: DavidG <dgu...@gmail.com>
Date: Fri, 24 Apr 2009 07:19:07 -0700 (PDT)
Local: Fri, Apr 24 2009 10:19 am
Subject: Re: Ubuntu Jaunty and adb not playing well together
Thanks Xavier! That seemed to do the trick, except I moved the file
instead of copying it.

On Apr 24, 1:49 am, Xavier Le Vourch <xavier.levou...@xlv-labs.com>
wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
YC  
View profile  
 More options Apr 23 2009, 11:04 pm
From: YC <lep...@gmail.com>
Date: Thu, 23 Apr 2009 20:04:07 -0700 (PDT)
Local: Thurs, Apr 23 2009 11:04 pm
Subject: Re: Ubuntu Jaunty and adb not playing well together
Hi,
I had the same problem.
I was very skeptical about renaming the file to 51-android.rules,
because as you said, there are no other files with a name starting
with 50-...
but well, I tried, thinking that maybe, in some other directories, or
whatever...
And it solved my problem !

Hope it will work for you as well !

Best.

On Apr 15, 4:36 pm, Zigurd <zigurd.medni...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Toby Stafford  
View profile  
 More options Apr 28 2009, 9:24 pm
From: Toby Stafford <tobius.maxi...@gmail.com>
Date: Tue, 28 Apr 2009 18:24:37 -0700 (PDT)
Local: Tues, Apr 28 2009 9:24 pm
Subject: Re: Ubuntu Jaunty and adb not playing well together
Hi everyone,

I am also having problems with Jaunty/Android 1.5.

I currently have 1.1 installed on my phone. It is the dev phone.

I am using Jaunty x86_64, and have installed the ia32-libs package.

I ran adb server as root with a "sudo adb start-server," and I'm able
to see my device using "adb devices." Following the HTC update guide
(http://www.htc.com/www/support/android/adp.html) I next try to push
the ota-radio image to the phone using "adb push ..." and nothing
happens. The command appears to hang.

I tried mounting using the phone's software, and I'm able to browse
the sdcard in Nautilus, but any attempt to modify the sdcard results
in another hang.

I tried reboot the phone and the computer. I've been unable to find
any information on the Internet similar to this problem. Is there
something else I can do to find some more diagnostic information to
get past this problem?

Thanks in advance,
  Toby


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mark Doliner  
View profile  
 More options May 8 2009, 9:41 pm
From: Mark Doliner <mark.doli...@gmail.com>
Date: Fri, 8 May 2009 18:41:17 -0700 (PDT)
Local: Fri, May 8 2009 9:41 pm
Subject: Re: Ubuntu Jaunty and adb not playing well together
I can also confirm that this solved my problem.  Perhaps someone can
add a note to the Linux info at http://developer.android.com/guide/developing/device.html
?

-Mark

On Apr 23, 8:04 pm, YC <lep...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
avrono  
View profile  
 More options May 15 2009, 8:36 pm
From: avrono <avr...@mail.com>
Date: Fri, 15 May 2009 17:36:55 -0700 (PDT)
Local: Fri, May 15 2009 8:36 pm
Subject: Re: Ubuntu Jaunty and adb not playing well together
All,

I had the same problem .... however I cannot seem to get the same
working result.

I have /etc/udev/rules.d/51-android.rules

SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"

chmod a+rw 51-android.rules

/ect/init.d/udev reload

adb devices shows nothing except
emulator-5554   device

Any ideas ? I also tried changing the permsissions on adb to be root,
root

On May 8, 9:41 pm, Mark Doliner <mark.doli...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
avrono  
View profile  
 More options May 15 2009, 8:41 pm
From: avrono <avr...@mail.com>
Date: Fri, 15 May 2009 17:41:23 -0700 (PDT)
Local: Fri, May 15 2009 8:41 pm
Subject: Re: Ubuntu Jaunty and adb not playing well together
All,

I had the same problem .... however I cannot seem to get the same
working result.

I have /etc/udev/rules.d/51-android.rules

SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"

chmod a+rw 51-android.rules

/ect/init.d/udev reload

adb devices shows nothing except
emulator-5554   device

Any ideas ? I also tried changing the permsissions on adb to be root,
root

On May 8, 9:41 pm, Mark Doliner <mark.doli...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
avrono  
View profile  
 More options May 15 2009, 8:43 pm
From: avrono <avr...@mail.com>
Date: Fri, 15 May 2009 17:43:22 -0700 (PDT)
Local: Fri, May 15 2009 8:43 pm
Subject: Re: Ubuntu Jaunty and adb not playing well together
Rather odd,

After completing the above procedure and trying to browse the SD card
unsuccessfully a few times (unable to mount error)
It popped to life, i.e once I could see the SD card adb also started
working ...

Any explanation ?

On May 15, 9:36 pm, avrono <avr...@mail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tom  
View profile  
 More options Jun 12 2009, 1:23 am
From: Tom <tom.gradw...@gmail.com>
Date: Thu, 11 Jun 2009 22:23:01 -0700 (PDT)
Local: Fri, Jun 12 2009 1:23 am
Subject: Re: Ubuntu Jaunty and adb not playing well together
Try running adb as root
./adb kill-server;./adb devices
If you then see the dev phone you could ; chown root.root adb;chmod
4777 adb
This will run adb as root automagically.

Tom

On Apr 16, 5:56 am, Zigurd <zigurd.medni...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Anidel  
View profile  
 More options Jul 2 2009, 7:34 pm
From: Anidel <ani...@gmail.com>
Date: Thu, 2 Jul 2009 16:34:17 -0700 (PDT)
Local: Thurs, Jul 2 2009 7:34 pm
Subject: Re: Ubuntu Jaunty and adb not playing well together
On May 16, 1:41 am, avrono <avr...@mail.com> wrote:

> All,

> I had the same problem .... however I cannot seem to get the same
> working result.

> I have /etc/udev/rules.d/51-android.rules

> SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"

Use ATTRS instead of SYSFS.

SUBSYSTEM=="usb", ATTRS{idVendor}=="0bb4", MODE="0666"

Then be sure to:

> chmod a+rw 51-android.rules

and finally:

> /ect/init.d/udev reload

--
anidel

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
poekie3000  
View profile  
 More options Aug 12 2009, 1:51 pm
From: poekie3000 <jaap...@gmail.com>
Date: Wed, 12 Aug 2009 10:51:23 -0700 (PDT)
Local: Wed, Aug 12 2009 1:51 pm
Subject: Re: Ubuntu Jaunty and adb not playing well together
I had the same problem with adb and jaunty.

What worked for me was to add “SYMLINK+=”android_adb”" to the rules
file so it would read:
SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", SYMLINK+="android_adb",
MODE="0666"

And I also use 51 as the number.

This solution is described here:
http://eddieringle.com/debugging-your-android-application-on-the-g1-o...

On 3 jul, 01:34, Anidel <ani...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rino  
View profile  
 More options Aug 29 2009, 6:03 am
From: Rino <renaud.chail...@gmail.com>
Date: Sat, 29 Aug 2009 03:03:47 -0700 (PDT)
Local: Sat, Aug 29 2009 6:03 am
Subject: Re: Ubuntu Jaunty and adb not playing well together
Here's what works for me on Ubuntu Karmic with my Htc Dream (Vendor ID
0bb4 as seen with 'lsusb') :
- device in usb debug mode (settings/applications/developpment/)

- in file /etc/udev/rules.d/51-android.rules :
SUBSYSTEM==”usb”,ATTRS(idVendor)==”0bb4“,SYMLINK
+="android_adb",MODE=”0666″

- chmod a+x /etc/udev/rules.d/51-android.rules (don't think it's
necessary, though)

- killall adb

- /etc/init.d/udev restart ; /etc/init.d/udev-finish restart

- adb in $PATH

Now 'adb devices' lists my device.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Christine  
View profile  
 More options Aug 30 2009, 8:14 am
From: Christine <christine.kar...@gmail.com>
Date: Sun, 30 Aug 2009 05:14:08 -0700 (PDT)
Local: Sun, Aug 30 2009 8:14 am
Subject: Re: Ubuntu Jaunty and adb not playing well together
Renaming the rules file to -51- worked for me on my desktop computer,
but not on my laptop. On my laptop, I renamed to 99, then it worked.
There's a bug in Ubuntu, the software for one of the lower number
rules does something that's not finished when rule 50 gets fired. I
guess the slower your computer, the more time you need to give this
feature to finish.

On Aug 29, 12:03 pm, Rino <renaud.chail...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »