Documentation: usb: ACM function testing
[deliverable/linux.git] / Documentation / usb / gadget-testing.txt
CommitLineData
e38eb2c8
AP
1This 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>
This page took 0.025916 seconds and 5 git commands to generate.