usb_gadget_clear_selfpowered(9)

usb_gadget_clear_selfpowered9

Clear the device selfpowered feature.

Usage

int usb_gadget_clear_selfpowered(struct usb_gadget * gadget);

Arguments

gadget

the device being declared as bus-powered

Overview

this affects the device status reported by the hardware driver. some hardware may not support bus-powered operation, in which case this feature's value can never change.

returns zero on success, else negative errno.

Releases

5 releases since Debian 4.0 (Etch); the text changed 4 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8

Author

David Brownell <[email protected]>

Author.

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.