Re: help with slamr

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

 



MP

 sl-modem-daemon_2.9.10+2.9.9d-6ubuntu1_i386.deb
should have installed a configuration file to /etc/default/
named sl-modem-daemon or similar (the name may have changed).  Do an edit like
$ sudo  gedit  /etc/default/sl-modem-daemon
change the lines:
SLMODEMD_DEVICE=auto
SLMODEMD_COUNTRY=USA
to
SLMODEMD_DEVICE=/dev/slamr0
SLMODEMD_COUNTRY=CANADA

There should also be a file: /etc/modprobe.d/sl-modem-daemon.modutils
whose 3rd install line is folded in this email:
----
alias char-major-243 slusb
alias char-major-242 slamr
install slamr modprobe --ignore-install ungrab-winmodem ;  modprobe --ignore-ins
tall slamr; test -e /dev/slamr0 || (/bin/mknod -m 660 /dev/slamr0 c 242 0 2>/dev
/null && chgrp dialout /dev/slamr0)

Its role is to
1) load ungrab-winmodem before slamr
which will stop the problem:
error: mdm setup: cannot stat `/dev/slamr0': No such file or directory
2) concurrently creat /dev/slamr0

The ./setup only had to be done once.  When your reboot do:
$ lsmod | grep ungrab
which should display:    ungrab-winmodem
$ lsmod | grep slamr
which should display:    slamr

Ports should  be created during bootup.  Check with:
$ ls -l  /dev/ttySL0   /dev/pts/*  /dev/slamr0
If all is well there should be included /dev/slamr0   and a symbolic iink
 /dev/ttySL0  -->  /dev/pts/N  , N a number

If these are there, you can
$ sudo wvdialconf  /etc/wvdial.conf
which should fine the modem.  If so:

Follow wvdial.txt in an edit
$ sudo gedit /etc/wvdial.conf

after which you should be able to dialout with:
$ sudo wvdial

The wild card is that the slamr driver was written for the 10b9:5459
modem card and its success with the 10b9:5457  is variable.

Report back when you run into trouble

MarvS
and /dev/s

error: cannot setup device `/dev/slamr0'


On 10/11/07, Antonio Olivares <olivares14031@xxxxxxxxx> wrote:
> Marvin,
>
> There is a precompiled slamr for Ubuntu that matches your kernel at
> the smartlink section in LinModems Resource Page
>
> http://linmodems.technion.ac.il/packages/smartlink/Ubuntu/
>
> In looking at your tries I see that there is ungrab-winmodem
>
> marvin@notebook:~$ cd slamr-2.6.12-9-386
> bash: cd: slamr-2.6.12-9-386: No such file or directory
> marvin@notebook:~$ cd ~/Desktop
> marvin@notebook:~/Desktop$ cd slamr-2.6.12-9-386
> marvin@notebook:~/Desktop/slamr-2.6.12-9-386$ ls
> 1st_Read.txt
> CountryList.txt
> libasound2_1.0.10-2ubuntu4_i386.deb
> setup
> slamr.ko
> slmodemd
> sl-modem-daemon_2.9.10+2.9.9d-6ubuntu1_i386.deb
> slmodem.txt
> slusb.ko
> ungrab-winmodem.ko
> unloading
> wvdial.conf
> marvin@notebook:~/Desktop/slamr-2.6.12-9-386$
>
> which prompts the question, why is this being shown?
>
> [4295214.525000] slamr: SmartLink AMRMO modem.
> [4295214.525000] slamr: device 10b9:5457 is grabbed by another driver
>
> What is your running kernel?
> $ uname -a
> Then look for the slamr package that matches your kernel at the above
> page.  Everything should be setup for you.  If that does not work,
> please send your ModemData.txt to list.
>
> Thanks,
>
> Antonio
>
> On 10/11/07, Marvin Penner <marvin@xxxxxxxxxx> wrote:
> > I ran scanModem and have followed all the instructions I could find. It
> > said I needed slamr-2.6.12-9-386
> >
> > I have tried to install it and this is what I get:
> >
> > marvin@notebook:~$ cd slamr-2.6.12-9-386
> > bash: cd: slamr-2.6.12-9-386: No such file or directory
> > marvin@notebook:~$ cd ~/Desktop
> > marvin@notebook:~/Desktop$ cd slamr-2.6.12-9-386
> > marvin@notebook:~/Desktop/slamr-2.6.12-9-386$ ls
> > 1st_Read.txt
> > CountryList.txt
> > libasound2_1.0.10-2ubuntu4_i386.deb
> > setup
> > slamr.ko
> > slmodemd
> > sl-modem-daemon_2.9.10+2.9.9d-6ubuntu1_i386.deb
> > slmodem.txt
> > slusb.ko
> > ungrab-winmodem.ko
> > unloading
> > wvdial.conf
> > marvin@notebook:~/Desktop/slamr-2.6.12-9-386$ sudo ./setup
> > Password:
> > When asked about your country, Enter:
> >        SOUTHAFICA
> >
> > Installing the Debian packages supporting autoloading
> > (Reading database ... 56672 files and directories currently installed.)
> > Preparing to replace libasound2 1.0.10-2ubuntu4 (using libasound2_1.0.10-2ubuntu4_i386.deb) ...
> > Unpacking replacement libasound2 ...
> > Preparing to replace sl-modem-daemon 2.9.10+2.9.9d-6ubuntu1 (using sl-modem-daemon_2.9.10+2.9.9d-6ubuntu1_i386.deb) ...
> > Shutting down SmartLink Modem driver normally ... no slmodemd daemon running.
> > Unloading modem driver from kernel ... slamr.
> > Unpacking replacement sl-modem-daemon ...
> > Setting up libasound2 (1.0.10-2ubuntu4) ...
> >
> > Setting up sl-modem-daemon (2.9.10+2.9.9d-6ubuntu1) ...
> > Starting SmartLink Modem driver for: slamr0.
> > Creating /dev/modem symlink, pointing to: /dev/ttySL0.
> >
> >
> > Copying over newer files
> > cp: cannot stat `sl-modem-daemon.modutils': No such file or directory
> > Making folder /lib/modules/2.6.12-9-386/extra
> > Copying drivers to /lib/modules/2.6.12-9-386/extra
> > Checking driver install
> > slamr.ko  slusb.ko  ungrab-winmodem.ko
> > Finished installs.
> > Informing the System
> >
> > Starting function tests, loading drivers:
> > Running diagnostic:
> >
> > [4295214.525000] slamr: SmartLink AMRMO modem.
> > [4295214.525000] slamr: device 10b9:5457 is grabbed by another driver
> >
> > ports should be created by:
> > slmodemd -c SOUTHAFICA /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 1st_Read.txt CountryList.txt slmodem.txt files and the sample wvdial.conf.
> >
> > marvin@notebook:~/Desktop/slamr-2.6.12-9-386$ sudo ./setup
> > When asked about your country, Enter:
> >        SOUTHAFICA
> >
> > Installing the Debian packages supporting autoloading
> > (Reading database ... 56672 files and directories currently installed.)
> > Preparing to replace libasound2 1.0.10-2ubuntu4 (using libasound2_1.0.10-2ubuntu4_i386.deb) ...
> > Unpacking replacement libasound2 ...
> > Preparing to replace sl-modem-daemon 2.9.10+2.9.9d-6ubuntu1 (using sl-modem-daemon_2.9.10+2.9.9d-6ubuntu1_i386.deb) ...
> > Shutting down SmartLink Modem driver normally ... no slmodemd daemon running.
> > Unloading modem driver from kernel ... slamr.
> > Unpacking replacement sl-modem-daemon ...
> > Setting up libasound2 (1.0.10-2ubuntu4) ...
> >
> > Setting up sl-modem-daemon (2.9.10+2.9.9d-6ubuntu1) ...
> > Starting SmartLink Modem driver for: slamr0.
> > Creating /dev/modem symlink, pointing to: /dev/ttySL0.
> >
> >
> > Copying over newer files
> > cp: cannot stat `sl-modem-daemon.modutils': No such file or directory
> > Making folder /lib/modules/2.6.12-9-386/extra
> > Copying drivers to /lib/modules/2.6.12-9-386/extra
> > Checking driver install
> > slamr.ko  slusb.ko  ungrab-winmodem.ko
> > Finished installs.
> > Informing the System
> >
> > Starting function tests, loading drivers:
> > Running diagnostic:
> >
> > [4295214.525000] slamr: SmartLink AMRMO modem.
> > [4295214.525000] slamr: device 10b9:5457 is grabbed by another driver
> > [4295383.816000] slamr: SmartLink AMRMO modem.
> > [4295383.822000] slamr: probe 10b9:5457 SL1800 card...
> > [4295383.822000] slamr: mc97 codec is ADS74
> > [4295383.822000] slamr: cannot init card.
> >
> > ports should be created by:
> > slmodemd -c SOUTHAFICA /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 1st_Read.txt CountryList.txt slmodem.txt files and the sample wvdial.conf.
> >
> > marvin@notebook:~/Desktop/slamr-2.6.12-9-386$ Slamr.txt
> > bash: Slamr.txt: command not found
> > marvin@notebook:~/Desktop/slamr-2.6.12-9-386$ wvdial.cong.
> > bash: wvdial.cong.: command not found
> > marvin@notebook:~/Desktop/slamr-2.6.12-9-386$ su - root
> > Password:
> > su: Authentication failure
> > Sorry.
> > marvin@notebook:~/Desktop/slamr-2.6.12-9-386$ su - root
> > Password:
> > su: Authentication failure
> > Sorry.
> > marvin@notebook:~/Desktop/slamr-2.6.12-9-386$ sudo modprobe DriverNames
> > FATAL: Module DriverNames not found.
> > marvin@notebook:~/Desktop/slamr-2.6.12-9-386$ sudo modprobe Slamr
> > FATAL: Module Slamr not found.
> > marvin@notebook:~/Desktop/slamr-2.6.12-9-386$ sudo modprobe sl-modem
> > FATAL: Module sl_modem not found.
> > marvin@notebook:~/Desktop/slamr-2.6.12-9-386$ sudo modprobe Slamrd
> > FATAL: Module Slamrd not found.
> > marvin@notebook:~/Desktop/slamr-2.6.12-9-386$ sudo modprobe dlmodemd
> > FATAL: Module dlmodemd not found.
> > marvin@notebook:~/Desktop/slamr-2.6.12-9-386$ sudo modprobe slmodemd
> > FATAL: Module slmodemd not found.
> > marvin@notebook:~/Desktop/slamr-2.6.12-9-386$ slmodemd --help
> > Usage: slmodemd [option...] <device>
> > Where 'device' is name of modem device (default `/dev/slamr0')
> >  and 'option' may be:
> >  -h, --help            this usage
> >  -u, --usage           this usage
> >  -v, --version         show version and exit
> >  -c, --country=VAL     default modem country name (default `USA')
> >      --countrylist     show list of supported countries
> >  -a, --alsa            ALSA mode (see README for howto)
> >  -g, --group=VAL       Modem TTY group (default `dialout')
> >  -p, --perm=VAL        Modem TTY permission (default `0660')
> >  -n, --nortpriority    run with regular priority
> >  -d, --debug=VAL       debug level (default `0')
> >  -l, --log=VAL         logging mode (default `5')
> > marvin@notebook:~/Desktop/slamr-2.6.12-9-386$ sudo gedit
> > marvin@notebook:~/Desktop/slamr-2.6.12-9-386$ sudo gedit /etc/default/sl-modem-daemon
> > marvin@notebook:~/Desktop/slamr-2.6.12-9-386$ slmodem -c CANADA/dev/slamr0
> > bash: slmodem: command not found
> > marvin@notebook:~/Desktop/slamr-2.6.12-9-386$ sudo ./setup
> > When asked about your country, Enter:
> >        SOUTHAFICA
> >
> > Installing the Debian packages supporting autoloading
> > (Reading database ... 56672 files and directories currently installed.)
> > Preparing to replace libasound2 1.0.10-2ubuntu4 (using libasound2_1.0.10-2ubuntu4_i386.deb) ...
> > Unpacking replacement libasound2 ...
> > Preparing to replace sl-modem-daemon 2.9.10+2.9.9d-6ubuntu1 (using sl-modem-daemon_2.9.10+2.9.9d-6ubuntu1_i386.deb) ...
> > Shutting down SmartLink Modem driver normally ... no slmodemd daemon running.
> > Unloading modem driver from kernel ... slamr.
> > Unpacking replacement sl-modem-daemon ...
> > Setting up libasound2 (1.0.10-2ubuntu4) ...
> >
> > Setting up sl-modem-daemon (2.9.10+2.9.9d-6ubuntu1) ...
> > Starting SmartLink Modem driver for: slamr0.
> > Creating /dev/modem symlink, pointing to: /dev/ttySL0.
> >
> >
> > Copying over newer files
> > cp: cannot stat `sl-modem-daemon.modutils': No such file or directory
> > Making folder /lib/modules/2.6.12-9-386/extra
> > Copying drivers to /lib/modules/2.6.12-9-386/extra
> > Checking driver install
> > slamr.ko  slusb.ko  ungrab-winmodem.ko
> > Finished installs.
> > Informing the System
> >
> > Starting function tests, loading drivers:
> > Running diagnostic:
> >
> > [4295214.525000] slamr: SmartLink AMRMO modem.
> > [4295214.525000] slamr: device 10b9:5457 is grabbed by another driver
> > [4295383.816000] slamr: SmartLink AMRMO modem.
> > [4295383.822000] slamr: probe 10b9:5457 SL1800 card...
> > [4295383.822000] slamr: mc97 codec is ADS74
> > [4295383.822000] slamr: cannot init card.
> > [4295943.169000] slamr: SmartLink AMRMO modem.
> > [4295943.175000] slamr: probe 10b9:5457 SL1800 card...
> > [4295943.175000] slamr: mc97 codec is ADS74
> > [4295943.175000] slamr: cannot init card.
> >
> > ports should be created by:
> > slmodemd -c SOUTHAFICA /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 1st_Read.txt CountryList.txt slmodem.txt files and the sample wvdial.conf.
> >
> > marvin@notebook:~/Desktop/slamr-2.6.12-9-386$
> >
> > I am new to this and I really don't know what most of this means but I
> > can follow instructions. It seems to me it did not work. What do I need
> > to do?
> >
> > Thanks
> > Marvin
> >
>

[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux