ninjadev64 / OpenDeck

OpenDeck is a cross-platform desktop application that provides functionality for stream controller devices.
https://discord.gg/26Nf8rHvaj
GNU General Public License v3.0
185 stars 8 forks source link

TypeError: cannot open device with path /dev/hidraw__ #3

Closed RamboRogers closed 1 year ago

RamboRogers commented 1 year ago

The automated builds are broken and won't start. It looks super cool though! Electron can be a bear. image

ninjadev64 commented 1 year ago

What Linux distro (and kernel version) are you using?

This is the same issue as #2, please try the troubleshooting steps I mentioned there.

ninjadev64 commented 1 year ago

@RamboRogers?

RamboRogers commented 1 year ago

image

RamboRogers commented 1 year ago

I just installed the package again, from the last unfailed build.

image

ninjadev64 commented 1 year ago

Yes, it's not a problem with the build. Please try the troubleshooting steps I detailed in #2.

RamboRogers commented 1 year ago

image

I can run Stream Deck UI, which looks sad next to your awesome app.

image

ninjadev64 commented 1 year ago

Cut from the other issue:

Make sure you've:

  • Applied the udev subsystem rules properly (as per here)

  • Ran sudo udevadm control --reload-rules

  • Then disconnected and reconnected the device and/or rebooted to make sure the changes get applied

If it still doesn't work, try sudo chmod 666 /dev/hidraw13 while neither OpenDeck nor streamdeck-ui are running and then trying again. If this works, it means that the udev rules are not setup correctly.

This is an issue someone else on the Discord server experienced a while ago, but they got busy and we never solved it. It's also an identical issue to @node-hid/node-hid#454.

This is what I've been talking about.

ninjadev64 commented 1 year ago

Oh, didn't catch the first screenshot in your last message. The path will be what's in the error message, which for you is /dev/hidraw6 in your original post and /dev/hidraw2 in the other.

ninjadev64 commented 1 year ago

@RamboRogers Any luck?