Scripting

Modem On Dell C 840

<div class="section">Modem</div> <div class="text">

  The modem is working fine, thanks to Jan Stifter's driver.<br>
  Go <a href="http://www.medres.ch/%7Ejstifter/pctel/index.html">here</a> and download the <code>pctel-0.9.2.tgz</code> file.<br>
  Unpack the archive in the <code>/usr/src/</code> directory.<br>

  Modify the line 296 of the <code>ptserial.c</code> file found in <code>/usr/src/pctel-0.9.2/src/ptserial/</code> directory to obtain something like that (thanks to <code>lspci</code> !) :
  <pre>    /*  INTEL i810 MR */
    #define PCI_VENDOR_ID_INTEL		0x8086
    #define PCI_DEVICE_ID_I810_MR		0x2416   /*  desktop */
    //#define PCI_DEVICE_ID_I810_MR_LAPTOP    0x7196   /*  laptop  */
    #define PCI_DEVICE_ID_I810_MR_LAPTOP    0x2486   /*  C840  */</pre>
  Build the whole stuff (following exactly the instructions given in the <code>INSTALL</code> file) :
  <pre>    /usr/src/pctel-0.9.2/$ ./configure --with-hal=i810 --with-kernel-includes=/usr/src/kernel-source-2.4.18/include
    /usr/src/pctel-0.9.2/$ make
    /usr/src/pctel-0.9.2/$ make install</pre>

  And install the modules :
  <pre>    /usr/src/pctel-0.9.2/$ su -
    Password:
    /usr/src/pctel-0.9.2/# insmod pctel
    /usr/src/pctel-0.9.2/# insmod ptserial</pre>
  That's it. The modem should now be accessible through the device <code>/dev/ttyS15</code>.