Dell M1210 MMC Card working

At last I got my MMC Card reader working on my Dell M1210 which is running on Ubuntu Gutsy 7.10.

MMC Devices found on my laptop:

03:01.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller
03:01.1 Generic system peripheral [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 19)
03:01.2 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 0a)
03:01.3 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 05)

Following lines made the trick to get these MMC hardware working:

sudo setpci -s 03:01.1 0xCA=0×57
sudo setpci -s 03:01.1 0xCB=0×02
sudo setpci -s 03:01.1 0xCA=0×00

They above lines are associating the hardware device_id with the vendor_id to get it working.

If you’re not sure about the device id you better use the following script :

#!/bin/bash
modprobe -r sdhci
setpci -s `lspci | grep "SD\/SDIO\/MMC\/MS\/MSPro" | awk '{print $1}'` 0xCA=0x57
setpci -s `lspci | grep "SD\/SDIO\/MMC\/MS\/MSPro" | awk '{print $1}'` 0xCB=0x02
setpci -s `lspci | grep "SD\/SDIO\/MMC\/MS\/MSPro" | awk '{print $1}'` 0xCA=0x00
modprobe sdhci

I have all my hardware active. Now all I need is an Express Card device. They have already replaced PCMCIA cards on laptops. So far I haven’t got to use one.

[?]
Share This

Leave a Reply

Close
E-mail It