The suggested commands:
sudo setpci -s 07:05.1 0xCA=0x57 # Write Enable sudo setpci -s 07:05.1 0xCB=0x02 # (MMC Disable) sudo setpci -s 07:05.1 0xCA=0x00 # (Write Disable)
Worked perfectly for my HP Pavillon dv6385ea.
@Gurkan Gur: i think that your script is wrong, as it would do something to the FireWire controller. This will be better:
#!/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
The suggested commands:
sudo setpci -s 07:05.1 0xCA=0x57 # Write Enable
sudo setpci -s 07:05.1 0xCB=0x02 # (MMC Disable)
sudo setpci -s 07:05.1 0xCA=0x00 # (Write Disable)
Worked perfectly for my HP Pavillon dv6385ea.
@Gurkan Gur: i think that your script is wrong, as it would do something to the FireWire controller. This will be better:
#!/bin/bash /MMC\/MS\ /MSPro" | awk '{print $1}'` 0xCA=0x57 /MMC\/MS\ /MSPro" | awk '{print $1}'` 0xCB=0x02 /MMC\/MS\ /MSPro" | awk '{print $1}'` 0xCA=0x00
modprobe -r sdhci
setpci -s `lspci | grep "SD\/SDIO\
setpci -s `lspci | grep "SD\/SDIO\
# setpci -s `lspci | grep "SD\/SDIO\
modprobe sdhci