On Tue, 3 Feb 2009 00:57:54 +0100 Norbert Preining <preining@xxxxxxxx> wrote: > > Ok, here are my test. I was wrong in the previous email. The card does > not have to be in the slot: > > Tests, all with kernel 2.6.29-rc3 > > - normal boot without card in the slot -> not detected > . suspending with OR without card in the slot makes it work!!!! > (that is new, I thought that the card has to be in the slot!) > . re-ejecting and re-inserting always make the card show up > One sequence of eject/re-insert's syslog output is attached. > > - normal boot WITH card in the slot -> detected!!! > > All tests were made with and without ricoh_mmc built into the kernel. It > does not change anything, so ricoh_mmc does not do anything at all here, > can be disabled. > This is extremely odd. I'd normally guess that this is because of a race with ricoh_mmc, but since you've removed that from the equation... > Hmm, isn't there a way to read the pci settings and see the difference? > Could it make *the* difference? Most likely. You can dump the PCI config using lspci -xxx. Compare the data for everything on the Ricoh device (not just the MMC interface) and see if you can see a difference before and after suspend. Rgds -- -- Pierre Ossman Linux kernel, MMC maintainer http://www.kernel.org rdesktop, core developer http://www.rdesktop.org WARNING: This correspondence is being monitored by the Swedish government. Make sure your server uses encryption for SMTP traffic and consider using PGP for end-to-end encryption. -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html