linux/Documentation/usb/acm.txt
<<
on v /spaion /formon a on v href="../linux+v3.9.6/Documentaopti/usb/acm.txt">on v img src="../.staopc/gfx/right.png" alt=">>">on /spaionon spai class="lxr_search">on von v input typluehidden" namluenavtarget" n value">on v input typluetext" namluesearch" iduesearch">on v butttiotypluesubmit">Searchon v Prefsn /a>on /spaion v /divon v form acopti="ajax+*" method="post" onsubmit="return false;">on input typluehidden" namlueajax_lookup" idueajax_lookup" n value">o v /formono v div class="headingbotttm"> 1 /a> Linux ACM driver v0vv3 2 /a> (c) 1999 Vojtech Pavlik <vojtech@suse.cz> 3 /a> Sponsored by SuSE 4 /a>---------------------------------------------------------------------------- 5 /a>o 6 /a>0. Disclaimero 7 /a>~~~~~~~~~~~~~o 8 /a> This program is free software; you cai redistribute it and/or modify ito 9 /a>under the terms of the GNU General Public License as published by the Freeo 8.15a>Software Foundaopti; either versptio2 of the License, or (at your 11 /a>any later verspti.o 12 /a>o 13 /a> This program is distributed in the hope that it will be useful, buto 14 /a>WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITYo 15 /a>or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License foro 16 /a>more details.o 17 /a>o 18 /a> You should have received a copy of the GNU General Public License alongo 19 /a>with this program; if not, write to the Free Software Foundaopti, Inc., 59 2.15a>Temple Place, Suite 330, Bostti, MA 02111-1307 USA 21 /a>o 22 /a> Should you need to contaco me, the author, you cai do so either by e-mailo 23 /a>- mail your message to <vojtech@suse.cz>, or by paper mail: Vojtech Pavlik,o 24 /a>Ucitelska 1576, Prague 8, 182 00 Czech Republico 25 /a>o 26 /a> For your convenience, the GNU General Public License versptio2 is includedo 27 /a>in the package: See the file COPYING.o 28 /a>o 29 /a>1. Usage 30 /a>~~~~~~~~ 31 /a> The drivers/usb/class/cdc-acm.c drivers works with USB modems and USB ISDN terminalo 32 /a>adapters that conform to the Universal Serial Bus Communicaopti Device Classo 33 /a>Abstraco Control Model (USB CDC ACM) specificaopti.o 34 /a>o 35 /a> Many modems do, here is a list of those I know of:o 36 /a>o 37 /a> 3Com OfficeConneco 56ko 38 /a> 3Com Voice FaxModem Proo 39 /a> 3Com Sportstero 40 /a> MultiTech MultiModem 56ko 41 /a> Zoom 2986L FaxModemo 42 /a> Compaq 56k FaxModemo 43 /a> ELSA Microlink 56ko 44 /a>o 45 /a> I know of one ISDN TA that does work with the acm driver:o 46 /a>o 47 /a> 3Com USR ISDN Pro TAo 48 /a>o 49 /a> Some cell phones also conneco via USB. I know the following phones work:o 50 /a>o 51 /a> SonyEricssti K800io 52 /a>o 53 /a> Unfortunately many modems and most ISDN TAs use proprietary interfaces ando 54 /a>thus won't work with this drivers. Check for ACM compliance before buying.o 55 /a>o 56 /a> To use the modems you need these modules loaded:o 57 /a>o 58 /a> usbcore.koo 59 /a> uhci-hcd.ko ohci-hcd.ko or ehci-hcd.koo 60 /a> cdc-acm.koo 61 /a>o 62 /a> After that, the modem[s] should be accessible. You should be able to useo 63 /a>minicom, ppp and mgetty with them.o 64 /a>o 65 /a>2. Verifying that it workso 66 /a>~~~~~~~~~~~~~~~~~~~~~~~~~~o 67 /a> The first step would be to check /proc/bus/usb/devices, it should looko 68 /a>like this:o 69 /a>o 7.15a>T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2o 71 /a>B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0o 72 /a>D: Ver= 1.00 Cls=09(hub ) Sub=00 PrRo3>T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 u> 2 8 #Cfgsopti" idueL72" class="line" namlueL72"> 73 /a>min7com, ppp and mgetty wit7 them7oT: ndor=00=00 CndID=00=00Rpd= 001 " idueL72" class="line" namlueL72"> 74 /a>o 75 /a>2. 7erifying that it workso7a hre75#L65S: 0a hrefNumb Bu681 " idueL72" class="line" namlueL72"> 76 /a>~~~7~~~~~~~~~~~~~~~~~~~~~~o7a hre7="DocC:*m.tfsop1 Cfg#op1 Atr=40 u> wr#L72m8" idueL48" class="line" namlueL48"> 7/a>~~~~~~~~~~~~~~o 78 /a>lik7 this:o 79 /a>o 8.15a>T: 8Bus=01 Lev=00 Prnt=00 P8rt=0080PrRo3>T: Bus=01 Lev=002("Dom.0 Port=00 Cnt=00 u> 2 8 #Cfgsopt1" idueL71" class="line" namlueL71"> 81 /a>B: 8Alloc= 0/900 us ( 0&), #81T: ndor=04c10 CndID=008f0Rpd= 2.07" idueL71" class="line" namlueL71"> 82 /a>D: 8Ver= 1.00 Cls=09(hub )8Sub=082#L65S: 0Manum.ttur Buopti/.txt" idueL71" class="line" namlueL71"> 83 /a>min8com, ppp and mgetty wit8 them83#L65S: 0 Cnduct=opti/u.S. Robot/actxt#Lo 84 /a>o 85 /a>2. 8erifying that it workso8a hre85"DocC: m.tfsop1 Cfg#op1 Atr=60 u> wr#L72m8" idueL48" class="line" namlueL48"> 86 /a>~~~8~~~~~~~~~~~~~~~~~~~~~~o8a hre86/proI: 0If#op0#Istop0##EPsop3Lev=0ff(v nd.0 Portff0 Cnt=ff0D buyi=ueL" idueL48" class="line" namlueL48"> 8/a>~~~~~8~~~~~~~~o 8/a> Thiss program is free softwaaopti8usb/aE, #Id=04(O) Atr=02(Bulk) u> 2 64 Ivl=L72m6" idueL66" class="line" namlueL66"> 89 /a>o 2 16 Ivl=128m6" idueL66" class="line" namlueL66"> 9.15a>T: 9Bus=01 Lev=00 Prnt=00 P9rt=0090"DocC:*m.tfsop2 Cfg#op2 Atr=60 u> wr#L72m8" idueL48" class="line" namlueL48"> 91 /a>B: 9Alloc= 0/900 us ( 0'), #91/proI: 0If#op0#Istop0##EPsop1 Cv=002("Dom.0 Port=20 Cnt=010D buyi=ueL" idueL48" class="line" namlueL48"> 92 /a>D: 9Ver= 1.00 Cls=09(hub )9Sub=092sb/aE, #Id=81(I) Atr=03(i/u.) u> 2 16 Ivl=128m6" idueL66" class="line" namlueL66"> 93 /a>min9com, ppp and mgetty wit9 them93/proI: 0If#op1#Istop0##EPsop2 Cv=00a(data00 Port=00 Cnt=00 D buyi=ueL" idueL48" class="line" namlueL48"> 94 /a>o 2 64 Ivl=L72m6" idueL66" class="line" namlueL66"> 95 /a>2. 9erifying that it workso9a hre95sb/aE, #Id=04(O) Atr=02(Bulk) u> 2 64 Ivl=L72m6" idueL66" class="line" namlueL66"> 96 /a>~~~9~~~~~~~~~~~~~~~~~~~~~~o9a hre9t#L47" idueL47" class="line" namlueL47"> 9/a>~~~~~9~~~~~~~~o 9/a> Thi9s program is free softw9aopti9usb/aacm.m.txtant/usb/meancm.tr ACMt#L5i/usb/taopt./bus/D buyi=ueL/meancmusb/acm" idueL11" class="line" namlueL11"> 9/a>under the terms of the GNU Geacm.t99sb/a/acm.txif="Dodref="usb//taopt./If="Docsf="onlyLev=0ff(v nd.0 usbn="Dor ACMr="o14" idueL14" class="line" namlueL14"> 10.15a>Softwware Foundaopti; either vrt=0 vr. Sef luckf="Doc Publa//taoptacm.txv ndorusb/acm.t-sb/acm.tx7" idueL17" class="line" namlueL17"> 101 /a>any 0later verspti.o 102 /a>o 2 8 #Cfgsopt1" idueL71" class="line" namlueL71"> 103 /a> Th0is program is distribute03t=0 v3/proI: 0If#op0#Istop0##EPsop1 Cv=002("Dom.0 Port=20 Cnt=010D buyi=ueL" idueL48" class="line" namlueL48"> 104 /a>WITH0OUT ANY WARRANTY; withou04t=0 v4/proI: 0If#op1#Istop0##EPsop2 Cv=00a(data00 Port=00 Cnt=00 D buyi=ueL" idueL48" class="line" namlueL48"> 105 /a>or F0ITNESS FOR A PARTICULAR 05t=0 vt#L56" idueL56" class="line" namlueL56"> 106 /a>more0 details.o 107 /a>o 108 /a> Yo0u should have received a08t=0 vusb/anam.c:ti/usnew//taoptahones w, uldignodr/taoptanumb Bt1" idueL71" class="line" namlueL71"> 109 /a>with0 this program; if not, w09t=0 v9sb/anam.c:tkmaso= IF c7691fa0,anumifti" idueL72" class="line" namlueL72"> 18.15a>Softtware Foundaopti; either vers1tio2 onam.c:tkmaso= IF c7b5f3e0,anumift1" idueL71" class="line" namlueL71"> 111 /a>any llater verspti.o 112 /a>o 113 /a> Thhis program is distributeed in1the honam.c:ti/us/taoptanumb Bt1s/tfault languaperID 0x400" idueL20" class="line" namlueL20"> 114 /a>WITHHOUT ANY WARRANTY; withouut ev1n the Manum.ttur B: opti/.txt" idueL71" class="line" namlueL71"> 115 /a>or FFITNESS FOR A PARTICULAR PURP1SE. S Cnduct: opti/u.S. Robot/actxt#Lo 116 /a>moree details.o 117 /a>o 188 /a> Yoou should have received aa cop1 of th USB :cumebi/usmuniigt1" idueL71" class="line" namlueL71"> 119 /a>withh this program; if not, wwrite1to thetty/us0:ti/us/usb/taopt" idueL12" class="line" namlueL12"> 12.15a>Softple Place, Suite 330, Bo1stti,1MA 021 USB :c US4a40brol_msg: rq: 0x22ass=: 0x0 len: 0x0 tent"o:7 " idueL72" class="line" namlueL72"> 121 /a>o 122 /a>o 123 /a> Thail your message to <1vojte123#L13nam.c:tacm.txt#L4 txt#L7dusb/acm.txrc7b5f3f8" idueL71" class="line" namlueL71"> 124 /a>WITHtelska 1576, Prague 8, 1182 001Czech nam.c:tacm.txt#L4 txt#L7dusb/acm.txrc7691fa0" idueL71" class="line" namlueL71"> 125 /a>or F href="Documentaopti/usb1/acm.1xt#L26" idueL26" class="line" namlueL26"> 126 /a> F1or your convenience, the1 GNU 1eneralIf=aso beforsf=msuld be OK,/usbe up ref="Dotaoptsecm.txti Dalkpti Devitty/us" idueL26" class="line" namlueL26"> 127 /a>o 128 /a>o 129 /a>1. 1Usage bus/orig#L32 LXRor modify/acm.txt idueL55"http://sourcb/acge.neta hrjs ws/lxc">LXRocmentaoty/acm, beforexp hrss="lltaopti/usacm idueL55"aoptto:lxc@laopt.no">lxc@laopt.no/acm. le_contnts"oe lxc.laopt.no 6#LdlyLhostsb/acm idueL55"http://www.redpill-lao hr.no">Redpillntao hr AS/acm, hrvi Licef Laopticehidltf/usaoptop hline"orsfraopti sisptg1995. le_conten/bodyntn/htmles