Re: From Cary

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

 



BCC to:  Sasha Khapyorsky, original  slmodem coder

Perhaps you can suggest a permanent fix to the below slusb problem:
> modem `slusb0' created. TTY is `/dev/pts/2'
> error: locked memory limit too low:
> error: need 8388608 bytes, have 65536 bytes
> error: try 'ulimit -l 8192'
under a 3.5.0 kernel.

Cary is completely dependent on modems in Cuba, to get on the Internet
under Linux.

Cary,
While I have no intuition on this problem,
you might try a short script named: ulimit_modem

#! /bin/sh
ulimit -l 8192
slmodemd -c USA /dev/slusb0
# end

Make executable with:
$ chmod +x ulimit_modem
and test with:
$ sudo ./ulimit_modem

Marvin


On Wed, Mar 13, 2013 at 4:06 PM, Cary Karell <karell@xxxxxxxxxxxxxx> wrote:
> Dear Marv,
>
> Here are the results after compilling:
>
> $ find /lib/modules/3.5.0-17-generic -name slusb.ko
> /lib/modules/3.5.0-17-generic/extra/slusb.ko
> /lib/modules/3.5.0-17-generic/updates/dkms/slusb.ko
>
> $ ls /lib/modules/3.5.0-17-generic/updates/dkms/
> slusb.ko  ungrab-winmodem.ko
>
>
> $ lsmod | grep slusb
> slusb                  22107  0
>
> But,
> $ sudo slmodemd -c USA /dev/slusb0
> SmartLink Soft Modem: version 2.9.11 Dec 29 2011 12:14:46
> symbolic link `/dev/ttySL0' -> `/dev/pts/2' created.
> modem `slusb0' created. TTY is `/dev/pts/2'
> error: locked memory limit too low:
> error: need 8388608 bytes, have 65536 bytes
> error: try 'ulimit -l 8192'
>
> And Wvdialconf doesn't find a modem neither.
>
> Regards,
> Cary
>
> El 12/03/2013 19:48, Marvin Stodolsky escribió:
>
>> Cary,
>>
>> I was not aware of the sl-modem-dkms package.
>> But upon just testing it on a x86_64 system, all was OK, per below.
>> The slamr & ungrab-winmodem compiles are skipped, because these
>> modules are not functional on x86_64 systems and not needed for slusb
>> function.  Let us know how it works out.
>>
>> The slusb module should auto load when you attach the Smart USB modem.
>>
>> Anthony, because SENDs from my cellphone have a format rejected by the
>> ListServer,
>> some of the intermediate conversations were not forwarded to you.
>>
>> MarvS
>> ==========
>> $ find /lib/modules/3.2.0-38-generic -name slusb.ko
>> /lib/modules/3.2.0-38-generic/updates/dkms/slusb.ko
>>
>> $ ls /lib/modules/3.2.0-38-generic/updates/dkms/
>> slusb.ko  ungrab-winmodem.ko  wl.ko
>>
>> $ lsmod | grep slusb
>> slusb                  22107  0
>> ----------------
>> lacking a Smart USB modem, further functional tests could not be run.
>>
>>
>> On Tue, Mar 12, 2013 at 10:22 PM, Cary Karell <karell@xxxxxxxxxxxxxx>
>> wrote:
>>>
>>> OK, I gonna try again.
>>> Thank you.
>>>
>>> PD: What about if I use sl-modem-dkms rather than sl-modem-source? The
>>> first
>>> relieves only slusb.ko and ungrab-winmodem.ko; the second relieves
>>> slusb.ko,
>>> slamr.ko and ungrab-winmodem.ko, where slamr.ko superimposes slusb.ko.
>>>
>>> El 12/03/2013 17:01, Marvin Stodolsky escribió:
>>>
>>> Try to Install both sl-modem-*. Deb packages.   The SL modem source will
>>> install to /use/src/modules/
>>> There under find the driver/ folder ,
>>> And do the compile.
>>>
>>> Currently on cellphone.
>>>
>>> Marv
>>>
>>> On Mar 12, 2013 4:55 PM, "Cary Karell" <karell@xxxxxxxxxxxxxx> wrote:
>>>>
>>>> Dear Marv,
>>>>
>>>> For doing that, I need tar.gz updated. I can't access to
>>>> http://linmodems.technion.ac.il/packages/smartlink/.
>>>> Repositories availables for Ubuntu and Debian here provide only deb.
>>>> packages.
>>>>
>>>> Cary
>>>>
>>>>
>>>> El 12/03/2013 3:31, Marvin Stodolsky escribió:
>>>>
>>>> Use the tar.gz
>>>> The deb will not work because the slusb.ko is now GNU illegal, being
>>>> Proprietary
>>>>
>>>> MarvS
>>>>
>>>> On Mar 11, 2013 8:02 PM, "Cary Karell" <karell@xxxxxxxxxxxxxx> wrote:
>>>>>
>>>>> MarvS,
>>>>>
>>>>> El 11/03/2013 14:23, Marvin Stodolsky escribió:
>>>>>>
>>>>>> Cary,
>>>>>>
>>>>>> Try the compile within the driver/ folder with:
>>>>>> $ sudo make USB=1
>>>>>
>>>>> Using which packages? .deb or tar.gz. packages?
>>>>>>
>>>>>>
>>>>>> The compiled slusb.ko driver is to be used with slmodemd compiled on a
>>>>>> 32 bit System.
>>>>>> The x86_64 System may need the 32 bit supporting libraries which
>>>>>> slmodemd. Â However they may already be installed by default.
>>>>>
>>>>> Which libraries we are talking about? No library was needed with .deb
>>>>> packages.
>>>>>>
>>>>>>
>>>>>> The worst case scenario is that you will have to reinstall a 32 bit
>>>>>> OS, to serve the modem.
>>>>>
>>>>> Yeah... but my PC architecture doesn't admit a 32bit OS.
>>>>>
>>>>> Ohhh, my...!!!
>>>>>
>>>>> Thank you for all your help.
>>>>>
>>>>> Cary
>>>>>>
>>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> Este mensaje le ha llegado mediante el servicio de correo electronico
>>>>> que
>>>>> ofrece Infomed para respaldar el cumplimiento de las misiones del
>>>>> Sistema
>>>>> Nacional de Salud. La persona que envia este correo asume el compromiso
>>>>> de
>>>>> usar el servicio a tales fines y cumplir con las regulaciones
>>>>> establecidas
>>>>>
>>>>> Infomed: http://www.sld.cu/
>>>>
>>>>
>
>
> --
>
> Este mensaje le ha llegado mediante el servicio de correo electronico que
> ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema
> Nacional de Salud. La persona que envia este correo asume el compromiso de
> usar el servicio a tales fines y cumplir con las regulaciones establecidas
>
> Infomed: http://www.sld.cu/



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

  Powered by Linux