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