ninjadev64 / OpenDeck

OpenDeck is a desktop application that provides Stream Deck-like functionality, implementing the Elgato Stream Deck SDK for cross-compatibility.
https://discord.gg/26Nf8rHvaj
BSD 3-Clause "New" or "Revised" License
85 stars 5 forks source link

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

Closed RamboRogers closed 8 months ago

RamboRogers commented 8 months ago

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

ninjadev64 commented 8 months 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 8 months ago

@RamboRogers?

RamboRogers commented 8 months ago

image

RamboRogers commented 8 months ago

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

image

ninjadev64 commented 8 months ago

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

RamboRogers commented 8 months ago

image

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

image

ninjadev64 commented 8 months 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 8 months 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 8 months ago

@RamboRogers Any luck?