个人工具

UbuntuHelp:DialupModemHowto/Conexant

来自Ubuntu中文

跳转至: 导航, 搜索

Modems supported by the Conexant drivers

Note: Conexant does not provide drivers for Linux, but commercial Linux drivers are available from Linuxant, a separate company. Licenses cost 19.99 US dollars. (But note that full-featured versions of the drivers are also freely available from Dell.) That comes with at least one year support and kernel-version upgrades, after which you need to purchase it again if you are running a different kernel which needs a newer version of the driver (although if you have the kernel headers installed it may be able to rebuild itself for your kernel, depending on what changes have been made in the driver - just try installing the deb and see). Without the license, the drivers are limited to a maximum speed of 14.4Kbps (this restriction does not apply to the drivers supplied by Dell). However, some Conexant modems can be run with the sl-modem-drivers (smart link) or an open source driver. Note that in general, you can buy a Lucent or Intel (smartlink, or other brand with intel chipset) modem for less than 19.99 US.

Conexant drivers provided by Dell (full-speed and free)

Dell provides drivers for the Conexant modems of their Linux-based laptops which should work with almost all Conexant HSF modems [1]. These drivers can be downloaded from the following addresses: <
> For Ubuntu 9.04 (Jaunty Jackalope): Use this file. Unpack it and enter the resulting directory, do sudo make install and sudo /usr/sbin/hsfconfig <
> <
> Note: The above didn't work for me when tested on listed-as-supported Conexant HDA modem.. See section below for instructions of installing updated alsa-drivers-linuxant + latest hsfmodem + Dell's free & full-speed binaries on Ubuntu/Jaunty 9.04 which works with HDA based Conexant Modems :D <
> - jasmineaura 19/7/2009 <
><
> The above driver worked for me and didn't break my sound, if after sudo hsfconfig say NO to the option, "Would you like to use the replacement HDA modules? [yes]" - Hosed Nov162009 <
><
> For Ubuntu 8.10 (Intrepid Ibex): This hybrid approach has been reported to work (you can use this more recent package from Dell instead of the one mentioned in the forum post). For the lazy, just download this ready-made package; after unpacking it and entering the resulting directory, do sudo make install and sudo /usr/sbin/hsfconfig <
> For Ubuntu 8.04 (Hardy Heron): [1]. <
> For Ubuntu 7.10 (Gusty Gibbon): [2]. Download the .deb file there, double click it and it will be installed automatically. <
> Ubuntu 7.04 (Feisty) users can use this link to install their Conexant HSF driver. <
>

Building latest hsfmodem driver + free & full-speed Dell binaries

- jasmineaura 19/7/2009

Preparation

Note: For modems hosted on High Definition Audio (HDA) cards, there is dependence upon the snd-hda-intel ALSA driver already on your System. If you upgrade ALSA beyond the version supported in the Linuxant-based driver code (including the oem distributed by Dell), the hsfmodem drivers will fail and your sound will most likely break. Note: Ubuntu Jaunty (9.04), Hardy (8.04) and SUSE (11.0, 11.1) users with HDA modems: Installing the latest alsa-driver-linuxant package is necessary before installing this driver.

  • Installing a pre-compiled alsa-driver-linux package:

http://www.linuxant.com/alsa-driver/#pre-compiled If your distribution/architecture is not listed, or you are using a special enterprise/secure/SMP or custom (self-compiled) kernel, or the package does not work with your kernel version, try generic source package:

  • Installing Generic alsa-driver-linux package with source:

Note: Before installing this package, make sure that you have the build-essential installed (for gcc and make are required). Additionally, the kernel headers are also needed, this is the linux-headers package.

  wget http://www.linuxant.com/alsa-driver/archive/alsa-driver-linuxant-1.0.20.3/alsa-driver-linuxant_1.0.20.3_all.deb.zip
  unzip *.zip
  dpkg -i alsa-driver-linuxant_1.0.20.3_all.deb
  

Step 1

Download latest generic TAR package from Linuxant

 wget http://www.linuxant.com/drivers/hsf/full/archive/hsfmodem-7.80.02.04full/hsfmodem-7.80.02.04full.tar.gz
 

Step 2

Download oem TAR package from Dell in same directory

 wget http://linux.dell.com/files/ubuntu/hardy/modem-drivers/hsf/hsfmodem-7.68.00.09oem.tar.gz
 

Step 3

Extract both tarballs

 tar xzf *.tar.gz
 

Step 4

Replace the modules/imported/ sub-directory of the Linuxant (latest) driver with that of Dell

 rm -r hsfmodem-7.80.02.04full/modules/imported
 cp -R hsfmodem-7.68.00.09oem/modules/imported hsfmodem-7.80.02.04full/modules/
 

Step 5

Change working directory to the Linuxant (latest) driver folder and install

 cd hsfmodem-7.80.02.04full
 sudo make install
 sudo hsfconfig
 

For Ubuntu 9.10 Karmic users

Note: Using this driver may cause sound problems for (karmic) users. Read this post to fix it: http://ubuntuforums.org/showpost.php?p=8258559&postcount=21 After "Preparation" section download this zip archive, extract it & directly go to step 5.

 wget http://www.bargweb.net/images/2009/november/hsfmodem-7.80.02.05-DiacoEdition.zip
 

Troubleshooting - string.h error

If using Jaunty 9.04 (or recent kernel on Hardy 8.04), you will get an error like the following (unless you first take the steps described below to circumvent this issue): /usr/lib/hsfmodem/modules/imported/include/osservices.h:356:20: error: string.h: No such file or directory To fix it, you have two options:

  • Option 1:
 sudo gedit /usr/lib/hsfmodem/modules/imported/include/osservices.h
 

Then, on line 356: change string.h to linux/string.h Then re-run sudo hsfconfig

  • Option 2:
 cd hsfmodem-7.80.02.04full
 gedit modules/imported/include/osservices.h
 

Then, on line 356, change string.h to linux/string.h Then reinstall and recompile driver sudo make install && sudo hsfconfig

Open Source

Rafael Espíndola has ported the latest open source Conexant driver to 2.6.x kernels. AlexandreOttoStrube packaged it for Ubuntu Breezy using kernel 2.6.12-8. The source code and the binaryand package for Breezy can be found at [3] courtesy AndyRabagliati. For Ubuntu 6.06 Dapper, attachment:modem-hsfpci.tar.bz2 is a script to extend this driver to other supported hsf modems and other kernels. Just unpack it and read the HOWTO.

Quick Steps for setup of Linuxant/Conexant HSF (commercial) driver

Assuming you know everything there is to know about your setup, all you need to do is: Get the ZIPped Debian hsfmodem package from Linuxant from another connected machine (find the Ubuntu 5.10 package). Remember to extract the Debian package to your Desktop (easier to locate). You will use the terminal application to run the commands listed below. The terminal application looks in specific directories for ".deb" packages. If you download binary file then goto Step 3. Step 1 If you are using Ubuntu 5.10 (Breezy Badger), make sure you have followed the section of this document entitled Installing GCC 3.4. Step 2 Then install hsfmodem:

unzip hsfmodem_*.deb.zip          #extract file
sudo dpkg -i hsfmodem_*.deb       #install .deb package

Step 3 And finalize the modem driver installation:

sudo hsfconfig

sudo hsfconfig will prompt you about your location, your email address and license credentials, assuming you've purchased one; if not, then go by the FREE license key which will grant you up to 14.4 kbps connectivity only :( Go|back to the main wiki