The cause of the failure is in this message:
[ 28.192512] slamr: device 10b9:5459 is grabbed by another driver
Please do EXACTLY what follows:
sudo lsmod > 2>&1 ungrab.problem.txt
sudo ungrab-winmodem >> 2>&1 ungrab.problem.txt
sudo modprobe slamr >> 2>&1 ungrab.problem.txt
sudo lsmod >> 2&1 ungrab.problem.txt
sudo slmodemd -c ITALY /dev/slamr0 >> 2&1 ungrab.problem.txt
and send us the file ungrab.problem.txt which these five commands will
produce.
Jacques
Emanuele Pagone wrote:
Jacques,
your guess is right! (sorry if you didn't understand me easily, but I'm
not so comfortable in writing in English...): I did not run "sudo
./setup" at all.
Now I made it (sl-modem-daemon package is NOT installed, I removed it
completely), but there are some errors:
emanuele@emanuele-desktop:~/slamr-2.6.22-14-generic$ sudo ./setup
[sudo] password for emanuele:
installing drivers for kernel version 2.6.22-14-generic
driver=slamr
Installing the Debian packages supporting autoloading
Selezionato il pacchetto sl-modem-daemon, che non lo era.
(Lettura del database ... 176073 file e directory attualmente
installati.)
Spacchetto sl-modem-daemon (da
sl-modem-daemon_2.9.10+2.9.9d+e-pre2-5ubuntu4_i386.deb) ...
Configuro sl-modem-daemon (2.9.10+2.9.9d+e-pre2-5ubuntu4) ...
L'utente «Slmodemd» già esiste come utente di sistema. Uscita.
Starting SmartLink Modem driver for: slamr0.
Creating /dev/modem symlink, pointing to: /dev/ttySL0.
Copying over newer files
Making folder /lib/modules/2.6.22-14-generic/extra
Copying drivers to /lib/modules/2.6.22-14-generic/extra
Checking driver install
slamr.ko slusb.ko ungrab-winmodem.ko
Copying newer slmodemd to /usr/sbin/
Checking slmodemd version. Should be 2.9.11
SmartLink Soft Modem: version 2.9.11 May 26 2007 13:41:57
Finished installs.
Informing the System
Starting function tests, loading drivers:
Running diagnostic:
[ 28.186723] slamr: module license 'Smart Link Ltd.' taints kernel.
[ 28.192496] slamr: SmartLink AMRMO modem.
[ 28.192512] slamr: device 10b9:5459 is grabbed by another driver
ports should be created by:
slmodemd -c USA /dev/slamr0
error: mdm setup: cannot stat `/dev/slamr0': No such file or directory
error: cannot setup device `/dev/slamr0'
Checking for success
Port creation with slmodemd failed.
Read the Slamr.txt record, other *.txt files and the sample wvdial.conf .
I try to translate the Italian-language lines from the terminal output:
Selezionato il pacchetto sl-modem-daemon, che non lo era.
(Lettura del database ... 176073 file e directory attualmente
installati.)
Spacchetto sl-modem-daemon (da
sl-modem-daemon_2.9.10+2.9.9d+e-pre2-5ubuntu4_i386.deb) ...
Configuro sl-modem-daemon (2.9.10+2.9.9d+e-pre2-5ubuntu4) ...
L'utente «Slmodemd» già esiste come utente di sistema. Uscita.
sl-modem-daemon package selected, it wasn't selected.
(Reading database ... 176073 files and directories now installed.)
Unpacking sl-modem-daemon (from
sl-modem-daemon_2.9.10+2.9.9d+e-pre2-5ubuntu4_i386.deb) ...
Configuring sl-modem-daemon (2.9.10+2.9.9d+e-pre2-5ubuntu4) ...
«Slmodemd» user existed as system user. Exit.
If I checked the slmodemd version, the output seems good:
emanuele@emanuele-desktop:~/slamr-2.6.22-14-generic$ slmodemd --version
SmartLink Soft Modem: version 2.9.11 May 26 2007 13:41:57
Can I move on with the last steps:
$ slmodemd --help
$ slmodemd --countrylist &> Clist.txt
If not in the USA, look for your COUNTRY_NAME therein.
Do and edit with:
$ sudo gedit /etc/default/sl-modem-daemon
and therein replace the USA in the line:
SLMODEMD_COUNTRY=USA
This will provide for the correct Country setting in the automated:
slmodemd -c COUNTRY /dev/slamr0
?
Thanks for your help!
Emanuele
Jacques Goldberg ha scritto:
Emanuele,
In addition to my previous mail, I now think again and possibly did
not understand what you want,
Can it be that you wrote your message below BEFORE having run the
command sudo ./setup ? Or perhaps you did not run
sudo ./setup at all?
The correct version of slmodemd is created and installed by the
command sudo ./setup
slamr is a driver.
slmodemd is a control utility which starts the operation of the slamr
driver in your case, or of several versions of the ALSA driver which
are not relevant in your case.
The package sl-modem-daemon installs an obsolete version of slmodemd
in your system.
sudo ./setup installs the right one at the same place.
The package sl-modem-daemon is NOT necessary to use your modem.
All it does is to automatically start the program slmodemd when you
boot the computer. Without sl-modem-daemon you must type
sudo slmodemd -c ITALY /dev/slamr0
and leave slmodemd running in the window where you typed the command
before you can use the modem
sl-modem-daemon saves you the work of typing
sudo slmodemd -c ITALY /dev/slamr0
Jacques
Jacques
Emanuele Pagone wrote:
Jacques,
first of all, thank you for your answer.
Jacques Goldberg ha scritto:
Emanuele,
Your ModemData.txt tells you what you have to do step by step!
Have you tried to read it and apply the instructions?
Yes, I read the instructions, but what makes me ask for your help is
the emphatized part in the text:
The modem is supported by the Smartlink slamr driver
*plus the slmodemd helper utility.* Read the
Smartlink.txt and Modem/YourSystem.txt for follow through guidance.
Now, I don't have any slmodemd utility installed. Infact:
$ slmodemd --version
Il programma «slmodemd» non è attualmente installato. È possibile
installarlo digitando:
sudo apt-get install sl-modem-daemon
*bash: slmodemd: command not found*
I read Smartlink.txt, but (for me) it's not enough clear about the
way to install the slmodemd utility. I tried to install the
sl-modem-daemon package (via Synaptic package manager), but if I
understood correctly some previous messages, in Ubuntu there is a
wrong version of the utility. To be sure about this, when I finished
to install the sl-modem-daemon package, I wrote in the console:
$ slmodemd --version
and I got something like "2.9.9e" that should be wrong (infact in
other messages I read that the right version must be 2.9.11). Am I
right?
I removed the slmodemd package, but now I don't know how to install
the slmodemd utlity. ModemData.txt don't cover this part of the
procedure. Can you help me?
Thanks, bye.
Emanuele