Re: [PATCH 4/4] Documentation sysfs-bus-usb: Document all files used by libusb

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

 



On Thu, 30 May 2013, Hans de Goede wrote:

> +What:		/sys/bus/usb/devices/.../bConfigurationValue
> +KernelVersion:	since atleast 2.6.18

s/atleast/at least/ and ditto for the preceding entry.

> +Description:
> +		bConfigurationValue of the *active* configuration for the
> +		device.

Here we need to mention that writing to bConfigurationValue will change 
or reset the active configuration.  Note that some devices, in 
violation of the USB spec, have a configuration with value equal to 0.  
Writing 0 to bConfigurationValue for these devices will install that 
configuration; to unconfigure the device, write -1 to 
bConfigurationValue.  (This also works with compliant devices.)

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