Announcement

Collapse
No announcement yet.

auto detect usb devices when plugged-in?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    auto detect usb devices when plugged-in?

    How do I get usb devices (this case my LG phone) to be detected, mounted, and opened in file browser when they are plugged in?
    Can't see this problem/resolution in google searches.
    Last edited by looksalota; Apr 15, 2012, 06:04 PM.

    #2
    Hi
    I, at least, get it to autodetect, it is a Samsung Galaxy, so I've not had to "get it working", but stick around because I'm sure others will be by with an answer.

    Any particulars on your hardware/softeare would probably be of help also. Both the computer and phone and also the file browser, not all folks use Dolphin.

    woodsmoke
    sigpic
    Love Thy Neighbor Baby!

    Comment


      #3
      1. Open a Konsole window
      2. Before you plug in the phone, run lsusb
      3. Plug in the phone
      4. Run lsusb again -- there should be at least one additional line, possibly more
      5. Reply to this thread and paste those additional lines

      Also, do you know whether your phone exposes its memory as the more traditional USB block mode or the newer memory transfer protocol (MTP)?open

      Comment


        #4
        lsusb without phone -
        sudo lsusb
        [sudo] password for jfish:
        Bus 002 Device 007: ID 08bb:2902 Texas Instruments Japan PCM2902 Audio Codec
        Bus 002 Device 006: ID 03f0:a111 Hewlett-Packard
        Bus 002 Device 005: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
        Bus 002 Device 004: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
        Bus 002 Device 003: ID 058f:6362 Alcor Micro Corp. Flash Card Reader/Writer
        Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
        Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
        Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
        Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

        lsusb with phone -
        sudo lsusb
        Bus 002 Device 011: ID 1004:607f LG Electronics, Inc.
        Bus 002 Device 007: ID 08bb:2902 Texas Instruments Japan PCM2902 Audio Codec
        Bus 002 Device 006: ID 03f0:a111 Hewlett-Packard
        Bus 002 Device 005: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
        Bus 002 Device 004: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
        Bus 002 Device 003: ID 058f:6362 Alcor Micro Corp. Flash Card Reader/Writer
        Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
        Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
        Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
        Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

        I don't know the answer to your question, but I am trying to get it to auto mount and ask if it should open in konqueror like it did in fedora 7. (Yep, I jumped from fedora 7 to kubuntu 11.04.)

        Comment


          #5
          Your phone is USB device 1004:607f.

          The subdirectory /lib/udev/rules.d contains several files that instruct Udev how to handle devices. To find out which rule would handle your device, I ran:
          Code:
          steve@x1:~$ [B]grep 1004 /lib/udev/rules.d/* | grep 607f[/B]
          /lib/udev/rules.d/40-usb_modeswitch.rules:ATTRS{idVendor}=="1004", ATTRS{idProduct}=="607f", RUN+="usb_modeswitch '%b/%k'"
          A quick Google search on the vendor:device ID string revealed that this particular device throws usb_modeswitch for a loop sometimes. If no one else here chimes in with some ideas, you might head on over to the usb_modeswitch forum.

          Comment


            #6
            Thanks for the assist. I'll look at usb_modeswitch forum.
            BTW - a few years ago I worked with a John Riley in Kent, Wa (he lived near Dravus).

            Comment


              #7
              Finally, after fumbling around, I read the fine manual (for the phone). Manual said to use the "USB mass storage" menu item. I plugged my phone to the usb cable, selected usb mass storage, and the computer gave the option to open the phone memory card or the micro sd card. That works for me.
              Thanks for all the help.

              Comment

              Working...
              X