Facebook   Twitter    e-mail newsletter    YouTube    RSS Feed    Android App    iPhone and iPad App     BlackBerry App    


Results 1 to 13 of 13

Thread: Connecting ICS device to linux desktop via USB

  1. #1

    Default Connecting ICS device to linux desktop via USB

    This appears to be a major pain in the butt.

    http://marcofalchi.blogspot.com/2012...fedora-16.html
    http://shkspr.mobi/blog/index.php/20...ntu-using-mtp/

    I can't get this method to work with with Kubuntu 12.04 as mtp-detect fails.

    I've gotten it to work with gmtp, but it's slower than pouring molasses.

    The irony is, xp picks up the device with no hassles

    Fortunately, I can access my desktop from ES file explorer through samba over wlan.
    Last edited by BigAl-sa; 13-05-2012 at 08:22 AM.

  2. #2
    Master
    Join Date
    Jan 2009
    Location
    not quite sure yet...
    Posts
    617

    Default

    hmmm... any specific reason for the failure? Like, any particular error output?

    Also, maybe unrelated, but have you tried enabling USB debugging on the Android device?

  3. #3
    Super Grandmaster Elimentals's Avatar
    Join Date
    Dec 2010
    Location
    PE
    Posts
    10,823
    Blog Entries
    8

    Default

    Odd just connected ASUS Eee Pad running 4.0.3 to Ubuntu 12.04 fully up to date and it gave me:



    Did nothing in the line of config or running commands and I had 2 mounts, 1 for internal memory and a second for the Micro SD as seen here: http://i.imgur.com/JnTNs.png

    Only thing I can think might be different is I have USB debugging enabled on my tablet.
    .... and thanks for all the fish.

  4. #4

    Default

    Thanks for commenting, guys.

    USB debugging is enabled. The tablet recognises that the PC is attached whether USB debugging is enabled or not (it chimes) and the USB mannetjie pops up in the notification bar if it is enabled. This happens with Kubuntu 10.04 and 12.04 as well as Debian Squeeze.

    In Squeeze, lsusb does see the device, but doesn't seem to know what to do with it. I'll check whether Kubuntu does later, but I'm sure it does as I could attach via gmtp (BTW, gmtp also recognises both internal and external SD memory) .

    It worked fine before I upgraded to ICS.

    @Elimentals: are you running a stock ROM?

  5. #5
    Super Grandmaster Elimentals's Avatar
    Join Date
    Dec 2010
    Location
    PE
    Posts
    10,823
    Blog Entries
    8

    Default

    Quote Originally Posted by BigAl-sa View Post
    @Elimentals: are you running a stock ROM?
    On that test, yes
    .... and thanks for all the fish.

  6. #6

    Default

    Quote Originally Posted by Elimentals View Post
    On that test, yes
    As a matter of interest, did you add any extra software to access music and music related hardware (such as iStuff)? This may have added the mtp drivers.

    Another question: can the Asus access USB mass storage devices?

  7. #7
    Super Grandmaster Elimentals's Avatar
    Join Date
    Dec 2010
    Location
    PE
    Posts
    10,823
    Blog Entries
    8

    Default

    Quote Originally Posted by BigAl-sa View Post
    As a matter of interest, did you add any extra software to access music and music related hardware (such as iStuff)? This may have added the mtp drivers.

    Another question: can the Asus access USB mass storage devices?
    1st Q, no did not install anything extra but on the tablet under storage I had to set it to mtp as it was set for camera's and that was it.

    2ns Q, Yes I can plug in my 1TB usb into the Tablets USB and browse/access the files on it. Can also use Wireless Keyboard + Mouse.
    .... and thanks for all the fish.

  8. #8

    Default

    Quote Originally Posted by Elimentals View Post
    1st Q, no did not install anything extra but on the tablet under storage I had to set it to mtp as it was set for camera's and that was it.

    2ns Q, Yes I can plug in my 1TB usb into the Tablets USB and browse/access the files on it. Can also use Wireless Keyboard + Mouse.
    Thanks. Will take it up with the devs of my tablet's ICS.

    Wrt the second Q, I have a feeling my USB mini to USB A female adaptor has a problem.

  9. #9

    Default

    Hi

    I had the same problem. Was running the Westcrip Resurrection ROM on my Galaxy S2 v1.8. Searched high and low for an answer (though I am a complete newbie to Linux). Couldn't find the answer.

    When I upgraded the ROM to v 1.9 my problem was fixed.

    In v 1.8 I disabled the feature where you normally need to enable USB mode when you plug the phone in via USB, which worked well in Windows. Since v 1.9 (and after the data, cache, dalvik etc wipe on the phone) I need to enable this manually, but now Ubuntu 12.04 recognizes the phone. That's my best guess of the solution.

    Or it could be due to some other setting that reset due to the factory, cache and dalvik wipe, 'fix permissions' on the phone?

    Did you do the above when upgrading to ICS? Or did you do it via KIES?

  10. #10

    Default

    Hi

    I had the same problem. Was running the Westcrip Resurrection ROM on my Galaxy S2 v1.8. Searched high and low for an answer (though I am a complete newbie to Linux). Couldn't find the answer.

    When I upgraded the ROM to v 1.9 my problem was fixed.

    In v 1.8 I disabled the feature where you normally need to enable USB mode when you plug the phone in via USB, which worked well in Windows. Since v 1.9 (and after the data, cache, dalvik etc wipe on the phone) I need to enable this manually, but now Ubuntu 12.04 recognizes the phone. That's my best guess of the solution.

    Or it could be due to some other setting that reset due to the factory, cache and dalvik wipe, 'fix permissions' on the phone?

    Did you do the above when upgrading to ICS? Or did you upgrade via KIES?

  11. #11

    Default

    @FreeStanler: running my tablet's stock ICS.

  12. #12

    Default

    I recently went through a similar thing with my Galaxy Nexus and Slackware 64 13.37.

    I have two suggestions:
    (1) Make sure you use the Product ID for your own device in the udev rules file. (Note that the Product ID changes if you're already connected to the phone, e.g. if you're using it as a modem for your Internet connection.

    To illustrate this, the device ID for the GT-I9250 is 685c, but when I'm using it as a modem it is 6863.
    My rule in /lib/udev/rules.d looks like this however:
    Code:
    # Samsung Galaxy Nexus GT-I9250
    ATTR{idVendor}=="04e8", ATTR{idProduct}=="685c", SYMLINK+="libmtp-%k", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1"
    Note that instead of kludging the device permissions by setting the mode as rw for all (0666), I added the user to the audio group.

    (2) Use the newest libmtp you can get, because the developer (http://libmtp.sourceforge.net/) only adds device IDs as they are submitted. I am using v1.1.1 and I still had to patch music-players.h for my phone and the S II.

    Code:
    --- libmtp-1.1.1/src/music-players.h    2012-05-03 09:27:32.230792299 +0200
    +++ libmtp-1.1.1/src/music-players.h    2012-05-03 09:38:41.521132922 +0200
    @@ -279,6 +279,15 @@
           DEVICE_FLAG_PLAYLIST_SPL_V1 },
       // From anonymous Sourceforge user
       { "Samsung", 0x04e8, "GT-S5230", 0xe20c, DEVICE_FLAG_NONE },
    +  // fskmh 03-05-2012
    +  { "Samsung", 0x04e8, "Galaxy S II GT-I9100", 0x685e,
    +      DEVICE_FLAG_UNLOAD_DRIVER |
    +      DEVICE_FLAG_LONG_TIMEOUT },
    +  // fskmh 03-05-2012
    +  // DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL
    +  { "Samsung", 0x04e8, "Galaxy Nexus GT-I9250", 0x685c,
    +      DEVICE_FLAG_UNLOAD_DRIVER |
    +      DEVICE_FLAG_LONG_TIMEOUT },
     
     
       /*
    "...Deep Hack Mode -- that mysterious and frightening state of consciousness where Mortal Users fear to tread." -- Matt Welsh

  13. #13

    Default

    Thanks fskmh. I will certainly look into that.

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •