| ||||||||
General Mac OS X Discussion General Apple and Mac OS X Discussion
|
| | LinkBack | Thread Tools | Display Modes |
(#191)
|
(#192)
|
(#193)
|
(#194)
|
| Member Posts: 36 Join Date: Dec 2008 | Quote:
The remaining problem is to notify the OS when a user exchanges the SD card to a different one during sleep (I have already added necessary code for detection). IMHO the notification is mandatory, since if not implemented, would lead to silent data corruption on the exchanged card. | |
| | |
(#195)
|
| Expert Member Posts: 962 Join Date: Dec 2008 | Quote:
I can certainly accept the risk of corrupting my card to get a fully functioning sleep resistant SDHC card kernel extension. 8GB SSD, 1GB RAM OS X 10.5.6 | ||
| | |
(#196)
|
| Senior Member Posts: 218 Join Date: Oct 2008 | km9, ok I see I have not looked at the code so on resume do you just do a cardinit? that was what I was going to try next. So I see the detect function, I assume we could just add it to the call back first before the card init right? cheers |
| | |
(#197)
|
| Member Posts: 36 Join Date: Dec 2008 | Attached kext is an updated version of the SD card slot driver with sleep support. Please note that if you eject media before unmounting it from Mac OS X (whether while in sleep or not), the SD card slot will become unusable until next reboot. Quote:
Current version (the kext and the source code on sf.net) marks the card slot as 'not present' when it detects card removal (or when it detects that a card has been swapped to another). If the OS (IOBlockDeviceDriver) could poll media state while the card is mounted, everything should work fine, however... | |
| | |
(#198)
|
| Member Posts: 88 Join Date: Nov 2008 | km9 - That is probably good enough for now. I'd thought of the card swap problem awhile back but since forgotten it. Glad you thought of it again! (Silent data corruption is *not* a good thing!) I won't have time to do a release of it until tomorrow evening, but maybe Type11 can if he gets to it before then. I'd call this one Release Candidate 1. |
| | |
(#199)
|
(#200)
|
| Junior Member Posts: 6 Join Date: Jan 2009 | WOW! I take a month vacation and come back to see a working SD Card (also after sleep) and sleep working on Dell HD to boot! Amazing work people! Now to wipe the drive and help out with the beta testing... |
| | |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Copyright © 2008-2011 MyDellMini.com.









Linear Mode