python-elgato-streamdeck
python-elgato-streamdeck copied to clipboard
StreamDeck.Transport.Transport.TransportError on macOS Monterey v12.4.
It's not working for me on macOS Monterey v12.4. This is the error I'm getting
Found 1 Stream Deck(s).
Traceback (most recent call last):
File "/Users/yuensteven/Developer/python-elgato-streamdeck/src/example_deckinfo.py", line 52, in <module>
deck.open()
File "/Users/yuensteven/Developer/python-elgato-streamdeck/src/StreamDeck/Devices/StreamDeck.py", line 155, in open
self.device.open()
File "/Users/yuensteven/Developer/python-elgato-streamdeck/src/StreamDeck/Transport/LibUSBHIDAPI.py", line 352, in open
self.device_handle = self.hidapi.open_device(self.device_info['path'])
File "/Users/yuensteven/Developer/python-elgato-streamdeck/src/StreamDeck/Transport/LibUSBHIDAPI.py", line 181, in open_device
raise TransportError("Could not open HID device.")
StreamDeck.Transport.Transport.TransportError: Could not open HID device.
Sorry for the long delay - I've had a newborn in the last few months which has left me with little free time.
This looks like a permissions error more than anything, does your user account have access to the raw HID device? You can temporarily run the example scripts with sudo
to check if it's permissions related or not.
I have the same issue, but I don't think it's permission related as I can list, and open the StreamDeck without root using hidapitester
Also, congrats on the new baby @abcminiuser 🎉
I have the same issue also on macOS Monterey 12.5.1. both rebooting and running the script as a sudo
doesn't seems to help
Any suggestion?
[Update]: I closed the original Stream Deck application on the mac and I can now control the deck through the API.
I've just tried this on a native M1 machine, and it was able to use my original StreamDeck with no issues (and no sudo
). MacOS Monterey 12.6.1.
Given your update, it sounds like the official software had exclusive access to the device, so I'll close this issue for now unless someone's still having troubles with the latest HEAD.
I have same problem.
Mac OS M1 Max and Sonoma 14.3.1
Does hidapi
work if I install it with arm64 brew?
Any suggestion?