Hello Lev, to be precise, I disabled serial ports 3 and 4 and swapped ports 1 and 2 to the back panel in the machine's BIOS. Then I added a test to the ioapic_config_intr function to detect the trig == INTR_TRIGGER_EDGE and pol == INTR_POLARITY_LOW case and to rewrite it to INTR_TRIGGER_EDGE and INTR_TRIGGER_HIGH. I have not tried to enable port 3 and 4 because I cannot test them (could not find the necessary connectors). Regards Juergen Weiss |Universitaet Mainz, Zentrum fuer Datenverarbeitung, weiss_at_uni-mainz.de |55099 Mainz, Tel: +49(6131)39-26361, FAX: +49(6131)39-26407 -----Original Message----- From: owner-freebsd-current_at_freebsd.org [mailto:owner-freebsd-current_at_freebsd.org] On Behalf Of Lev Serebryakov Sent: Friday, May 24, 2013 10:12 PM To: Weiß, Jürgen Cc: 'freebsd-current_at_freebsd.org' Subject: Re: Intel D2500CC motherboard and strange RS232/UART behavior Hello, Jürgen. You wrote 24 мая 2013 г., 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 == INTR_TRIGGER_EDGE and WJ> pol == 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. -- // Black Lion AKA Lev Serebryakov <lev_at_FreeBSD.org> _______________________________________________ freebsd-current_at_freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"Received on Mon May 27 2013 - 09:26:38 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:38 UTC