Siduction Forum

Siduction Forum => Hardware - Support => Topic started by: oneself on 2013/05/05, 22:42:51

Title: Mounting USB drive [solved]
Post by: oneself on 2013/05/05, 22:42:51
Hi,

I'm using a Lenovo x230 laptop which has a built-in SD drive, and I'm trying to mount it to get some pictures of off an SD card.  I've also tried connecting the camera via USB cable, and that is not working either for some reason.

When I plug in the USB cable I see the following in dmesg:
May  5 16:25:16 kernel: [  289.730351] usb 1-1.2: new high-speed USB device number 6 using ehci-pci
May  5 16:25:16 kernel: [  289.817259] usb 1-1.2: New USB device found, idVendor=04b0, idProduct=0427
May  5 16:25:16 kernel: [  289.817268] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
May  5 16:25:16 kernel: [  289.817273] usb 1-1.2: Product: NIKON DSC D3100
May  5 16:25:16 kernel: [  289.817276] usb 1-1.2: Manufacturer: NIKON
May  5 16:25:16 kernel: [  289.817280] usb 1-1.2: SerialNumber: 000003512534
May  5 16:25:16 mtp-probe: checking bus 1, device 6: "/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2"
May  5 16:25:16 mtp-probe: bus: 1, device: 6 was not an MTP device


But I can't see any new devices under /dev which I can mount.  The same goes for the SD card reader.  When I insert the card, I can see the following log messages, but no device.

May  5 16:40:19 kernel: [ 1192.452637] mmc0: new high speed SDHC card at address b368
May  5 16:40:19 kernel: [ 1192.452879] mmcblk0: mmc0:b368 SDC   30.2 GiB
May  5 16:40:19 kernel: [ 1192.454515]  mmcblk0: p1


What am I missing?

Thank you for your help.
Title: RE: Mounting USB drive
Post by: dibl on 2013/05/05, 23:42:55
Do you have a USB card reader?  I have always had the best luck just putting the SDHC cards in a USB card reader, and plugging it into a USB port.  I use one like this (http://www.amazon.com/Sandisk-ImageMate-Memory-Reader-SDDR-99/dp/B00064V6SK).
Title: RE: Mounting USB drive
Post by: oneself on 2013/05/06, 01:24:03
I tried using the built-in card reader and also just plugging the camera using a USB cable.  One of these usually does the trick, and I can see the kernel is recognizing the devices.  It's just not creating devs for them.
Title: Re: Mounting USB drive
Post by: absolut on 2013/05/07, 08:39:15
Quote from: "oneself"Hi,

I'm using a Lenovo x230 laptop which has a built-in SD drive, and I'm trying to mount it to get some pictures of off an SD card.  I've also tried connecting the camera via USB cable, and that is not working either for some reason.

When I plug in the USB cable I see the following in dmesg:
May  5 16:25:16 kernel: [  289.730351] usb 1-1.2: new high-speed USB device number 6 using ehci-pci
May  5 16:25:16 kernel: [  289.817259] usb 1-1.2: New USB device found, idVendor=04b0, idProduct=0427
May  5 16:25:16 kernel: [  289.817268] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
May  5 16:25:16 kernel: [  289.817273] usb 1-1.2: Product: NIKON DSC D3100
May  5 16:25:16 kernel: [  289.817276] usb 1-1.2: Manufacturer: NIKON
May  5 16:25:16 kernel: [  289.817280] usb 1-1.2: SerialNumber: 000003512534
May  5 16:25:16 mtp-probe: checking bus 1, device 6: "/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2"
May  5 16:25:16 mtp-probe: bus: 1, device: 6 was not an MTP device


[...]

What am I missing?

Thank you for your help.

the newer Nikon cameras do not have the mass storage device feature anymore, but offer PTP (Picture Transfer Protocol) instead. to download pictures you can use some software that can talk PTP... personally, I am using digikam for this task
Title: RE: Re: Mounting USB drive
Post by: vilde on 2013/05/07, 13:16:20
Maybe not much for help but I have some boxes with built in sd-card, Thinkpad Edge, Lenovo Ideapad- s10, s12 and z360 all of them are working and when sd-card is inserted it will come up in Thunar (xfce) and mounted when clicked on by default.
Title: RE: Re: Mounting USB drive
Post by: dibl on 2013/05/07, 14:41:46
If the card slot/connector is actually USB, then the card will not be automatically mounted.  Depending on your DE, you'll need to give it the indication that you want to use it, either via the file manager (i.e. Thunar) or the notifier (KDE).
Title: RE: Re: Mounting USB drive
Post by: Smon on 2013/05/07, 20:00:06
he said, it is not listed in /dev/sdXY.
Can you show a
Quotels -l /dev/mmc*
when sd card is put in?

Edit: or try mounting mmc0 or mmcblk0 or mmcblk0p1
mount /dev/mmcblk0p1 /path/to/mountpoint
mount /dev/mmcblk0 /path/to/mountpoint
mount /dev/mmc0 /path/to/mountpoint

But if you're not sure, what you are doing, give a ls first
Title: Mounting USB drive [solved]
Post by: oneself on 2013/05/11, 18:32:05
Thank you very much, it was indeed /dev/mmcblk0p1.
Title: Mounting USB drive [solved]
Post by: Smon on 2013/05/11, 19:19:40
Thank you for the feedback. I'm glad I could help :)