Re: DavidKnabe, Australia kernel 2.6.27-7-generic

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

 



David,

The situation is as follows briefly.
Compilation of USB drivers with Proprietary licenses was blocked under
Linux as of 2.6.25  kernels.  However there has been RECENTLY a
reinterpretation of the slmodem Lincense, ie., that the License within
the file drivers/st7554.c
should actually not Proprietary, but
MODULE_LICENSE("Dual BSD/GPL");
which does allow compiling.
This seems OK with the Debian folk, who are most picky on these
issues, so it is being changed in the packages we maintain, at least
until someone complains.

Below is a compile record, including slusb.ko
which I'll send to your separately.
Just find the folder to which slamr.ko  installs to:
$ find /lib/modules/ -name slamr.ko
Copy it there:
$ sudo depmod -a
to inform the System, and you should be able to work with it

You should also
$ sudo gedit /etc/default/sl-modem-daemon
and change the COUNTRY to AUSTRALIA
Then
$ sudo /etc/init.d/sl-modem-daemon restart
or just reboot.  Upon attachment of the USB modem, all should proceed
automatically with formation of a symbolic link:
  /dev/ttySL0 --> /dev/pts/N (somenumber)

Report back presently

MarvS
scanModem maintainer


marv@marvlap:/usr/src/sl-modem-2.9.11~20080817/drivers$ sudo make USB=1
doing kernel-ver::
cc -I/lib/modules/2.6.27-7-generic/build/include -o kernel-ver kernel-ver.c
make all KERNEL_VER=2.6.27-7-generic
make[1]: Entering directory `/usr/src/sl-modem-2.9.11~20080817/drivers'
	obj-m=slamr.o  slusb.o
	slamr-objs=amrmo_init.o sysdep_amr.o amrlibs.o
make modules -C /lib/modules/2.6.27-7-generic/build
SUBDIRS=/usr/src/sl-modem-2.9.11~20080817/drivers
make[2]: Entering directory `/usr/src/linux-headers-2.6.27-7-generic'
  CC [M]  /usr/src/sl-modem-2.9.11~20080817/drivers/amrmo_init.o
  CC [M]  /usr/src/sl-modem-2.9.11~20080817/drivers/sysdep_amr.o
  CC [M]  /usr/src/sl-modem-2.9.11~20080817/drivers/st7554.o
/usr/src/sl-modem-2.9.11~20080817/drivers/st7554.c: In function ‘st7554_probe’:
/usr/src/sl-modem-2.9.11~20080817/drivers/st7554.c:1336: warning:
passing argument 2 of ‘device_create’ makes pointer from integer
without a cast
/usr/src/sl-modem-2.9.11~20080817/drivers/st7554.c:1336: warning:
passing argument 3 of ‘device_create’ makes integer from pointer
without a cast
/usr/src/sl-modem-2.9.11~20080817/drivers/st7554.c:1336: warning:
passing argument 5 of ‘device_create’ makes pointer from integer
without a cast
/usr/src/sl-modem-2.9.11~20080817/drivers/st7554.c:1336: warning:
format not a string literal and no format arguments
  LD [M]  /usr/src/sl-modem-2.9.11~20080817/drivers/slamr.o
  LD [M]  /usr/src/sl-modem-2.9.11~20080817/drivers/slusb.o
  Building modules, stage 2.
  MODPOST 2 modules
WARNING: could not find
/usr/src/sl-modem-2.9.11~20080817/drivers/.amrlibs.o.cmd for
/usr/src/sl-modem-2.9.11~20080817/drivers/amrlibs.o
  CC      /usr/src/sl-modem-2.9.11~20080817/drivers/slamr.mod.o
  LD [M]  /usr/src/sl-modem-2.9.11~20080817/drivers/slamr.ko
  CC      /usr/src/sl-modem-2.9.11~20080817/drivers/slusb.mod.o
  LD [M]  /usr/src/sl-modem-2.9.11~20080817/drivers/slusb.ko
make[2]: Leaving directory `/usr/src/linux-headers-2.6.27-7-generic'
	finished all:
make[1]: Leaving directory `/usr/src/sl-modem-2.9.11~20080817/drivers'
marv@marvlap:/usr/src/sl-modem-2.9.11~20080817/drivers$ ls *.ko
slamr.ko  slusb.ko


On Sun, Apr 5, 2009 at 10:29 AM, David Knabe <davidknabe@xxxxxxxxxxxxxx> wrote:
> Hi, help please.
>
> I'm having trouble installing USB modem drivers for Ubuntu 8.10.
> I've downloaded the slamr-2.6.27-7-generic.tar.gz as per ModemData.txt,
> however the archive does not contain the driver file slusb.ko.  I believe
> that this is the correct driver for the chipset in the modem.
> The archive only contains slamr.ko, but I don't believe that this is the
> correct file for a USB modem.
>
> Any suggestions for what I should try next?
>
> Thanks in advance,
> David.
>
>
>
>  Only plain text email is forwarded by the  Discuss@xxxxxxxxxxxxx List
> Server,
>  as HTML can contain viruses. Use as the email Subject Line:
>           YourName, YourCountry  kernel 2.6.27-7-generic
>  With this Subject Line cogent experts will be alerted, and useful case
> names left in the Archive.
>  YourCountry will enable Country specific guidance. Linux experts in
> YourCountry
>  can be found through: http://www.linux.org/groups/index.html.
> They will know your Country's modem code, which may be essential for dialup
> service.
> Responses from Discuss@xxxxxxxxxxxxx are sometimes blocked by an Internet
> Provider mail filters.
>  So in a day, also check the Archived responses at http://www.linmodems.org
> --------------------------  System information ----------------------------
> CPU=i686,
> Linux version 2.6.27-7-generic (buildd@rothera) (gcc version 4.3.2 (Ubuntu
> 4.3.2-1ubuntu10) ) #1 SMP Fri Oct 24 06:42:44 UTC 2008
>  scanModem update of:  2009_02_21
>
>  There are no blacklisted modem drivers in /etc/modprobe*  files
>  Potentially useful modem drivers now loaded are:
>
>
> Attached USB devices are:
>  ID 05e3:0502 Genesys Logic, Inc. GL620USB GeneLink USB-USB Bridge
>  ID 0483:7554 SGS Thomson Microelectronics 56k SoftModem
>  ID 045e:0039 Microsoft Corp. IntelliMouse Optical
> If a cellphone is not detected, see
> http://ubuntuforums.org/archive/index.php/t-878554.html
>
> If a USB modem or cellphone is attached and was not detected, please
> provide available information in your request to discuss@xxxxxxxxxxxxx
>
> === Finished firmware and bootup diagnostics, next deducing cogent software.
> ===
>
> Predictive  diagnostics for card in bus 002:
>        Modem chipset  detected on
> SLOT="Bus 002 Device 002:"
> NAME="SGS Thomson Microelectronics 56k SoftModem"
> bus=002
> 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:  002
>    SGS Thomson Microelectronics 56k SoftModem
>      Primary device ID:  0483:7554
>  Support type needed or chipset:        slusb
>
>
> ----------------end Softmodem section --------------
> 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.
>
>
>  From  http://linmodems.technion.ac.il/packages/smartlink/Ubuntu/ ,
>  download the package slamr-2.6.27-7-generic.tar.gz
>  Under Linux, open a terminal and unpack with:
>  $ tar zxvf slamr*.tar.gz
>  Move into the unpacked folder
>  $ cd slamr-2.6.27-7-generic
>  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 DOCs/Smartlink.txt and DOCs/YourSystem.txt
> 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.3.2
>             and the compiler used in kernel assembly: 4.3.2
>
>  The patch utility is needed and is needed for compiling ALSA drivers, and
> possibly others.
>
>
>  Minimal compiling resources appear complete:
>   make utility - /usr/bin/make
>   Compiler version 4.3
>   linuc_headers base folder /lib/modules/2.6.27-7-generic/build
>
>  However some compilations and executable functions may need additional
> files,
>  in the FileNames.h (so called kernel "h"eaders) collection installed in
>  /usr/include/ .
>  For martian_modem, additional required packages are needed. The also
> required headers of package libc6 are commonly installed by default.
>  Compiling hsfmodem drivers does require linux-libc-dev and libc6-dev
> packages, for kernels 2.6.24 and later versions.
>  In not included on your install CD, search for them at
> http://packages.ubuntu.com
>  or comparable Repository for other Linux distros.
>  When compiling ALSA drivers, the utility "patch" will also be needed.
>
>
>
>
> 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
> 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
>
> Read Modem/DOCs/YourSystem.txt concerning other COMM channels: eth0 usb0
> 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/alsa-base:options snd-atiixp-modem index=-2
> /etc/modprobe.d/alsa-base:options snd-via82xx-modem index=-2
> /etc/modprobe.d/blacklist-modem:# Uncomment these entries in order to
> blacklist unwanted modem drivers
> /etc/modprobe.d/blacklist-modem:# blacklist snd-atiixp-modem
> /etc/modprobe.d/blacklist-modem:# blacklist snd-via82xx-modem
>     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