LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   no /dev/sd** device appears when I plug in a card to the laptop's card reader (https://www.linuxquestions.org/questions/slackware-14/no-dev-sd%2A%2A-device-appears-when-i-plug-in-a-card-to-the-laptops-card-reader-837273/)

nass 10-10-2010 05:21 PM

no /dev/sd** device appears when I plug in a card to the laptop's card reader
 
Hello there,
I have a Toshiba m40 185 laptop, with a Texas instruments card reader.
I compiled a custom kernel and have been trying to get the card reader to work.

when i plug in the xD card from my camera the kernel seems to get it right :

Quote:

tifm_core: SmartMedia/xD card detected in socket 0:2
and lsmod returns the loaded modules:

Quote:

tifm_7xx1 3598 0
tifm_core 4098 1 tifm_7xx1
still I don't see any /dev/sd** device. I only have a hard disk on /dev/sda

any idea what's going on with the tifm module?

Meson 10-10-2010 05:42 PM

Maybe you don't have a udev rule for it. Which distribution are you using?

BrZ 10-10-2010 05:50 PM

If it helps, mine is /dev/mmcblk0 and my fstab have this line

Quote:

/dev/mmcblk0p1 /mnt/mmc auto defaults,user,noatime 1 0
sony ones still failing to read...

nass 10-10-2010 05:52 PM

slack13.1 32bit

got nothing of the sort BrZ :(

BrZ 10-10-2010 06:41 PM

do you have tifm_sd module?

edit: some info about tifm: http://openfacts.berlios.de/index-en...12/xx21_driver

nass 10-10-2010 07:19 PM

actually no and I started getting curious why is it not loading since I have it compiled as module:

from .config

Quote:

root@starboard:/usr/src/linux# fgrep -i tifm .config
CONFIG_TIFM_CORE=m
CONFIG_TIFM_7XX1=m
CONFIG_MMC_TIFM_SD=m
CONFIG_MEMSTICK_TIFM_MS=m
but after inserting the card in the card reader, I get to the point at which i started this thread....

nass 10-11-2010 04:16 AM

BrZ I am not sure what to make of the link you sent me...

It seems abit old talking about kernels 2.6.22.. so what should I assume that the 'early development stages' for xD cards is now fully implemented?

Then again in kernel 2.6.35.4 i don't see any tifm_xd option when I fgrep exactly that. so maybe nothing is included in the latest kernel versions..

also, if you have any idea, why don't I see the tifm_sd module loaded?

Richard Cranium 10-11-2010 07:14 AM

What version of Slackware comes with a version 2.6.35.4 kernel?

nass 10-11-2010 07:33 AM

none
i'm running slack 13.1 with a custom kernel

Richard Cranium 10-11-2010 07:50 AM

The 2.6.33.4 kernel does have a tifm_sd module. Look in /usr/src/linux-2.6.35.4/drivers/mmc/host/ for the file tifm_sd.c to see if there's one there.

Plus it's nice to mention things like "I'm using a custom kernel" when asking for kernel help. Just saying.

nass 10-11-2010 08:47 AM

I am not sure what you mean by that, but if a feature exist in an earlier kernel it most probably is still there afterwards.

what i mean is that of course the tifm_sd module exist in kernel 2.6.35.4 and i have compiled it in as a module (see above for the .config print).

BrZ 10-11-2010 09:02 AM

http://www.thinkwiki.org/wiki/How_to...D-CARD_working

nass 10-16-2010 03:53 PM

hello again! I'm ressurecting this thread cause I have searched alot for an answer on the matter of the tifm driver.

well first of all, if you enable the mmc_core, mmc_block, tifm_core, tifm_7xx1, tifm_sd modules in the kernel, you'll be able to access Sony SD and microSD cards (I have a couple lying around - 2GB and 8GB).

But I wasn't able to access a 1GB olympus xD card, however much I tried.
Apparently the tifm development team was building a new driver tifm_xD for the xD cards, but that was during kernel 2.6.21 or so.. here is the link http://openfacts.berlios.de/index-en...12/xx21_driver

So no lack on the xD end.

I guess the development has halted or is at least going toooooo slow (if there is nothing about tifm_xD in kernel 2.6.35.4)...

so that's pretty much it about this driver...
If somebody has managed to get an xD card to be read by the (lspci)

Quote:

06:06.3 Mass storage controller: Texas Instruments PCIxx21 Integrated FlashMedia Controller
using the tifm collection of drivers or otherwise (perhaps with the sdhci drivers) please let me know.
Thank you


All times are GMT -5. The time now is 07:11 PM.