Re: Fernando, Brazil Fedora release 7 (Moonshine) Kernel kernel 2.6.21-1.3194.fc7

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

 



Jose, 

for a working example you may look here for automation

http://www20.brinkster.com/olivares/slmodemd-setup-1.html

I did not update it for Fedora 7/8 but it works the
same, you can add the line that Marv told you to
/etc/modprobe.conf as su -(Super User), then also # cp
slmodem-2.9.11-20080417/scripts/slmodemd
/etc/rc.d/init.d/
# cd /etc/rc.d/init.d/
[root@localhost init.d]# chmod +x slmodemd
[root@localhost init.d]# chkconfig slmodemd --add
[root@localhost init.d]# chkconfig slmodemd on

Should take care of it.  You might need the lines 

        modprobe ungrab-winmodem
        modprobe slamr 

in start procedure in the case that upon startup you
see ``slmodemd dead but subsys locked'' message 

start() {
        modprobe ungrab-winmodem
        modprobe slamr 
        echo -n "Starting SmartLink Modem driver for
$SLMODEMD_DEVICE: "
        $prog /dev/null 2>/dev/null \
            --country=$SLMODEMD_COUNTRY $SLMODEMD_OPTS
/dev/$SLMODEMD_DEVICE &
        RETVAL=$?
        [ $RETVAL -eq 0 ] && success $"$prog startup"
|| failure $"$prog startup"
        echo
        [ $RETVAL -eq 0 ] && touch
/var/lock/subsys/$prog
        return $RETVAL
}

Regards,

Antonio 

--- Marvin Stodolsky <marvin.stodolsky@xxxxxxxxx>
wrote:

> Jose,
> 
> Read through the Smartlink.txt
> Until you implement the automation, the /dev/slamr0
> must be manually
> made upon reboot.
> $ su root
> #  mknod -m 600 /dev/slamr0 c 242 0
> 
> You can automate by adding the following SINGLE line
> (folded in email)
> somewhere in /etc/modprobe.d/ files:
> 
> install slamr modprobe --ignore-install
> ungrab-winmodem ;  modprobe
> --ignore-install slamr; test -e /dev/slamr0 ||
> (/bin/mknod -m 660
> /dev/slamr0 c 242 0 2>/dev/null && chgrp uucp
> /dev/slamr0)
> 
> There after
> # modprobe slamr
> will do all
> 
> MarvS
> 
> On Sun, May 4, 2008 at 7:56 PM, Jose Fernando de
> Jesus
> <jfernando@xxxxxxxxxxxxxxxx> wrote:
> >    Hi Antonio,
> >    I downloaded the kernel-devel and I was able to
> compile now both
> >  ungrab-winmodem and slmodem, and I had the port
> working, and I was able to dial.
> >    But after I rebooted to get the right dialer
> phone number, I lost the
> >  /dev/ttySL0 device, and I had the following
> error:
> >
> >  [root@bunitinhu ~]# modprobe ungrab-winmodem
> >  [root@bunitinhu ~]# modprobe slamr
> >  [root@bunitinhu ~]# slmodemd -c BRAZIL
> /dev/slamr0
> >  error: mdm setup: cannot stat `/dev/slamr0': No
> such file or directory
> >  error: cannot setup device `/dev/slamr0'
> >
> >     Although there is a 'slamr0' on /dev. What is
> not there is /dev/ttySL0.
> >  Any suggestion? Thanks a lot.
> >
> >
> >  On Sun, 4 May 2008 13:32:25 -0700 (PDT), Antonio
> Olivares wrote
> >
> >
> > > Jose,
> >  >
> >  > I overlooked the following lines:
> >  > <quote>
> >  > linux-headers-2.6.21-1.3194.fc7 resources
> needed
> >  > for compiling are not manifestly ready!
> >  > If compiling is necessary packages must be
> >  > installed, providing:
> >  >      kernel-source-2.6.21-1.3194.fc7
> >  > <quote>
> >  > You need to look for and install
> >  > kernel-devel-2.6.21-1.3194.fc7, there is no
> need for
> >  > the kernel source.
> >  >
> >  > How did you get the slmodem-2.9.11-20080417
> code to
> >  > work, if kernel-devel package is not installed?
> >  >
> >  > BTW, that kernel-2.6.21-1.3194.fc7 has some
> bugs, you
> >  > are advised to install a newer one, Also Fedora
> 7 will
> >  > reach EOL in about 1 month.  IT will not
> receive
> >  > security updates, why do you not install Fedora
> 8 or
> >  > wait a bit for Fedora 9.  Although for Fedora
> 9,
> >  > slmodem-2.9.11-20080417.tar.gz is not compiling
> >  > because of some nonGPL modules.
> >  >
> >  > Regards,
> >  >
> >  > Antonio
> >  >
> >  > --- Jose Fernando de Jesus
> >  > <jfernando@xxxxxxxxxxxxxxxx> wrote:
> >  >
> >  > > Hi Antonio,
> >  > > I have tried to do what you said, I entered
> as
> >  > > superuser (although I tried use
> >  > > sudo before) and typed make and make install
> and I
> >  > > had the same problem. That
> >  > > is not me that tries to compile agains kernel
> >  > > headers. It's ungrab-winmodem
> >  > > that tries to do it, and it says:
> >  > > make: ***
> /lib/modules/2.6.21-1.3194.fc7/build: File
> >  > > or directory not found. Stop.
> >  > > make: ** [all] Error 2
> >  > >
> >  > > This error ocurrs both with make and with
> make
> >  > > install.
> >  > >
> >  > >
> >  > > [jfernando@bunitinhu
> ungrab-winmodem-20080126]$ su
> >  > > Senha:
> >  > > [root@bunitinhu ungrab-winmodem-20080126]# ls
> >  > > Makefile  Modules.symvers  Module.symvers
> >  > > Readme.txt  UngrabError.txt
> >  > > ungrab-winmodem.c  updates.txt
> >  > > [root@bunitinhu ungrab-winmodem-20080126]#
> make
> >  > > make modules -C
> /lib/modules/2.6.21-1.3194.fc7/build
> >  > >
> >  >
>
SUBDIRS=/home/jfernando/software/scanMod/ungrab-winmodem-20080126
> >  > > make: ***
> /lib/modules/2.6.21-1.3194.fc7/build:
> >  > > Arquivo ou diretório não
> >  > > encontrado.  Pare.
> >  > > make: ** [all] Erro 2
> >  > > [root@bunitinhu ungrab-winmodem-20080126]#
> make
> >  > > install
> >  > > make modules -C
> /lib/modules/2.6.21-1.3194.fc7/build
> >  > >
> >  >
>
SUBDIRS=/home/jfernando/software/scanMod/ungrab-winmodem-20080126
> >  > > make: ***
> /lib/modules/2.6.21-1.3194.fc7/build:
> >  > > Arquivo ou diretório não
> >  > > encontrado.  Pare.
> >  > > make: ** [all] Erro 2
> >  > > [root@bunitinhu ungrab-winmodem-20080126]#
> >  > >
> >  > >
> >  > > On Sun, 4 May 2008 09:48:38 -0700 (PDT),
> Antonio
> >  > > Olivares wrote
> >  > > > Jose,
> >  > > >
> >  > > > Here become superuser
> >  > > > [jfernando@bunitinhu
> ungrab-winmodem-20080126]$ su
> >  > >
> >  > > > password:
> >  > > > [jfernando@bunitinhu
> ungrab-winmodem-20080126]#
> >  > > make
> >  > > > [jfernando@bunitinhu
> ungrab-winmodem-20080126]#
> >  > > make
> >  > > > install
> >  > > >
> >  > > > should do it.  There is no need to make
> against
> >  > > kernel
> >  > > > headers.  The ungrab-winmodem-20080126 does
> this
> >  > > > automatically no need to compile against
> it.
> >  > > >
> >  > > > Just type make, make install.
> >  > > >
> >  > > > Regards,
> >  > > >
> >  > > > Antonio
> >  > > >
> >  > > > --- Jose Fernando de Jesus
> >  > > > <jfernando@xxxxxxxxxxxxxxxx> wrote:
> >  > > >
> >  > > > >    Hi, I have run scanModem and I have
> seen that
> >  > > I
> >  > > > > can use slmodem +
> >  > > > > ungrab-winmodem, but when I try to
> compile
> >  > > > > ungrab-winmodem I have the
> >  > > > > following error:
> >  > > > >
> >  > > > > [jfernando@bunitinhu
> ungrab-winmodem-20080126]$
> >  > > ls
> >  > > > > Makefile  Modules.symvers  Module.symvers
> >  > > > > Readme.txt  ungrab-winmodem.c
> >  > > > > updates.txt
> 
=== message truncated ===



      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

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

  Powered by Linux