Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Sep 2000 23:51:38 +0200
From:      =?iso-8859-1?Q?=E5ke_larsson?= <rig309q@tninet.se>
To:        <questions@FreeBSD.org>
Subject:   modem problems
Message-ID:  <000801c02996$495033c0$94e464c3@gudake>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_0005_01C029A7.0B4F5680
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I have some problems with my modem, the computer doesn't seem to find it
when i'm running freeBSD. It works with the original OS and is then =
using COM_2.
The problem is that sio1 (COM_2) is not found at startup. Can somebody =
help me
find it ?!?
I have an AST Advantage 7302 computer using an IBM mwave communications
adapter with an inbuilt IBM  v.34 PnP-modem. I have tried to configure
this for use with freeBSD 3.4 with a method described in the hardware =
compability
FAQ-section.  The changes i made is:

1. following lines in kernel,

 ...
controller pnp0
 ...
# Serial (COM) ports
device  sio0 at isa? port "IO_COM1" tty irq 4
device  sio1 at isa? port "IO_COM2" tty irq 3
device  sio2 at isa? disable port "IO_COM3" tty irq 5
device  sio3 at isa? disable port "IO_COM4" tty irq 9
 ...

2. and a line added in   /sys/i386/isa/sio.c, at about line 2777.

#if NPNP > 0

static pnpid_t siopnp_ids[] =3D {
 { 0x5015f435, "MOT1550"},
 { 0x8113b04e, "Supra1381"},
 { 0x9012b04e, "Supra1290"},
 { 0x7121b04e, "SupraExpress 56i Sp"},
 { 0x11007256, "USR0011"},
 { 0x01017256, "USR0101"},
 { 0x30207256, "USR2030"},
 { 0x31307256, "USR3031"},
 { 0x90307256, "USR3090"},
 { 0x0100440e, "Cardinal MVP288IV"},
 { 0x340c3235, "MIR0c34" },  /* added for IBM Mwave communications =
adapter */
 { 0 }
};
/* message at boot-time when pnp0 was enabled in kernel.
   CSN 1 Vendor ID: MIR0c34 [0x340c3235] Serial 0x64010000 Comp ID: =
@@@0000 [0x00000000]*/

3. and at boot time in userconfig i wrote the following
 to make the modem show.

  pnp 1 0 enable os irq0 3 drq0 0 port0 0x2f8


The sio's then show's as

> dmesg | grep sio
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1 not found at 0x2f8
>

The PnP-card is also disabled at some occasions.

            Thank you kindly for some assistance. =C5ke.


------=_NextPart_000_0005_01C029A7.0B4F5680
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2014.210" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>I have some problems with my modem, the computer =
doesn't seem=20
to find it<BR>when i'm running freeBSD. It works with the original OS =
and is=20
then using COM_2.<BR>The problem is that sio1 (COM_2) is not found at =
startup.=20
Can somebody help me<BR>find it ?!?<BR>I have an AST Advantage 7302 =
computer=20
using an IBM mwave communications<BR>adapter with an inbuilt IBM&nbsp; =
v.34=20
PnP-modem. I have tried to configure<BR>this for use with freeBSD 3.4 =
with a=20
method described in the hardware compability<BR>FAQ-section.&nbsp; The =
changes i=20
made is:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>1.&nbsp;following lines in kernel,</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>&nbsp;...<BR>controller&nbsp;pnp0<BR>&nbsp;...<BR># =
Serial=20
(COM) ports<BR>device&nbsp;&nbsp;sio0&nbsp;at isa? port "IO_COM1" tty =
irq=20
4<BR>device&nbsp;&nbsp;sio1&nbsp;at isa? port "IO_COM2" tty irq=20
3<BR>device&nbsp;&nbsp;sio2&nbsp;at isa? disable port "IO_COM3" tty irq=20
5<BR>device&nbsp;&nbsp;sio3&nbsp;at isa? disable port "IO_COM4" tty irq=20
9<BR>&nbsp;...</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>2.&nbsp;and a line added in&nbsp;&nbsp; =
/sys/i386/isa/sio.c,=20
at about line 2777.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>#if NPNP &gt; 0</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>static pnpid_t siopnp_ids[] =3D {<BR>&nbsp;{ =
0x5015f435,=20
"MOT1550"},<BR>&nbsp;{ 0x8113b04e, "Supra1381"},<BR>&nbsp;{ 0x9012b04e,=20
"Supra1290"},<BR>&nbsp;{ 0x7121b04e, "SupraExpress 56i Sp"},<BR>&nbsp;{=20
0x11007256, "USR0011"},<BR>&nbsp;{ 0x01017256, "USR0101"},<BR>&nbsp;{=20
0x30207256, "USR2030"},<BR>&nbsp;{ 0x31307256, "USR3031"},<BR>&nbsp;{=20
0x90307256, "USR3090"},<BR>&nbsp;{ 0x0100440e, "Cardinal =
MVP288IV"},<BR>&nbsp;{=20
0x340c3235, "MIR0c34" },&nbsp; /* added for IBM Mwave communications =
adapter=20
*/<BR>&nbsp;{ 0 }<BR>};<BR>/* message at boot-time when pnp0 was enabled =
in=20
kernel.<BR>&nbsp;&nbsp; CSN 1 Vendor ID: MIR0c34 [0x340c3235] Serial =
0x64010000=20
Comp ID: @@@0000 [0x00000000]*/</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>3.&nbsp;and at boot time in userconfig i wrote the=20
following<BR>&nbsp;to make the modem show.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>&nbsp;&nbsp;pnp 1 0 enable os irq0 3 drq0 0 port0=20
0x2f8</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2><BR>The sio's then show's as</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>&gt; dmesg | grep sio<BR>sio0 at 0x3f8-0x3ff irq 4 =
on=20
isa<BR>sio0: type 16550A<BR>sio1: configured irq 3 not in bitmap of =
probed irqs=20
0<BR>sio1 not found at 0x2f8<BR>&gt;</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>The PnP-card is also disabled at some =
occasions.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp; Thank=20
you kindly for some =
assistance.&nbsp;=C5ke.<BR></FONT></DIV></BODY></HTML>

------=_NextPart_000_0005_01C029A7.0B4F5680--



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000801c02996$495033c0$94e464c3>