modem-hsfpci for Debian
-----------------------

This is a Ubuntu/Kubuntu Debian package.

This original source code was hsflinmodem-5.03.27mbsibeta02122600, which
only worked on 2.4.x kernels.

This software was ported to the 2.6.x kernel by Rafael Espindola.
The debian package (conexant-192-1ubuntu-1) was created by Alexandre Otto Strube
<surak@surak.eti.br>.  This package (modem-hsf) was created from that source.

KNOWING THIS, BE AWARE THAT THE SOFTWARE YOU ARE USING IS NOT SUPPORTED OR
CONSIDERED STABLE ENOUGH TO BE INCLUDED IN THE DISTRIBUTION. SO, BACK UP AND
BE WILLING TO ACCEPT ANY DAMAGE IT MAY DO TO YOUR SYSTEM BEFORE YOU TRY IT.

After installing this package, you have to use the "/usr/sbin/modem-hsf" command
to compile and install the configuration files and modules for each kernel you
use.  See "man modem-hsf" for more information.

1. It's necessary to specify a Country and pci Vendor:Device ID before compiling
   The file /etc/modem-hsfpci/modem-hsfpci.conf can be used to manually enter
   this data from a list of (believed to be) supported values.

2. Check your Vendor:Device pci id with "lspci" to see something like:

     lspci
     0000:01:0b.0 Communication controller: Conexant HSF 56k Data/Fax Modem (rev 01)

   then, use "lspci -n" and look at the same identifying numbers to get the
   vendor:device id

     lspci -n
     0000:01:0b.0 0780: 14f1:2013 (rev 01)

   in this case, it's 14f1:2013. Vendor ID is first part (14f1), then a ":" 
   separates the Device ID (2013).

3. Open /etc/modem-hsfpci/modem-hsfpci.conf with a text editor and remove the
   comment "#" symbol from the line corresponding with your desired Country and
   your VendorID ; DeviceID values.  If your values are not listed, then create
   a new line with your values.  Note however, that your modem may not work.

   If you do not enter values in modem-hsfpci.conf, then the country will default
   to USA and the script will attempt to determine the Vendor and Device IDs by
   using "lspci".

4. Use the command "/usr/sbin/modem-hsf --install" to compile and install the driver.
   
   Once it loads the modules, udev will create a /dev/modem symlink that you can
   use in your dialer.  It will also create it's own /dev/ttySHSF0 device, which
   also can be used in your dialer.  You may have to reboot to get the modules
   properly loaded the first time, although I had no problem.

5. Every time you install a new kernel, you will have to use "modem-hsf --install"
   to build kernel modules for it.

You may want to set up your dialer to use ATW2DT instead of ATDT for your dialer command.

good luck,
