question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error during attach: Could not open HID device.

See original GitHub issue

Describe the bug

The UI worked fine in the first round, but it was blank after closing and reopening. Running from the console output the following message: Error during attach: Could not open HID device.

To Reproduce Steps to reproduce the behavior:

  1. Open Streamdeck UI
  2. Configure, add buttons/actions, etc.
  3. Close
  4. Reopen

Expected behavior Should connect to the device and reload the existing configuration.

Screenshots Capture d’écran du 2022-08-07 18-57-45-NO-SERIAL

Capture d’écran du 2022-08-07 18-55-51

Operating system (please complete the following information)

  • OS: Arch
  • Desktop environment: Gnome
  • Python version 3.10.5
  • StreamDeck UI 2.0.4
    • streamdeck 0.9.1
    • pyside2 5.15.5
    • pillow 9.2.0
    • pynput 1.7.6

Stream Deck Version

  • XL

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:9

github_iconTop GitHub Comments

1reaction
Data-007commented, Aug 11, 2022

Pressing X is causing the issue in the first place. Some code to detach the device should be written around the X control. we should have a systemd service! (https://github.com/timothycrosley/streamdeck-ui/issues/189#issuecomment-1012631171) See above HIH

0reactions
ulrichwissercommented, Sep 13, 2022

As I wrote above, idProduct=0080 is missing in the gh-pages branch. It is in the README.md, but not on the homepage.

Read more comments on GitHub >

github_iconTop Results From Across the Web

cant load after installing (used ubuntu script) · Issue #41
hi - i am trying to get my XL working in ubuntu19.10 i ran the ubuntu script and when completed i tried to...
Read more >
Streamdeck_ui issues : r/linux4noobs
The gui loads up, I see an error in the terminal about being unable to connect to the HID device, and the GUI's...
Read more >
python-elgato-streamdeck
Returns. Vendor ID of the attached device. abstract write(payload). Sends a HID Out report to the open HID device. Parameters.
Read more >
Ubuntu 20.04 LTS libusb/hidapi fails to open Corsair ...
When I try and run it without sudo it fails to open the device. hidapi: failed to open device. I created a /etc/udev/rules.d/51-usb-streamdeck....
Read more >
Attaching Live Devices via USB Kernel Error? - Support
I have a USB issue that I've been tracking for a few months (ORICO PCI 7 USB Extender is Unstable?) (PCI USB Card...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found