Enable USB Storage on 1.x

From AwkwardTV
Revision as of 00:14, 26 July 2007 by Maraklov (talk | contribs) (New page for USB Storage support)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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


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:

sudo /your/path/to/turbo_kext_enabler.bin
sudo 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.