Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 May 2013 00:12:05 +0400
From:      Lev Serebryakov <lev@FreeBSD.org>
To:        =?utf-8?B?V2Vpw58sIErDvHJnZW4=?= <weiss@uni-mainz.de>
Cc:        "'freebsd-current@freebsd.org'" <freebsd-current@freebsd.org>
Subject:   Re: Intel D2500CC motherboard and strange RS232/UART behavior
Message-ID:  <682782182.20130525001205@serebryakov.spb.ru>
In-Reply-To: <D6240E9DA4CE444399B1D9D8A57CBDD988DA22A6@E14MDB-02.zdv.Uni-Mainz.DE>
References:  <D6240E9DA4CE444399B1D9D8A57CBDD988DA22A6@E14MDB-02.zdv.Uni-Mainz.DE>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello, J=C3=BCrgen.
You wrote 24 =D0=BC=D0=B0=D1=8F 2013 =D0=B3., 23:15:17:

WJ> According to the ACPI of the board, uart0 and uart 2
WJ> use IRQ 3 and
WJ>      IRQ (Edge, ActiveLow, Shared, )
WJ>        {3}
WJ> uart1 and uart3 use IRQ 4
WJ>      IRQ (Edge, ActiveLow, Shared, )
WJ>        {4}

WJ> ioapic_config_intr is called with trig =3D=3D INTR_TRIGGER_EDGE and
WJ>  pol =3D=3D INTR_POLARITY_LOW.

WJ> The combinatation of Edge and ActiveLow seems kind of broken.
WJ> Forcing the polarity in ioapic_config_intr to INTR_POLARITY_HIGH
WJ> and disabling uart 2 and uart 3 results in two working serial
WJ> interfaces.
WJ> So what is the correct fix to this?
    I've tried to disable ACPI access to these UARTs at all, then only
  two of them are detected, but they don't work either. And I cannot
  disable 2 and 3, as screen I have attached to this box (old IBM-made
  LCD from register/cashier machine, which works perfectly with FreeBSD
  default text console on this MoBo) cannot show text (!) BIOS setup
  screen to me -- it shows only blue noise and looks like compeltely
  out-of-sync.  I need to bring this box to some other dispaly and try
  to disable these two UARTs AND disable ACPI for them with loader
  tunable.

--=20
// Black Lion AKA Lev Serebryakov <lev@FreeBSD.org>




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