1. Check out our companion app, Forums for Android! Download from Google Play

Opensuse 11.2 Android ADB not working.

Discussion in 'Application Development' started by Garlaxel, Jun 6, 2010.

  1. Garlaxel

    Garlaxel New Member
    Thread Starter
    5

    Jan 2, 2010
    2
    0
    5
    I have just move my development environment over to Open Suse 11.2 from Ubuntu as OpenSuse runs a much more modern version of Mono and Monodevelop.

    For my Android Dev I have installed Eclipse and the Android SDK

    I have an issue getting the ADB (Android Debug bridge) working under OpenSuse. I am trying to connect it to an Archos 5 Internet Tablet. Again this is all working on Ubuntu so its not the Archos but I'm hoping there are other OpenSuse Archos Devs out there...

    Heres what I have so far, I'm going to take you though it slowly.

    1) Plug in the device.

    tail -f /var/log/messages
    Jun 7 12:12:36 linux-fius kernel: [ 125.224026] usb 1-7: new high speed USB device using ehci_hcd and address 7
    Jun 7 12:12:36 linux-fius kernel: [ 125.356994] usb 1-7: New USB device found, idVendor=0e79, idProduct=1361
    Jun 7 12:12:36 linux-fius kernel: [ 125.357003] usb 1-7: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    Jun 7 12:12:36 linux-fius kernel: [ 125.357009] usb 1-7: Product: Archos5
    Jun 7 12:12:36 linux-fius kernel: [ 125.357014] usb 1-7: Manufacturer: Archos
    Jun 7 12:12:36 linux-fius kernel: [ 125.357018] usb 1-7: SerialNumber: A5H-69A00004-00000000-040364FD-0201A01B
    Jun 7 12:12:36 linux-fius kernel: [ 125.357165] usb 1-7: configuration #1 chosen from 1 choice

    As you can see it is detected. If you place the device in Mass storage mode and plug it in you can access it browse it etc. I defiantly have the Devices USB connection in Debug Bridge ADB Mode. I set it and rebooted the device then checked it.

    I have created a udev/rules.d/99-android.rules file as follows and restarted udev, (Have also tried rebooting PC).
    cat /etc/udev/rules.d/99-android.rules
    SUBSYSTEMS=="usb", ATTRS{idVendor}=="0e79", MODE="0666", SYMLINK+="android_adb"
    SUBSYSTEMS=="usb", ATTRS{idVendor}=="0e79", MODE="0666", SYMLINK+="android_fastboot"

    THis is whats /dev look like once you plug Archos device in.
    linux-fius:/home/michael/dev/android-sdk-linux_86/tools # ls -l /dev/an*
    lrwxrwxrwx 1 root root 15 2010-06-07 12:12 /dev/android_adb -> bus/usb/001/007
    lrwxrwxrwx 1 root root 15 2010-06-07 12:12 /dev/android_fastboot -> bus/usb/001/007

    While in Root Terminal.
    linux-fius:/home/michael/dev/android-sdk-linux_86/tools # ./adb version
    Android Debug Bridge version 1.0.26

    linux-fius:/home/michael/dev/android-sdk-linux_86/tools # ./adb kill-server
    linux-fius:/home/michael/dev/android-sdk-linux_86/tools # ./adb devices
    * daemon not running. starting it now *
    * daemon started successfully *
    List of devices attached


    ^^^^^^^ As you can see no devices are listed.
    I am stuck as to where to go from here. This *should* be working. If anyone has any suggestions I would be grateful as its holding up my software development.

    Thanks
    Michael B
     

    Advertisement

  2. Garlaxel

    Garlaxel New Member
    Thread Starter
    5

    Jan 2, 2010
    2
    0
    5
    The solution:
    In your home directory
    Open the ./android/adb_usb.ini file and add a single line with 0x0e79 on it.
     

Share This Page

Loading...