Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Jul 2006 11:14:06 -0700
From:      othermark <atkin901@yahoo.com>
To:        freebsd-acpi@freebsd.org
Subject:   Re: acpi on msi-9218 (-current) swaps sio0 and sio1
Message-ID:  <e8gvhe$dct$1@sea.gmane.org>
References:  <e81i17$h7u$1@sea.gmane.org> <200607050838.44324.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.


   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?e8gvhe$dct$1>