SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Sorry didn't really said it right. When I stick in a SD card into the slot( the card is taken from a camera I also got one for my cell phone). When I do
Code:
ls -l /dev
there is no /dev/mmcblkXX. I presume I was suppose to mount that, or I really can't understand written english. Be gentle in this case.
I had a similar problem on my laptop with the same card reader, I was able to make the reader work using a custom built kernel with the usual options for usb mass storage and the modules for that card reader which are under sd/mmc support I think. Sorry not to be of more help, it looks to me from your post like the scsi disks or scsi generic isn't in your kernel, I think what you want is generic scsi disk support to make that thing work. http://www.linuxquestions.org/questi...it-all-174447/
Sorry if any of this is unclear, if your having issues re-compiling I would recommend the sticky "this is how I do it all" post in the link above. The options I have enabled in the MMC/SD section are:
MMC block device driver (M)
Use bounce buffer for simple hosts (*)
Secure Digital Host Controller Interface Support (M)
Good luck
A quick recap, because people are confusing jimtrenton on this, and are also very confused themselves:
SCSI is only needed if you have a card reader that works by USB mass storage (USB mass storage being the SCSI protocol over USB, hence the devices appear as SCSI device in Linux).
For non USB mass storage card readers - SCSI is completely and utterly irrelevant (it's probably need for other things on the system, but not for card readers that require sdhci).
Now, the OP already has the correct drivers installed and loading, but this card reader needs a few more quirks - certainly for MMC it requires some nasty hacks with setpci.
jimtrenton:
When you insert the card, do you get any information in dmesg about a card insertion being detected?
Last edited by cathectic; 02-18-2008 at 03:26 PM..
I compared the output before and after the insertion of a SD card and they're both identical. I noticed it before but wasn't sure how to interpret it and must've forgot to mention it. This information probably sheds new light on the subject for someone but not really for me.
It might be useful to see the output of lsmod to see if the correct modules are loaded to detect the card in the first instance, I think I remember having to do a modprobe before it was working on mine - then it was being shown in dmesg when it was inserted, try looking for mmc_block and mmc_core in lsmod - if they arn't there try
modprobe -v mmc_block
and
modprobe -v mmc_core
then see if dmesg shows you anything
I saw in your earlier post that you have mmc_core so hopefully the mmc_block should do the trick - sorry for misleading you on the mass storage fromnt - I think that was the cardreader in my main machine not the laptop.
Yes, thank you tdos20. The thing I was missing was the mmc_block module. After loading it the SD card got automounted, and works fine. Once again thanks.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.