Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: [EN] Mounting USB drive [solved]  (Read 9658 times)

Offline oneself

  • User
  • Posts: 70
[EN] Mounting USB drive [solved]
« 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:
Code: [Select]
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.

Code: [Select]
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.
There are 10 types of people, those who know binary and those who don't.

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.373
    • Land of the Buckeye
RE: Mounting USB drive
« Reply #1 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.
System76 Oryx Pro, Intel Core i7-11800H, SSD 970 EVO Plus;  Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO

Offline oneself

  • User
  • Posts: 70
RE: Mounting USB drive
« Reply #2 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.
There are 10 types of people, those who know binary and those who don't.

Offline absolut

  • User
  • Posts: 455
Re: Mounting USB drive
« Reply #3 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:
Code: [Select]
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

Offline vilde

  • User
  • Posts: 708
RE: Re: Mounting USB drive
« Reply #4 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.

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.373
    • Land of the Buckeye
RE: Re: Mounting USB drive
« Reply #5 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).
System76 Oryx Pro, Intel Core i7-11800H, SSD 970 EVO Plus;  Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO

Smon

  • Guest
RE: Re: Mounting USB drive
« Reply #6 on: 2013/05/07, 20:00:06 »
he said, it is not listed in /dev/sdXY.
Can you show a
Quote
ls -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

Offline oneself

  • User
  • Posts: 70
Mounting USB drive [solved]
« Reply #7 on: 2013/05/11, 18:32:05 »
Thank you very much, it was indeed /dev/mmcblk0p1.
There are 10 types of people, those who know binary and those who don't.

Smon

  • Guest
Mounting USB drive [solved]
« Reply #8 on: 2013/05/11, 19:19:40 »
Thank you for the feedback. I'm glad I could help :)