1. Are you ready for the Galaxy S20? Here is everything we know so far!

Opensuse 11.2 Android ADB not working.

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

  1. Garlaxel

    Garlaxel Lurker
    Thread Starter

    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
     


  2. Garlaxel

    Garlaxel Lurker
    Thread Starter

    The solution:
    In your home directory
    Open the ./android/adb_usb.ini file and add a single line with 0x0e79 on it.
     
Loading...
Similar Threads - Opensuse Android ADB
  1. Senchi007
    Replies:
    4
    Views:
    77
  2. Nolan_B
    Replies:
    1
    Views:
    135
  3. Diaforus
    Replies:
    0
    Views:
    105
  4. Alex Ethridge
    Replies:
    0
    Views:
    90
  5. spman
    Replies:
    3
    Views:
    175
  6. Gil G
    Replies:
    7
    Views:
    170
  7. Robin Schweitzer
    Replies:
    6
    Views:
    149
  8. Caryboy60013
    Replies:
    0
    Views:
    157
  9. ogola89
    Replies:
    0
    Views:
    142
  10. Petrol
    Replies:
    1
    Views:
    184

Share This Page

Loading...