summaryrefslogtreecommitdiff
path: root/Documentation/ABI/testing/sysfs-devices-platform-_UDC_-gadget
blob: 3bf505e7227ff1e89ed730cf7d1b0c0c25cb332f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
What:		/sys/devices/platform/_UDC_/gadget/suspended
Date:		April 2010
Contact:	Fabien Chouteau <fabien.chouteau@barco.com>
Description:
		Show the suspend state of an USB composite gadget.
		1 -> suspended
		0 -> resumed

		(_UDC_ is the name of the USB Device Controller driver)

What:           /sys/devices/platform/_UDC_/gadget/gadget-lunX/nofua
Date:           July 2010
Contact:        Andy Shevchenko <andy.shevchenko@gmail.com>
Description:
		Show or set the reaction on the FUA (Force Unit Access) bit in
		the SCSI WRITE(10,12) commands when a gadget in USB Mass
		Storage mode.

		Possible values are:
			1 -> ignore the FUA flag
			0 -> obey the FUA flag

What:		/sys/devices/platform/_UDC_/gadget/host_request
Date:		December 2010
Contact:	Pavan Kondeti <pkondeti@...>
Description:
		OTG 2.0 compliant host keeps polling OTG2.0 peripheral
		for host role. Set host_request flag, which tells host
		to give up the host role to peripheral.

		1 -> host role is requested
		0 -> no effect (automatically cleared upon reset/disconnect)

		(_UDC_ is the name of the USB Device Controller driver)