Jacques,
unfortunately, I'm not able to reproduce again the message that you
highlighted:
The cause of the failure is in this message:
[ 28.192512] slamr: device 10b9:5459 is grabbed by another driver
After sending the previous email, I tried again several times to execute "$
sudo ./setup", but I wasn't able to obtain again that message, instead I got
another one:
emanuele@emanuele-desktop:~/slamr-2.6.22-14-generic$ sudo ./setup
installing drivers for kernel version 2.6.22-14-generic
driver=slamr
Installing the Debian packages supporting autoloading
(Lettura del database ... 176085 file e directory attualmente installati.)
Mi preparo a sostituire sl-modem-daemon 2.9.10+2.9.9d+e-pre2-5ubuntu4 (con
sl-modem-daemon_2.9.10+2.9.9d+e-pre2-5ubuntu4_i386.deb) ...
Shutting down SmartLink Modem driver normally probably failed.
Trying it the hard way (send SIGKILL all slmodemd processes): Unloading
modem driver from kernel ... slamr.
Spacchetto il sostituto di sl-modem-daemon ...
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:
[ 169.999471] slamr: module license 'Smart Link Ltd.' taints kernel.
[ 170.006535] slamr: SmartLink AMRMO modem.
[ 170.009099] slamr: probe 10b9:5459 SL1800 card...
[ 170.011636] slamr: mc97 codec is SIL26
[ 170.011805] slamr: slamr0 is SL1800 card.
[ 807.310486] slamr: SmartLink AMRMO modem.
[ 807.310936] slamr: probe 10b9:5459 SL1800 card...
[ 807.313860] slamr: mc97 codec is SIL26
[ 807.314046] slamr: slamr0 is SL1800 card.
[ 1383.434767] slamr: SmartLink AMRMO modem.
[ 1383.437638] slamr: probe 10b9:5459 SL1800 card...
[ 1383.439842] slamr: mc97 codec is SIL26
[ 1383.440011] slamr: slamr0 is SL1800 card.
ports should be created by:
slmodemd -c USA /dev/slamr0
error: mdm setup: cannot open dev `/dev/slamr0': Device or resource busy
error: cannot setup device `/dev/slamr0'
Checking for success
Running wvdialconf
Editing `/etc/wvdial.conf'.
Scanning your serial ports for a modem.
ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
ttyS1<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyS1<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyS1<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
Modem Port Scan<*1>: S2 S3 WvModem<*1>: Cannot get information for
serial port.
ttySL0<*1>: ATQ0 V1 E1 -- OK
ttySL0<*1>: ATQ0 V1 E1 Z -- OK
ttySL0<*1>: ATQ0 V1 E1 S0=0 -- OK
ttySL0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttySL0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttySL0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttySL0<*1>: Modem Identifier: ATI -- SmartLink Soft Modem
ttySL0<*1>: Speed 4800: AT -- OK
ttySL0<*1>: Speed 9600: AT -- OK
ttySL0<*1>: Speed 19200: AT -- OK
ttySL0<*1>: Speed 38400: AT -- OK
ttySL0<*1>: Speed 57600: AT -- OK
ttySL0<*1>: Speed 115200: AT -- OK
ttySL0<*1>: Speed 230400: AT -- OK
ttySL0<*1>: Speed 460800: AT -- OK
ttySL0<*1>: Max speed is 460800; that should be safe.
ttySL0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
Found a modem on /dev/ttySL0.
Modem configuration written to /etc/wvdial.conf.
ttySL0<Info>: Speed 460800; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
Modem detection successful
Read wdial.txt
Then edit /etc/wvdial.conf with:
sudo gedit /etc/wvdial.conf
at the lines beginning with ; and deleting the ; < > Then dialout with:
sudo wvdial
Running setup again is NOT necessary. Only for dialout the:
sudo wvdial
Read the Slamr.txt record, other *.txt files and the sample wvdial.conf .
I'm a bit confused...
Anyway, if I do
emanuele@emanuele-desktop:~/slamr-2.6.22-14-generic$ sudo lsmod > 2>&1
ungrab.problem.txt
bash: syntax error near unexpected token `2'
as you can see, I get an error.
I hope you could give me some guidance. Thank you.
Emanuele
P.S.: If you are wandering why the numbers in the list of the "Running
diagnostic:" is different than the others in the previous email, it's just
because the list was becoming very long (I ran "./setup" a lot of times),
and I tried to obtain a "clean" list. So I opened with gvim the "setup" file
and I found the "dsmeg" command, and after reading its man page, I gave
"sudo dsmeg -c", restarted the computer and made just two or three attempts
with "./setup"... I was just trying to learn something about linux, but I
swear to be more cautious from now :) .
Jacques Goldberg ha scritto:
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