On Wed, 13 Apr 2016, Matthew Giassa wrote:

> Mathias provided me with some usb device calls I could use to resolve
> this in software (pm_runtime_get_xxx(), pm_runtime_put()), but I'm not
> familiar with the API, so I'd need some help figure out how to get the
> `struct device*' handle for my current device and issuing those calls
> within my application. I have the bus/dev pair and a
> libusb_device_handle to it. This would at least allow me to patch my
> software in the meantime.

The pm_runtime_* API is internal to the kernel.  It isn't directly
exposed to userspace, so you can't access it from libusb or a program.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to