http://www.zago.eti.br/modem/modemmr-readme.txt este texto continua em: http://www.zago.eti.br/modem/modemmr.txt Use CTRL+F para refinar a pesquisa. Tutorial para instalar modem PCtel no Conectiva. Usando uma placa M7VKQ (www.biostar.com.tw) e um modem MR HD com dual boot win98 e Conectiva 8 com boot pelo windows instalei o modem com o CD que acompanha o modem (so tem driver para windows) a proposito no windows instalei somente o Driver de video e o Modem nao instalei o driver de som nem rede Depois de instalado fui conferir no painel de controle e o modem aparece como: HSP56 MR em propriedades de modem -> maiores informações exibe? ATI1 A97/C514 ATI2 OK ATI3 PCtelHSP56 MR 2.30-K ATI4 PCtelHSP56 MR Data/Fax/Voice ATI5 V.90 ATI6 Build 2090_40 ATI7 SP2 .... fui navegar pelo IG e na pagina? http://linmodems.technion.ac.il/pctel-linux/ http://linmodems.technion.ac.il/pctel-linux/pctel-0.9.6.tar.gz A SEGUIR PARTE DO TEXTO NA PAGINA PRINCIPAL Latest driver: pctel-0.9.6.tar.gz - [1.3MB] driver for kernel 2.4.x, should support Via, Asus, CM8x, Sis, PCT and AMR based modems. This driver is new and may contain some bugs. However, support for AMR / MR based modems seems still to be broken. Please read the INSTALL, README and FAQ and follow the instructions. dei um click em pctel-0.9.6.tar.gz e salvei em c:\hspmr Parte do texto sobre INSTALL que se encontra na pagina. This package contains the PCTEL driver for various PCTEL modems for linux. It is meant for kernel 2.4.x, up to 2.4.18 so far. Installation ------------ 0) Unpack the tarball by typing "tar zxvf pctel-0.9.6.tar.gz" 1) Go into that directory by typing "cd pctel-0.9.6" 2) Find out what chipset you have in your board: 3) ./configure Options: --with-hal=hal Select one of: pct789, cm8738, i8xx, sis, via686a --with-kernel-includes=/path/to/my/kernel-sources/include If you don't have your kernel sources at /usr/src/linux, specifiy your includes 4) Compile the modules by typing "make" 5) If everything went fine, get root by typing "su" 7) Install the drivers by typing "make install" 8) You are now ready to use your modules. Type "insmod pctel" and "insmod ptserial". You should see in your logs ("tail /var/log/messages") something like: May 16 23:28:17 suba kernel: PCTel initialization. Country code is 2. May 16 23:28:17 suba kernel: PCTel device[00:11.0](0x88) found "PCTel Inc HSP MicroModem 56 (rev 01)" IOBASE 0xe800 IRQ 9. May 16 23:28:17 suba kernel: PCTel driver version 0.9.6 [5.05c-4.27.215 (09-14-2001)]] (PCT789) (2001-08-18) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled. May 16 23:28:17 suba kernel: PCTel driver built on [Linux 2.4.8 i686 unknown] with [2.95.3]. May 16 23:28:17 suba kernel: ttyS15 at 0xe800 (irq = 9) is a PCtel Notes: You can always uninstall the modules by typing "make uninstall". If you need to recompile the modules, "make clean" and "make" are your friends. Parte do texto sobre o README da pagina. PCTEL Linux PCI driver, version 0.9.6 ------------------------------------- Description ----------- This package contains the PCTEL driver for various PCTEL modems for linux. It should run on different kernel-versions and distributions. Installation ------------ For installation, read INSTALL. If your installation was succesfull, I would very much like to hear from you. Please send me: * kernel version (uname -r) * distribution (if any) * modem / chipset / hal Questions, Infos ---------------- * First of all, please read the FAQ. Please read also the FAQ at http://sayamindu.topcities.com/pctel.html * If you have any questions, please ask the linmodems mailing list. More information about this list: http://www.linmodems.org If you send questions to me, do not expect an answer. The fastest way is really to ask on the linmodems mailing list. Please send the output of the command that did not work! Do not just describe your problem, copy & paste the output of your console. output of the following commands can be helpful: $ configure $ make clean $ make $ make install $ insmod pctel $ insmod ptserial $ tail /var/log/messages $ uname -a Again: do not just write "it did not work", otherwise, we might be unable to help you and your email will be ignored. TODO: Give a list of working modems / distros / kernel-versions Parte do FAQ que se encontra na pagina FAQ - Frequently Asked Questions -------------------------------- Table of Contents: ------------------ 1. Will my modem XXX work with this driver? 2. What is needed to compile this driver? 3. How do I install this driver? 4. How do I load the driver in the boot-up? 5. Do you work for PCTEL? 6. Module options 7. Country Code selection 8. Compile error: no modversions.h 9. Unresolved Symbols 10. Modem not responding 1. Will my modem XXX work with your driver? ------------------------------------------- Go to "Linux/Modem Compatibility Knowledge Base" at http://www.idir.net/~gromitkc/winmodem.html and follow the instructions to find your modem. If you don't know, just try it! 2. What is needed to compile this driver? ----------------------------------------- * kernel-sources * a working compiler (preferably gcc) * development tools (make, awk, ...) 3. How do I install this driver? -------------------------------- Please read the INSTALL file. 4. How do I load the driver in the boot-up? -------------------------------------------- If you have sucessfully done "make install", the driver is located in /lib/modules/"your-kernel-number"/misc/ The driver consists of two parts: pctel.o ptserial.o You insert these drivers with the command insmod pctel insmod ptserial You have to make sure, that these two commands are run every time you reboot your machine, by adding these two commands to an init script, according to your distribution. If you want to enable autoloading of the modules, the following lines in /etc/modules.conf would suffice: # for pctel modem alias char-major-62 ptserial below ptserial pctel # country code for pctel modem options ptserial country_code=13 Make sure, you run "depmod -a" after you changed your /etc/modules.conf. Then starting ppp would autoload the modules, or "modprobe ptserial" will insert them. 5. Do you work for PCTEL? ------------------------- I don't work for PCTEL, i am maintainig this driver in my free time. 6. Module options ----------------- You can add some module parameters in you /etc/modules.conf or at insmod/modprobe time: For all HALs: - country_code: Country code (see below). - irq: Force to using irq #. - iobase: Force to use iobase for modem detection. Only for I8XX/VAI686A HALs: - iobase1: Force the iobase 1 NOTE: if you want to set iobase or iobase1, you should use irq/iobase/iobase1 at same time. Only for CM8738/PCT789 HALs: - vendor_id: vendor ID of the modem - device_id: device ID of the modem. NOTE: vendor_id and device_id should be used at the same time, but you cannot combinate this two options with iobase, iobase prevail to (vendor/device)_id detection. 7. Country Code selection ------------------------- The PCTEL modem has the possibility to select a country code. If the country code is not selected, the default country code, which is USA, will be used and it should work for most countries. However, there is a way that you can select the country code for better performance. To select the country code, instead of "insmod ptserial.o" do: insmod ptserial.o country_code=X Table of country codes: country_code country_name 1 USA 2 FRANCE 3 GERMANY 4 ITALY 5 SWEDEN 6 UK 7 JAPAN 8 AUSTRALIA 9 SPAIN 10 TAIWAN 11 SINGAPORE 12 KOREA 13 SWITZERLAND 14 NORWAY 15 NETHERLANDS 16 BELGIUM 17 CANADA 18 IRELAND 19 PORTUGAL 20 POLAND 21 HUNGARY 22 FINLAND 23 DENMARK 24 AUSTRIA 25 S.AFRICA 26 CTR21 COUNTRIES 27 CHINA 28 MALAYSIA 29 LUXUMBURG 30 GREECE 31 ICELAND 32 NEW ZEALAND 33 BRAZIL 8. Compile error: no modversions.h ---------------------------------- If you see something like: configure: error: modversions.h is missing - you should configure your kernel first! then, you either have: a) not installed your kernel sources --> install them b) your kernel sources at a different path --> specify the path with: ./configure --with-kernel-includes=DIR c) no "modversions.h" in your kernel sources --> create the modversions.h by running $ cd [...] (where you have your kernel sources, default is /usr/src/linux) $ make dep this should make you a modversions.h in [...]/linux/include/ If this did not work, an ugly hack is to create an empty file there: $ mkdir -p [...]/linux/include/linux $ touch [...]/linux/include/linux/modversions.h 9. Unresolved Symbols --------------------- The unresolved symbols arise when there is a mismatch between the versions of the running kernel & the kernel-headers used to compile the driver. These symbol differences can often be masked across flavor differences and even some larger differences through use of Mark Speith's fixscript, available at: www.medres.ch/~jstifter/linux/pctel.html (links section). Of course, the robust cure (and much better) is too use the same kernel-headers as were used in the compile of the running kernel. Unfortunately the kernel-header packages provided by some Linux distros are not exactly version matched with the stock kernels. If you do a depmod -e pctel.o or depmod -e ptserial.o you can generate an "unresolved symbols" report. If you have unresolved symbols: 1) download fixscript.gz 2) unpack it with "gzip -d fixscript.gz" 3) make it executable with "chmod +x fixscript" 4) install all modules, needed for your system 5) run fixscript with ./fixscript old_module.o new_module.o this will create you the new module, which you can try to insert with "insmod new_module.o" If fixscript reports an error like objcopy: --redefine-sym: Symbol "" is target of more than one redefinition then, fixscript can not help you. In this case, you have to compile yourself a kernel. Ask the linmodems mailing list if you have problems - it is not that hard! 10. Modem not responding ------------------------ If wvdial reports that the modem is not responding, pppd locks up, or minicom blocks keyboard input, this could be due to a conflict with the sound driver (this problem has been observed in an on-board sound system involving the SiS7018 audio controller, but may affect other systems too). Unfortunately in this situation sound and modem support are mutually exclusive. To use the modem it is necessary to disable the kernel sound driver. Either use a kernel without built in sound support, or in the case of a modularised kernel, disable loading of the sound driver module. This can be done by editing the file /etc/modules.conf and commenting out the line associating a sound slot with the sound driver module, ie. #alias sound-slot-0 trident TERMINADO O DOWNLOAD reinicie pelo linux e copiei o driver para /home/modemmr seguindo os passos do manual gravei os comandos executados no arquivo modemmr.txt