[ltp] thinkpad t20 modem

Michael Reilly linux-thinkpad@linux-thinkpad.org
Sun, 25 May 2003 19:23:39 -0700


Correct.  However the module loads and works fine.  The message is just an =
FYI.  So the -f is not needed.

michael
On Mon, 26 May 2003 10:16:21 +0800
"zongliang li" <lizl@ict.ac.cn> wrote:

> Michael Reilly,=C4=FA=BA=C3=A3=A1
>=20
> 	it because the license problem
> 	if a moduler not have a line "license("GPL");" in source code it would r=
eturn a tainted warning message when load .
>=20
> =3D=3D=3D=3D=3D=3D=3D 2003-05-25 18:59:00 =C4=FA=D4=DA=C0=B4=D0=C5=D6=D0=
=D0=B4=B5=C0=A3=BA=3D=3D=3D=3D=3D=3D=3D
>=20
> >Sorry If I was confusing.  The modem works fine on my T20.
> >
> >I was wondering why the message I quoted had to use the -f option to ins=
mod.  It should not be needed unless your system has some strange behavior.
> >
> >michael=20
> >On Sun, 25 May 2003 18:51:14 -0700
> >James Mckenzie <jjmckenzie51@earthlink.net> wrote:
> >
> >> Micheal:
> >>=20
> >> Look at the output from dmesg for the lines associated with the lt_mod=
em=20
> >> driver.  They should look like the following:
> >>=20
> >> Loading Lucent Modem Controller driver version 8.26
> >> Detected Parameters Irq=3D11 BaseAddress=3D0x1800 ComAddress=3D0x1c00
> >> Lucent Modem Interface driver version 8.26 (2002-11-04) with SHARE_IRQ=
=20
> >> enabled
> >> ttyLT00 at 0x1800 (irq =3D 11) is a Lucent Modem
> >>=20
> >> You should be able to 'cat' /dev/ttyLT0. =20
> >>=20
> >> Also did you check for the link between /dev/modem and /dev/ttyLT0?
> >>=20
> >> If it exists you should be able to start up kppp and run the terminal=
=20
> >> program and check the output of the atz and ati series of commands.
> >>=20
> >> James McKenzie
> >>=20
> >> Michael Reilly wrote:
> >>=20
> >> >I installed the latest lt drivers built from source code on my T20 ru=
nning slackware 9.0 (2.4.20 kernel).  The  build went fine and the kernel m=
odules load file without the -f - just the usual "tainted" modules message.
> >> >
> >> >Do the module utilities on RH not allow loading of "tainted" modules?=
  If so I'd recommend that you build and use the standard module utilities =
which do not have this problem.
> >> >
> >> >There was no problem on slackware 8.1 (2.4.18 kernel) either.
> >> >
> >> >BTW - I did not have to use any extra parameters in my modules.conf f=
ile.
> >> >Mine looks like your file except for the devfs line which I commented=
 out since I do not use devfs.
> >> >
> >> >michael
> >> >
> >> >On Sun, 25 May 2003 15:59:00 -0700
> >> >James Mckenzie <jjmckenzie51@earthlink.net> wrote:
> >> >
> >> > =20
> >> >
> >> >>Matt:
> >> >>
> >> >>First, my apologies, I have two machines I run Linux on, an A22p and=
 a=20
> >> >>600E.  The 600E uses the mwave modem driver and requires settings in=
=20
> >> >>order to operate properly.  However, I built my own lt_modem drivers=
=20
> >> >>because I am not running a standard linux install and have upgraded =
the=20
> >> >>kernel several times. =20
> >> >>
> >> >>Let me look at the dmesg from where the lt_modem.o driver file loads=
.=20
> >> >> Did you get a rpm file or did you download and then build the drive=
rs?=20
> >> >> If you built the drivers, make sure that they are in the=20
> >> >>/lib/modules/<kernel #>/ltmodem/ directory.  For example if your ker=
nel=20
> >> >>is 2.4.18-24.8.0 this would appear as=20
> >> >>/lib/modules/2.4.18-14.8.0/ltmodem.  If you upgrade your kernel, you=
=20
> >> >>will have to either download a new .rpm file or build new drivers.  =
A=20
> >> >> .rpm file should load the driver files into the correct directory.
> >> >>
> >> >>I meant to say that I had to force the load of the lt_modem.o driver=
=20
> >> >>with the following line:
> >> >>
> >> >>insmod -f lt_modem.o
> >> >>
> >> >>This module is not GPL, and would not load under RH 7.x and RH 8.0=20
> >> >>without the -f (force) option.  On some systems, you might have to=20
> >> >>specify where the modem is located, by specifying its location.  See=
 the=20
> >> >>modules.conf 'chunk' below on the format for this information.
> >> >>
> >> >>James Mckenzie
> >> >>
> >> >>The following is from my modules.conf:
> >> >>
> >> >># lt_drivers: autoloading and insertion parameter usage
> >> >>alias char-major-62 lt_serial
> >> >>alias /dev/tts/LT0 lt_serial
> >> >>alias /dev/modem lt_serial
> >> >># The next two lines are syntax examples, only Rarely Needed, to=20
> >> >>automate parameter usage during lt_drivers insertion. See documentat=
ion=20
> >> >>for details.
> >> >># options lt_modem vendor_id=3D0x115d device_id=3D0x0420
> >> >># options lt_modem Forced=3D3,0x130,0x2f8,0
> >> >># section for lt_drivers ends
> >> >>
> >> >>Also, if /dev/modem exists before you install the lt_modem drivers, =
you=20
> >> >>WILL have to delete it.  Also, if you insert and remove a PC Card mo=
dem,=20
> >> >>you will lose the link to the lt_modem driver and have to reestablis=
h it.
> >> >>
> >> >>matt zagrabelny wrote:
> >> >>
> >> >>   =20
> >> >>
> >> >>>On Sat, 2003-05-24 at 11:04, James Mckenzie wrote:
> >> >>>=20
> >> >>>
> >> >>>     =20
> >> >>>
> >> >>>>Matt:
> >> >>>>
> >> >>>>These are all PCI devices and can share an IRQ.  This is not usual=
ly the=20
> >> >>>>problem with the LT modem device.  Usually the problem is either=20
> >> >>>>incorrect memory location for the device or the wrong port selecti=
on.  I=20
> >> >>>>think I had to specify the correct port for the modem on my A22p s=
ystem.
> >> >>>>
> >> >>>>James McKenzie
> >> >>>>
> >> >>>>  =20
> >> >>>>
> >> >>>>       =20
> >> >>>>
> >> >>>james,
> >> >>>
> >> >>>thanks for the info.=20
> >> >>>
> >> >>>what do you mean when you say, "specify the correct port"? and how =
did
> >> >>>you do it?
> >> >>>
> >> >>>also, did you have to use the dos utility PS.EXE to get it working?
> >> >>>
> >> >>>-matt
> >> >>>
> >> >>>=20
> >> >>>
> >> >>>     =20
> >> >>>
> >> >>--=20
> >> >>The linux-thinkpad mailing list home page is at:
> >> >>http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
> >> >>   =20
> >> >>
> >> >
> >> >
> >> > =20
> >> >
> >>=20
> >>=20
> >> --=20
> >> The linux-thinkpad mailing list home page is at:
> >> http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
> >
> >
> >--=20
> >---- ---- ----
> >Michael Reilly    michaelr@cisco.com
> >    Cisco Systems, Santa Cruz, CA
> >--=20
> >The linux-thinkpad mailing list home page is at:
> >http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
> >
> >.
>=20
> =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =
=3D =3D
> 		=09
>=20
> =A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=D6=C2
> =C0=F1=A3=A1
> =20
> 				=20
> =A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1zongliang li
> =A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1lizl@ict.ac.cn
> =A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A12003-05-26
>=20
>=20
>=20
>=20
> --=20
> The linux-thinkpad mailing list home page is at:
> http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad


--=20
---- ---- ----
Michael Reilly    michaelr@cisco.com
    Cisco Systems, Santa Cruz, CA