From owner-freebsd-current@FreeBSD.ORG Fri May 24 20:12:11 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 0F3751B6 for ; Fri, 24 May 2013 20:12:11 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [IPv6:2a01:4f8:131:60a2::2]) by mx1.freebsd.org (Postfix) with ESMTP id C8254E49 for ; Fri, 24 May 2013 20:12:10 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:bd1b:cc3:22ae:789f]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPA id EBCB44AC1C; Sat, 25 May 2013 00:12:07 +0400 (MSK) Date: Sat, 25 May 2013 00:12:05 +0400 From: Lev Serebryakov Organization: FreeBSD X-Priority: 3 (Normal) Message-ID: <682782182.20130525001205@serebryakov.spb.ru> To: =?utf-8?B?V2Vpw58sIErDvHJnZW4=?= Subject: Re: Intel D2500CC motherboard and strange RS232/UART behavior In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: "'freebsd-current@freebsd.org'" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: lev@FreeBSD.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 May 2013 20:12:11 -0000 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