Comment 19 for bug 773524

David Duffey (dduffey) wrote :

For those reporting success on the X220, are you using an SD card that was not working before the setpci commands, or are you using an MMC card? I was under the impression that SD cards worked on the X220, and this problem was unique to the Toshiba R850s.

Also, for documentation's sake here is the equivalent kernel code that should do the same as the setpci commands:

      // add below for ricoh e823 before pci_read_config in "Device
probing" and in sdhci_pci_resume.

      pci_write_config_byte(pdev, 0xf9, 0xfc);
      pci_write_config_byte(pdev, 0xf150, 0x10);
      pci_write_config_byte(pdev, 0xf9, 0x00);

      pci_write_config_byte(pdev, 0xfc, 0x01);
      pci_write_config_byte(pdev, 0xe1, 0x32);
      pci_write_config_byte(pdev, 0xfc, 0x00);
         // end of adding code for ricoh e823