RE: [PATCH 1/1] usb: lpm: add boot flag to disable lpm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux