larrybird Posted September 28, 2005 Share Posted September 28, 2005 I tried searching but didn't see anything that covers loading a KEXT on startup. I followed the instructions for getting AC97 to work, including the last step that says to run kextcache and then rebooting. I figured it would have loaded on startup, but it did not. I don't understand how the loading scripts in OS X work. In linux I would just throw them into an rc.local script, but I don't think that's how OS X does things. Link to comment https://www.insanelymac.com/forum/topic/3054-how-to-automatically-load-a-kext-on-startup/ Share on other sites More sharing options...
kaman Posted September 28, 2005 Share Posted September 28, 2005 I tried searching but didn't see anything that covers loading a KEXT on startup. I followed the instructions for getting AC97 to work, including the last step that says to run kextcache and then rebooting. I figured it would have loaded on startup, but it did not. I don't understand how the loading scripts in OS X work. In linux I would just throw them into an rc.local script, but I don't think that's how OS X does things. would you please let me know that you boot the OS X in safe mode or normal mode when you make your sound card to work. Link to comment https://www.insanelymac.com/forum/topic/3054-how-to-automatically-load-a-kext-on-startup/#findComment-19424 Share on other sites More sharing options...
larrybird Posted September 28, 2005 Author Share Posted September 28, 2005 would you please let me know that you boot the OS X in safe mode or normal mode when you make your sound card to work. I boot into normal mode. I used the dd Deadmoo method to install the first time and all my hardware worked flawlessly. I just installed from the patched DVD, but the soundcard wasn't detected. I copied the kext from my previous installed system and can manually load it. Link to comment https://www.insanelymac.com/forum/topic/3054-how-to-automatically-load-a-kext-on-startup/#findComment-19428 Share on other sites More sharing options...
kaman Posted September 28, 2005 Share Posted September 28, 2005 I tried searching but didn't see anything that covers loading a KEXT on startup. I followed the instructions for getting AC97 to work, including the last step that says to run kextcache and then rebooting. I figured it would have loaded on startup, but it did not. I don't understand how the loading scripts in OS X work. In linux I would just throw them into an rc.local script, but I don't think that's how OS X does things. try to edit the /etc/rc. I think it has the same functions as the rc.local in linux. Link to comment https://www.insanelymac.com/forum/topic/3054-how-to-automatically-load-a-kext-on-startup/#findComment-19430 Share on other sites More sharing options...
larrybird Posted September 28, 2005 Author Share Posted September 28, 2005 try to edit the /etc/rc. I think it has the same functions as the rc.local in linux. I went ahead and threw it into /etc/rc but noticed no sound when I started up. I removed the line, restarted, and tried to manually load the kext. It refuses to load now. It declares that it is not a bundle. This is the guide I followed: http://wiki.osx86project.org/wiki/index.php/Audio Link to comment https://www.insanelymac.com/forum/topic/3054-how-to-automatically-load-a-kext-on-startup/#findComment-19433 Share on other sites More sharing options...
macgirl Posted September 28, 2005 Share Posted September 28, 2005 Copy from Darwin CD AudioAC97audio.kext IOAudiofamilie.kext AudioDeviceTreeUpdater.kext VirtualAudioDriver.kext Edit the Info.plist if needed, also delete Extension.mkext and Extensions.kextcache to clear caches. Link to comment https://www.insanelymac.com/forum/topic/3054-how-to-automatically-load-a-kext-on-startup/#findComment-19508 Share on other sites More sharing options...
belcampo Posted January 19, 2006 Share Posted January 19, 2006 Hi all, Trying to get OSX86 to run on an ASUS Pundit-R, it does, but trying to get sound I fail, followed instructions from http://wiki.osx86project.org/wiki/index.php/Audio, edited Info.plist added a ATI section the way the NVIDIA is structured, added 0x43411002 as string for my audio device. I checked that AudioAC97audio.kext IOAudiofamilie.kext AudioDeviceTreeUpdater.kext and VirtualAudioDriver.kext do exist, searched for Extensions.mkext and Extensions.kextcache but can't find any so it looks all prerequisites are met. But kextload -t AppleAC97AudioIntelICH.kext results in can't add kernel extension AppleAC97AudioIntelICH.kext (not a bundle) (run kextload on this kext with -t for diagnostic output), despite having added the -t Anyone a hint ? Link to comment https://www.insanelymac.com/forum/topic/3054-how-to-automatically-load-a-kext-on-startup/#findComment-44895 Share on other sites More sharing options...
Recommended Posts