Running script before modules load
4 May
2007
4 May
'07
5:12 p.m.
Hello, I need to run the following: setpci -s 03:06.1 4c=0x22 before the kernel auto-loads the mmc_core and sdhci modules. I placed the setpci command in rc.local and it didn't work (modules loaded, but SD reader didn't work). I have module autoloading enabled in the kernel. If I manually do: rmmod sdhci rmmod mmc_core setpci -s 03:06.1 4c=0x22 modprobe mmc_core modprobe sdhci the card reader works. This is to get a SD card reader working on a laptop. Where is the correct place to put commands that need to run prior to the kernel autoloading modules? Chris
6398
Age (days ago)
6398
Last active (days ago)
0 comments
1 participants
participants (1)
-
Chris Pemberton