riws Posted February 13, 2009 Share Posted February 13, 2009 Könnt man dieses Problem mit einem StarupItems nicht beheben? Z.B. Als Exec: #!/bin/sh . /etc/rc.common StartService () { } StopService () { kextunload /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAController.kext kextunload /System/Library/Extensions/AppleHDA.kext } RunService "$1" Eine Alternative wäre auch die nach den ID's die Kext'e aus zu laden, da die mehr Personalities mit sich nehmen: #!/bin/sh . /etc/rc.common StartService () { } StopService () { sudo kextunload -b com.apple.iokit.IOAudioFamily sudo kextunload -b com.apple.driver.AudioIPCDriver sudo kextunload -b com.apple.iokit.IOHDAFamily sudo kextunload -b com.apple.driver.AppleHDAController sudo kextunload -b com.apple.driver.AppleHDA } RunService "$1" Als StartupParameters.plist: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Description</key> <string>HDA</string> <key>OrderPreference</key> <string>Last</string> <key>Provides</key> <array> <string>HDA</string> </array> <key>Requires</key> <array> <string>Disks</string> </array> </dict> </plist> Die Service heisst dann HDA Da die System StartupItems eine höchere Priorität hat als Library, dann würde ich die Service ins System stellen. Natürlich chown und chmod dann nicht vergessen: sudo su chown -R root:wheel /System/Library/StartupItems/HDA chmod -R 755 /System/Library/StartupItems/HDA Bei den Laptops kann es vorkommen, dass es Kernel Panic beim Herunterladen bekommt, dies "nur" wenn es von der Batterie läuft, am AC "dürfte" es nicht so sein. Bei einem half es, wenn es den Batterie Kext löschte, Z.B. den von Eureka oder Superhai. Natürlich geht die Batterieanzeige danach nicht mehr. Von Eureka AppleACPIBatteryManager.kext oder AppleACPIRuntime.kext Von Superhai ACPIBattery.kext oder VoodooBattery.kext Von Apple AppleACPIPowerSource.kext, ist ein Plugin von AppleACPIPlatform.kext (v.1.03) Wenn jemand dieses Problem hat, könnte die oben gegene Idee aus probieren. Wenn jemand Ideen hat, dann hier damit. Link to comment https://www.insanelymac.com/forum/topic/152821-applehda-und-shut-down/ Share on other sites More sharing options...
FCK Posted February 13, 2009 Share Posted February 13, 2009 Danke! Ich werd es mal probieren.... mfg.Felix Link to comment https://www.insanelymac.com/forum/topic/152821-applehda-und-shut-down/#findComment-1079156 Share on other sites More sharing options...
FCK Posted February 13, 2009 Share Posted February 13, 2009 Hab ich Tomaten auf den Augen???? Also ich weiß nicht, wo ich die plist hinspeichern soll.... Ich hab das aber nirgends finden können... mfg.Felix Link to comment https://www.insanelymac.com/forum/topic/152821-applehda-und-shut-down/#findComment-1079740 Share on other sites More sharing options...
riws Posted February 14, 2009 Author Share Posted February 14, 2009 Läd einfach die HDA.zip herunter, entpacke es, bekommst einen Ordner mir 2 Dateien in es, kopier den HDA Ordner ins /System/Library/StartupItems/ und fix die Rechte. Link to comment https://www.insanelymac.com/forum/topic/152821-applehda-und-shut-down/#findComment-1080062 Share on other sites More sharing options...
FCK Posted February 14, 2009 Share Posted February 14, 2009 Ups... Fettnäpfchen^^Ich hab nur die Datei HDA dorthin kopiert^^ Danke! mfg.Felix Link to comment https://www.insanelymac.com/forum/topic/152821-applehda-und-shut-down/#findComment-1080165 Share on other sites More sharing options...
riws Posted April 9, 2009 Author Share Posted April 9, 2009 Es gibt hier noch eine Alternative: #!/bin/sh . /etc/rc.common StartService () { sudo rm -rf /System/Library/Extensions.mkext } StopService () { sudo rm -rf /System/Library/Extensions.mkext } RunService "$1" Dies hilf auch noch bei einigen. Und wenn es bei jemandem immernoch nicht aus schaltet, eine andere Methode, damit funktioniert aber Neustart nicht, es schaltet auch dann den PC aus: #!/bin/sh . /etc/rc.common StartService () { kextload /System/Library/Extensions/HDAEnabler.kext } StopService () { shutdown -h now } RunService "$1" Link to comment https://www.insanelymac.com/forum/topic/152821-applehda-und-shut-down/#findComment-1128210 Share on other sites More sharing options...
Recommended Posts