blob: dd12a332fb00bf45f90b03edee482c76068f778e [file] [log] [blame]
Mike Lockwood332bb432012-05-16 12:34:37 +02001What: /sys/class/ccg_usb
2Date: May 2012
3KernelVersion: 3.4
4Contact: linux-usb@vger.kernel.org
5Description:
6 The ccg_usb/ class subdirectory belongs to ccg
7 USB gadget.
8
9What: /sys/class/ccg_usb/ccgX
10Date: May 2012
11KernelVersion: 3.4
12Contact: linux-usb@vger.kernel.org
13Description:
14 The /sys/class/ccg_usb/ccg{0,1,2,3...} class
15 subdirectories correspond to each ccg gadget device;
16 at the time of this writing there is only ccg0 and it
17 represents the ccg gadget.
18
19What: /sys/class/ccg_usb/ccgX/functions
20Date: May 2012
21KernelVersion: 3.4
22Contact: linux-usb@vger.kernel.org
23Description:
24 A comma-separated list of USB function names to be activated
Andrzej Pietrasiewicz45027982012-05-16 12:34:38 +020025 in this ccg gadget. It includes both the functions provided
26 in-kernel by the ccg gadget and the functions provided from
27 userspace through FunctionFS.
Mike Lockwood332bb432012-05-16 12:34:37 +020028
29What: /sys/class/ccg_usb/ccgX/enable
30Date: May 2012
31KernelVersion: 3.4
32Contact: linux-usb@vger.kernel.org
33Description:
34 A flag activating/deactivating the ccg usb gadget.
35
36What: /sys/class/ccg_usb/ccgX/state
37Date: May 2012
38KernelVersion: 3.4
39Contact: linux-usb@vger.kernel.org
40Description:
41 Configurable usb gadget state:
42
43 DISCONNECTED
44 CONNECTED
45 CONFIGURED
46
47What: /sys/class/ccg_usb/ccgX/f_acm/
48Date: May 2012
49KernelVersion: 3.4
50Contact: linux-usb@vger.kernel.org
51Description:
52 The /sys/class/ccg_usb/ccgX/f_acm subdirectory
53 corresponds to the gadget's USB CDC serial (ACM) function
54 driver.
55
56What: /sys/class/ccg_usb/ccgX/f_acm/instances
57Date: May 2012
58KernelVersion: 3.4
59Contact: linux-usb@vger.kernel.org
60Description:
61 Maximum number of the /dev/ttyGS<X> interface the driver uses.
62
Andrzej Pietrasiewicz45027982012-05-16 12:34:38 +020063What: /sys/class/ccg_usb/ccgX/f_fs
64Date: May 2012
65KernelVersion: 3.4
66Contact: linux-usb@vger.kernel.org
67Description:
68 The /sys/class/ccg_usb/ccgX/f_fs subdirectory
69 corresponds to the gadget's FunctionFS driver.
70
71What: /sys/class/ccg_usb/ccgX/f_fs/user_functions
72Date: May 2012
73KernelVersion: 3.4
74Contact: linux-usb@vger.kernel.org
75Description:
76 A comma-separeted list of USB function names to be supported
77 from userspace. No other userspace FunctionFS functions can
78 be supported than listed here. However, the actual activation
79 of these functions is still done through
80 /sys/class/ccg_usb/ccgX/functions, where it is possible
81 to specify any subset (including maximum and empty) of
82 /sys/class/ccg_usb/ccgX/f_fs/user_functions.
83
84What: /sys/class/ccg_usb/ccgX/f_fs/max_user_functions
85Date: May 2012
86KernelVersion: 3.4
87Contact: linux-usb@vger.kernel.org
88Description:
89 Maximum number of USB functions to be supported from userspace.
90
Mike Lockwood332bb432012-05-16 12:34:37 +020091What: /sys/class/ccg_usb/ccgX/f_rndis
92Date: May 2012
93KernelVersion: 3.4
94Contact: linux-usb@vger.kernel.org
95Description:
96 The /sys/class/ccg_usb/ccgX/f_rndis subdirectory
97 corresponds to the gadget's RNDIS driver.
98
99What: /sys/class/ccg_usb/ccgX/f_rndis/manufacturer
100Date: May 2012
101KernelVersion: 3.4
102Contact: linux-usb@vger.kernel.org
103Description:
104 RNDIS Ethernet port manufacturer string.
105
106What: /sys/class/ccg_usb/ccgX/f_rndis/wceis
107Date: May 2012
108KernelVersion: 3.4
109Contact: linux-usb@vger.kernel.org
110Description:
111 RNDIS Ethernet port wireless flag.
112
113What: /sys/class/ccg_usb/ccgX/f_rndis/ethaddr
114Date: May 2012
115KernelVersion: 3.4
116Contact: linux-usb@vger.kernel.org
117Description:
118 RNDIS Ethernet port Ethernet address.
119
120What: /sys/class/ccg_usb/ccgX/f_rndis/vendorID
121Date: May 2012
122KernelVersion: 3.4
123Contact: linux-usb@vger.kernel.org
124Description:
125 RNDIS Ethernet port vendor ID.
126
127What: /sys/class/ccg_usb/ccgX/f_mass_storage
128Date: May 2012
129KernelVersion: 3.4
130Contact: linux-usb@vger.kernel.org
131Description:
132 The /sys/class/ccg_usb/ccgX/f_mass_storage subdirectory
133 corresponds to the gadget's USB mass storage driver.
134
135What: /sys/class/ccg_usb/ccgX/f_mass_storage/lun
136Date: May 2012
137KernelVersion: 3.4
138Contact: linux-usb@vger.kernel.org
139Description:
140 The /sys/class/ccg_usb/ccgX/f_mass_storage/lun
141 subdirectory corresponds to the gadget's USB mass storage
142 driver and its underlying storage.
143
144What: /sys/class/ccg_usb/ccgX/f_mass_storage/lun
145Date: May 2012
146KernelVersion: 3.4
147Contact: linux-usb@vger.kernel.org
148Description:
149 The /sys/class/ccg_usb/ccgX/f_mass_storage/lun
150 subdirectory corresponds to the gadget's USB mass storage
151 driver and its underlying storage.
152
153What: /sys/class/ccg_usb/ccgX/f_mass_storage/lun/file
154Date: May 2012
155KernelVersion: 3.4
156Contact: linux-usb@vger.kernel.org
157Description:
158 Gadget's USB mass storage underlying file.