Putting the sdhci to sleep safely [with attachments]
Hi!
(Please always cc: linux-kernel@ with such stuff).
Quoted 5 lines
I am the Editor In Chief of Free Software Magazine
(http://www.freesoftwaremagazine.com)
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)
Quoted 6 lines
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. Can you get info what is wrong with that, and cc lkml, me and greg?
Quoted 6 lines
This is why I felt there was no point for me to file a big report...
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.
Ouch... you failed to mention what kernel you are using?
Pavel
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Hi,
Quoted 1 line
(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
Quoted 10 lines
Quoted 5 lines
I am the Editor In Chief of Free Software Magazine
(http://www.freesoftwaremagazine.com)
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 isWell, 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 [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 19)
Quoted 8 lines
Quoted 6 lines
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
Quoted 2 lines
Can you get info what is wrong
with that, and cc lkml, me and greg?
Sure thing!
Quoted 6 lines
Quoted 4 lines
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...
Quoted 1 line
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 i686 GNU/Linux
I am trying to gather some information - will report back to you ASAP.
Merc.
Hi!
Quoted 5 lines
Quoted 5 lines
Quoted 4 lines
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.
Quoted 8 lines
Quoted 1 line
:-). 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...
Come on, C is not that hard.
Quoted 6 lines
Quoted 1 line
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 i686 GNU/Linux
Okay, so trying 2.6.20-rc2 is good first step.
And then description what the problem is. My machine sleeps okay with sdhci loaded... If I can reproduce, chance to do something about it gets bigger.
Pavel
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Hi,
Quoted 1 line
Okay, so trying 2.6.20-rc2 is good first step.
OK.
Quoted 3 lines
And then description what the problem is. My machine sleeps okay with sdhci loaded... If I can reproduce, chance to do something about it gets bigger.
Would it be easier/better if I managed to get to you a Lenovo 3000 V100 (which *definitely* has the problem) for testing for 1 month?
Merc.
Hi!
Quoted 10 lines
Quoted 1 line
Okay, so trying 2.6.20-rc2 is good first step.
OK.
Quoted 3 lines
And then description what the problem is. My machine sleeps okay with sdhci loaded... If I can reproduce, chance to do something about it gets bigger.
Would it be easier/better if I managed to get to you a Lenovo 3000 V100 (which *definitely* has the problem) for testing for 1 month?
No, I do not think I've time for that.
Pavel
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html