linux/Documentation/usb/acm.txt
<<
.6""> /spa" > /form > a .6""> href="../linux+v3.9.1/Documenta""1"/usb/acm.txt">.6""> img src="../.sta""c/gfx/right.png" alt=">>">.6 /spa" .6 spa" class="lxr_search">.6"".6""> input typionhidden" namionnavtarget" /option">.6""> input typiontext" namionsearch" idonsearch">.6""> butt2.2typionsubmit">Search /form /spa" .6 spa" class="lxr_prefs" > a href="+prefs?return=Documenta""1"/usb/acm.txt".6""> onclick="return ajax_prefs();">.6""> Prefs > /a>.6 /spa" ""> /div ""> form ac""1"="ajax+*" method="post" onsubmit="return false;">.6 input typionhidden" namionajax_lookup" idonajax_lookup" /option">.""> /form .""> div class="headingbott2m">
> div idonsearch_results" class="search_results" > ""> /div div idoncontent" div idonfile_contents"
 
1 /a>                          Linux ACM driver v47al

 
2 /a>                 (c) 1999 Vojtech Pavlik <vojtech@suse.cz>

 
3 /a>                             Sponsored by SuSE

 
4 /a>----------------------------------------------------------------------------

 
5 /a>.
 
6 /a>0. Disclaimer.
 
7 /a>~~~~~~~~~~~~~.
 
8 /a>  This program is free software; you ca" redistribute it and/or modify it.
 
9 /a>under the terms of the GNU General Public License as published by the Free.
 .227a>Software Founda""1"; either vers.2.22 of the License, or (at your 26""1").
 11 /a>any later vers.2...
 12 /a>.
 13 /a>  This program is distributed in the hope that it will be useful, but.
 14 /a>WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY.
 15 /a>or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for.
 16 /a>more details..
 17 /a>.
 18 /a>  You should have received a copy of the GNU General Public License along.
 19 /a>with this program; if not, write to the Free Software Founda""1", Inc., 59

 2227a>Temple Place, Suite 330, Bost1", MA 02111-1307 USA

 21 /a>.
 22 /a>  Should you need to contac" me, the author, you ca" do so either by e-mail.
 23 /a>- mail your message to <vojtech@suse.cz>, or by paper mail: Vojtech Pavlik,.
 24 /a>Ucitelska 1576,
Prague 8, 182 00 Czech Republic.
 25 /a>.
 26 /a>  For your convenience, the GNU General Public License vers.2.22 is included.
 27 /a>in the package: See the file COPYING..
 28 /a>.
 29 /a>1. Usage

 30 /a>~~~~~~~~

 31 /a>  The drivers/usb/class/cdc-acm.c drivers works with USB modems and USB ISDN terminal.
 32 /a>adapters that conform to the Universal Serial Bus Communica""1" Device Class.
 33 /a>Abstrac" Control Model (USB CDC ACM) specifica""1"..
 34 /a>.
 35 /a>  Many modems do, here is a list of those I know of:.
 36 /a>.
 37 /a>        3Com OfficeConnec" 56k.
 38 /a>        3Com Voice FaxModem
Pro.
 39 /a>        3Com Sportster.
 40 /a>        MultiTech MultiModem
56k.
 41 /a>        Zoom 2986L FaxModem.
 42 /a>        Compaq
56k FaxModem.
 43 /a>        ELSA Microlink
56k.
 44 /a>.
 45 /a>  I know of one ISDN TA that does work with the acm driver:.
 46 /a>.
 47 /a>        3Com USR ISDN Pro TA.
 48 /a>.
 49 /a>  Some cell phones also connec" via USB. I know the following phones work:.
 50 /a>.
 51 /a>        SonyEricss1" K800i.
 52 /a>.
 53 /a>  Unfortunately many modems and most ISDN TAs use proprietary interfaces and.
 54 /a>thus won't work with this drivers. Check for ACM compliance before buying..
 55 /a>.
 56 /a>  To use the modems you need these modules loaded:.
 57 /a>.
 58 /a>        usbcore.ko.
 59 /a>        uhci-hcd.ko ohci-hcd.ko or ehci-hcd.ko.
 60 /a>        cdc-acm.ko.
 61 /a>.
 62 /a>  After that, the modem[s] should be accessible. You should be able to use.
 63 /a>minicom, ppp and mgetty with them..
 64 /a>.
 65 /a>2. Verifying that it works.
 66 /a>~~~~~~~~~~~~~~~~~~~~~~~~~~.
 67 /a>  The first step would be to check /proc/bus/usb/devices, it should look.
 68 /a>like this:.
 69 /a>.
 7227a>T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2.
 71 /a>B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0.
 72 /a>D:  Ver= 1.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1.
 73 /a>P:  Vendor=0000 ProdID=0000 Rev= 0.00.
 74 /a>S:  Product=USB UHCI Root Hub.
 75 /a>S:  SerialNumber=6800.
 76 /a>C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA.
 77 /a>I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub.
 78 /a>E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=255ms.
 7927a>T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  2 Spd=12  MxCh= 0.
 80 /a>D:  Ver= 1.00 Cls=02(comm.) Sub=00 Prot=00 MxPS= 8 #Cfgs=  2.
 81 /a>P:  Vendor=04c1 ProdID=008f Rev= 2.07.
 82 /a>S:  Manufacturer=3Com Inc..
 83 /a>S:  Product=3Com U.S. Robotics Pro ISDN TA.
 84 /a>S:  SerialNumber=UFT53A49BVT7.
 85 /a>C:  #Ifs= 1 Cfg#= 1 Atr=60 MxPwr=  0mA.
 86 /a>I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=acm.
 87 /a>E:  Ad=85(I) Atr=02(Bulk) MxPS=  64 Ivl=  0ms.
 88 /a>E:  Ad=04(O) Atr=02(Bulk) MxPS=  64 Ivl=  0ms.
 89 /a>E:  Ad=81(I) Atr=03(Int.) MxPS=  16 Ivl=128ms.
 90 /a>C:* #Ifs= 2 Cfg#= 2 Atr=60 MxPwr=  0mA.
 91 /a>I:  If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=01 Driver=acm.
 92 /a>E:  Ad=81(I) Atr=03(Int.) MxPS=  16 Ivl=128ms.
 93 /a>I:  If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=acm.
 94 /a>E:  Ad=85(I) Atr=02(Bulk) MxPS=  64 Ivl=  0ms.
 95 /a>E:  Ad=04(O) Atr=02(Bulk) MxPS=  64 Ivl=  0ms.
 96 /a>.
 97 /a>The presence of these three lines (and the Cls= 'comm' and 'data' classes).
 98 /a>is important, it means it's an ACM device. The Driver=acm means the acm.
 99 /a>driver is used for the device. If you see only Cls=ff(vend.) then you're out.
100 /a>of luck, you have a device with vendor specific-interface..
101 /a>.
102 /a>D:  Ver= 1.00 Cls=02(comm.) Sub=00 Prot=00 MxPS= 8 #Cfgs=  2.
103 /a>I:  If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=01 Driver=acm.
104 /a>I:  If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=acm.
105 /a>.
106 /a>In the system log you should see:.
107 /a>.
108 /a>usb.c: USB new device connec", assigned device number 2.
109 /a>usb.c: kmalloc IF c7691fa0, numif 1.
1.227a>usb.c: kmalloc IF c7b5f3e0, numif 2.
111 /a>usb.c: skipped 4 class/vendor specific interface descriptors.
112 /a>usb.c: new device strings: Mfr=1, Product=2, SerialNumber=3.
113 /a>usb.c: USB device number 2 default language ID 0x409

114 /a>Manufacturer: 3Com Inc..
115 /a>Product: 3Com U.S. Robotics Pro ISDN TA.
116 /a>SerialNumber: UFT53A49BVT7.
117 /a>acm.c: probing config 1.
118 /a>acm.c: probing config 2.
119 /a>ttyACM0: USB ACM device.
12227a>acm.c: acm_control_msg: rq: 0x22 /op: 0x0 len: 0x0 result: 0.
121 /a>acm.c: acm_control_msg: rq: 0x20 /op: 0x0 len: 0x7 result: 7.
122 /a>usb.c: acm driver claimed interface c7b5f3e0.
123 /a>usb.c: acm driver claimed interface c7b5f3f8.
124 /a>usb.c: acm driver claimed interface c7691fa0.
125 /a>.
126 /a>If all this seems to be OK, fire up minicom and set it to talk to the ttyACM.
127 /a>device and try typing 'at'. If it responds with 'OK', then everything is.
128 /a>working..
129 /a>
The original LXR software by the LXR community /a>, this experimental vers.2.2by lxr@linux.no /a>. /div div class="subfooter"> lxr.linux.no kindly hosted by Redpill Linpro AS /a>, provider of Linux consulting and opera""1"s services since 1995. /div /body /html