PCI bridge with I/O decode 0x0-0x0
Mario Pavlov
freebsd at abv.bg
Tue May 20 17:42:42 UTC 2008
>Hi list,
>I've recently bought a laptop Acer Aspire 5920
>but I can't get the LAN and WLAN to work
>I thought it's because of the drivers but now I think it's an ACPI problem
>here is a verbose logging of the boot process and some comments:
>http://lists.freebsd.org/pipermail/freebsd-mobile/2008-May/010727.html
>I've tried to dump and decompile the AML image but I'm not very much in the ASL coding and I understand nearly nothing
>however I've tried to find on OS specific parts in the code
>this is what I found:
>
> Scope (\_SB)
> {
> Method (_INI, 0, NotSerialized)
> {
> If (DTSE)
> {
> TRAP (0x47)
> }
>
> Store (0x07D0, OSYS)
> If (CondRefOf (_OSI, Local0))
> {
> If (_OSI ("Linux"))
> {
> Store (0x01, LINX)
> }
>
> If (_OSI ("Windows 2001"))
> {
> Store (0x07D1, OSYS)
> }
>
> If (_OSI ("Windows 2001 SP1"))
> {
> Store (0x07D1, OSYS)
> }
>
> If (_OSI ("Windows 2001 SP2"))
> {
> Store (0x07D2, OSYS)
> }
>
> If (_OSI ("Windows 2006"))
> {
> Store (0x07D6, OSYS)
> }
> }
>
> If (LAnd (MPEN, LEqual (OSYS, 0x07D1)))
> {
> TRAP (0x3D)
> }
>
> TRAP (0x2B)
> TRAP (0x32)
> }
> }
>
>I have no idea what is this for...but I've tried to add an Else clause and some combinations in
>like that:
>
> If (_OSI ("Windows 2006"))
> {
> Store (0x07D6, OSYS)
> }
> Else
> {
> Store (0x01, LINX)
> }
>
>but the result is just the same...
>I'm not even sure where exactly the problem is...
>Could you give me a hand please
>thank you
>
>Regards
>MGP
Hi again,
I've figured what's the node name of the LAN card - RP06.LANE
but I don't understand what does this code mean...
do you see any error here ?
Device (RP06)
{
Name (_ADR, 0x001C0005)
OperationRegion (PXCS, PCI_Config, 0x40, 0xC0)
Field (PXCS, AnyAcc, NoLock, WriteAsZeros)
{
Offset (0x10),
, 4,
LKDS, 1,
Offset (0x12),
, 13,
LASX, 1,
Offset (0x1A),
ABPX, 1,
, 2,
PDCX, 1,
, 2,
PDSX, 1,
Offset (0x1B),
LSCX, 1,
Offset (0x20),
Offset (0x22),
PSPX, 1,
Offset (0x98),
, 30,
HPEX, 1,
PMEX, 1,
, 30,
HPSX, 1,
PMSX, 1
}
Method (_PRT, 0, NotSerialized)
{
If (\GPIC)
{
Return (Package (0x04)
{
Package (0x04)
{
0xFFFF,
0x00,
0x00,
0x11
},
Package (0x04)
{
0xFFFF,
0x01,
0x00,
0x12
},
Package (0x04)
{
0xFFFF,
0x02,
0x00,
0x13
},
Package (0x04)
{
0xFFFF,
0x03,
0x00,
0x10
}
})
}
Else
{
Return (Package (0x04)
{
Package (0x04)
{
0xFFFF,
0x00,
\_SB.PCI0.LPCB.LNKB,
0x00
},
Package (0x04)
{
0xFFFF,
0x01,
\_SB.PCI0.LPCB.LNKC,
0x00
},
Package (0x04)
{
0xFFFF,
0x02,
\_SB.PCI0.LPCB.LNKD,
0x00
},
Package (0x04)
{
0xFFFF,
0x03,
\_SB.PCI0.LPCB.LNKA,
0x00
}
})
}
}
Device (LANE)
{
Name (_ADR, 0x00)
Name (_PRW, Package (0x02)
{
0x09,
0x04
})
Name (LANP, 0x00)
Method (_PSW, 1, NotSerialized)
{
If (LEqual (Arg0, 0x00))
{
Store (0x00, LANP)
}
Else
{
Store (0x01, LANP)
}
}
}
}
you can find the whole code attached...
guys could you please have a look on that
I'm sure you could give me some hints...
thank you
regards
MGP
-----------------------------------------------------------------
Търси се двойник!
http://zoom.bg/page.php?bid=6
-------------- next part --------------
A non-text attachment was scrubbed...
Name: laptop.asl
Type: application/octet-stream
Size: 343142 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-acpi/attachments/20080520/fd0670af/laptop-0001.obj
More information about the freebsd-acpi
mailing list