[android-developers] Re: What kind of device should Linux udev set up for G1 linked via USB
Thanks for all the tips guys... I used the following on Ubuntu 8.10 and got it working. SUBSYSTEM==usb, ATTR{idVendor}==0bb4, SYMLINK+=android_adb, MODE=0666 But I couldn't get the udevcontrol command to work as suggested on the link above. well, just used the oldest trick in the book - REBOOT and it worked. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: What kind of device should Linux udev set up for G1 linked via USB
Hi Faber Well trying again after this post, i did have some sucess On fedora 10. I am using /etc/udev/rules.d/50-android.rules file : SUBSYSTEM==usb,ATTR{idVendor}==0bb4,ATTR{idProduct} ==0c01,MODE=0666, SYMLINK+=android_adb,OWNER=graeme,GROUP=graeme A Guy on IRC #android-dev said I should run adb with root permissions so: adb kill-server; sleep 1; sudo adb start-server; and this seemed to work for me. For the first time adb did actually see my G1 ! HTH Rgds graeme 15:42:03 vol make sure that the checkmark to allow debugging on device is checked in the settings On Jan 26, 3:47 pm, Faber Fedor faberfe...@gmail.com wrote: Because misery loves company...I was never able to get my CentOS box or my Ubuntu VM to see my Dev phone as anything other than a SCSI storage device either. :-( What I ended up doing is developing on my CentOS desktop and then transferring everything over to my Macbook to get my app on my Dev phone. You can try asking in the #android IRC channel on freenode.net. Supposedly there are many people from Google who hang out there, although that didn't help me any. Let me know if you have any success. On Mon, Jan 26, 2009 at 10:07 AM, Graeme graeme.br...@btinternet.comwrote: Hi I am trying to get adb to see my Android G1 Dev Phone when I attach it to a Fedora 10 x86 Linux PC. I have followed recommendations about adding a 50- android.rules file in /etc/udev/rules.d directory. I have also enabled the applications debug mode under the G1's Settings/Applications menu. On the Fedora 10 x86 PC I run tail -f /var/log/messages and watch the output as I attach the G1 via USB. The G1 is set up as a SCSI mass storage by udev. Is this what should happen ? Can anyone from Google answer what kind of device should udev set up so that the command adb devices actually sees the G1 ? What kind of device does adb expect to talk to over USB ? Thanks Graeme PS I have had similar experiences/frustrations trying this out with Ubuntu 8.10. -- Faber Fedor Cloud Computing New Jerseyhttp://cloudcomputingnj.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: What kind of device should Linux udev set up for G1 linked via USB
On Tue, Jan 27, 2009 at 6:56 AM, Graeme graeme.br...@btinternet.com wrote: Hi Faber Well trying again after this post, i did have some sucess On fedora 10. Congrats! I am using /etc/udev/rules.d/50-android.rules file : SUBSYSTEM==usb,ATTR{idVendor}==0bb4,ATTR{idProduct} ==0c01,MODE=0666, SYMLINK+=android_adb,OWNER=graeme,GROUP=graeme Didn't work for me. :-( Even after I changed the idProduct to '0c02' since I'm using a Dev Phone. For some reason, my udev rules just isn't being found. :-( A Guy on IRC #android-dev said I should run adb with root permissions so: adb kill-server; sleep 1; sudo adb start-server; I tried that and 'adb shell'. No go. :-( and this seemed to work for me. For the first time adb did actually see my G1 ! Well, enjoy! :-) -- Faber Fedor Cloud Computing New Jersey http://cloudcomputingnj.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: What kind of device should Linux udev set up for G1 linked via USB
On Tue, Jan 27, 2009 at 9:47 AM, Faber Fedor faberfe...@gmail.com wrote: On Tue, Jan 27, 2009 at 6:56 AM, Graeme graeme.br...@btinternet.comwrote: A Guy on IRC #android-dev said I should run adb with root permissions so: adb kill-server; sleep 1; sudo adb start-server; And I foundthe answer to that problem here: http://code.google.com/p/android/issues/detail?id=1586 All you have to do is move your file 50-android.rules to 51-android-rules. :-) -- Faber Fedor Cloud Computing New Jersey http://cloudcomputingnj.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---