View previous topic :: View next topic |
Author |
Message |
oneself Tux's lil' helper
Joined: 02 Jul 2005 Posts: 107 Location: New York, NY
|
Posted: Sun Apr 15, 2012 11:39 pm Post subject: Mounting SD card from card reader [solved] |
|
|
Hi,
My laptop has a built-in SD card reader. When I insert a card I see the following in the system logs:
Code: | Apr 15 19:37:18 lapself kernel: usb 2-6: new high-speed USB device number 3 using ehci_hcd
Apr 15 19:37:18 lapself kernel: usb 2-6: New USB device found, idVendor=05ca, idProduct=1880
Apr 15 19:37:18 lapself kernel: usb 2-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Apr 15 19:37:18 lapself kernel: usb 2-6: Product: USB2.0-FLASH Media
Apr 15 19:37:18 lapself kernel: usb 2-6: Manufacturer: RICOH
Apr 15 19:37:18 lapself kernel: usb 2-6: SerialNumber: R5U880-00003
|
However, I don't think any new /dev is created, and I'm not sure how to mount this. It would be even better if the system auto mounted it. How can this be done?
Thank you. _________________ There are 10 types of people, those who know binary and those who don't.
Last edited by oneself on Fri Jul 06, 2012 7:08 pm; edited 1 time in total |
|
Back to top |
|
|
BillWho Veteran
Joined: 03 Mar 2012 Posts: 1600 Location: US
|
Posted: Mon Apr 16, 2012 12:47 am Post subject: |
|
|
oneself,
I noticed that ricoh had kernel config settings - not sure if you have them set or if they're for your device or not.
CONFIG_MMC_RICOH_MMC
CONFIG_MMC_SDRICOH_CS
mount will show if it's mounted. _________________ Good luck
Since installing gentoo, my life has become one long emerge |
|
Back to top |
|
|
oneself Tux's lil' helper
Joined: 02 Jul 2005 Posts: 107 Location: New York, NY
|
Posted: Mon Apr 16, 2012 1:05 am Post subject: |
|
|
Hi, thank you for your reply,
I've added those modules but it doesn't seem to change anything. _________________ There are 10 types of people, those who know binary and those who don't. |
|
Back to top |
|
|
BillWho Veteran
Joined: 03 Mar 2012 Posts: 1600 Location: US
|
|
Back to top |
|
|
Gusar Advocate
Joined: 09 Apr 2005 Posts: 2665 Location: Slovenia
|
Posted: Mon Apr 16, 2012 10:01 am Post subject: |
|
|
From what I read around, this thing should work out-of-the-box. It's an USB device, so the cards should show up as regular disks, like usb-sticks do. So /dev/sdb, /dev/sdc or similar.
Have you tried other distros? If it works on them, it's a kernel config issue. BillWho's MULTI_LUN advice is very good in this regard, make sure you have that. |
|
Back to top |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9593 Location: beyond the rim
|
Posted: Mon Apr 16, 2012 10:45 am Post subject: |
|
|
memory cards typically show up as /dev/mmc* devices (at least on card readers I've used so far). |
|
Back to top |
|
|
Gusar Advocate
Joined: 09 Apr 2005 Posts: 2665 Location: Slovenia
|
Posted: Mon Apr 16, 2012 1:37 pm Post subject: |
|
|
Genone wrote: | memory cards typically show up as /dev/mmc* devices (at least on card readers I've used so far). |
Yes, with PCI card-readers. But this is an USB card-reader. Cards don't show up as, well, cards, but as mass storage devices. |
|
Back to top |
|
|
oneself Tux's lil' helper
Joined: 02 Jul 2005 Posts: 107 Location: New York, NY
|
Posted: Mon Apr 16, 2012 3:05 pm Post subject: |
|
|
So, does that mean that they should show up as /dav/sd*?
Will the /dev be created automatically or do you need to create it manually?
Is this just a kernel issue still? _________________ There are 10 types of people, those who know binary and those who don't. |
|
Back to top |
|
|
cwr Veteran
Joined: 17 Dec 2005 Posts: 1969
|
Posted: Mon Apr 16, 2012 3:47 pm Post subject: |
|
|
If I plug in my USB card reader, and load it with a card, I get a complaint "Only root can mount
/dev/sda1 on /media/usb", since I have permissions set wrong. If I then mount the card as root
it looks like an ordinary file-system.
I don't have any special drivers in the kernel - just USB_STORAGE and USB_LIBUSUAL,
and the UHCI / OHCI / EHCI drivers. I don't think LIBUSUAL is necessary, since I don't
have any of the specific drivers configured; and I don't have MULTI_LUN set.
Will |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54538 Location: 56N 3W
|
Posted: Mon Apr 16, 2012 6:53 pm Post subject: |
|
|
MULTI_LUN is required for card readers that support more than one card type or you only get LUN 0, whatever that happens to be. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
oneself Tux's lil' helper
Joined: 02 Jul 2005 Posts: 107 Location: New York, NY
|
Posted: Tue Apr 17, 2012 2:59 pm Post subject: Mounting SD card from card reader [solved] |
|
|
I was missing:
Code: | CONFIG_USB_STORAGE=m |
Thank you all. _________________ There are 10 types of people, those who know binary and those who don't. |
|
Back to top |
|
|
|