Re: Vignesh, India kernel 2.6.27-11-generic

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

 



Vignesh,

Presumably you are a developer since  2.6.27-11-generic resources are
not available from the common Ubuntu resources.

So beware of the following problem.  The compilation of slmodemd fails with:

slmodem-2.9.11-20080817/modem$ make
rebuild profile...
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_main.o -c modem_main.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_cmdline.o -c modem_cmdline.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem.o -c modem.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_datafile.o -c
modem_datafile.c
In function 'open',
    inlined from 'datafile_save_info' at modem_datafile.c:114:
/usr/include/bits/fcntl2.h:51: error: call to '__open_missing_mode'
declared with attribute error: open with O_CREAT in second argument
needs 3 arguments
make: *** [modem_datafile.o] Error 1
-------------------
The problem has been tracked to the gcc-4.3 compiler, as the compile
is successful using gcc-4.2
Compile of slamr.ko in the drivers/ folder is OK.

So this should be enough for your to proceed.

The simplest route is too compile the slamr.ko driver,
$ sudo mkdir -p  /lib/modules/$(uname -r)/extra
and copy the slamr.ko into the new folder.

Install the sl-modem-daemon package , which will provide autoload
scripts, through the slmodemd therein is the ancient 2.9.9 version.

Within http://linmodems.technion.ac.il/packages/smartlink/ the
SLMODEMD_gcc4.2_alsa1.0.17.tar.gz  has a prepared slmodemd, version 2.9.11
The compile uses only libasound2 resources, and kernel-version
specific  headers.  So there would be no benefit in compiing your own,
and only after installing gcc-4.2 resources on your System etc.
Copy the slmodemd  to /usr/sbin/slmodemd and
$ sudo chmod  +x /usr/sbin/slmodemd

$ sudo gedit /etc/default/sl-modem-daemon
and change the default COUNTRY setting to INDIA

Then
$ sudo /etc/init.d/sl-modem-daemon   restart
should properly setup the modem.

$ wvdialconf  /etc/wvdial.conf
should find it.

Edit in your personal info with:
$ sudo gedit  /etc/wvdial.conf
and add a line
Carrier Check =  no

Then you should be able to dialout with
$ sudo wvdial

MarvS
scanModem maintainer



On Sat, Jan 10, 2009 at 6:58 PM, Antonio Olivares
<olivares14031@xxxxxxxxx> wrote:
> Vignesh,
>
> scanModem recommends slamr driver:
>
>  Support type needed or chipset:        slamr
>
>
> ----------------end Softmodem section --------------
>
> Writing DOCs/Intel.txt
>
>  1057:3052 has a Motorola chipset, poorly supported by Motorola itself
>  However Zello discovered that drivers written to support Smartlink
> modems do support the 1057:3052 chipset!!
>  It sufficed to add 1057:3052 to the list of modem cards recognized by
> the Smartlink slamr driver.
>  There is a ungrab-winmodem driver used in conjunction with slamr,
> which must have 1057:3052
>  similarly added. See messages from Zello:
>        http://linmodems.technion.ac.il/bigarch/archive-seventh/msg00846.html
>        http://linmodems.technion.ac.il/bigarch/archive-seventh/msg00848.html
>  and Alvaro Aguirre about the ungrab-winmodem fix:
>        http://linmodems.technion.ac.il/bigarch/archive-seventh/msg00990.html
>  For general guidance on ungrab-winmodem + slamr usage, read the
> DOCs/Smartlink.txt
>
> The modem is supported by the Smartlink
> plus the slmodemd helper utility.  Read the
> DOCs/Smartlink.txt and Modem/DOCs/YourSystem.txt for follow through guidance.
>
>
> For 2.6.27-11-generic compiling drivers is necessary. As of October
> 2007 the current packages at
> http://linmodems.technion.ac.il/packages/smartlink/  are the
> ungrab-winmodem-20080126.tar.gz and slmodem-2.9.11-20080817.tar.gz
>
> http://linmodems.technion.ac.il/packages/smartlink/slmodem-2.9.11-20080817.tar.gz
> http://linmodems.technion.ac.il/packages/smartlink/ungrab-winmodem-20080126.tar.gz
>
> Regards,
>
> Antonio
>
> On 1/10/09, VigneshWaran P <vignesh.smart91@xxxxxxxxx> wrote:
>>
>>
>

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

  Powered by Linux