acpi on msi-9218 (-current) swaps sio0 and sio1

John Baldwin jhb at freebsd.org
Thu Jul 6 11:47:37 UTC 2006


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.
 
>    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
> 

-- 
John Baldwin


More information about the freebsd-acpi mailing list