[AppeTV]Offtopic & desperate kext loading, commandline loads fine, rc.local fails
#1
I have an AppleTV and have 1 final problem that I can's seem to solve.

I posted on Hackingtosh but no replies.


I have kext composite and want color TV instead of BW Eek

setup:
OTB AppleTV 1.0
Update 1.0 -> 3.0 with 2.4 patchstick
SSH access
SCP access
XBMC install (runs fine)
AFP server and client install
turbo kext loaded.

I have a CRT TV and have pluged-in my composite cable in the green component and now have BW image.

I can, from the commandline load the kext and, no surprise , the image turns to color.

HOWEVER.
loading the kext in rc.local or in startupitems does not seem to work.

rc.local: the kext gets loaded but the image is still BW
startupitems: kext does not get loaded.

Does ANYONE have a tip or idea how to load the DAMN kext at start-up all the time?

RC.LOCAL:
Code:
/sbin/turbo_kext_enabler.bin
/sbin/kextload -v /System/Library/Extensions/IOCDStorageFamily.kext
/sbin/kextload -v /System/Library/Extensions/IODVDStorageFamily.kext
/sbin/kextload -v /System/Library/Extensions/msdosfs.kext
/sbin/kextload -v /System/Library/Extensions/IOUSBMassStorageClass.kext
/sbin/kextload -v /System/Library/Extensions/AppleSMBIOS.kext
/sbin/kextload -v /System/Library/Extensions/IOSCSIArchitectureModelFamily.kext
/sbin/kextload -v /System/Library/Extensions/IOStorageFamily.kext
/sbin/kextload -v /System/Library/Extensions/cddafs.kext
/sbin/kextload -v /System/Library/Extensions/smbfs.kext
/sbin/kextload -v /System/Library/Extensions/udf.kext
/sbin/kextload -v /System/Library/Extensions/IOBluetoothFamily.kext
/sbin/kextload -v /System/Library/Extensions/IOBluetoothHIDDriver.kext
/sbin/kextload -v /System/Library/Extensions/IOHDIXController.kext
/sbin/kextload -v /System/Library/Extensions/ntfs.kext
/sbin/kextload -v /System/Library/Filesystems/fusefs.fs/Support/fusefs.kext
/sbin/kextload -v /System/Library/Extensions/TVComposite.kext




StartupItem:
Code:
ATV_Colour\StartupParameters.plist

{
Description = "Load Composite Kext";
Provides = ("Composite");
OrderPreference = "First";
}


ATV_Colour\ATV_Colour
Code:
#!/bin/sh
. /etc/rc.common
kextload /System/Library/Extensions/TVComposite.kext
MBP late 2009 - TimeCapsule 2TB - Harmony One+ - Readynas NV+ 8TB RAID5 - Mac Mini late 2009 with 10.9.0 and VDA - Panasonic TX-PG420ES -
Reply
#2
idioteque Wrote:I have an AppleTV and have 1 final problem that I can's seem to solve.

I posted on Hackingtosh but no replies.


I have kext composite and want color TV instead of BW Eek

setup:
OTB AppleTV 1.0
Update 1.0 -> 3.0 with 2.4 patchstick
SSH access
SCP access
XBMC install (runs fine)
AFP server and client install
turbo kext loaded.

I have a CRT TV and have pluged-in my composite cable in the green component and now have BW image.

I can, from the commandline load the kext and, no surprise , the image turns to color.

HOWEVER.
loading the kext in rc.local or in startupitems does not seem to work.

rc.local: the kext gets loaded but the image is still BW
startupitems: kext does not get loaded.

Does ANYONE have a tip or idea how to load the DAMN kext at start-up all the time?

RC.LOCAL:
Code:
/sbin/turbo_kext_enabler.bin
/sbin/kextload -v /System/Library/Extensions/IOCDStorageFamily.kext
/sbin/kextload -v /System/Library/Extensions/IODVDStorageFamily.kext
/sbin/kextload -v /System/Library/Extensions/msdosfs.kext
/sbin/kextload -v /System/Library/Extensions/IOUSBMassStorageClass.kext
/sbin/kextload -v /System/Library/Extensions/AppleSMBIOS.kext
/sbin/kextload -v /System/Library/Extensions/IOSCSIArchitectureModelFamily.kext
/sbin/kextload -v /System/Library/Extensions/IOStorageFamily.kext
/sbin/kextload -v /System/Library/Extensions/cddafs.kext
/sbin/kextload -v /System/Library/Extensions/smbfs.kext
/sbin/kextload -v /System/Library/Extensions/udf.kext
/sbin/kextload -v /System/Library/Extensions/IOBluetoothFamily.kext
/sbin/kextload -v /System/Library/Extensions/IOBluetoothHIDDriver.kext
/sbin/kextload -v /System/Library/Extensions/IOHDIXController.kext
/sbin/kextload -v /System/Library/Extensions/ntfs.kext
/sbin/kextload -v /System/Library/Filesystems/fusefs.fs/Support/fusefs.kext
/sbin/kextload -v /kextload /System/Library/Extensions/TVComposite.kext




StartupItem:
Code:
ATV_Colour\StartupParameters.plist

{
Description = "Load Composite Kext";
Provides = ("Composite");
OrderPreference = "First";
}


ATV_Colour\ATV_Colour
Code:
#!/bin/sh
. /etc/rc.common
kextload /System/Library/Extensions/TVComposite.kext

I would try the following in rc.local

Quote:/sbin/kextload -v /System/Library/Extensions/TVComposite.kext
Reply
#3
davilla Wrote:I would try the following in rc.local

Sorry about that but that was a typo due to the copy pasting of the original rc.local.

I adjusted the rc.local above
MBP late 2009 - TimeCapsule 2TB - Harmony One+ - Readynas NV+ 8TB RAID5 - Mac Mini late 2009 with 10.9.0 and VDA - Panasonic TX-PG420ES -
Reply
#4
idioteque Wrote:Sorry about that but that was a typo due to the copy pasting of the original rc.local.

I adjusted the rc.local above

And ?
Reply
#5
not working.

Thanks for the effort but for the lord of all things. I will load but the image stays BW. Confused

If I reload it from the commandline is said kext is already loaded. Weird

If I comment out the line in rc.local and load the kext from the commandline manually the image turns to color as always
MBP late 2009 - TimeCapsule 2TB - Harmony One+ - Readynas NV+ 8TB RAID5 - Mac Mini late 2009 with 10.9.0 and VDA - Panasonic TX-PG420ES -
Reply
#6
Hello,

if you just add "sleep 15" at the beginning of the Startup script, it worked for me. Make sure that the Startup-item is the only component which loads the composite.

That it worked via command line depends when the kernel extension gets loaded I think. So the "sleep" command delays the execution of the script a few seconds (this will not have an impact on your booting since it gets threaded). Not quite beautiful but effective Smile
Reply
#7
thank you I will try it out as soon as possible
MBP late 2009 - TimeCapsule 2TB - Harmony One+ - Readynas NV+ 8TB RAID5 - Mac Mini late 2009 with 10.9.0 and VDA - Panasonic TX-PG420ES -
Reply
#8
<off topic> Hi, idioteque, couldn't find an other way to contact you. Would you be so kind to have a look at your post http://www.xbmc.org/forum/showthread.php?t=36936?
The files are no longer available, and I (and more) are desperate to use them.
Reply

Logout Mark Read Team Forum Stats Members Help
[AppeTV]Offtopic & desperate kext loading, commandline loads fine, rc.local fails0