Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Razer Synapse Nightmare in a Hackintosh Big Sur 11.3.1 and 11.6.1
- # Razer Keyboard, Razer Tartarus V2 and Razer Mamba devices.
- # Next time going to other Brand devices. Sorry Razer your NO Support in macOS is too much too handle. So greedy.
- # Install Razer Razer_Synapse_Mac_Driver_v1.87.dmg
- # Do not reboot yet
- # Open Terminal
- # Commands in Terminal
- launchctl load /Library/LaunchAgents/com.razerzone.rzdeviceengine.plist
- launchctl load /Library/LaunchAgents/com.razer.rzupdater.plist
- # Now you see Synapse Icon in Menu bar
- # Open Synapse after some seconds a Exclamation Icon shall appear in the bottom right corner
- # Update Synapse 187 to 188.20 It will take a while.
- # Now reboot with the Original Synapse 1.87 Installation window. (You save a reboot with this)
- # Now in order to Synapse be able to discover your devices you need to unplug and plug your devices. This sucks. Thanks Razer.
- # Fixes: I found several fixes but some did not worked and others did.
- # Sources:
- # https://developer.apple.com/forums/thread/649829
- # https://gist.github.com/fcoclavero/431123c7708e42de63eb75264a44de02
- # What worked for me. Synapse in Offline mode in order to not to interfere with my BetterTouchTool and Karabiner setups.
- # Below you have how to reset the Razer devices you may have in your computer.
- # How to Install Xcode command line tools
- # Commands in Terminal
- sudo rm -rf /Library/Developer/CommandLineTools
- sudo xcode-select --install
- # How to install uhubctl
- brew tap mvp/uhubctl https://github.com/mvp/uhubctl
- brew install uhubctl
- # How to use uhubctl
- # run uhubctl command alone to list the usb devices connected to the computer.
- # Commands in Terminal
- uhubctl
- # Check the Options with uhubctl --help
- #
- # --action, -a - action to off/on/cycle/toggle (0/1/2/3) for affected ports.
- # --ports, -p - ports to operate on [all hub ports].
- # --location, -l - limit hub by location [all smart hubs].
- # --delay, -d - delay for cycle action [2 sec].
- # Example from website https://gist.github.com/fcoclavero/431123c7708e42de63eb75264a44de02
- # uhubctl -l 20-6 -p 3 -a cycle -d 2
- # Create a shell script named "usb_reset.sh":
- # Commands in Terminal - Copy and paste in a terminal if you feel lazy
- echo -e "#\!/bin/bash
- sleep 7
- uhubctl -l 20-4.1.1 -p 2 -a cycle -d 2 # Razer Tartarus Example
- uhubctl -l 20-4 -p 2 -a cycle -d 2 # Razer Mouse Example
- uhubctl -l 20-4 -p 3 -a cycle -d 2 # Razer Keyboard Example
- killall Terminal " > usb_reset_test.sh
- #### NOW LAUNCH IT EVERY TIME YOU BOOT WITH YOUR USER ####
- # Copy the script usb_reset.sh to /usr/local/bin/usr_reset
- # Commands in Terminal
- cp usb_reset.sh /usr/local/bin/usr_reset
- chmod +x /usr/local/bin/usr_reset
- # Create a com.user.programtest.plist
- vi com.user.programtest.plist
- <?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
- <plist version="1.0">
- <dict>
- <key>Label</key>
- <string>com.user.programtest</string>
- <key>ProgramArguments</key>
- <array>
- <string>/usr/local/bin/usr_reset</string>
- </array>
- <key>Nice</key>
- <integer>1</integer>
- <key>StartInterval</key>
- <integer>60</integer>
- <key>RunAtLoad</key>
- <true/>
- <key>StandardErrorPath</key>
- <string>/tmp/usb_reset1.err</string>
- <key>StandardOutPath</key>
- <string>/tmp/usb_reset1.out</string>
- </dict>
- </plist>
- # Commands in Terminal
- cp com.user.usb_reset.plist ~/Library/LaunchAgents/
- chmod 644 ~/Library/LaunchAgents/com.user.usb_reset.plist
- # Reboot and should have worked.
- # Need To Fix Karabiner Device not taking control before Synapse
- VM Ware Fusion pasing USB Keyboard and Mouse to the Guest VM
- https://blog.rylander.io/2020/06/26/Passthrough-USB-Keyboard-and-Mouse-to-VM-using-ESXi-V7/
Add Comment
Please, Sign In to add comment