blob: 2a448f812f0e04352c0d3ac2cb737e2206b9f614 [file] [log] [blame]
Andrzej Pietrasiewicze38eb2c2014-12-16 14:56:25 +01001This file summarizes information on basic testing of USB functions
2provided by gadgets.
3
41. ACM function
5
6
71. ACM function
8===============
9
10The function is provided by usb_f_acm.ko module.
11
12Function-specific configfs interface
13------------------------------------
14
15The function name to use when creating the function directory is "acm".
16The ACM function provides just one attribute in its function directory:
17
18 port_num
19
20The attribute is read-only.
21
22There can be at most 4 ACM/generic serial/OBEX ports in the system.
23
24
25Testing the ACM function
26------------------------
27
28On the host: cat > /dev/ttyACM<X>
29On the device : cat /dev/ttyGS<Y>
30
31then the other way round
32
33On the device: cat > /dev/ttyGS<Y>
34On the host: cat /dev/ttyACM<X>