USB mount doesn't work

Discussion in 'Linux' started by Qubit, Aug 14, 2008.

  1. Qubit

    Qubit

    Joined:
    Aug 13, 2008
    Messages:
    3
    Likes Received:
    0
    I have a strange problem with my AA1 that I seem to be unable to resolve. I cannot mount USB devices on my system which is real strange. I have upgraded my system to 1.5GB and an extra 8GB SD card as extra space, and also updated the system via live update the first thing I did when recieving the AA1. However when I plug in my USB Pen Drive (Sandisk Cruzer Micro 8GB) it doesn't automount or anything....this is what I get running as root

    [root@localhost user]# lsusb
    Bus 005 Device 001: ID 0000:0000
    Bus 004 Device 001: ID 0000:0000
    Bus 003 Device 001: ID 0000:0000
    Bus 002 Device 001: ID 0000:0000
    Bus 001 Device 006: ID 0781:5406 SanDisk Corp.
    Bus 001 Device 002: ID 0c45:62c0 Acer Crystal Eye Webcam
    Bus 001 Device 001: ID 0000:0000

    in devices I get BEFORE i plug in the USB stick

    [root@localhost user]# ls /dev
    1-4 MAKEDEV ptypb ptys7 stderr tty44 ttyq3 ttysf
    1-5 mem ptypc ptys8 stdin tty45 ttyq4 uinput
    agpgart mixer ptypd ptys9 stdout tty46 ttyq5 urandom
    audio mmcblk0 ptype ptysa tgt tty47 ttyq6 usb1
    bus mmcblk0p1 ptypf ptysb tty tty48 ttyq7 usb2
    console modem ptyq0 ptysc tty0 tty49 ttyq8 usb3
    core net ptyq1 ptysd tty1 tty5 ttyq9 usb4
    disk null ptyq2 ptyse tty10 tty50 ttyqa usbdev1.1_ep00
    dri parport0 ptyq3 ptysf tty11 tty51 ttyqb usbdev1.1_ep81
    dsp parport1 ptyq4 ram tty12 tty52 ttyqc usbdev1.2_ep00
    fb parport2 ptyq5 ram0 tty13 tty53 ttyqd usbdev1.2_ep83
    fb0 parport3 ptyq6 ram1 tty14 tty54 ttyqe usbdev1.3_ep04
    fd port ptyq7 ram10 tty15 tty55 ttyqf usbdev1.3_ep05
    full ppp ptyq8 ram11 tty16 tty56 ttyr0 usbdev1.3_ep06
    fuse psaux ptyq9 ram12 tty17 tty57 ttyr1 usbdev1.3_ep07
    hdc ptmx ptyqa ram13 tty18 tty58 ttyr2 usbdev1.3_ep0a
    hdc1 pts ptyqb ram14 tty19 tty59 ttyr3 usbdev1.3_ep0b
    hpet ptya0 ptyqc ram15 tty2 tty6 ttyr4 usbdev1.3_ep0c
    hw_random ptya1 ptyqd ram2 tty20 tty60 ttyr5 usbdev1.3_ep89
    hwrng ptya2 ptyqe ram3 tty21 tty61 ttyr6 usbdev2.1_ep00
    initctl ptya3 ptyqf ram4 tty22 tty62 ttyr7 usbdev2.1_ep81
    input ptya4 ptyr0 ram5 tty23 tty63 ttyr8 usbdev3.1_ep00
    kmem ptya5 ptyr1 ram6 tty24 tty7 ttyr9 usbdev3.1_ep81
    kmsg ptya6 ptyr2 ram7 tty25 tty8 ttyra usbdev4.1_ep00
    loop0 ptya7 ptyr3 ram8 tty26 tty9 ttyrb usbdev4.1_ep81
    loop1 ptya8 ptyr4 ram9 tty27 ttyp0 ttyrc usbdev5.1_ep00
    loop10 ptya9 ptyr5 ramdisk tty28 ttyp1 ttyrd usbdev5.1_ep81
    loop11 ptyaa ptyr6 random tty29 ttyp2 ttyre vcs
    loop12 ptyab ptyr7 rawctl tty3 ttyp3 ttyrf vcs1
    loop13 ptyac ptyr8 rtc tty30 ttyp4 ttys0 vcs2
    loop14 ptyad ptyr9 sda tty31 ttyp5 ttys1 vcs7
    loop15 ptyae ptyra sda1 tty32 ttyp6 ttys2 vcs9
    loop16 ptyaf ptyrb sda2 tty33 ttyp7 ttys3 vcsa
    loop17 ptyp0 ptyrc sda3 tty34 ttyp8 ttys4 vcsa1
    loop18 ptyp1 ptyrd sda5 tty35 ttyp9 ttys5 vcsa2
    loop19 ptyp2 ptyre sda6 tty36 ttypa ttys6 vcsa7
    loop2 ptyp3 ptyrf sda7 tty37 ttypb ttys7 vcsa9
    loop3 ptyp4 ptys0 sdb1 tty38 ttypc ttys8 video
    loop4 ptyp5 ptys1 sequencer tty39 ttypd ttys9 video0
    loop5 ptyp6 ptys2 sequencer2 tty4 ttype ttysa X0R
    loop6 ptyp7 ptys3 sg0 tty40 ttypf ttysb XOR
    loop7 ptyp8 ptys4 shm tty41 ttyq0 ttysc zero
    loop8 ptyp9 ptys5 snapshot tty42 ttyq1 ttysd
    loop9 ptypa ptys6 snd tty43 ttyq2 ttyse


    and AFTER:

    [root@localhost user]# ls /dev
    1-4 mem ptypd ptysa stdout tty47 ttyq7 usb3
    1-5 mixer ptype ptysb tgt tty48 ttyq8 usb4
    agpgart mmcblk0 ptypf ptysc tty tty49 ttyq9 usbdev1.1_ep00
    audio mmcblk0p1 ptyq0 ptysd tty0 tty5 ttyqa usbdev1.1_ep81
    bus modem ptyq1 ptyse tty1 tty50 ttyqb usbdev1.2_ep00
    console net ptyq2 ptysf tty10 tty51 ttyqc usbdev1.2_ep83
    core null ptyq3 ram tty11 tty52 ttyqd usbdev1.3_ep04
    disk parport0 ptyq4 ram0 tty12 tty53 ttyqe usbdev1.3_ep05
    dri parport1 ptyq5 ram1 tty13 tty54 ttyqf usbdev1.3_ep06
    dsp parport2 ptyq6 ram10 tty14 tty55 ttyr0 usbdev1.3_ep07
    fb parport3 ptyq7 ram11 tty15 tty56 ttyr1 usbdev1.3_ep0a
    fb0 port ptyq8 ram12 tty16 tty57 ttyr2 usbdev1.3_ep0b
    fd ppp ptyq9 ram13 tty17 tty58 ttyr3 usbdev1.3_ep0c
    full psaux ptyqa ram14 tty18 tty59 ttyr4 usbdev1.3_ep89
    fuse ptmx ptyqb ram15 tty19 tty6 ttyr5 usbdev1.6_ep00
    hdc pts ptyqc ram2 tty2 tty60 ttyr6 usbdev1.6_ep01
    hdc1 ptya0 ptyqd ram3 tty20 tty61 ttyr7 usbdev1.6_ep81
    hpet ptya1 ptyqe ram4 tty21 tty62 ttyr8 usbdev2.1_ep00
    hw_random ptya2 ptyqf ram5 tty22 tty63 ttyr9 usbdev2.1_ep81
    hwrng ptya3 ptyr0 ram6 tty23 tty7 ttyra usbdev3.1_ep00
    initctl ptya4 ptyr1 ram7 tty24 tty8 ttyrb usbdev3.1_ep81
    input ptya5 ptyr2 ram8 tty25 tty9 ttyrc usbdev4.1_ep00
    kmem ptya6 ptyr3 ram9 tty26 ttyp0 ttyrd usbdev4.1_ep81
    kmsg ptya7 ptyr4 ramdisk tty27 ttyp1 ttyre usbdev5.1_ep00
    loop0 ptya8 ptyr5 random tty28 ttyp2 ttyrf usbdev5.1_ep81
    loop1 ptya9 ptyr6 rawctl tty29 ttyp3 ttys0 vcs
    loop10 ptyaa ptyr7 rtc tty3 ttyp4 ttys1 vcs1
    loop11 ptyab ptyr8 sda tty30 ttyp5 ttys2 vcs2
    loop12 ptyac ptyr9 sda1 tty31 ttyp6 ttys3 vcs7
    loop13 ptyad ptyra sda2 tty32 ttyp7 ttys4 vcs9
    loop14 ptyae ptyrb sda3 tty33 ttyp8 ttys5 vcsa
    loop15 ptyaf ptyrc sda5 tty34 ttyp9 ttys6 vcsa1
    loop16 ptyp0 ptyrd sda6 tty35 ttypa ttys7 vcsa2
    loop17 ptyp1 ptyre sda7 tty36 ttypb ttys8 vcsa7
    loop18 ptyp2 ptyrf sdb tty37 ttypc ttys9 vcsa9
    loop19 ptyp3 ptys0 sdb1 tty38 ttypd ttysa video
    loop2 ptyp4 ptys1 sequencer tty39 ttype ttysb video0
    loop3 ptyp5 ptys2 sequencer2 tty4 ttypf ttysc X0R
    loop4 ptyp6 ptys3 sg0 tty40 ttyq0 ttysd XOR
    loop5 ptyp7 ptys4 sg1 tty41 ttyq1 ttyse zero
    loop6 ptyp8 ptys5 shm tty42 ttyq2 ttysf
    loop7 ptyp9 ptys6 snapshot tty43 ttyq3 uinput
    loop8 ptypa ptys7 snd tty44 ttyq4 urandom
    loop9 ptypb ptys8 stderr tty45 ttyq5 usb1
    MAKEDEV ptypc ptys9 stdin tty46 ttyq6 usb2

    Clearly sdb is the one that is added, however if I try to mount,

    [root@localhost user]# mkdir /media/sandisk
    [root@localhost user]# mount -t vfat /dev/sdb /media/sandisk
    mount: No medium found

    Tried with different USB sticks, my Canon Camera and also my iPhone which is listed correctly with 'lsusb' command. Seems something is really wierd, and hopefully someone can give me some pointers to what may be causing this??
     
    Qubit, Aug 14, 2008
    #1
  2. Qubit

    Sid

    Joined:
    Jul 22, 2008
    Messages:
    632
    Likes Received:
    0
    Location:
    UK - (most locations)
    Assuming you have enabled the full desktop (not just the basic one).

    Right click the desktop, select "settings" then "settings manager".
    Select "file manager" then select the "advanced" tab.
    Make sure "volume management" is ticked, now click the "configure" option.

    The rest should be obvious ;)
     
    Sid, Aug 14, 2008
    #2
  3. Qubit

    Qubit

    Joined:
    Aug 13, 2008
    Messages:
    3
    Likes Received:
    0
    Thanks for the reply!

    Enable Volume Management is ticked and everything else under "Removable Storage" is also ticked.

    *EDIT*
    I just tried another USB stick without U3 functionality installed and that worked perfectly. Also tried my USB mouse, an external 250GB USB harddrive and a external USB CDROM and no problem whatsoever. I suspect that U3 may be the culprit when using sandisk sticks, however I'm not sure why my Canon camera and my iPhone still refuses to mount...any ideas?
     
    Qubit, Aug 14, 2008
    #3
  4. Qubit

    Sid

    Joined:
    Jul 22, 2008
    Messages:
    632
    Likes Received:
    0
    Location:
    UK - (most locations)
    AH! U3, the first thing I did when I got a U3 "enabled" pendrive was delete it.
    Unless you are running M$ it gets in the way.

    Have you checked the camera tab in configure?
     
    Sid, Aug 15, 2008
    #4
  5. Qubit

    +imMe

    Joined:
    Aug 16, 2008
    Messages:
    2
    Likes Received:
    0
    Your 'ls' of /dev is confusing, 'ls -1' would give you a single column which is easier to read. Anyway...
    Below sdb see sdb1, that is the partition of disk sdb that you need to mount. If there were multiple partitions there would be multiple numbers, see the sda# entries.

    A clearer way of knowing what to mount after plugging something in is by using 'dmesg'. The last bunch of lines will be it recognising the device and attaching it. Within them will be the device name that it has created for it.

    so your command becomes

    [root@localhost user]# mount -t vfat /dev/sdb1 /media/sandisk

    Hope that makes sense, i'm too tired to tell or get example output to help right now.

    +

    ps. the U3 stuff may still be screwing you over, i don't have one to confirm or deny their compatibility
     
    +imMe, Aug 16, 2008
    #5
  6. Qubit

    SbM

    Joined:
    Jul 14, 2008
    Messages:
    505
    Likes Received:
    0
    My Canon camera can be configured as either PTP or USB Mass Storage. If yours is PTP, it won't show on the desktop.

    As for the iPhone, if it works like an iPod you might not see it either if the "use as disk drive" functionality is disabled.
     
    SbM, Aug 16, 2008
    #6
  7. Qubit

    Qubit

    Joined:
    Aug 13, 2008
    Messages:
    3
    Likes Received:
    0
    Thanks guys for the help. As I suspected, U3 is the problem. I didn't remove it completely from the stick, since I also use it under windows quite often. All that is needed is to remove the U3 password (if set) and the autorun from the U3 menu and mounting/automounting works as it should under linux.

    Will try to get both my Camera and iPhone to work when I get the time...
     
    Qubit, Aug 16, 2008
    #7
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.