Max.1974 Posted October 14 Share Posted October 14 3 horas atrás, miliuco disse: @Max.1974 "Script de instalação Home Brew & SleepBTWatcher" (sete postagens acima) está bem, instala todas as coisas necessárias, cria arquivos ~/.sleep (desativa BT) e ~/.wakeup (ativa BT) e, no final, mata o processo bluetoothd para iniciar todas as novas configurações (é reativado em alguns segundos). Eu tenho que experimentar. A pergunta que eu tenho é se nos arquivos ~/.sleep e ~/.wakeup será suficiente com esses comandos de linha única: $(qual blueutil) -p 0 (~/.sleep) $(que blueutil) -p 1 (~/.wakeup) Ou se for necessário completá-los com mais comandos, como no outro script que você carregou: ~/.dormir sudo kill -9 $(pgrep bluetoothd) $(qual blueutil) -p 0 sudo kextunload -b com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport sudo kextunload -b com.apple.iokit.IOBluetoothHostControllerUARTTransport sudo launchctl stop com.apple.bluetoothd ~/.acordar $(qual blueutil) -p 1 sudo launchctl start com.apple.bluetoothd sudo kextload -b com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport Vou tentar os dois caminhos. Você tentou os dois também? Hanks. Hi @Miliuco I could not test on Sequoia because I have no issues with my ssdts and patchers. So sorry, I was used sometime ago, but I not sure if those kexts is present on Sequoia. I will try test but for while, I have not issues (thanks Lord !) com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport com.apple.iokit.IOBluetoothHostControllerUARTTransport Im not find it on Sequoia 1 Link to comment Share on other sites More sharing options...
Max.1974 Posted October 14 Share Posted October 14 @Irish_Man hi my friend I hope that works for you! Back-up older. I suggest you rename to SSDT-RHUB RHUB+Kext-Compiled UPC.zip 1 Link to comment Share on other sites More sharing options...
Slice Posted October 23 Share Posted October 23 On 10/13/2024 at 3:27 PM, miliuco said: defaults write com.apple.loginwindow PowerButtonSleepsSystem -bool yes -> macOS goes to sleep when pressing power button defaults write com.apple.loginwindow PowerButtonSleepsSystem -bool no -> macOS displays a dialog (sleep, restart, shutdown) as in real Macs. Wow! Thank you! I lost this trick and only now I have this dialog again. It allows manipulate on black screen if somehow graphics card is not switched on: <Power Button> for 1 second, <Tab>, <Space> -> reboot, or <Power Button> for 1 second, <Tab>, <Tab>, <Space> -> enter sleep. <Mouse click> -> wake with graphics. 3 Link to comment Share on other sites More sharing options...
miliuco Posted October 23 Author Share Posted October 23 @Slice Well, I was unaware of these settings that you posted. So thanks to you too 1 Link to comment Share on other sites More sharing options...
chris1111 Posted October 25 Share Posted October 25 Ctrl + Power button on Sequoia Hackintosh PC to see this button 3 Link to comment Share on other sites More sharing options...
chris1111 Posted November 13 Share Posted November 13 macOS Sequoia Version 15.2 Beta (24C5079e) no more issue Loosing bluetooth after Sleep here on HP Probook 650 G1 2 Link to comment Share on other sites More sharing options...
LockDown Posted November 14 Share Posted November 14 On 10/13/2024 at 8:27 PM, miliuco said: defaults write com.apple.loginwindow PowerButtonSleepsSystem -bool yes -> macOS goes to sleep when pressing power button defaults write com.apple.loginwindow PowerButtonSleepsSystem -bool no -> macOS displays a dialog (sleep, restart, shutdown) as in real Macs. Do we need to sudo? 1 Link to comment Share on other sites More sharing options...
miliuco Posted November 14 Author Share Posted November 14 @LockDown Try yourself. No, sudo not required. Link to comment Share on other sites More sharing options...
hardcorehenry Posted November 15 Share Posted November 15 (edited) Not sure if it's related, but in Sequoia property pci-aspm-default is gone from almost all devices/bridges. If I run: ioreg -l -p IODeviceTree | grep pci-aspm-default I get in Sonoma: Spoiler and in Sequoia: Spoiler Edited November 15 by hardcorehenry 1 Link to comment Share on other sites More sharing options...
chris1111 Posted November 17 Share Posted November 17 (edited) I created a different approach with an AppleScript that launches an app (Its a simple Sleeper.app) whenever the mac goes idle after 5 minutes of inactivity the app is launches then make the mac in Sleep It base on idle counter The project is on test now to make it more functional so that it is perfect. Edited November 17 by chris1111 5 Link to comment Share on other sites More sharing options...
Max.1974 Posted November 17 Share Posted November 17 Hi all, with Apple Magic Keyboard, I just click ctrl + Eject and shows up power menu 3 Link to comment Share on other sites More sharing options...
miliuco Posted November 18 Author Share Posted November 18 @chris1111 I can't find Sleeper.app in your Github. Is it available? 2 Link to comment Share on other sites More sharing options...
chris1111 Posted November 19 Share Posted November 19 (edited) 23 hours ago, miliuco said: @chris1111 I can't find Sleeper.app in your Github. Is it available? Hi @miliuco Its not on github now but my test is verry ssucessful Sleeper time test.zip Please test USAGE: Set Up Lock Screen Copy paste SleeperTime folder to ➦ /Users/Shared Adjust in seconds the time to sleep (The script check how many time the computer has been idle) set timeToSleep to 60 -------------------------------------------------------------------- Copy paste com.chris1111.sleeper.plist to ➦ /Library/LaunchAgents Wait for he Popup new LoginItem Add Reboot macOS then dont use the mouse or keybord for the time you indicated then the Mac will sleep. EDIT: I set it to Users Shared just to save you from having to edit the directory in the plist file You can use another directory, there is no problem. Edited November 19 by chris1111 I set it to Users Shared just to save you from having to edit the directory in the plist file 2 Link to comment Share on other sites More sharing options...
miliuco Posted November 19 Author Share Posted November 19 @chris1111 Thank you. I'll try and comment. 2 Link to comment Share on other sites More sharing options...
chris1111 Posted November 20 Share Posted November 20 15 hours ago, miliuco said: @chris1111 Thank you. I'll try and comment. Thanks I know it works but here Sleeper I put this in Bash mutch more better with an install command script Verry good Ive test for two days now without issue 1 Link to comment Share on other sites More sharing options...
miliuco Posted November 21 Author Share Posted November 21 @chris1111 Tried. Ir woks fine. Of course, bash better than AppleScript. Installer makes things very easy. 1 1 Link to comment Share on other sites More sharing options...
chris1111 Posted November 22 Share Posted November 22 (edited) 2 hours ago, miliuco said: @chris1111 Tried. Ir woks fine. Of course, bash better than AppleScript. Installer makes things very easy. Thanks @miliuco really appreciate. Edited November 22 by chris1111 1 Link to comment Share on other sites More sharing options...
Recommended Posts