I was able to write the following udev rule, but running "adb devices"
does not show any device. What does adb look for when its scanning
for devices?
Here is my rule in /etc/udev/rules.d/11-android.rules
SUBSYSTEM=="usb", ATTRS{idVendor}=="0bb4", ATTRS{idProduct}=="0c02",
MODE="0666", NAME="android"
When I connect the device the /dev/android link is created. So my
rule works with the device, but I still don't get why adb devices
returns nothing... little help here?
-Marc
On Oct 22, 7:33 pm, Wanted unique nickname <[EMAIL PROTECTED]>
wrote:
> Does anyone know how to perform Step 3 for developing on Suse Linux?
> When I run dmesg I get some relevant info, but I don't know enough
> about udev to make this work on Suse...
>
> usb 1-10: new high speed USB device using ehci_hcd and address 10
> usb 1-10: new device found, idVendor=0bb4, idProduct=0c02
> usb 1-10: new device strings: Mfr=3, Product=2, SerialNumber=1
> usb 1-10: Product: Android Phone
> usb 1-10: Manufacturer: HTC
> usb 1-10: SerialNumber: HT840GZ14538
> usb 1-10: configuration #1 chosen from 1 choice
> scsi18 : SCSI emulation for USB Mass Storage devices
> usb-storage: device found at 10
> usb-storage: waiting for device to settle before scanning
> scsi 18:0:0:0: Direct-Access HTC Android Phone 0100 PQ: 0
> ANSI: 2
> sd 18:0:0:0: [sdc] Attached SCSI removable disk
> sd 18:0:0:0: Attached scsi generic sg4 type 0
> usb-storage: device scan complete
>
> -Marc
>
> On Oct 22, 12:02 pm, "Xavier Ducrohet" <[EMAIL PROTECTED]> wrote:
>
> > We just updated the documentation.
>
> > Developing on devices is explained
> > here:http://code.google.com/android/intro/develop-and-debug.html#developin...
>
> > On Tue, Oct 21, 2008 at 11:45 PM, bhines <[EMAIL PROTECTED]> wrote:
>
> > > this sounds like my problem as well.
>
> > > This really should be mentioned
> > > onhttp://code.google.com/android/intro/develop-and-debug.html
>
> > > thanks,
>
> > > -Ben
>
> > > On Oct 21, 8:42 pm, nkijak <[EMAIL PROTECTED]> wrote:
> > >> That possibly did the trick. I had to restart the phone. Maybe for
> > >> the "Debug when USB" thing to take effect?
>
> > >> Thanks
>
> > >> On Oct 21, 11:33 pm, "Xavier Ducrohet" <[EMAIL PROTECTED]> wrote:
>
> > >> > To debug on devices you need to set the 'debuggable' attribute of the
> > >> > application node to true (in AndroidManifest.xml).
>
> > >> > Make sure to set it back to false before releasing your application.
>
> > >> > Xav
>
> > >> > On Tue, Oct 21, 2008 at 8:24 PM, nkijak <[EMAIL PROTECTED]> wrote:
>
> > >> > > I can't seem to get the eclipse debugger to attach to the G1. I can
> > >> > > select "Debug" from the run menu and it will compile and launch the
> > >> > > app on the phone but eclipse never enters the debug perspective (or
> > >> > > even asks to). The phone sits with a "Waiting for Debugger" message
> > >> > > dialog.
> > >> > > When I enter the Android perspective I can see the device attached,
> > >> > > see log entries, take screenshots but I cannot see process listings
> > >> > > and "restarting adb" results in 11 failed attempts to connect.
> > >> > > Is there some other configuration I need to adjust in eclipse,
> > >> > > perhaps
> > >> > > a port number?
>
> > >> > > Thanks,
> > >> > > Nick
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---