Difference between revisions of "Enable USB Storage on 1.x"

From AwkwardTV
Jump to: navigation, search
m (ericiii corrected me. no sudo needed in rc.local.)
m (added a few details for things people are getting hung up on.)
Line 5: Line 5:
 
== Requirements ==
 
== Requirements ==
  
* Turbo's kextloader from http://0xfeedbeef.com/appletv/
+
* Turbo's patch to enable USB devices from http://0xfeedbeef.com/appletv/
 +
* Turbo's kextloader also from http://0xfeedbeef.com/appletv/
 
* Some kexts from 10.4.9
 
* Some kexts from 10.4.9
 
** Combo update for Intel available from http://www.apple.com/support/downloads/macosx1049comboupdateintel.html
 
** Combo update for Intel available from http://www.apple.com/support/downloads/macosx1049comboupdateintel.html
Line 29: Line 30:
 
Follow Turbo's instructions to create the /mach and /mach.sym files, a reboot is required. Then run Turbo's kext enabler:
 
Follow Turbo's instructions to create the /mach and /mach.sym files, a reboot is required. Then run Turbo's kext enabler:
 
<pre>sudo turbo_kext_enabler.bin</pre>
 
<pre>sudo turbo_kext_enabler.bin</pre>
 +
If you're getting an error here, you might need to chmod 755 the bin file.
  
  
Line 40: Line 42:
 
kextload /System/Library/Extensions/IOUSBMassStorageClass.kext
 
kextload /System/Library/Extensions/IOUSBMassStorageClass.kext
 
</pre>
 
</pre>
 +
  
 
== Epilogue ==
 
== Epilogue ==

Revision as of 20:36, 26 July 2007

DISCLAIMER

This process would not be available without the hard work of Turbo and he deserves all the credit for this accomplishment. Please donate on his site. http://0xfeedbeef.com/appletv/


Requirements


Copy files to AppleTV

Copy IOUSBMassStorageClass.kext, IOStorageFamily.kext, and IOSCSIArchitectureModelFamily.kext from your Mac or combo update to /System/Library/Extensions/ on the AppleTV.


Ensure your owner and permissions are correct

sudo chmod -R 755 /System/Library/Extensions/IOUSBMassStorageClass.kext
sudo chmod -R 755 /System/Library/Extensions/IOStorageFamily.kext
sudo chmod -R 755 /System/Library/Extensions/IOSCSIArchitectureModelFamily.kext
sudo chown -R root:wheel /System/Library/Extensions/IOUSBMassStorageClass.kext
sudo chown -R root:wheel /System/Library/Extensions/IOStorageFamily.kext
sudo chown -R root:wheel /System/Library/Extensions/IOSCSIArchitectureModelFamily.kext


Turbo's Excellent Kext Enabler

Follow Turbo's instructions to create the /mach and /mach.sym files, a reboot is required. Then run Turbo's kext enabler:

sudo turbo_kext_enabler.bin

If you're getting an error here, you might need to chmod 755 the bin file.


Load your kexts

kextload /System/Library/Extensions/IOUSBMassStorageClass.kext

This will load IOUSBMassStorageClass.kext in addition to its dependencies IOStorageFamily.kext and IOSCSIArchitectureModelFamily.kext.

To make this persistent, you can add something like this to your /etc/rc.local:

/your/path/to/turbo_kext_enabler.bin
kextload /System/Library/Extensions/IOUSBMassStorageClass.kext


Epilogue

Now when you plug in a USB disk, your drive's partitions will be mounted at /Volumes/.


Bugs - or Just a Lack of Features

Currently, iTunes cannot recognize any addition space available as the drive is mounted separately and the AppleTV will not factor it into it's total space available. It is however, possible to use the additional space with symbolic links from the ~/Movies directory generally utilized by plugin authors. If anyone has fixes, please post them here.


Please use the Talk page, the forum, or the irc channel for problems.