PDA

View Full Version : how to mount sd cards with pcmcia based internal card reader


TerryP
02-17-2008, 05:57 PM
As far as I've ever been able to find my laptops motherboard is supposed to be usb/pcmcia based.


There used to be a da0-da6 when I used to used to use a UFD so I thought the card reader might be attached via USB internally like the one on my desktop because I only have 4 USB ports.

Currently there are no da devices in /dev

The car dreader on my desktop works great actually, I just have to try and mount the da device that corresponds to the slot and then mount the daNs1 that gets created ;-)


My laptop is not so lucky...


Looking through pciconf


none5@pci5:9:3: class=0x018000 card=0x0300107b chip=0x8033104c rev=0x00 hdr=0x00
vendor = 'Texas Instruments (TI)'
device = 'PCIxx11/21 Integrated FlashMedia Controller'
class = mass storage
none6@pci5:9:4: class=0x080500 card=0x0300107b chip=0x8034104c rev=0x00 hdr=0x00
vendor = 'Texas Instruments (TI)'
device = '10981734 SDA Standard Compliant SD Host Controller'
class = base peripheral


looks like thats the card reader.


Does any one know what I can do with this short of writing a driver ???

graedus
02-17-2008, 06:30 PM
I've too been out of luck with built-in laptop flash card readers. I just gave up.

TerryP
02-18-2008, 03:38 AM
This really makes me wish newegg.com didn't tend to be 30-50% cheaper then the local stores on most items....


Time to learn more hehe.

wmjodea
03-30-2008, 04:20 AM
I think it under PCI. try pciconf -lv to see if it show up there , pciconf will show all pci devices even if no driver is loaded. Also check kldstat to see if any drivers are loaded.

Maximus Gaius
05-09-2008, 10:18 PM
I have got a ricoh Sd on my laptop.
I installed the http://www.agt.ne.jp/~a-gota/programs/d ... 627.tar.gz (http://www.agt.ne.jp/~a-gota/programs/driver/FBSD6.2R/memcard/sdmmc-20070627.tar.gz) driver.
I loaded up the ko file into loader.conf and this is how my pciconf looks like now
fwohci0@pci3:1:0: class=0x0c0010 card=0x02281028 chip=0x08321180 rev=0x05 hdr=0x00
vendor = 'Ricoh Company, Ltd.'
device = 'unknown IEEE 1394 (4 pin firewire) chip)'
class = serial bus
subclass = FireWire
cap 01[dc] = powerspec 2 supports D0 D1 D2 D3 current D0
sdshc0@pci3:1:1: class=0x080501 card=0x02281028 chip=0x08221180 rev=0x22 hdr=0x00
vendor = 'Ricoh Company, Ltd.'
device = 'R5C832, R5C843 SDA Standard Compliant SD Host Controller'
class = base peripheral
cap 01[80] = powerspec 2 supports D0 D1 D2 D3 current D0
none2@pci3:1:2: class=0x088000 card=0x02281028 chip=0x08431180 rev=0x12 hdr=0x00
vendor = 'Ricoh Company, Ltd.'
device = 'unknown Ricoh MMC Host Controller'
class = base peripheral
cap 01[80] = powerspec 2 supports D0 D1 D2 D3 current D0
none3@pci3:1:3: class=0x088000 card=0x02281028 chip=0x05921180 rev=0x12 hdr=0x00
vendor = 'Ricoh Company, Ltd.'
device = '13871043 Ricoh Memory Stick Host Controller'
class = base peripheral
cap 01[80] = powerspec 2 supports D0 D1 D2 D3 current D0
none4@pci3:1:4: class=0x088000 card=0x02281028 chip=0x08521180 rev=0x12 hdr=0x00
vendor = 'Ricoh Company, Ltd.'
device = 'unknown Ricoh xD-Picture Card Host Controller'
class = base peripheral
cap 01[80] = powerspec 2 supports D0 D1 D2 D3 current D0

Earlier the ieee and sd host controller used to show as none. now it shows up as fwohci0 and sdshc0. I am assuming that the driver has been found. Hence the none has changed. I will try wether i can load a sd card when i get one.
Try out the download as see if your card is also working.
I got this link from here
http://bsd.b3ta.org/2007/05/24/freebsd- ... rd-reader/ (http://bsd.b3ta.org/2007/05/24/freebsd-compaq-presario-v3000-ricoh-card-reader/)

Hope this helps
chao