Re: Javier Spain (2.6.38-8-generic)

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

 



List,

Are any of you currently using a Smartllink USB modem (Thompson brand
in Erurope).
In my family, we are all using cellphones and have discontinued land
line service, so I can't do any testing myself.

MarvS

On Sat, Sep 17, 2011 at 11:59 AM, javier <jasancen@xxxxxxxxx> wrote:
> Hi Marvin:
> Once again, bad news. I installed the sl*.deb package you sent me and the slmodemdaemon.deb for the maverick kernel and the modem doesn't work too. No ttySL0 file were created when running slmodemd, so wvdial can't detect any modem.
> I struggled with that problem and I was able to get my modem detected. Let me explain to you how I did it:
> 1. After the sl*.deb packages installation, I booted the computer with the modem unplugged
>
> 2. Since sl-modem-daemon always looked for the slamr module and no PCI modem is installed in my computer, I unloaded the slamr and ungrab-winmodem modules with
>     $ sudo modprobe -r slamr ungrab-winmodem
>
> 3. I loaded the slusb module: $ sudo modprobe slusb
>
> 4. I modified the sl-modem-daemon: $ sudo nano /etc/default/sl-modem-daemon
> by writing:
>     SLMODEMD_DEVICE=slusb0
>     SLMODEMD_COUNTRY=SPAIN
>
> 4. Then I attached the modem and ran sudo /etc/init.d/sl-modem-daemon start
>
> 5. The ttySL0 file was created for the slusb0
>
> I typed:
> javitxu@sobremesa:~$ ls -la /dev/modem
> lrwxrwxrwx 1 root root 6 2011-09-17 17:11 /dev/modem -> ttySL0
>
> and:
> javitxu@sobremesa:~$ ls -la /dev/ttySL0
> lrwxrwxrwx 1 root root 10 2011-09-17 17:11 /dev/ttySL0 -> /dev/pts/1
>
> with:
> javitxu@sobremesa:~$ ls -la /dev/pts
> total 0
> drwxr-xr-x  2 root    root         0 2010-09-24 14:25 .
> drwxr-xr-x 18 root    root      4520 2011-09-17 17:11 ..
> crw--w----  1 javitxu tty     136, 0 2011-09-17 17:18 0
> crw-rw----  1 root    dialout 136, 1 2011-09-17 17:17 1
> c---------  1 root    root      5, 2 2011-09-17 19:07 ptmx
>
> and the wvdial.conf:
>
> [Dialer Defaults]
> Init1 = AT
> Init2 = AT &F E0 V1 &A3 &D2 &C1 S0=0
> Modem Type = Analog Modem
> Phone = xxxxxx
> ISDN = 0
> Username = xxxxx
> Password = xxxxx
> Modem = /dev/ttySL0
> Baud = 115200
> Carrier Check = no
> Stupid Mode = 1
> Abort on No Dialtone = off
> Dial Attempts = 3
>
> But if I run:
> javitxu@sobremesa:~$ sudo wvdial
> --> WvDial: Internet dialer version 1.60
> --> Cannot get information for serial port.
> --> Initializing modem.
> --> Sending: AT
> OK
> --> Sending: AT &F E0 V1 &A3 &D2 &C1 S0=0
> OK
> --> Modem initialized.
> --> Sending: ATDT965912000
> --> Waiting for carrier.
> NO CARRIER
> ERROR
> --> No Carrier!  Trying again.
> --> Sending: ATDT965912000
> --> Waiting for carrier.
> NO CARRIER
> ERROR
> --> No Carrier!  Trying again.
> --> Sending: ATDT965912000
> --> Waiting for carrier.
> NO CARRIER
> ERROR
> --> No Carrier!  Trying again.
> --> Maximum Attempts Exceeded..Aborting!!
>
> and this is as far as I got by now. The init1 and init2 lines are copied from the inf file for the modem in windowsxp. I also tried with the ones wvdialconf wrote for the modem (Init1 = ATZ and Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0)but I got the same response: NO CARRIER
> Marvin, do you think this problem can be solved? I'm beginning to think that's there's some kind of MS propietary chip in my modem so it can't wake up under Linux.
> Many thanks for your help
> Regards,
> Javier
>
>
> ----- Mensaje original -----
> De: Marvin Stodolsky <marvin.stodolsky@xxxxxxxxx>
> Para: javier <jasancen@xxxxxxxxx>
> CC:
> Enviado: lunes 12 de septiembre de 2011 0:22
> Asunto: Re: Javier Spain (2.6.38-8-generic)
>
> Javier,
>
> The same sl-modem-source-version.deb should woke for Maverick, if dkms
> support is preinstalled.
> Also install the sl-modem-daemon package. Together these should
> support creation of
>   /dev/ttySL0 -> /dev/pts/n  , n some number
> wvdialconf  should follow the symbolic /dev/ttySL0 link to the real
> port /dev/pts/n
>
> MarvS
>
> On Sun, Sep 11, 2011 at 3:39 PM, javier <jasancen@xxxxxxxxx> wrote:
>> Martin:
>> I followed your instructions and I'm sorry to tell you that my USB wimondem doesn´t work
>> yet. When I boot my computer with the USB modem plugged (no PCI modem is installed in my
>> computer), I can find that this tree modules are loaded : slamr ungrab-winmodem and slusb.
>> Only slusb is shown as 'used' . If I run wvdialconf no modem is detected.
>> If I boot without the modem plugged and then I tried to plug it, the system crashes. But in
>> fact, I realized that this fail also happened before I installed the sl* packages, so I
>> guess it´s about a bug in the distro.
>>
>> Now I'm trying maverick distro (kernel 2.6.35-28-generic), and it do support hotplugging my
>> USB modem, so I wonder if you were so kind to make a sl*.deb according to that kernel. I
>> gonna give that distro a chance since 2.6.38.8-generic doesn't works with my modem.
>> Thanks in advance
>> Javier
>>
>>
>>
>> ----- Mensaje original -----
>> De: Marvin Stodolsky <marvin.stodolsky@xxxxxxxxx>
>> Para: javier <jasancen@xxxxxxxxx>; Antonio Olivares <olivares14031@xxxxxxxxx>
>> CC:
>> Enviado: miércoles 7 de septiembre de 2011 2:06
>> Asunto: Re: Javier Spain (2.6.38-8-generic)
>>
>> Anthony
>>
>> Keep the package, in case someone else needs the slusb.ko driver
>>
>> Javier
>>
>> All that is really involed is addiing the line "USB:=1" line to the file
>> /usr/src/sl-modem-2.9.11~20100718/drivers/Makefile
>> as here shown
>> ------------------
>> # slusb support ends at 2.6.24
>> USB:=1
>> -------------------
>> Thus it was made for the needy to cheat.
>>
>> After doing this edit myself and testing, I repackaged the installer attached.
>> So all you need do is install it with:
>> $ sudo pkg -i sl*.deb
>>
>> Afterward
>> $ find /lib/modules -name sl*.ko
>> -----------
>> /lib/modules/2.6.35-28-generic/kernel/drivers/net/slip.ko
>> /lib/modules/2.6.35-28-generic/kernel/drivers/staging/slicoss/slicoss.ko
>> /lib/modules/2.6.35-28-generic/kernel/drivers/usb/host/sl811_cs.ko
>> /lib/modules/2.6.35-28-generic/kernel/drivers/usb/host/sl811-hcd.ko
>> /lib/modules/2.6.35-28-generic/kernel/drivers/mtd/devices/slram.ko
>> /lib/modules/2.6.38-8-generic/updates/dkms/slamr.ko
>> /lib/modules/2.6.38-8-generic/updates/dkms/slusb.ko
>> ------
>> should include the last two lines.
>>
>> Attach the USB modem and it should be auto activated, by the scripts
>> from the sl-modem-daemon package (or upon a bootup)
>> $ sudo wvdialconf
>> should find the modem.
>>
>> With:
>> $ sudo gedit /etc/wvdial.conf
>> edit in your personal info, remove the symbols  < > ;
>> add a line:
>> Carrier check = no
>> and SAVE.
>>
>> With
>> $ sudo gedit /etc/default/sl-modem-daemon
>> change the COUNTRY setting from USA to SPAIN
>> and SAVE
>>
>> Inform the System of this last edit with:
>> $ /etc/init.d/sl-modem-daemon restart
>> or  reboot
>>
>> There after you should be able to dial out with:
>> $ sudo wvdial
>>
>> MarvS
>>
>>
>>
>>
>>
>>
>>
>> On Tue, Sep 6, 2011 at 2:23 PM, javier <jasancen@xxxxxxxxx> wrote:
>>> Martin:
>>> Thank you for your reply. As I wrote in my previous message my computing skill is too low, so I assume that setting up my 56k USB winmodem won´t be an easy task. Anyway, I'll try to do it because Ubuntu (or Windows) without internet browsing is useless for me.
>>> If you know about a Howto which instructions I can follow it would be helpful (I haven't been able to find one in the internet).
>>> Regards
>>> Javier
>>>
>>>
>>> ----- Mensaje original -----
>>> De: Marvin Stodolsky <marvin.stodolsky@xxxxxxxxx>
>>> Para: javier <jasancen@xxxxxxxxx>
>>> CC: "discuss@xxxxxxxxxxxxx" <discuss@xxxxxxxxxxxxx>
>>> Enviado: viernes 2 de septiembre de 2011 20:35
>>> Asunto: Re: Javier Spain (2.6.38-8-generic)
>>>
>>> Javier,
>>>
>>> Formally, the compilation of USB driver code with Proprietary License,
>>> such as slusb, is no longer allowed under Linux, in accordance with
>>> GNU legalisms.  But if you yourself want to break this regulation.  It
>>> is easy to do so.
>>>
>>> Respond to me if you want instructions.  It is likely that the
>>> Smartlink USB code owners do not at all care.
>>>
>>> MarvS
>>>
>>> On Fri, Sep 2, 2011 at 1:46 PM, javier <jasancen@xxxxxxxxx> wrote:
>>>> Hello:
>>>> Hi, I've just installed UBUNTU11.04 in my computer and I
>>>> wonder if my old 56k USB winmodem could work for dial-up connection to
>>>> the Internet.
>>>> I've been searching about this item in the internet,
>>>> but I couldn´t find any useful information for a newbie like me (my
>>>> computing skill is quite low). I tried dowloading and installing
>>>> dkms_2.1.1.2-5ubuntu1_all.deb,
>>>> sl-modem-source_2.9.11~20100718-4_i386.deb,
>>>> sl-modem-daemon_2.9.11~20100718-4_i386.deb and wvdial_1.61-2_i386.deb.
>>>> A
>>>>  slusb0 file is created under /dev but not a de/ttySL0 file and wvdial
>>>> doesn´t detect the modem, so some help would be appreciatted. Does the slusb driver work under the 2.6.38-8-generic kernel?
>>>> Thanks in advance
>>>> Javier
>>>>
>>>> This is the scanModem output:
>>>>
>>>> --------------------------  System information ----------------------------
>>>> CPU=i686,  Ubuntu ,  ALSA_version=1.0.23
>>>> Linux version 2.6.38-8-generic (buildd@vernadsky) (gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu3) ) #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 2011
>>>>  scanModem update of:  2011_02_04
>>>>
>>>> Distrib_ID=Ubuntu
>>>> DistribCodeName=natty
>>>> AptRepositoryStem=http://es.archive.ubuntu.com/ubuntu/
>>>>
>>>>
>>>> Presently install your Linux Distributions dkms package. It provides for automated driver updates,
>>>> following upgrade of your kernel.  For details see http://linux.dell.com/projects.shtml#dkms
>>>>
>>>>  There are no blacklisted modem drivers in /etc/modprobe*  files
>>>>
>>>>  Potentially useful modem drivers now loaded are:
>>>>
>>>>
>>>> Attached USB devices are:
>>>>  ID 0483:7554 SGS Thomson Microelectronics 56k SoftModem
>>>>  ID 152e:2507 LG (HLDS)
>>>> If a cellphone is not detected, see http://ubuntuforums.org/archive/index.php/t-878554.html
>>>> A sample report is:  http://linmodems.technion.ac.il/bigarch/archive-nineth/msg00578.html
>>>>
>>>> If a USB modem or cellphone is attached and was not detected, please
>>>> provide available information in your request to discuss@xxxxxxxxxxxxx
>>>>
>>>> Candidate PCI devices with modem chips are:
>>>> High Definition Audio cards can host modem chips.
>>>>
>>>> === Finished firmware and bootup diagnostics, next deducing cogent software. ===
>>>>
>>>> Predictive  diagnostics for card in bus 004:
>>>>     Modem chipset  detected on
>>>> SLOT="Bus 004 Device 002:"
>>>> NAME="SGS Thomson Microelectronics 56k SoftModem"
>>>> bus=004
>>>> USBmodemID=0483:7554
>>>> IDENT=slusb
>>>> Driver=slusb
>>>>
>>>> For a detailed USB cellphone usage report, see http://linmodems.technion.ac.il/bigarch/archive-eighth/msg03240.html
>>>>  For candidate modem in:  004
>>>>     SGS Thomson Microelectronics 56k SoftModem
>>>>       Primary device ID:  0483:7554
>>>>  Support type needed or chipset:    slusb
>>>>
>>>>
>>>>
>>>> There is a package sl-modem-source providing a source code the modem driver slusb ,
>>>> If can be searched for at http://pacakge.ubuntu.com. ; After downloading install under Linux with:
>>>>   $ sudo dpkg -i sl*.deb
>>>> It is preferable to install the dkms package first.
>>>> With DKMS support installed, driver updates with kernel updates will be automatically done.
>>>>
>>>> The modem is supported by the Smartlink slusb
>>>> plus the slmodemd helper utility.  Read the
>>>> DOCs/Smartlink.txt and Modem/DOCs/YourSystem.txt for follow through guidance.
>>>>
>>>>
>>>> For 2.6.38-8-generic compiling drivers is necessary. As of October 2007 the current packages at
>>>> http://linmodems.technion.ac.il/packages/smartlink/ ; are the
>>>> ungrab-winmodem-20070505.tar.gz and slmodem-2.9.11-20080126.tar.gz
>>>>
>>>> Writing DOCs/Smartlink.txt
>>>> ============ end Smartlink section =====================
>>>>
>>>>
>>>>  The base of the UDEV device file system is: /dev/.udev
>>>>
>>>>  Versions adequately match for the compiler installed: 4.5.2
>>>>              and the compiler used in kernel assembly: 4.5.2
>>>>
>>>>  linux-headers-2.6.38-8-generic resources needed for compiling are not manifestly ready!
>>>>
>>>>  If compiling is necessary packages must be installed, providing:
>>>>      linux-headers-2.6.38-8-generic
>>>>
>>>>
>>>> If a driver compilation fails, with message including some lack of some FileName.h (stdio.h for example), then
>>>> Some additional kernel-header files need installation to /usr/include. The minimal additional packages are libc6-dev
>>>> and any of its dependents, under Ubuntu linux-libc-dev
>>>>
>>>> If an alternate ethernet connection is available,
>>>> $  apt-get update
>>>> $  apt-get -s install linux-kernel-devel
>>>> will install needed packages.
>>>> For Debian/Ubuntu related distributions, run the following command to display the needed package list:
>>>>
>>>> Otherwise packages have to be found through http://packages.ubuntu.com
>>>> Once downloaded and transferred into a Linux partition,
>>>> they can be installed alltogether with:
>>>> $ sudo dpkg -i *.deb
>>>>
>>>> Checking settings of:    /etc/ppp/options
>>>> asyncmap 0
>>>> noauth
>>>> crtscts
>>>> lock
>>>> hide-password
>>>> modem
>>>> 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
>>>>
>>>> For guidance on FAX usage, get from http://linmodems.technion.ac.il/packages/ ; get faxing.tar.gz
>>>> It has samples for a modem using port /dev/ttySL0, which must be changed to match your modem's port.
>>>>
>>>> Read Modem/DOCs/YourSystem.txt concerning other COMM channels: eth0
>>>> Which can interfere with Browser naviagation.
>>>>
>>>>  Don't worry about the following, it is for 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/blacklist-modem.conf:# Uncomment these entries in order to blacklist unwanted modem drivers
>>>> /etc/modprobe.d/blacklist-modem.conf:# blacklist snd-atiixp-modem
>>>> /etc/modprobe.d/blacklist-modem.conf:# blacklist snd-via82xx-modem
>>>> /etc/modprobe.d/alsa-base.conf:options snd-atiixp-modem index=-2
>>>> /etc/modprobe.d/alsa-base.conf: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 --------
>>>>
>>>
>>>
>>
>>
>
>



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

  Powered by Linux