LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 10-10-2010, 05:21 PM   #1
nass
Member
 
Registered: Apr 2006
Location: Athens, Greece
Distribution: slack(64|32)_v(13.37|14.0), debian6, ubuntu
Posts: 630

Rep: Reputation: 36
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?
 
Old 10-10-2010, 05:42 PM   #2
Meson
Member
 
Registered: Oct 2007
Distribution: Arch x86_64
Posts: 606

Rep: Reputation: 66
Maybe you don't have a udev rule for it. Which distribution are you using?
 
Old 10-10-2010, 05:50 PM   #3
BrZ
Member
 
Registered: Apr 2009
Distribution: Slackware
Posts: 492

Rep: Reputation: 80
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...
 
Old 10-10-2010, 05:52 PM   #4
nass
Member
 
Registered: Apr 2006
Location: Athens, Greece
Distribution: slack(64|32)_v(13.37|14.0), debian6, ubuntu
Posts: 630

Original Poster
Rep: Reputation: 36
slack13.1 32bit

got nothing of the sort BrZ

Last edited by nass; 10-10-2010 at 05:56 PM.
 
Old 10-10-2010, 06:41 PM   #5
BrZ
Member
 
Registered: Apr 2009
Distribution: Slackware
Posts: 492

Rep: Reputation: 80
do you have tifm_sd module?

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

Last edited by BrZ; 10-10-2010 at 06:47 PM.
 
Old 10-10-2010, 07:19 PM   #6
nass
Member
 
Registered: Apr 2006
Location: Athens, Greece
Distribution: slack(64|32)_v(13.37|14.0), debian6, ubuntu
Posts: 630

Original Poster
Rep: Reputation: 36
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....
 
Old 10-11-2010, 04:16 AM   #7
nass
Member
 
Registered: Apr 2006
Location: Athens, Greece
Distribution: slack(64|32)_v(13.37|14.0), debian6, ubuntu
Posts: 630

Original Poster
Rep: Reputation: 36
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?
 
Old 10-11-2010, 07:14 AM   #8
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.1
Posts: 1,482

Rep: Reputation: 420Reputation: 420Reputation: 420Reputation: 420Reputation: 420
What version of Slackware comes with a version 2.6.35.4 kernel?
 
Old 10-11-2010, 07:33 AM   #9
nass
Member
 
Registered: Apr 2006
Location: Athens, Greece
Distribution: slack(64|32)_v(13.37|14.0), debian6, ubuntu
Posts: 630

Original Poster
Rep: Reputation: 36
none
i'm running slack 13.1 with a custom kernel
 
Old 10-11-2010, 07:50 AM   #10
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.1
Posts: 1,482

Rep: Reputation: 420Reputation: 420Reputation: 420Reputation: 420Reputation: 420
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.
 
Old 10-11-2010, 08:47 AM   #11
nass
Member
 
Registered: Apr 2006
Location: Athens, Greece
Distribution: slack(64|32)_v(13.37|14.0), debian6, ubuntu
Posts: 630

Original Poster
Rep: Reputation: 36
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).
 
Old 10-11-2010, 09:02 AM   #12
BrZ
Member
 
Registered: Apr 2009
Distribution: Slackware
Posts: 492

Rep: Reputation: 80
http://www.thinkwiki.org/wiki/How_to...D-CARD_working
 
Old 10-16-2010, 03:53 PM   #13
nass
Member
 
Registered: Apr 2006
Location: Athens, Greece
Distribution: slack(64|32)_v(13.37|14.0), debian6, ubuntu
Posts: 630

Original Poster
Rep: Reputation: 36
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] laptop's onboard SD card reader does not work with Linux. Intel Mobo... brjoon1021 Linux - Laptop and Netbook 5 08-18-2009 01:25 PM
usb device detection, manual insertion card(smart card) reader problem, zapkhiel Linux - Hardware 4 07-17-2009 08:50 AM
How to access laptop's built in memory card reader? Ckradjia Linux - Hardware 4 04-07-2006 08:46 PM
Sandisk USB card Reader not linking /dev/sg0 to /dev/sda acidraven Linux - Hardware 1 06-19-2004 03:56 PM
USB Compact flash card reader hotplug creates /dev/sda but no /dev/sda1 -Mandrake 9.1 bibinono Linux - Hardware 2 08-11-2003 09:37 AM


All times are GMT -5. The time now is 12:17 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration