[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Demande d'aide pour faire marche un modem sous debian



Jean-Michel OLTRA wrote:

   bonjour,


Le jeudi 10 février 2005, Latévi Max LAWSON DAKU a écrit...


Je vous contacte car j'ai besoin d'aide pour faire marcher mon
modem sous linux. J'utilise une debian avec un noyau 2.6.10.
La sortie de "lspci -v" est la suivante :

 o Modem: Intel Corp. 82801DB (ICH4) AC'97 Modem Controller (rev 03)
    (prog-if 00 [Generic])

Pour pouvoir l'utiliser, j'ai compilé le module intel8x0m de ALSA
et installé le paquet sl-modem-daemon (version 2.9.9a-1). La
commande "aplay -l" donne

On a merdouillé un moment sur un modem de ce type sur le portable d'une
amie: on avait compilé le module slamr et rien n'allait. Mais je parle
d'une compilation du pilote, ce n'était pas sur une debian, le noyau
était un 2.6.9, et ça marche maintenant. Donc tu peux y arriver. Il ne
me semble pas que l'on donnait à slmodemd la carte en paramètre, par
ailleurs.

Méthode que j'applique sous Ubuntu mais qui est la méthode Debian pour le driver slmodem qui fonctionne avec les modem intel comme sur mon portable

So first we need to install several packages:

  1.

     build-essential

  2.

     kernel-headers-2.6-ARCH

  3.

     fakeroot

These will pull in some other packages too.

You also need to install the source of the SmartLink driver itself:

  1.

     sl-modem-daemon

  2.

     sl-modem-source

You can install all packages listed above at the same time.


       Compiling the driver

Run the following steps in a console. Note that whatever directory you're working in will be filled with files. It doesn't matter exactly where this is done as long as you have write access in the directory.

  1.

     tar -xjf /usr/src/sl-modem.tar.bz2 [this command unpacks all the
     files we will use into the current directory]?
     <http://www.ubuntulinux.org/wiki/BinaryDriverHowto/createform?page=this%20command%20unpacks%20all%20the%20files%20we%20will%20use%20into%20the%20current%20directory>


  2.

     cd modules/sl-modem/debian [change to a particular directory where
     the instructions for building the module are, because we need to
     fix them to work with Ubuntu rather than Debian

  1.

     cd ..

  2.

     fakeroot debian/rules kdist KVERS=`uname -r` KSRC=/usr/src/kernel-headers-`uname -r`
     [this does the actual building of the driver against the /current
     running kernel/, it has a lot of output]

  3.

     cd ..

  4.

     sudo dpkg -i sl-modem-modules-*.deb [this sometimes freezes,
     canceling it with Ctrl+C and trying again will eventually work]





Reply to: