Configurazione di un modem Conexant in Ubuntu: Difference between revisions

From RVM Wiki
Jump to navigation Jump to search
No edit summary
 
Aggiornamento per Edgy
Line 1: Line 1:
== Howto get Conexant HSF modem to work in Dapper Kubuntu ==
Per Edgy, scaricare ed installare:
* [http://www.linuxant.com/drivers/hsf/full/archive/hsfmodem-7.68.00.01full/hsfmodem_7.68.00.01full_k2.6.20_16_generic_ubuntu_i386.deb.zip hsfmodem_7.68.00.01full_k2.6.20_16_generic_ubuntu_i386.deb.zip]


 
Il mnodem sarà automaticamente configurato su
Conexant modems can mostly be made to work in linux by using older drivers that were open source and thus free.
  /dev7modem
 
'''LA velocità è limitata a 14'400bps'''
Do not laugh, but presently Conexant drivers are free for Windows, but have to be purchased seperately at about $15 for free linux! These purchased drivers are said to be free, but the free version only supports speeds up to14400 and if you want maximum 56k you have to pay. Below you will find two different methods for installing the open source drivers that run at the full 56k and this should work in Ubuntu Dapper and other versions, but I have only tested in Dapper Kubuntu.
 
This came about when Rafael Espíndola ported the latest Conexant open source version to 2.6.x kernels.
 
Alexandre Otto Strube packaged it for Ubuntu Breezy using kernel 2.6.12-9. The.deb file thus will not work on any newer kernel unless you compile it yourself as below.
 
The files can be downloaded from http://www.surak.eti.br/linux/ubuntu/deb/conexant/ or ftp://ftp.wizzy.com/pub/wizzy/conexant/ (courtesy Andy Rabagliati)
 
Firstly to ensure you have a modem that may work with these drivers, look at the make and model of your modem, by looking at the chipset. If it shows HSF and the number CX11252 (maybe other numbers here) on the chip then you have a softmodem/winmodem/linmodem and this driver should work. You can also install it on a Windows pc and do a modem query and if it shows PCI/VEN_14F1&DEV2F00 then you know it should work.
 
The best way is to use your terminal to check your Vendorevice pci id with "lspci" :
<pre>
lspci
0000:01:0b.0 Communication controller: Conexant HSF 56k Data/Fax Modem (rev 01)
</pre>
 
Then, type "lspci -n" and look at the same identifying numbers to get the vendor:device id
 
<pre>
lspci -n
0000:01:0b.0 0780: 14f1:2f00 (rev 01)
</pre>
 
In this example, it's 14f1:2f00. Vendor ID is first part (14f1), then a ":" separates the Device ID (2f00).
 
Vendor ID's that are suported are listed here:
 
<pre>
VendorID=14F1 : DeviceID=2F00 Tested and works on Dapper
VendorID=14F1 : DeviceID=2F01
VendorID=14F1 : DeviceID=2013 Tested and works
VendorID=14F1 : DeviceID=2014
VendorID=14F1 : DeviceID=2015
VendorID=14F1 : DeviceID=2016
VendorID=14F1 : DeviceID=2F10
VendorID=14F1 : DeviceID=2F11
VendorID=14F1 : DeviceID=2F12
VendorID=14F1 : DeviceID=2F13
VendorID=14F1 : DeviceID=2F14
VendorID=14F1 : DeviceID=4311
VendorID=127A : DeviceID=1025
VendorID=127A : DeviceID=2004
VendorID=127A : DeviceID=2005
VendorID=127A : DeviceID=2013
VendorID=127A : DeviceID=2014
VendorID=127A : DeviceID=2015
VendorID=127A : DeviceID=2016
VendorID=127A : DeviceID=4311
VendorID=127A : DeviceID=2114
VendorID=8086 : DeviceID=2416
VendorID=8086 : DeviceID=2446
VendorID=8086 : DeviceID=2486
VendorID=1106 : DeviceID=3068
VendorID=10B9 : DeviceID=5453
VendorID=10B9 : DeviceID=5457
VendorID=14F1 : DeviceID=2043
VendorID=14F1 : DeviceID=2044
VendorID=14F1 : DeviceID=2045
VendorID=14F1 : DeviceID=2046
VendorID=14F1 : DeviceID=2443
VendorID=14F1 : DeviceID=1631
VendorID=14F1 : DeviceID=1636
VendorID=14F1 : DeviceID=1637
</pre>
 
Download the following files:
 
* modem-hsfpci.tar.bz2 from https://wiki.ubuntu.com/DialupModemH...hsfpci.tar.bz2
 
* conexant_192-1ubuntu-1.tar.gz from ftp://ftp.wizzy.com/pub/wizzy/conexa...buntu-1.tar.gz
 
This software supports the Conexant HSF 56k HSFi Modem, and was not tested with all models, anyone varifying a model to please update this with “tested and works” next to the ID list for help to others.
 
As you are going to compile your own drivers it is necessary that the required files are installed, check and/or install with Synaptic that the following are there:
 
* build-essential linux-headers-`uname -r` debhelper fakeroot
 
This comprises of creating a .deb file and then using that to install and configure the driver.
 
1.Create a folder called HSFmodem on your Desktop and put both downloaded files in it, modem-hsfpci.tar.bz2 and conexant_192-1ubuntu-1.tar.gz
 
2.Now right click on modem-hsfpci.tar.bz2 and Extract Here (in same folder) a folder and a folder modem-hsfpci-0.1 and a file HOWTO.txt will be created.
 
3.No go to the konsole and enter:
 
<pre>
cd ~/Desktop/HSFmodem
./HOWTO.txt
</pre>
 
and a file modem-hsfpci_0.1-0ubuntu1_386.deb will be created in folder /HSFmodem
 
4.You can install it with
 
  sudo dpkg -i modem-hsfpci_0.1-0ubuntu1_i386.deb
 
5.Go to file '''/etc/modem-hsfpci/modem-hsfpci.conf''' Right click, click Actions then Edit as Root and Kwrite should open file modem-hsfpci.conf
 
Remove the comment # from your '''country''' and also from the '''Vendorevice ID''' number determined above. If your ID are not shown you can try to create it in a new line, but there is no guarentee that it will work. If you do not do this the country will default to USA and the script will try to determine the Vendor ID with lspci.
 
6.Now you have to do the following to compile and install the configuration files and modules for your kernel version.
 
sudo /usr/sbin/modem-hsf --install
 
You should see the last line refering to modem installed and available on /dev/modem A symlink has also been created to the /dev/ttySHSF0 device.
 
7.You may have to reboot. The modem can be tested in Kppp by using Modem Query on /dev/modem. If it sees it you are OK and ATI 5 should show your country code.
 
8.You can uninstall by using Synaptic to completely uninstall modem-hsfpci_0.1-0ubuntu1
 
'''Note: Everytime you install a new kernel, especially after an update you will have to use the sudo /usr/sbin/modem-hsf --install command to build kernel modules for it.'''
 
It has been suggested that you also try ATW2DT instead of ATDT when setting up your dialler (Kppp).


== Riferimenti ==
== Riferimenti ==


* [http://ubuntuforums.org/showthread.php?t=190728&highlight=hsf Ubuntu Forums:Howto Conexant and Smartlink modem]
* [http://ubuntuforums.org/showthread.php?t=190728&highlight=hsf Ubuntu Forums:Howto Conexant and Smartlink modem]
*[http://www.linuxant.com/drivers/hsf/full/downloads-ubuntu-x86.php Linuxant - Linux drivers for Conexant chipsets - HSF driver downloads for Ubuntu x86 platform]
* [http://aparateys.blogspot.com/2007/06/installing-ubuntu-704-feisty-fawn-on.html Aparatey's Blog: Installing Ubuntu 7.04 Feisty Fawn on Compaq Presario 1500US]

Revision as of 14:51, 10 October 2007