Jump to content

Anyone makes Lion TRIM works for non-Apple SSD drive?


allenwkk
 Share

4 posts in this topic

Recommended Posts

Try the following one-line command in Terminal on the active system:

(You can remove the backslash "\" at the end of the first line to put this all on one line.)

# Works for IOAHCIBlockStorage.kext version 2.0.0 (Lion)

 

Enable:

perl -pi -e 's|(\x52\x6F\x74\x61\x74\x69\x6F\x6E\x61\x6C\x00).{9}(\x00\x51)|$1\x00\x00\x00\x00\x00\x00\x00\x00\x00$2|sg' \

/System/Library/Extensions/IOAHCIFamily.kext/Contents/PlugIns/IOAHCIBlockStorage.kext/Contents/MacOS/IOAHCIBlockStorage

 

Disable:

perl -pi -e 's|(\x52\x6F\x74\x61\x74\x69\x6F\x6E\x61\x6C\x00).{9}(\x00\x51)|$1\x41\x50\x50\x4C\x45\x20\x53\x53\x44$2|sg' \

/System/Library/Extensions/IOAHCIFamily.kext/Contents/PlugIns/IOAHCIBlockStorage.kext/Contents/MacOS/IOAHCIBlockStorage

 

 

best regards,

MA

 

P.S. It's best practice to save a copy of the original IOAHCIBlockStorage.kext in /S/L/E, just in case.

Link to comment
Share on other sites

  • 2 weeks later...

I tried TRIM on Nvidia chipset (With the TRIM 1.1 patcher), but it does not work

 

Corsair CSSD-V32GB2:

 Capacity:	32.02 GB (32,017,047,552 bytes)
 Model:	Corsair CSSD-V32GB2					 
 Revision:	1.100000
 Serial Number:	xx
 Removable Media:	No
 Detachable Drive:	No
 BSD Name:	disk0
 Protocol:	ata
 Unit Number:	0
 Socket Type:	Serial-ATA
 Partition Map Type:	GPT (GUID Partition Table)
 S.M.A.R.T. status:	Verified
 Volumes:
disk0s1:
 Capacity:	209.7 MB (209,715,200 b

 

it does not detect solid state

 

I am using:

AppleNForceATA.imk64bit

 

in Lion

Link to comment
Share on other sites

  • 2 months later...
 Share

×
×
  • Create New...