Hello,

I've got a network box.  The motherboard (adlink 2000) has three
"com" ports (that is what the screen print on the board says:
com1, com2, com3.

The box I was given for development has com1 wired up to the
9pin port on the back of the housing, helpfully screen printed
with 'COM1'.  com2 is wired to a Densan 16x2 LCD front panel
display.   

Development happened.

Comes time for testing, and it turns out that the box I have
is "miswired" vis-a-vis the sio ports.  Every other box by
this manufacturer is wired com1 -> LCD, com2 -> COM1.

My kernel configuration had this:

a) device               sio0    at isa? port IO_COM1 flags 0x10 irq 4
a) device               sio1    at isa? port IO_COM2 irq 3
a) device               sio2    at isa? disable port IO_COM3 irq 5
a) device               sio3    at isa? disable port IO_COM4 irq 9

So now I'm trying to swap the ports at the kernel level so that
the LCD control characters and data which went to the mb port 
com2 (sio1) go to com2 (sio0), and the console output moves 
from com1 (sio0) to com1 (sio1).

I've tried

b) device               sio0    at isa? port IO_COM2 irq 3
b) device               sio1    at isa? port IO_COM1 flags 0x10 irq 4
b) device               sio2    at isa? port IO_COM3 irq 5
b) device               sio3    at isa? disable port IO_COM4 irq 9

and 

c) device               sio0    at isa? port IO_COM2 irq 3
c) device               sio1    at isa? port IO_COM1 flags 0x30 irq 4
c) device               sio2    at isa? port IO_COM3 irq 5
c) device               sio3    at isa? disable port IO_COM4 irq 9

The b) lines resulted in no console output (bad), but serial login on 
the 9pin COM1 housing port (good) but no LCD output (bad)

the c) lines resulted in no console output, no serial login on
COM1, and no LCD output (bad, bad, bad).

Is this going to require more changes, elsewhere? And shouldn't
the b (or c) lines do what I want (console output, serial login and
LCD output)?  Help?

TIA,
rip


_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to