Re: help with slamr

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

 



Mr. Penner,

Yes you have downloaded the correct driver according to scanModem,
however,  the instructions do not tell you use ungrab-winmodem which
is needed.  Before you run slmodemd -c CANADA /dev/slamr0,

run
$ sudo modprobe ungrab-winmodem
$ sudo modprobe slamr
then try
$ sudo slmodemd -c CANADA /dev/slamr0

which should create the /dev/slamr0 and the message grabbed by another
driver should not appear.  Otherwise, please apply what Marvin S.
asked you to do and report back to the list:

Regards,

Antonio

Marvin S's. message
------------------------------------------
 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/12/07, Marvin Penner <marvin@xxxxxxxxxx> wrote:
> As far as I can tell I have the correct slamr for my kernel.
> $ uname -a
> gave me
> 2.6.12-9-386 *1Mon Oct 10 13:14:36 BST 2005 i686 GNU/Linux
>
> I have been trying to install slamr-2.6.12-9-386.tgz
>
> Perhaps I should get the latest version of Ubuntu? I just thought I try
> to get what I have on hand going before going through the trouble of
> getting the latest.
>
> Thanks
>
> Marvin
>
> Here is my ModemData.txt
>
>  Only plain text email is forwarded by the  DISCUSS@xxxxxxxxxxxxx List Server.
>  Do use the following as the email Subject Line:
>            SomeName, YourCountry  kernel 2.6.12-9-386
>  This will alert cogent experts, and  distinguish cases in the Archives.
>  YourCountry will enable Country Code guidance.
>  Occassionally responses are blocked by an Internet Provider mail filters.
>  So in a day, also check the Archived responses at http://www.linmodems.org .
>  Local Linux experts can be found through: http://www.linux.org/groups/index.html
> --------------------------  System information ----------------------------
> CPU=i686,
> Linux version 2.6.12-9-386 (buildd@rothera) (gcc version 3.4.5 20050809 (prerelease) (Ubuntu 3.4.4-6ubuntu8)) #1 Mon Oct 10 13:14:36 BST 2005
>  scanModem update of:  2007_Sept_24
>
>
>  There are no blacklisted modem drivers in /etc/modprobe*  files
> USB modem not detected by lsusb
>
>
> Several modems are supported by drivers with ALSA, the Advanced Linux Sound Architecture software.
> Copying ALSA diagnostics to Modem/ALSAmarvin.tgz
> ALSAversion =
>
> Modem or candidate host audio card have firmware information and diagnostics:
>
>  PCI slot       PCI ID          SubsystemID     Name
>  ----------     ---------       ---------       --------------
>  0000:00:09.0   10b9:5457       1179:0001       Modem: ALi Corporation M5457 AC'97 Modem Controller
>
>  Modem interrupt assignment and sharing:
>  11:      19625          XT-PIC  ohci_hcd:usb1, ohci_hcd:usb2, ehci_hcd:usb3, ALI 5451, ath0, yenta
>  --- Bootup diagnostics for card in PCI slot 0000:00:09.0 ----
> [4294668.831000] PCI: Enabling device 0000:00:09.0 (0000 -> 0003)
> [4294668.831000] ACPI: PCI Interrupt 0000:00:09.0[A] -> Link [LNKI] -> GSI 11 (level, low) -> IRQ 11
>
>  === Finished modem firmware and bootup diagnostics section. ===
>  === Next deducing cogent software ===
>
>  Modem not detected though HDA card diagnostics
>  For candidate modem in PCI bus:  0000:00:09.0
>    Class 0703: 10b9:5457 Modem: ALi Corporation M5457 AC'97 Modem Controller
>       Primary PCI_id  10b9:5457
>     Subsystem PCI_id  1179:0001
>     Softmodem codec or Vendor from diagnostics:
>                               from    Archives: SIL27, an AgereSystems type.
>
>
>  Lacking a dsp (digital signal processing) chip, the modem is a software
>  intensive or "softmodem" type. Its primary controller manages the traffic
>  with the CPU. But the software needed is specified in the Subsystem.
>  -----------------------------------------
> Support type needed or chipset: slamr
>
>  Driver snd-ali5451 includes modem support beginning within 2.6.12 kernels.
>  Already loaded into the kernel is snd-ali5451 and audio drivers it depends on,
>  displayed by:  lsmod | grep snd_ali5451
> Module                  Size  Used by
> -------------------------------------
> snd_ali5451            22596  1
> snd_ac97_codec         72188  1 snd_ali5451
> snd_pcm                78344  3 snd_ali5451,snd_ac97_codec,snd_pcm_oss
> snd                    48644  8 snd_ali5451,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
>
> 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.
>
>
>  Download slamr-2.6.12-9-386.tgz from http://linmodems.technion.il/packages/smartlink/
>  under Linux, open a terminal and unpack with:
>  $ tar zxvf slamr*.tgz
>  Move into the unpacked folder
>  $ cd slamr-2.6.12-9-386
>  Look around
>  $ ls
>  Run the
>  $  sudo ./setup
>
>  Afterwards do:
>  $ 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
>
>  Read the Smartlink.txt and YourSystem.txt
> Writing Smartlink.txt
> ============ end Smartlink section =====================
>
>  Completed candidate modem analyses.
>
>  The base of the UDEV device file system is: /dev/.udevdb
>
>  The kernel was compiled with gcc version 3.4.5 and a compiler is not installed
>
> To support compiling, get the  BreezyGCC_3.4_i386.tar.gz from http://phep2.technion.ac.il/linmodems/packages/smartlink/
>  linux-headers-2.6.12-9-386 resources needed for compiling are not manifestly ready!
>
>  If compiling is necessary packages must be installed, providing:
>         gcc-3.4 make linux-headers-2.6.12-9-386
>
>
> If a driver compilation files with message including some lack of some FileName.h (stdio.h for example.
> Some additional kernel-header files need installation to /usr/include.
> For Debian/Ubuntu related distributions, run the following command to display the needed package list:
> $ sudo apt-get -s install linux-kernel-devel
> While some of the files may be on the install CD, others may have to be found through http://packages.ubuntu.com
>
> For Ubuntu Feisty, additional packages required were:
>  libc6-dev linux-libc-dev
> available through http://packages.ubuntu.com/ , if not on the install CD.
> Such packages may have different names for other Linux distributions.
> Try installing just the libc6-dev, then test the compile again.
>
>
> Checking pppd properties:
>         -rwsr-xr--  1 root dip 257688 2005-05-27 10:16 /usr/sbin/pppd
>
> In case of an "error 17" "serial loopback" problem, see:
>     http://phep2.technion.ac.il/linmodems/archive-sixth/msg02637.html
>
> To enable dialout without Root permission do:
>         $ su - root  (not for Ubuntu)
>         sudo chmod a+x /usr/sbin/pppd
> or under Ubuntu related Linuxes
>         sudo chmod a+x /usr/sbin/pppd
>
> Checking settings of:   /etc/ppp/options
> asyncmap 0
> auth
> crtscts
> lock
> hide-password
> modem
> proxyarp
> lcp-echo-interval 30
> lcp-echo-failure 4
> noipx
>
> In case of a message like:
>    Warning: Could not modify /etc/ppp/pap-secrets: Permission denied
> see http://linmodems.technion.ac.il/bigarch/archive-sixth/msg04656.html
>
>
>  Don't worry about the following, it is for the experts
>  should trouble shooting be necessary.
> ==========================================================
>
>  Checking for modem support lines:
>  --------------------------------------
>      /device/modem symbolic link:
> slmodemd created symbolic link /dev/ttySL0:
>      Within /etc/udev/ files:
>
>      Within /etc/modprobe.conf files:
> /etc/modprobe.d/alsa-base:options snd-atiixp-modem index=-2
> /etc/modprobe.d/alsa-base:options snd-via82xx-modem index=-2
>      Within any ancient /etc/devfs files:
>
>      Within ancient kernel 2.4.n /etc/module.conf files:
>
> --------- end modem support lines --------
>
>
>
>
>
>
> Antonio Olivares 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
> >>
> >>
> >> ------------------------------------------------------------------------
> >>
> >> No virus found in this incoming message.
> >> Checked by AVG Free Edition.
> >> Version: 7.5.488 / Virus Database: 269.14.8/1063 - Release Date: 10/11/2007 9:11 AM
> >>
>
>

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

  Powered by Linux