Skip to content

power per port control in windows and uhubctl not working #391

@Manel3

Description

@Manel3

Dear Sirs,

I would like to control power per port in windows as I can do in Linux (tested).
I have compiled uhubctl for windows and tried with usblib 1.0.21 and compiled also 1.0.22rc2 and activating debug I see there is with both an error on libusb_open the usb hub device:

[ 0.187506] [000002d8] libusb: debug [libusb_open] open 1.0
[ 0.187506] [000002d8] libusb: debug [winusb_open] unsupported API call for 'open' (unrecognized device driver)
[ 0.187506] [000002d8] libusb: debug [libusb_open] open 1.0 returns -12

Default driver of the USB HUB (D-Link DUB-H4 H/W Ver.: D1) is USBHUB3.SYS, I have tried also to replace it using zadig-2.3 by libusbK, libusb-win32, and WinUSB having same error.

Any chance to have this working?
Is it not possible to read/write directly the hardware?

Best regards,
Manel

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions