Contribute
Register

Broadcom WiFi/Bluetooth [Guide]

My BCM94360CS2 just work native. Dont need kext at Monterey. Let check your USB map. Bluetooth port need to set at 255 (internal)
In Monterey, after sleep BCM94360CS2 not connect to Apple Magic Mouse 2, after OFF/ON mouse is connect automatically :(
 
In Monterey, after sleep BCM94360CS2 not connect to Apple Magic Mouse 2, after OFF/ON mouse is connect automatically :(
yup. I fixed with sleepwatcher and script restart bluetooth after sleep. Now it work good. Just wait 5 second when your hackintosh wake. Sleepwatcher will do it. Check page 128 at bottom
 
yup. I fixed with sleepwatcher and script restart bluetooth after sleep. Now it work good. Just wait 5 second when your hackintosh wake. Sleepwatcher will do it. Check page 128 at bottom
This is great, but I cannot figure out how to install correctly! What files and where exactly to copy, e.g rc.wakeup?
Please help me.
 
This is great, but I cannot figure out how to install correctly! What files and where exactly to copy, e.g rc.wakeup?
Please help me.
I lost 2 days for set up sleepwatcher. Let check readme.txt bro. You need to install sleepwatcher app, set up location for rc.wakeup, and copy plist file for work
 
I lost 2 days for set up sleepwatcher. Let check readme.txt bro. You need to install sleepwatcher app, set up location for rc.wakeup, and copy plist file for work
I am check readme, what plist is? In folder 2 plists. And where to copy?
 
I lost 2 days for set up sleepwatcher. Let check readme.txt bro. You need to install sleepwatcher app, set up location for rc.wakeup, and copy plist file for work
log show -last 1000 | grep sleepwatcher
021-12-09 10:59:17.836041+0200 0x115c Default 0x0 561 0 sleepwatcher: (HIDAnalytics) HIDAnalytics Unregister Send event com.apple.hid.queueUsage
2021-12-09 10:59:17.836084+0200 0xa8c Default 0x0 404 0 sleepwatcher: (HIDAnalytics) HIDAnalytics Unregister Send event com.apple.hid.queueUsage
2021-12-09 10:59:20.407264+0200 0xa8c Activity 0x17a13 404 0 sleepwatcher: (TCC) TCCAccessRequest() IPC
2021-12-09 10:59:20.407276+0200 0x115c Activity 0x17a04 561 0 sleepwatcher: (TCC) TCCAccessRequest() IPC
 
for user in `echo 'show State:/Users/ConsoleUser' | scutil | awk '/kCGSSessionUserNameKey/ { print $3 }'`; do home=`eval echo ~$user` if [ -x "$home/.wakeup" ]; then logger -t $0 "executing .wakeup of user $user" su - $user -c "\"$home/.wakeup\"" fi done sleep 5 pkill bluetoothd
Hello, I did exactly what the sleepwatcher readme told, and modified rc.wakeup as yours.
But still can't get it running properly.
log show -last 1000 | grep sleepwatcher showed some error.
Could you please look at it and give me some advices.
Thanks~
 

Attachments

  • Screen Shot 2021-12-17 at 12.20.45 AM.png
    Screen Shot 2021-12-17 at 12.20.45 AM.png
    910.9 KB · Views: 64
Hello, I did exactly what the sleepwatcher readme told, and modified rc.wakeup as yours.
But still can't get it running properly.
log show -last 1000 | grep sleepwatcher showed some error.
Could you please look at it and give me some advices.
Thanks~
With this instruction all work:
If not have directoris:
$ sudo mkdir -p /usr/local/sbin /usr/local/share/man/man8
Copy:
$ sudo cp sleepwatcher /usr/local/sbin
$ sudo cp sleepwatcher.8 /usr/local/share/man/man8

Copy and load the launch script to make sure SleepWatcher starts on boot:
sudo cp config/de.bernhard-baehr.sleepwatcher-20compatibility.plist /Library/LaunchDaemons/de.bernhard-baehr.sleepwatcher.plist
sudo launchctl load -w -F /Library/LaunchDaemons/de.bernhard-baehr.sleepwatcher.plist
Swears at security, we allow it in System settings.

You can then add your scripts to /etc/rc.wakeup and /etc/rc.sleep:
sudo touch /etc/rc.wakeup
sudo touch /etc/rc.sleep
sudo chmod +x /etc/rc.sleep /etc/rc.wakeup
Edit rc.wakeup and add script:
#!/bin/sh
for user in `echo 'show State:/Users/ConsoleUser' | scutil | awk '/kCGSSessionUserNameKey/ { print $3 }'`; do
home=`eval echo ~$user`
if [ -x "$home/.wakeup" ]; then
logger -t $0 "executing .wakeup of user $user"
su - $user -c "\"$home/.wakeup\""
fi
done

sleep 5
pkill bluetoothd

At me work! :)
 
Hello, I did exactly what the sleepwatcher readme told, and modified rc.wakeup as yours.
But still can't get it running properly.
log show -last 1000 | grep sleepwatcher showed some error.
Could you please look at it and give me some advices.
Thanks~
I also have this exact same error, struggling to get sleepwatcher to work. I have disabled SIP and gone through my privacy settings to ensure that sleepwatcher has the right access but really struggling to understand why its not working!
 
With this instruction all work:
If not have directoris:
$ sudo mkdir -p /usr/local/sbin /usr/local/share/man/man8
Copy:
$ sudo cp sleepwatcher /usr/local/sbin
$ sudo cp sleepwatcher.8 /usr/local/share/man/man8

Copy and load the launch script to make sure SleepWatcher starts on boot:
sudo cp config/de.bernhard-baehr.sleepwatcher-20compatibility.plist /Library/LaunchDaemons/de.bernhard-baehr.sleepwatcher.plist
sudo launchctl load -w -F /Library/LaunchDaemons/de.bernhard-baehr.sleepwatcher.plist
Swears at security, we allow it in System settings.

You can then add your scripts to /etc/rc.wakeup and /etc/rc.sleep:
sudo touch /etc/rc.wakeup
sudo touch /etc/rc.sleep
sudo chmod +x /etc/rc.sleep /etc/rc.wakeup
Edit rc.wakeup and add script:
#!/bin/sh
for user in `echo 'show State:/Users/ConsoleUser' | scutil | awk '/kCGSSessionUserNameKey/ { print $3 }'`; do
home=`eval echo ~$user`
if [ -x "$home/.wakeup" ]; then
logger -t $0 "executing .wakeup of user $user"
su - $user -c "\"$home/.wakeup\""
fi
done

sleep 5
pkill bluetoothd

At me work! :)
Thanks. Will try this and report back
 
Back
Top