Date: Thu, 06 Jul 2006 08:36:30 -0700 From: othermark <atkin901@yahoo.com> To: freebsd-acpi@freebsd.org Subject: Re: acpi on msi-9218 (-current) swaps sio0 and sio1 Message-ID: <e8jalv$rs9$1@sea.gmane.org> References: <e81i17$h7u$1@sea.gmane.org> <200607050838.44324.jhb@freebsd.org> <e8gvhe$dct$1@sea.gmane.org> <200607060700.22376.jhb@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
John Baldwin wrote: > On Wednesday 05 July 2006 14:14, othermark wrote: >> John Baldwin wrote: >> >> > On Thursday 29 June 2006 17:51, othermark wrote: >> >> >> >> With acpi loaded on a msi-9218 motherboard, I'm seeing sio0 and sio1 >> >> get 'swapped.' Even though the kernel is compiled for console on >> >> 0x3f8, I've had to change the /etc/ttys to use ttyd1 so login is >> >> displayed when the system is booted. >> >> >> >> Empirically, this tells me that 0x3f8 is correct for sio0 (since the >> >> kernel and boot loader display fine using it as comconsole). >> >> >> >> Is there a way to force this to be consistant? This is -current from >> >> Jun >> >> 8. I will try a more recent kernel soon. The following is a verbose >> >> boot log. >> > >> > This is because your BIOS lists them backwards in the ASL. There isn't >> > a workaround currently short of fixing your ASL to list them in the >> > COM1/COM2 order and building a custom dsdt. >> >> Many thanks for your input, >> >> So would it be sufficient in the _INI method, just to swap the >> order of initialization (I'm guessing here) for the COMA and COMB >> sections? COMA and COMB both have full resource templates for all >> possible legal settings. > > No, you have to swap the COMA and COMB devices themselves. Ahh ok. You must forgive me if I seem dense since this is the first time I've looked at repairing these types of instruction files. Are you saying that the order that they appear in the .asl is important? I can find only subtle differences between the two methods COMA and COMB. One is the Store() after the Aquire() and the Store() in the _SRS submethod accompanying the COM methods. Lastly the order that their _PRS ResourceTemplate() appear seems implies an order of default settings. These defaults and order actually seem correct for COMA and COMB. If swapping them means swapping their differences, that could be done too. The actual Name(_DDN) might have significance as well if the OS is looking it up by that. >> 2535 Method (_INI, 0, NotSerialized) >> 2536 { >> 2537 Acquire (NSMX, 0xFFFF) >> 2538 Store (0x00, LDN) >> 2539 Store (ACTV, ^FDC.FDCS) >> 2540 Store (0x01, LDN) >> 2541 Store (ACTV, ^LPT.LPTS) >> 2542 Store (0x02, LDN) >> 2543 Store (ACTV, ^COMB.SP2S) >> 2544 Store (0x03, LDN) >> 2545 Store (ACTV, ^COMA.SP1S) >> 2546 Store (0x05, LDN) >> 2547 Store (ACTV, ^PS2M.PSMS) >> 2548 Store (KBST, Local0) >> 2549 Store (Local0, KBST) >> 2550 Store (MSST, Local0) >> 2551 Store (Local0, MSST) >> >> >> full (corrected for errors) .asl is here: >> >> http://kuoi.asui.uidaho.edu/~darkmark/msi-9618.asl >> > -- othermark atkin901 at nospam dot yahoo dot com (!wired)?(coffee++):(wired);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e8jalv$rs9$1>