Contribute
Register

Broadcom WiFi/Bluetooth [Guide]

Thanks. Will try this and report back
just to confirm, i also followed the steps posted by creo2005 and still got the same error. From what i can see it looks like sleepwatcher is installed but there is an access/security error which is preventing sleepwatch from executing the script
 
just to confirm, i also followed the steps posted by creo2005 and still got the same error. From what i can see it looks like sleepwatcher is installed but there is an access/security error which is preventing sleepwatch from executing the script
Same here.
I figure out an alternative by using Eventscripts to accomplish this.
It works well.
You can give it a try.
If you and others need further details, I will post here.
The only downside is that Eventscripts isn't free.
 
just to confirm, i also followed the steps posted by creo2005 and still got the same error. From what i can see it looks like sleepwatcher is installed but there is an access/security error which is preventing sleepwatch from executing the script
Delete all installed file, after repeat my steps exactly, it helped me, after the original instructions.
And check file permissions, my is:
rc.wakeup 0755
sleepwatcher 0755
sleepwatcher.8 0644
de.bernhard-baehr.sleepwatcher.plist 0644
 
Last edited:
Delete all installed file, after repeat my steps exactly, it helped me, after the original instructions.
And check file permissions, my is:
rc.wakeup 0755
sleepwatcher 0755
sleepwatcher.8 0644
de.bernhard-baehr.sleepwatcher.plist 0644
Thanks for this, I have checked my permissions and they were all correct however I deleted everything and started again following your instructions however still got the same problem :( Have taken a screenshot of my log file. Seems that I am getting an error after running:
sudo launchctl load -w -F /Library/LaunchDaemons/de.bernhard-baehr.sleepwatcher.plist

(2021-12-19 11:06:29.459399+0000 0x373ba)
tccd: [com.apple.TCC:access] Failed to validate dynamic code signature of accessing process <TCCDProcess: identifier=<ID of InvalidCode>, pid=1017, auid=0, euid=0, binary_path=/usr/local/sbin/sleepwatcher>: #-67062: Error Domain=NSOSStatusErrorDomain Code=-67062 "(null)"


Then I tried putting my system to sleep and get this error when waking up:

kernel: (IOHIDFamily) IOHIDLibUserClient:0x1000009af sleepwatcher is not entitled for IOHIDLibUserClient keyboard access
(2021-12-19 11:10:06.986798+0000 0x160)
 

Attachments

  • Screenshot 2021-12-19 at 11.12.20.png
    Screenshot 2021-12-19 at 11.12.20.png
    500.2 KB · Views: 53
Same here.
I figure out an alternative by using Eventscripts to accomplish this.
It works well.
You can give it a try.
If you and others need further details, I will post here.
The only downside is that Eventscripts isn't free.
That would be really helpful if you could post it here. I am going to try and get sleep watcher working but would be good to have another plan as this bluetooth bug is super annoying!
 
Thanks for this, I have checked my permissions and they were all correct however I deleted everything and started again following your instructions however still got the same problem :( Have taken a screenshot of my log file. Seems that I am getting an error after running:
sudo launchctl load -w -F /Library/LaunchDaemons/de.bernhard-baehr.sleepwatcher.plist

(2021-12-19 11:06:29.459399+0000 0x373ba)
tccd: [com.apple.TCC:access] Failed to validate dynamic code signature of accessing process <TCCDProcess: identifier=<ID of InvalidCode>, pid=1017, auid=0, euid=0, binary_path=/usr/local/sbin/sleepwatcher>: #-67062: Error Domain=NSOSStatusErrorDomain Code=-67062 "(null)"


Then I tried putting my system to sleep and get this error when waking up:

kernel: (IOHIDFamily) IOHIDLibUserClient:0x1000009af sleepwatcher is not entitled for IOHIDLibUserClient keyboard access
(2021-12-19 11:10:06.986798+0000 0x160)
About IOHIDLibUserClient keyboard access
check System Properties:
Security & Privacy
Monitoring input
sleepwatcher - have acces?
 

Attachments

  • Снимок экрана 2021-12-19 в 14.04.52.png
    Снимок экрана 2021-12-19 в 14.04.52.png
    727.3 KB · Views: 66
About IOHIDLibUserClient keyboard access
check System Properties:
Security & Privacy
Monitoring input
sleepwatcher - have acces?
Yep - sleepwatcher has access to monitoring input in Security and Privacy.
 
After:
sudo launchctl load -w -F /Library/LaunchDaemons/de.bernhard-baehr.sleepwatcher.plist
-security, we allow it in System settings?
May be enter string 2 times
 
please delete
 
Last edited:
please delete
 
Last edited:
Back
Top