LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Getting SD card reader to work (https://www.linuxquestions.org/questions/linux-hardware-18/getting-sd-card-reader-to-work-496892/)

ratsm 10-30-2006 07:44 AM

Getting SD card reader to work
 
Hi,

I'm trying to get my internal SD card reader to work on my Thinkpad Z60m, without much luck so far.

I'm trying to follow the instructions from: thinkwiki.org/wiki/How_to_get_the_internal_SD-CARD_working

The first steps are to download a number of .bin files and execute the following commands:

patch -p1 < sdhci-0001.bin
patch -p1 < pci-sdhc-0001.bin
patch -p1 < mmc-respopcode-0001.bin

The first two patches are fine. However, the third patch gives the following error/output:

patching file include/linux/mmc/mmc.h
Hunk #1 FAILED at 27.
1 out of 1 hunk FAILED -- saving rejects to file include/linux/mmc/mmc.h.rej

After that, I'm supposed to run 'make menuconfig' which also doesn't work.

Does anyone have experience with this? Any help would be greatly appreciated. The unit works under windows (got dual-boot) but rebooting all the time is a real hassle.

By the way, I'm running Suse 10.1 with kernel version 2.6.16.13-4-default

Brian1 10-31-2006 06:46 PM

Depending on the patch and the kernel structure at the time it was written may be causing the problem. What I beleive is it is trying to place it in the config file and can not place it self there because what it is looking for is not in that location. Not much time to look over the patches but that would be a start. Might see where the patches are from and see if they mention a particular kernel version. Many changes in structure of the config have taken place in 2.6.15 version.

Brian


All times are GMT -5. The time now is 01:53 PM.