Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jun 2003 20:16:43 +0300
From:      Maxim Mazurok <maxim@km.ua>
To:        Wilko Bulte <wkb@freebie.xs4all.nl>
Cc:        freebsd-alpha@freebsd.org
Subject:   Re: additional com-port
Message-ID:  <20030614171643.GS338@km.ua>
In-Reply-To: <20030614102321.GB49721@freebie.xs4all.nl>
References:  <20030613224912.GB7279@cicely8.cicely.de> <20030613225959.GI338@km.ua> <20030613230232.GJ338@km.ua> <20030613232116.GC7279@cicely8.cicely.de> <20030613233057.GM338@km.ua> <20030613235336.GF7279@cicely8.cicely.de> <20030614002429.GN338@km.ua> <20030614002946.GG7279@cicely8.cicely.de> <20030614011348.GO338@km.ua> <20030614102321.GB49721@freebie.xs4all.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jun 14, 2003 at 12:23:21PM +0200, Wilko Bulte wrote:

>> >> >> >You just have to remove the flags which declare it to be a special
>> >> >> >debug interface for to kernel.
>> >> >> >See sio(4) manpage for details on flags.
>> >> >> 
>> >> >> hmmm
>> >> >> sio2 - it's no traditional com-port
>> >> >> it's ISA Cisco router console (cisco AP-EC)
>> >> >> i no need second onboard com-port, but i need access to cisco console
>> >> >
>> >> >And you can't just give it another IRQ?
>> >> 
>> >> in SRM for onboard ports?
>> >
>> >You can check for, but I doubt that it's supported.
>> 
>> yes :)
>> i can only on/off port
>> but strange:
>> i off onboard com2, but freebsd see it:
>> 
>> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
>> sio0: type 16550A, console
>> sio0: interrupting at ISA irq 4
>> sio1 at port 0x2f8-0x2ff irq 3 on isa0
>> sio1: type 16550A
>> sio1: interrupting at ISA irq 3
>> sio2: configured irq 4 not in bitmap of probed irqs 0
>> sio2 at port 0x3e8-0x3ef irq 4 on isa0
>> sio2: type 16450
>> 
>> i see in 'show config' - this port in disable state.
>
>IIRC isacfg just produces a table to be used by Tru64 or VMS but does
>not actually disable any hardware components. This is a truly obscure
>area of the SRM. 

it's right :(
i try next config:

>>>show config

[...skip...]


ISA
Slot    Device  Name            Type         Enabled  BaseAddr  IRQ     DMA
0
        0       MOUSE           Embedded        Yes     60      12
        1       KBD             Embedded        Yes     60      1
        2       COM1            Embedded        Yes     3f8     4
        3       COM2            Embedded        No      2f8     3
        4       LPT1            Embedded        Yes     3bc     7
        5       FLOPPY          Embedded        Yes     3f0     6       2
2
        0       COM4            Singleport      Yes     2e8     3


in kernel:
device          sio0    at isa? port IO_COM1 irq 4 flags 0x10
#device         sio1    at isa? port IO_COM2 irq 3 #flags 0x50
device          sio3    at isa? port IO_COM4 irq 3

in dmesg:
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A, console
sio0: interrupting at ISA irq 4
sio3: configured irq 3 not in bitmap of probed irqs 0
sio3 at port 0x2e8-0x2ef irq 3 on isa0
sio3: type 16450
sio3: interrupting at ISA irq 3

no worked :((((

so, can i try to run serial port under FreeBSD in pooling mode? :)

-- 
Maxim Mazurok  (MMP2-RIPE)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030614171643.GS338>