Re: psmintr not attached w/ acpi

2003-12-03 Thread Russell Jackson
Has anyone looked into pr i386/54781? It sounds very similar, and it
doesn't happen only on intel laptops. It also happens on my athlon laptop.

--
Russell A. Jackson ([EMAIL PROTECTED])

The irony is, if you're willing to kill a perpetrator, you probably won't have 
to. -- Massad Ayoob
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: psmintr not attached w/ acpi

2003-12-01 Thread Nate Lawson
Your ASL indicates that it returns different values for present (based on
PS2F) and current resources (based on KBDI).  Please send me the URL to
the full ASL so I can see what sets those two variables.

-Nate
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: psmintr not attached w/ acpi

2003-12-01 Thread Slawa Olhovchenkov
On Mon, Dec 01, 2003 at 09:48:40AM -0800, Nate Lawson wrote:

 Your ASL indicates that it returns different values for present (based on
 PS2F) and current resources (based on KBDI).  Please send me the URL to
 the full ASL so I can see what sets those two variables.

http://zxy.spb.ru/acpi.dump

Do you need additional information?

-- 
Slawa Olhovchenkov
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: psmintr not attached w/ acpi

2003-12-01 Thread Nate Lawson
On Mon, 1 Dec 2003, Slawa Olhovchenkov wrote:
 On Mon, Dec 01, 2003 at 09:48:40AM -0800, Nate Lawson wrote:
  Your ASL indicates that it returns different values for present (based on
  PS2F) and current resources (based on KBDI).  Please send me the URL to
  the full ASL so I can see what sets those two variables.

 http://zxy.spb.ru/acpi.dump

 Do you need additional information?

Try this workaround, recompile your asl, set dsdt_load in loader.conf.
See acpi(4) if you need info on this process.  I think your BIOS needs a
workaround.  I wonder if the MS interpreter ignores _STA for some devices.

--- slawa-IntelLaptop.asl.orig  Mon Dec  1 10:54:18 2003
+++ slawa-IntelLaptop.asl   Mon Dec  1 10:57:39 2003
@@ -3353,14 +3353,7 @@
 Name (_HID, EisaId (PNP0F13))
 Method (_STA, 0, NotSerialized)
 {
-If (LEqual (PS2F, 0x00))
-{
 Return (0x0F)
-}
-Else
-{
-Return (0x00)
-}
 }

 Method (_CRS, 0, NotSerialized)

-Nate
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: psmintr not attached w/ acpi

2003-12-01 Thread Slawa Olhovchenkov
On Mon, Dec 01, 2003 at 10:59:49AM -0800, Nate Lawson wrote:

  On Mon, Dec 01, 2003 at 09:48:40AM -0800, Nate Lawson wrote:
   Your ASL indicates that it returns different values for present (based on
   PS2F) and current resources (based on KBDI).  Please send me the URL to
   the full ASL so I can see what sets those two variables.
 
  http://zxy.spb.ru/acpi.dump
 
  Do you need additional information?
 
 Try this workaround, recompile your asl, set dsdt_load in loader.conf.
 See acpi(4) if you need info on this process.  I think your BIOS needs a
 workaround.  I wonder if the MS interpreter ignores _STA for some devices.

I try recompile asl and got some errors:

===
iasl acpi.dump

Intel ACPI Component Architecture
ASL Optimizing Compiler / AML Disassembler version 20030619 [Nov 25 2003]
Copyright (C) 2000 - 2003 Intel Corporation
Supports ACPI Specification Revision 2.0b

acpi.dump84: And (SUSF, 0x02, STAT)
Error1037 -^ syntax error

ASL Input:  acpi.dump - 3574 lines, 113232 bytes, 12 keywords
Compilation complete. 1 Errors, 0 Warnings, 0 Remarks, 9 Optimizations
===

I commented out this line and try again.

===
iasl acpi.dump

Intel ACPI Component Architecture
ASL Optimizing Compiler / AML Disassembler version 20030619 [Nov 25 2003]
Copyright (C) 2000 - 2003 Intel Corporation
Supports ACPI Specification Revision 2.0b

acpi.dump   352: Method (\_WAK, 1, NotSerialized)
Warning  2026 -  ^ Reserved method must return a value (_WAK)

acpi.dump   382: Store (Local0, Local0)
Error1013 -  ^ Method local variable is not initialized 
(Local0)

acpi.dump   387: Store (Local0, Local0)
Error1013 -  ^ Method local variable is not initialized 
(Local0)

acpi.dump  1609: ICF0,   2,
Error1051 - ^ Access width of Field Unit extends beyond 
region limit

acpi.dump  1610: ICF1,   2,
Error1051 - ^ Access width of Field Unit extends beyond 
region limit

acpi.dump  1612: WPPE,   1,
Error1051 - ^ Access width of Field Unit extends beyond 
region limit

acpi.dump  1614: FAS0,   2,
Error1051 - ^ Access width of Field Unit extends beyond 
region limit

acpi.dump  1615: FAS1,   2
Error1051 - ^ Access width of Field Unit extends beyond 
region limit

ASL Input:  acpi.dump - 3850 lines, 119353 bytes, 1690 keywords
Compilation complete. 7 Errors, 1 Warnings, 0 Remarks, 345 Optimizations
===

What is wrong?

 --- slawa-IntelLaptop.asl.origMon Dec  1 10:54:18 2003
 +++ slawa-IntelLaptop.asl Mon Dec  1 10:57:39 2003
 @@ -3353,14 +3353,7 @@
  Name (_HID, EisaId (PNP0F13))
  Method (_STA, 0, NotSerialized)
  {
 -If (LEqual (PS2F, 0x00))
 -{
  Return (0x0F)
 -}
 -Else
 -{
 -Return (0x00)
 -}
  }
 
  Method (_CRS, 0, NotSerialized)
 
 -Nate


-- 
Slawa Olhovchenkov
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


psmintr not attached w/ acpi

2003-11-30 Thread Slawa Olhovchenkov
If acpi enabled PS/2 mouse failed to work and irq12 cold't attach
to psmintr.

Is this problem reporting PS/2 mouse resource before atkbdc?

psmcpnp0 irq 12 on acpi0
atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on acpi0
atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0
atkbd: the current kbd controller command byte 0047
atkbd: keyboard ID 0x41ab (2)
kbd0 at atkbd0
kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d
psm0: current command byte:0047
psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3-00, 3 buttons
psm0: config:, flags:, packet size:4
psm0: syncmask:08, syncbits:08

vmstat -i
interrupt  total   rate
irq0: clk  64245 99
irq1: atkbd0   1  0
irq8: rtc  82235127
irq11: xl0 uhci0+737  1
irq13: npx01  0
irq14: ata0 2411  3
irq15: ata1   52  0
Total 149682232

Device (PS2M)
{
Name (_HID, EisaId (PNP0F13))
Method (_STA, 0, NotSerialized)
{
If (LEqual (PS2F, 0x00))
{
Return (0x0F)
}
Else
{
Return (0x00)
}
}

Method (_CRS, 0, NotSerialized)
{
Name (BUF1, Buffer (0x05)
{
0x22, 0x00, 0x10, 0x79, 0x00
})
Name (BUF2, Buffer (0x15)
{
0x47, 0x01, 0x60, 0x00, 0x60, 0x00, 0x01, 0x01,
0x47, 0x01, 0x64, 0x00, 0x64, 0x00, 0x01, 0x01,
0x22, 0x00, 0x10, 0x79, 0x00
})
If (LEqual (KBDI, 0x01))
{
Return (BUF2)
}
Else
{
Return (BUF1)
}
}
}

Device (PS2K)
{
Name (_HID, EisaId (PNP0303))
Method (_STA, 0, NotSerialized)
{
If (LEqual (KBDI, 0x01))
{
Return (0x00)
}
Else
{
Return (0x0F)
}
}

Name (_CRS, Buffer (0x15)
{
0x47, 0x01, 0x60, 0x00, 0x60, 0x00, 0x01, 0x01,
0x47, 0x01, 0x64, 0x00, 0x64, 0x00, 0x01, 0x01,
0x22, 0x02, 0x00, 0x79, 0x00
})
}


-- 
Slawa Olhovchenkov

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]