Re: Putting the sdhci to sleep safely [with attachments]
From: Tony Mobily
Date: Mon Dec 25 2006 - 20:21:19 EST
> (Please always cc: linux-kernel@ with such stuff).
Gosh, alright. I am gonna embarrass myself here, but I guess this is
part of the game...! :-D
>> I am the Editor In Chief of Free Software Magazine
>> I am in a bit of a mission: I would like to see the module sdhci put my
>> card reader to sleep without getting the system highly
>> unstable. This is
> Well, suspend works for me, and my machine seems to have sdhci:
> 0000:15:00.2 0805: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host
> Adapter (rev 18)
Alright, that's what I have as well...
0a:01.1 Generic system peripheral : Ricoh Co Ltd R5C822
SD/SDIO/MMC/MS/MSPro Host Adapter (rev 19)
>> Pierre Ossman, the maintainer of the sdhci module, wrote to me:
>> "Anyway, as far as I know, this isn't a bug in the driver, so there is
>> not very much I can do. The problem is somewhere in the PCI interaction,
>> but I've sent numerous mail to the kernel PCI hackers, but have yet to
>> receive a single reply."
> I've certainly not seen such a mail.
OK. I guess there was a bit of a communication problem here. I am more
than happy to
> Can you get info what is wrong
> with that, and cc lkml, me and greg?
>> So, here I am... please find attache my lspci and the log of what
>> happens when the computer is put to sleep.
>> I would also be happy to organise a bounty for this bug to be fixed.
> :-). Just hunt it yourself. It is probably easier than organizing a bounty.
OK. I had a look at the code, and I foind it depressing. Not because it
was bad, but because it reminded me of how hopeless I am!
I can do my best to get you guys to communicate, *and* to get some
testing done - I am more than happy to spend as long as it takes
testing, compiling patches, and putting my laptop to sleep over and over
and over again. But coding... nope. Not on *this* code...
> Ouch... you failed to mention what kernel you are using?
I told you I'd embarrass myself...
Linux merc-laptop 2.6.19-7-generic #2 SMP Mon Dec 4 16:46:19 UTC 2006
I am trying to gather some information - will report back to you ASAP.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/