Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ERROR] Error connecting to streamdeck: Hid(HidApiError { message: "No HID devices with requested VID/PID found in the system." }) #28

Open
hellishvictor opened this issue Mar 23, 2024 · 5 comments

Comments

@hellishvictor
Copy link

Hi, I get the error on the title using one of the followings:

streamdeck-cli --serial CL1234567890 get-buttons
streamdeck-cli --vid 0fd9 get-buttons

However, it did connect using the "--pid" option:
streamdeck-cli --pid 0063 get-buttons
Connected to device (vid: 0fd9 pid: 0063 serial: CL1234567890)

Cheers.

@AleksanderZdunek
Copy link
Contributor

Hi
With anything but the older model StreamDeck Mini (pid 0063) this is expected behaviour since pid is a required parameter but if it's not provided streamdeck-cli assumes a Mini by default. I don't have access to a Mini so I can not reproduce.

@hellishvictor
Copy link
Author

Same with the SD XL (pid 006c) using the serial and vid, but no problem using the pid.

@hellishvictor hellishvictor changed the title [ERROR] Error connecting to streamdeck: Hid(HidApiError { message: "No HID devices with requested VI D/PID found in the system." }) [ERROR] Error connecting to streamdeck: Hid(HidApiError { message: "No HID devices with requested VID/PID found in the system." }) Mar 27, 2024
@AleksanderZdunek
Copy link
Contributor

Yes, with the XL this is expected behaviour. Pid is required parameter.

Technically vid is required as well, but currently there is no reason to use anything but the default value.
Serial is optional and only really useful to distinguish between StreamDecks if you have more than one of the same model connected at the same time. But even when using serial you still need to pass the correct pid as well.

@hellishvictor
Copy link
Author

Ok, --serial and --vid are complementary of --pid (which is the main) for be used only when there's several devices connected.
Thanks for your explanation.

@ryankurte
Copy link
Owner

we could definitely make the default behaviour cleverer (list all devices, connect by index, or something)!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants