O2Micro Card Reader in Kernel 2.6
From: http://opalescent.ca/averatec_3700-ed1.html
Built in SD Card Reader
- At this time of this writing, I found that it was necessary to upgrade and patch the Linux kernel to get this laptop to detect the built in SD card reader.
The card reader now works 2 kernel patches later.
I was able to get this to work through the good work of Pierre Ossman.
To get this thing to work, you need to upgrade to download version linux-2.6.17 of the kernel and upgrade to the release candidate version which you can do by downloading patch : patch-2.6.18-rc1 which will bring you to the 2.6.18-rc1 kernel version. You then need to apply 2 patches, the first is to force the kernel to use your controller even though it does not recognize it :http://list.drzeus.cx/pipermail/sdhci-devel/2006-June/001074.html
Lars wird nicht gebraucht in Kernel 2.6.19.2
Lars done, Treiber ist ladbar.
- You then need to patch the kernel again to fix some timeout problems :
http://marc.theaimsgroup.com/?l=linux-kernel&m=115063418500228&w=2 Then build and install the kernel.
Lars ???
- Once the new kernel has been installed, you need to make a special device to access your SD card. Find the major number for your device, mine was 232. The number will be beside mmc in /proc/devices. Then as root :
mknod /dev/mmc0 b 252 0
Lars done, Nummer bei mir: 254 cat /proc/devices
- 252 was the number that I had in /proc/devices, it might be different for you.
- You can now manipulate your SD card like any other device.