From gavin at FreeBSD.org Sun Jun 1 18:51:38 2008 From: gavin at FreeBSD.org (gavin@FreeBSD.org) Date: Sun Jun 1 18:51:41 2008 Subject: kern/103365: [acpi] acpi poweroff doesn't work with geli device attached Message-ID: <200806011851.m51IpbHn084528@freefall.freebsd.org> Synopsis: [acpi] acpi poweroff doesn't work with geli device attached State-Changed-From-To: open->closed State-Changed-By: gavin State-Changed-When: Sun Jun 1 18:50:30 UTC 2008 State-Changed-Why: Submitter notes that this problem went away with 6.2/7.0. http://www.freebsd.org/cgi/query-pr.cgi?pr=103365 From gavin at FreeBSD.org Sun Jun 1 19:03:08 2008 From: gavin at FreeBSD.org (gavin@FreeBSD.org) Date: Sun Jun 1 19:03:10 2008 Subject: kern/121454: [pst] Promise SuperTrak SX6000 does not load during boot in 7.0-RELEASE Message-ID: <200806011903.m51J38pB084887@freefall.freebsd.org> Synopsis: [pst] Promise SuperTrak SX6000 does not load during boot in 7.0-RELEASE State-Changed-From-To: open->feedback State-Changed-By: gavin State-Changed-When: Sun Jun 1 19:01:30 UTC 2008 State-Changed-Why: To submitter: please provide a verbose boot dmesg in both cases, showing both the pstpci0 messages and the interrupt routing messages http://www.freebsd.org/cgi/query-pr.cgi?pr=121454 From bugmaster at FreeBSD.org Mon Jun 2 11:06:44 2008 From: bugmaster at FreeBSD.org (FreeBSD bugmaster) Date: Mon Jun 2 11:06:45 2008 Subject: Current problem reports assigned to freebsd-acpi@FreeBSD.org Message-ID: <200806021106.m52B6h2F093064@freefall.freebsd.org> Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o i386/54756 acpi ACPI suspend/resume problem on CF-W2 laptop o i386/55661 acpi ACPI suspend/resume problem on ARMADA M700 o kern/56024 acpi ACPI suspend drains battery while in S3 o i386/72566 acpi ACPI, FreeBSD disables fan on Compaq Armada 1750 o i386/79081 acpi ACPI suspend/resume not working on HP nx6110 o kern/81000 acpi [apic] Via 8235 sound card worked great with FreeBSD 5 s kern/91038 acpi [panic] [ata] [acpi] 6.0-RELEASE on Fujitsu Siemens Am s i386/91748 acpi acpi problem on Acer TravelMare 4652LMi (nvidia panic, o kern/102252 acpi acpi thermal does not work on Abit AW8D (intel 975) o kern/104625 acpi ACPI on ASUS A8N-32 SLI/ASUS P4P800 does not show ther o kern/106924 acpi [acpi] ACPI resume returns g_vfs_done() errors and ker o kern/108954 acpi [acpi] 'sleep(1)' sleeps >1 seconds when speedstep (Cx o i386/114562 acpi [acpi] cardbus is dead after s3 on Thinkpad T43 with a o kern/116939 acpi [acpi] PCI-to-PCI misconfigured for bus three and can o kern/118973 acpi [acpi]: Kernel panic with acpi boot o kern/119200 acpi [acpi] Lid close switch suspends CPU for 1 second on H o kern/119356 acpi [acpi]: i386 ACPI wakeup not work due resource exhaust o kern/120953 acpi [acpi]: FreeBSD 6.3 Release: acpi_tz0: _TMP value is f kern/121454 acpi [pst] Promise SuperTrak SX6000 does not load during bo 19 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- f kern/67309 acpi zzz reboot computer (ACPI S3) o i386/69750 acpi Boot without ACPI failed on ASUS L5 s kern/73823 acpi [request] acpi / power-on by timer support o kern/76950 acpi ACPI wrongly blacklisted on Micron ClientPro 766Xi sys o i386/83018 acpi [install] Installer will not boot on Asus P4S8X BIOS 1 o kern/89411 acpi [acpi] acpiconf bug s kern/90243 acpi Laptop fan doesn't turn off (ACPI enabled) (Packard Be o kern/97383 acpi Volume buttons on IBM Thinkpad crash system with ACPI o kern/105537 acpi [acpi] problems in acpi on HP Compaq nc6320 o kern/108017 acpi [acpi]: Acer Aspire 5600 o kern/108488 acpi [acpi] ACPI-1304: *** Error: Method execution failed o kern/108581 acpi [sysctl] sysctl: hw.acpi.cpu.cx_lowest: Invalid argume o kern/108695 acpi [acpi]: Fatal trap 9: general protection fault when in s kern/112544 acpi [acpi] [patch] Add High Precision Event Timer Driver f o kern/114165 acpi [acpi] Dell C810 - ACPI problem o kern/117605 acpi [acpi] [request] add debug.cpufreq.highest o kern/120515 acpi [acpi] [patch] acpi_alloc_wakeup_handler: can't alloc o kern/121102 acpi [acpi_fujitsu] [patch] update acpi_fujitsu for the P80 o kern/121504 acpi [patch] Correctly set hw.acpi.osname on certain machin f amd64/122521 acpi ACPI Error after upgrade to 7.0 o kern/123039 acpi [acpi] ACPI AML_BUFFER_LIMIT errors during boot 21 problems total. From vova at fbsd.ru Mon Jun 2 16:52:11 2008 From: vova at fbsd.ru (Vladimir Grebenschikov) Date: Mon Jun 2 16:52:17 2008 Subject: Suspend/resume on T60 - anyone succeeded ? Message-ID: <1212423545.1633.150.camel@localhost> Hi Is there anybody who managed make T60 suspend/resume with either UP or SMP kernel ? If yes, please share your configuration/hints. In my case it does not awakes (tries, but fails). -- Vladimir B. Grebenschikov vova@fbsd.ru From mpieuchot at nolizard.org Mon Jun 2 22:54:25 2008 From: mpieuchot at nolizard.org (Martin Pieuchot) Date: Mon Jun 2 22:54:29 2008 Subject: [Vaio SZ5MN] Unable to Power-off Message-ID: <20080602192922.2a6d5c60@nolizard.org> Hello, I am runing a FreeBSD 7-STABLE i386 box on a Sony Vaio VGN-SZ5MN and I cannot totally power-off my laptop. When I switch to the acpi state 5 (halt, shutdown) everything *seems* to work well. The OS shutdown correctly but after displaying : "Powering system off using ACPI" (/sys/dev/acpica/acpi.c:1678) the laptop remains powered (CPU cooler running, LCD display on), but does not respond to any key. So I must unplug the battery and the power cable to shut it down. I have already sent a message explaining my problem on this ml: http://freebsd.monkey.org/freebsd-acpi/200804/msg00025.html But actually I am looking for some help to solve it. The fact is that every other OS that I use, OpenBSD 4.3, NetBSD 4.0 and Linux 2.6, manage well the ACPI (at least power-off and reboot). I have look at the Freebsd ACPI implementation and code. But I have a actually no idea from where the problem could come. Regarding that all those OS are using almost the same ACPICA code I guess that the problem should not be very complicated. Finally, should I post a PR? Thanks in advance, Martin From linimon at FreeBSD.org Tue Jun 3 00:03:05 2008 From: linimon at FreeBSD.org (linimon@FreeBSD.org) Date: Tue Jun 3 00:03:08 2008 Subject: kern/124223: [acpi] [patch] acpi_battery.c -- Notify user-defined critical level via devd(8) Message-ID: <200806030003.m53034mm069784@freefall.freebsd.org> Old Synopsis: [patch] acpi_battery.c -- Notify user-defined critical level via devd(8) New Synopsis: [acpi] [patch] acpi_battery.c -- Notify user-defined critical level via devd(8) Responsible-Changed-From-To: freebsd-bugs->freebsd-acpi Responsible-Changed-By: linimon Responsible-Changed-When: Tue Jun 3 00:02:33 UTC 2008 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=124223 From olivier at aixmarseille.com Tue Jun 3 09:33:47 2008 From: olivier at aixmarseille.com (Olivier Fauchon) Date: Tue Jun 3 09:33:56 2008 Subject: Suspend/resume on T60 - anyone succeeded ? In-Reply-To: <1212423545.1633.150.camel@localhost> References: <1212423545.1633.150.camel@localhost> Message-ID: <484508DB.70804@aixmarseille.com> Vladimir Grebenschikov wrote: > Hi > > Is there anybody who managed make T60 suspend/resume with either UP or > SMP kernel ? > > If yes, please share your configuration/hints. > > In my case it does not awakes (tries, but fails). > > Same for Dell D430... (core2duo) Suspend works, but resume make laptop reboot... at least with FreeBSD7 (UP & SMP).... Any info welcome... From antoinebrunel at yahoo.fr Wed Jun 4 14:25:02 2008 From: antoinebrunel at yahoo.fr (Antoine BRUNEL) Date: Wed Jun 4 14:25:06 2008 Subject: ACPI errors on Acer ASPIRE 7720 laptop, running FreeBSD 8.0 - CURRENT Message-ID: <48469F5F.5090906@yahoo.fr> Hello I'm getting theses while booting, and anytime I try to use ACPI (for example, battery status plugin): acpi_ec0: EcRead: failed waiting to get data ACPI Exception (evregion-0529): AE_NO_HARDWARE_RESPONSE, Returned by Handler for [EmbeddedControl] [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.LPC_.BAT0._STA] (Node 0xc61e57e0), AE_NO_HARDWARE_RESPONSE ACPI Error (uteval-0309): Method execution failed [\\_SB_.PCI0.LPC_.BAT0._STA] (Node 0xc61e57e0), AE_NO_HARDWARE_RESPONSE battery0: on acpi0 acpi_acad0: on acpi0 acpi_button0: on acpi0 acpi_lid0: on acpi0 acpi_button1: on acpi0 I already tried to create a new DSDT.aml from here: http://aceracpi.googlecode.com/svn/trunk/dsdt/acer/aspire/7720.dsl but without succes. My hw.acpi output: hw.acpi.supported_sleep_state: S3 S4 S5 hw.acpi.power_button_state: S5 hw.acpi.sleep_button_state: S3 hw.acpi.lid_switch_state: NONE hw.acpi.standby_state: S1 hw.acpi.suspend_state: S3 hw.acpi.sleep_delay: 1 hw.acpi.s4bios: 0 hw.acpi.verbose: 0 hw.acpi.disable_on_reboot: 0 hw.acpi.handle_reboot: 0 hw.acpi.reset_video: 0 hw.acpi.cpu.cx_lowest: C1 hw.acpi.thermal.min_runtime: 0 hw.acpi.thermal.polling_rate: 10 hw.acpi.thermal.user_override: 0 hw.acpi.thermal.tz0.temperature: 50.0C hw.acpi.thermal.tz0.active: -1 hw.acpi.thermal.tz0.passive_cooling: 0 hw.acpi.thermal.tz0.thermal_flags: 0 hw.acpi.thermal.tz0._PSV: -1 hw.acpi.thermal.tz0._HOT: -1 hw.acpi.thermal.tz0._CRT: 110.0C hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 hw.acpi.thermal.tz0._TC1: -1 hw.acpi.thermal.tz0._TC2: -1 hw.acpi.thermal.tz0._TSP: -1 hw.acpi.battery.life: 100 hw.acpi.battery.time: -1 hw.acpi.battery.state: 0 hw.acpi.battery.units: 1 hw.acpi.battery.info_expire: 5 hw.acpi.acline: 1 Already tried to boot with hw.acpi.osname="Windows 2001" I'm running FreeBSD 8-0 Current, on an Acer 7720Z laptop, using most recent bios version from Acer: 1.34 FreeBSD brunel.pagan.fr 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Mon Jun 2 17:44:46 CEST 2008 root@brunel.pagan.fr:/usr/obj/usr/src/sys/CUSTOM i386 Can you please help me ?? Thanks in advance From glorgster at gmail.com Wed Jun 4 16:00:44 2008 From: glorgster at gmail.com (Alexey Tarasov) Date: Wed Jun 4 16:00:51 2008 Subject: [Vaio SZ5MN] Unable to Power-off Message-ID: Hello, I've VGN-SZ4MRN, FreeBSD 8.0-CURRENT. There is also same problem, i've solved it by switching off lan power before power off. For this purpose I'm using modified acpi_sony (sources are here: dodologics.ru/20080425_acpi_sony.tar.bz2) before switching off i'm making: sysctl hw.vaio.power_lan=0; shutdown -p now And it powers off correctly. As far as I know SZ5 is much similar to SZ4, so it may help you also. --- Best regards, Alexey PS: If you don't want to use these sources (it also adds some events notifications, partial SPIC support and thus may be unstable), you may add line { "lanp", "GLNP", "LNPW", "Lan power"}, before last line in acpi_sony_name_list struct in acpi_sony.c: {NULL, NULL, NULL} It'll add handling of "get lan power" and "set lan power" ACPI methods for SNC. Sysctl oid will be named as other usual acpi_sony oids (something like: dev.acpi_sony.0.lanp). I'm sure it also must work (cause in modified sources it makes exactly the same). Hello, > > I am runing a FreeBSD 7-STABLE i386 box on a Sony Vaio VGN-SZ5MN and I > cannot totally power-off my laptop. > > When I switch to the acpi state 5 (halt, shutdown) everything > *seems* to work well. The OS shutdown correctly but after displaying : > > "Powering system off using ACPI" (/sys/dev/acpica/acpi.c:1678) > > the laptop remains powered (CPU cooler running, LCD display on), but > does not respond to any key. So I must unplug the battery and the > power cable to shut it down. > > I have already sent a message explaining my problem on this ml: > http://freebsd.monkey.org/freebsd-acpi/200804/msg00025.html > > But actually I am looking for some help to solve it. The fact is that > every other OS that I use, OpenBSD 4.3, NetBSD 4.0 and Linux 2.6, > manage well the ACPI (at least power-off and reboot). > > I have look at the Freebsd ACPI implementation and code. But I have a > actually no idea from where the problem could come. > > Regarding that all those OS are using almost the same ACPICA code I > guess that the problem should not be very complicated. > > Finally, should I post a PR? > > Thanks in advance, > > Martin > From rpaulo at FreeBSD.org Thu Jun 5 14:20:53 2008 From: rpaulo at FreeBSD.org (Rui Paulo) Date: Thu Jun 5 14:21:22 2008 Subject: [Vaio SZ5MN] Unable to Power-off In-Reply-To: References: Message-ID: <20080605141837.GA6864@epsilon.local> On Thu, Jun 05, 2008 at 02:31:38AM +1100, Alexey Tarasov wrote: > Hello, > > I've VGN-SZ4MRN, FreeBSD 8.0-CURRENT. There is also same problem, i've > solved it by switching off lan power before power off. > > For this purpose I'm using modified acpi_sony (sources are here: > dodologics.ru/20080425_acpi_sony.tar.bz2) > before switching off i'm making: sysctl hw.vaio.power_lan=0; shutdown -p now Do you know if this is the proper fix ? What does Linux do ? If this is all we can do, acpi_sony might need to grow a shutdown hook. Regards, -- Rui Paulo From samflanker at gmail.com Sat Jun 7 11:57:16 2008 From: samflanker at gmail.com (Vladimir Ermakov) Date: Sat Jun 7 11:57:42 2008 Subject: power button trouble on IBM Lenovo ThinkPad T61 Message-ID: <484A7159.2010606@gmail.com> Hello my system does not shutdown after clicking power button -------------------------------------------------------------------------------- FreeBSD spectrum 8.0-CURRENT FreeBSD 8.0-CURRENT #2: Mon May 12 22:20:49 MSD 2008 root@spectrum:/usr/obj/usr/src/sys/SPECTRUM i386 http://cs.udmvt.ru/files/temp/acpi/boot_v_wacpi.log http://cs.udmvt.ru/files/temp/acpi/sysctl_hwacpi_output.log http://cs.udmvt.ru/files/temp/acpi/sam_Lenovo-T61.asl -------------------------------------------------------------------------------- please, any solution? /Vladimir Ermakov From samflanker at gmail.com Sun Jun 8 00:09:34 2008 From: samflanker at gmail.com (Vladimir Ermakov) Date: Sun Jun 8 00:09:38 2008 Subject: power button trouble on IBM Lenovo ThinkPad T61 In-Reply-To: <484A7159.2010606@gmail.com> References: <484A7159.2010606@gmail.com> Message-ID: <484B2329.6070303@gmail.com> Vladimir Ermakov wrote: > > -------------------------------------------------------------------------------- > > FreeBSD spectrum 8.0-CURRENT FreeBSD 8.0-CURRENT #2: Mon May 12 > 22:20:49 MSD 2008 root@spectrum:/usr/obj/usr/src/sys/SPECTRUM i386 > > http://cs.udmvt.ru/files/temp/acpi/boot_v_wacpi.log > http://cs.udmvt.ru/files/temp/acpi/sysctl_hwacpi_output.log > http://cs.udmvt.ru/files/temp/acpi/sam_Lenovo-T61.asl > -------------------------------------------------------------------------------- > the problem is solved after update to BIOS Version: 7LETB8WW (2.18-1.08) http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-67989 model 6460-D6G thx /Vladimir Ermakov From mpieuchot at nolizard.org Sun Jun 8 20:32:08 2008 From: mpieuchot at nolizard.org (Martin Pieuchot) Date: Sun Jun 8 20:32:12 2008 Subject: [Vaio SZ5MN] Unable to Power-off In-Reply-To: <20080605141837.GA6864@epsilon.local> References: <20080605141837.GA6864@epsilon.local> Message-ID: <20080608173143.4a645246@psy> Hi, I tried to add the lan power control to the acpi_sony module. It works well in the sense that setting dev.acpi_sony.0.lanp to 0 power off the network. But it doesn't solve my power-down problem when I want to shutdown the machine. Thanks for your help, Martin From bugmaster at FreeBSD.org Mon Jun 9 11:06:50 2008 From: bugmaster at FreeBSD.org (FreeBSD bugmaster) Date: Mon Jun 9 11:06:57 2008 Subject: Current problem reports assigned to freebsd-acpi@FreeBSD.org Message-ID: <200806091106.m59B6naR070650@freefall.freebsd.org> Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o i386/54756 acpi ACPI suspend/resume problem on CF-W2 laptop o i386/55661 acpi ACPI suspend/resume problem on ARMADA M700 o kern/56024 acpi ACPI suspend drains battery while in S3 o i386/72566 acpi ACPI, FreeBSD disables fan on Compaq Armada 1750 o i386/79081 acpi ACPI suspend/resume not working on HP nx6110 o kern/81000 acpi [apic] Via 8235 sound card worked great with FreeBSD 5 s kern/91038 acpi [panic] [ata] [acpi] 6.0-RELEASE on Fujitsu Siemens Am s i386/91748 acpi acpi problem on Acer TravelMare 4652LMi (nvidia panic, o kern/102252 acpi acpi thermal does not work on Abit AW8D (intel 975) o kern/104625 acpi ACPI on ASUS A8N-32 SLI/ASUS P4P800 does not show ther o kern/106924 acpi [acpi] ACPI resume returns g_vfs_done() errors and ker o kern/108954 acpi [acpi] 'sleep(1)' sleeps >1 seconds when speedstep (Cx o i386/114562 acpi [acpi] cardbus is dead after s3 on Thinkpad T43 with a o kern/116939 acpi [acpi] PCI-to-PCI misconfigured for bus three and can o kern/118973 acpi [acpi]: Kernel panic with acpi boot o kern/119200 acpi [acpi] Lid close switch suspends CPU for 1 second on H o kern/119356 acpi [acpi]: i386 ACPI wakeup not work due resource exhaust o kern/120953 acpi [acpi]: FreeBSD 6.3 Release: acpi_tz0: _TMP value is f kern/121454 acpi [pst] Promise SuperTrak SX6000 does not load during bo 19 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- f kern/67309 acpi zzz reboot computer (ACPI S3) o i386/69750 acpi Boot without ACPI failed on ASUS L5 s kern/73823 acpi [request] acpi / power-on by timer support o kern/76950 acpi ACPI wrongly blacklisted on Micron ClientPro 766Xi sys o i386/83018 acpi [install] Installer will not boot on Asus P4S8X BIOS 1 o kern/89411 acpi [acpi] acpiconf bug s kern/90243 acpi Laptop fan doesn't turn off (ACPI enabled) (Packard Be o kern/97383 acpi Volume buttons on IBM Thinkpad crash system with ACPI o kern/105537 acpi [acpi] problems in acpi on HP Compaq nc6320 o kern/108017 acpi [acpi]: Acer Aspire 5600 o kern/108488 acpi [acpi] ACPI-1304: *** Error: Method execution failed o kern/108581 acpi [sysctl] sysctl: hw.acpi.cpu.cx_lowest: Invalid argume o kern/108695 acpi [acpi]: Fatal trap 9: general protection fault when in s kern/112544 acpi [acpi] [patch] Add High Precision Event Timer Driver f o kern/114165 acpi [acpi] Dell C810 - ACPI problem o kern/117605 acpi [acpi] [request] add debug.cpufreq.highest o kern/120515 acpi [acpi] [patch] acpi_alloc_wakeup_handler: can't alloc o kern/121102 acpi [acpi_fujitsu] [patch] update acpi_fujitsu for the P80 o kern/121504 acpi [patch] Correctly set hw.acpi.osname on certain machin f amd64/122521 acpi ACPI Error after upgrade to 7.0 o kern/123039 acpi [acpi] ACPI AML_BUFFER_LIMIT errors during boot o kern/124223 acpi [acpi] [patch] acpi_battery.c -- Notify user-defined c 22 problems total. From linimon at FreeBSD.org Mon Jun 9 17:35:02 2008 From: linimon at FreeBSD.org (linimon@FreeBSD.org) Date: Mon Jun 9 17:35:08 2008 Subject: kern/124412: [acpi] power off error on Toshiba M40 laptop Message-ID: <200806091735.m59HZ2BL015046@freefall.freebsd.org> Synopsis: [acpi] power off error on Toshiba M40 laptop Responsible-Changed-From-To: freebsd-bugs->freebsd-acpi Responsible-Changed-By: linimon Responsible-Changed-When: Mon Jun 9 17:34:35 UTC 2008 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=124412 From glorgster at gmail.com Wed Jun 11 15:57:50 2008 From: glorgster at gmail.com (Alexey Tarasov) Date: Wed Jun 11 15:57:52 2008 Subject: [Vaio SZ5MN] Unable to Power-off In-Reply-To: <20080608173143.4a645246@psy> References: <20080605141837.GA6864@epsilon.local> <20080608173143.4a645246@psy> Message-ID: Hi, sorry for delay with answer. I'm out of home city now. It's really interesting, I've tried just to add two methods to original acpi_sony and that have no any effect with correct power off. However modified sources provided via link in my previous post - works. Have you tried it? I'll try to downgrade modified sources to find out why it works. It performs more sophisticated initialization of SPIC, but SNC is handled almost in the same way is in original (lan power management are SNC methods, not SPIC, which is operated not through ACPI). --- Best regards, Alexey Tarasov On Mon, Jun 9, 2008 at 7:31 AM, Martin Pieuchot wrote: > Hi, > > I tried to add the lan power control to the acpi_sony module. It works > well in the sense that setting dev.acpi_sony.0.lanp to 0 power off the > network. But it doesn't solve my power-down problem when I want to > shutdown the machine. > > Thanks for your help, > > Martin > From glorgster at gmail.com Wed Jun 11 16:05:59 2008 From: glorgster at gmail.com (Alexey Tarasov) Date: Wed Jun 11 16:06:03 2008 Subject: [Vaio SZ5MN] Unable to Power-off In-Reply-To: <20080605141837.GA6864@epsilon.local> References: <20080605141837.GA6864@epsilon.local> Message-ID: Hi On Fri, Jun 6, 2008 at 1:18 AM, Rui Paulo wrote: > > Do you know if this is the proper fix ? What does Linux do ? > If this is all we can do, acpi_sony might need to grow a shutdown hook. > Well, I've no much Sony laptops around me to test. Also, different series of Sony laptops are rather different in ACPI methods (e.g. C series and SZ series) Modified sources are inspired by Linux sony-laptop driver. duplicates initialization code of SPIC, event handling and so on. However - AFAIK - linux driver does no special tricks at power off stage, it is just dettached, device file in /dev destroyed in so on, but Linux (Ubuntu 7.10) it still possible to power off correctly. --- Best regards, Alexey From bugmaster at FreeBSD.org Mon Jun 16 11:06:49 2008 From: bugmaster at FreeBSD.org (FreeBSD bugmaster) Date: Mon Jun 16 11:06:50 2008 Subject: Current problem reports assigned to freebsd-acpi@FreeBSD.org Message-ID: <200806161106.m5GB6mAe036619@freefall.freebsd.org> Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o i386/54756 acpi ACPI suspend/resume problem on CF-W2 laptop o i386/55661 acpi ACPI suspend/resume problem on ARMADA M700 o kern/56024 acpi ACPI suspend drains battery while in S3 o i386/72566 acpi ACPI, FreeBSD disables fan on Compaq Armada 1750 o i386/79081 acpi ACPI suspend/resume not working on HP nx6110 o kern/81000 acpi [apic] Via 8235 sound card worked great with FreeBSD 5 s kern/91038 acpi [panic] [ata] [acpi] 6.0-RELEASE on Fujitsu Siemens Am s i386/91748 acpi acpi problem on Acer TravelMare 4652LMi (nvidia panic, o kern/102252 acpi acpi thermal does not work on Abit AW8D (intel 975) o kern/104625 acpi ACPI on ASUS A8N-32 SLI/ASUS P4P800 does not show ther o kern/106924 acpi [acpi] ACPI resume returns g_vfs_done() errors and ker o kern/108954 acpi [acpi] 'sleep(1)' sleeps >1 seconds when speedstep (Cx o i386/114562 acpi [acpi] cardbus is dead after s3 on Thinkpad T43 with a o kern/116939 acpi [acpi] PCI-to-PCI misconfigured for bus three and can o kern/118973 acpi [acpi]: Kernel panic with acpi boot o kern/119200 acpi [acpi] Lid close switch suspends CPU for 1 second on H o kern/119356 acpi [acpi]: i386 ACPI wakeup not work due resource exhaust o kern/120953 acpi [acpi]: FreeBSD 6.3 Release: acpi_tz0: _TMP value is f kern/121454 acpi [pst] Promise SuperTrak SX6000 does not load during bo 19 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- f kern/67309 acpi zzz reboot computer (ACPI S3) o i386/69750 acpi Boot without ACPI failed on ASUS L5 s kern/73823 acpi [request] acpi / power-on by timer support o kern/76950 acpi ACPI wrongly blacklisted on Micron ClientPro 766Xi sys o i386/83018 acpi [install] Installer will not boot on Asus P4S8X BIOS 1 o kern/89411 acpi [acpi] acpiconf bug s kern/90243 acpi Laptop fan doesn't turn off (ACPI enabled) (Packard Be o kern/97383 acpi Volume buttons on IBM Thinkpad crash system with ACPI o kern/105537 acpi [acpi] problems in acpi on HP Compaq nc6320 o kern/108017 acpi [acpi]: Acer Aspire 5600 o kern/108488 acpi [acpi] ACPI-1304: *** Error: Method execution failed o kern/108581 acpi [sysctl] sysctl: hw.acpi.cpu.cx_lowest: Invalid argume o kern/108695 acpi [acpi]: Fatal trap 9: general protection fault when in s kern/112544 acpi [acpi] [patch] Add High Precision Event Timer Driver f o kern/114165 acpi [acpi] Dell C810 - ACPI problem o kern/117605 acpi [acpi] [request] add debug.cpufreq.highest o kern/120515 acpi [acpi] [patch] acpi_alloc_wakeup_handler: can't alloc o kern/121102 acpi [acpi_fujitsu] [patch] update acpi_fujitsu for the P80 o kern/121504 acpi [patch] Correctly set hw.acpi.osname on certain machin f amd64/122521 acpi ACPI Error after upgrade to 7.0 o kern/123039 acpi [acpi] ACPI AML_BUFFER_LIMIT errors during boot o kern/124223 acpi [acpi] [patch] acpi_battery.c -- Notify user-defined c o kern/124412 acpi [acpi] power off error on Toshiba M40 laptop 23 problems total. From pisymbol at gmail.com Tue Jun 17 15:16:15 2008 From: pisymbol at gmail.com (Alexander Sack) Date: Tue Jun 17 15:19:53 2008 Subject: ACPI Embedded Controller (EC) errors on 7.0-STABLE Message-ID: <3c0b01820806170751u28185a6cu361fd9b571dedded@mail.gmail.com> Hello: I've just installed FreeBSD-7.0-amd64 on my new MSI-171A (GX710A) notebook (AMD Turon X2 (dual core)/4GB RAM). I have flashed to the latest motherboard BIOS via the MSI website (1.10GA 7/25/2007). I'm seeing some ACPI errors on boot which I believe are relatively harmless but wanted to get confirmation from the list. Here are the pertinent error messages: CPI Error (evregion-0427): No handler for Region [EC__] (0xffffff00011cf680) [EmbeddedControl] [20070320] ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xffffff00011d2480), AE_NOT_EXIST ACPI Error (uteval-0309): Method execution failed [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xffffff00011d2480), AE_NOT_EXIST ACPI Error (evregion-0427): No handler for Region [EC__] (0xffffff00011cf680) [EmbeddedControl] [20070320] ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xffffff00011d2480), AE_NOT_EXIST ACPI Error (uteval-0309): Method execution failed [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xffffff00011d2480), AE_NOT_EXIST ACPI Error (evregion-0427): No handler for Region [EC__] (0xffffff00011cf680) [EmbeddedControl] [20070320] ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xffffff00011d2480), AE_NOT_EXIST ACPI Error (uteval-0309): Method execution failed [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xffffff00011d2480), AE_NOT_EXIST ACPI Error (evregion-0427): No handler for Region [EC__] (0xffffff00011cf680) [EmbeddedControl] [20070320] ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xffffff00011d2480), AE_NOT_EXIST ACPI Error (uteval-0309): Method execution failed [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xffffff00011d2480), AE_NOT_EXIST ACPI Error (evregion-0427): No handler for Region [EC__] (0xffffff00011cf680) [EmbeddedControl] [20070320] ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xffffff00011d2480), AE_NOT_EXIST ACPI Error (uteval-0309): Method execution failed [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xffffff00011d2480), AE_NOT_EXIST ACPI Error (evregion-0427): No handler for Region [EC__] (0xffffff00011cf680) [EmbeddedControl] [20070320] ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xffffff00011d2480), AE_NOT_EXIST ACPI Error (uteval-0309): Method execution failed [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xffffff00011d2480), AE_NOT_EXIST ACPI Error (evregion-0427): No handler for Region [EC__] (0xffffff00011cf680) [EmbeddedControl] [20070320] ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xffffff00011d2480), AE_NOT_EXIST ACPI Error (uteval-0309): Method execution failed [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xffffff00011d2480), AE_NOT_EXIST After dumping the ASL, it defines an embedded controller (Device EC) with a bunch of methods but ACPI-CA complains that there is no OperationRegion handler for them. I see 7 error messages which I believe correspond to the 7 Method AML calls defined. Is this faulty ASL code on MSI's part or a regression bug? Its DSDT specifies ACPI compliance 1.0 I *think* (I'm a little rusty here). I've attached all the debugging out I can think of (boot -v dmesg, my ASL, and sysctl -a hw.acpi). I do notice that iasl gives me a compiler error but its seem outside the scope of my dmesg error output. I assume based on spec that this is the System Bus, PCI bus 0, south bridge, embedded controller, battery 1 (methods are for status, information, etc. etc.). Any feedback would be much appreciated? Thanks -aps -------------- next part -------------- A non-text attachment was scrubbed... Name: unity-dmesg Type: application/octet-stream Size: 37732 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-acpi/attachments/20080617/8a96652a/unity-dmesg-0001.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: unity-hw.acpi Type: application/octet-stream Size: 867 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-acpi/attachments/20080617/8a96652a/unity-hw-0001.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: unity-msi171a.asl Type: application/octet-stream Size: 150657 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-acpi/attachments/20080617/8a96652a/unity-msi171a-0001.obj From pisymbol at gmail.com Tue Jun 17 16:07:45 2008 From: pisymbol at gmail.com (Alexander Sack) Date: Tue Jun 17 16:12:26 2008 Subject: ACPI errors during boot on 7.0.0-RELEASE Message-ID: <3c0b01820806170907h15a9f146nf404b78c82946884@mail.gmail.com> Hello: I've just installed FreeBSD-7.0-amd64 on my new MSI-171A (GX710A) notebook (AMD Turon X2 (dual core)/4GB RAM). I have flashed to the latest motherboard BIOS via the MSI website (1.10GA 7/25/2007). I'm seeing some ACPI errors on boot which I believe are relatively harmless but wanted to get confirmation from the list. Here are the pertinent error messages: CPI Error (evregion-0427): No handler for Region [EC__] (0xffffff00011cf680) [EmbeddedControl] [20070320] ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xffffff00011d2480), AE_NOT_EXIST ACPI Error (uteval-0309): Method execution failed [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xffffff00011d2480), AE_NOT_EXIST ACPI Error (evregion-0427): No handler for Region [EC__] (0xffffff00011cf680) [EmbeddedControl] [20070320] ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xffffff00011d2480), AE_NOT_EXIST ACPI Error (uteval-0309): Method execution failed [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xffffff00011d2480), AE_NOT_EXIST ACPI Error (evregion-0427): No handler for Region [EC__] (0xffffff00011cf680) [EmbeddedControl] [20070320] ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xffffff00011d2480), AE_NOT_EXIST ACPI Error (uteval-0309): Method execution failed [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xffffff00011d2480), AE_NOT_EXIST ACPI Error (evregion-0427): No handler for Region [EC__] (0xffffff00011cf680) [EmbeddedControl] [20070320] ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xffffff00011d2480), AE_NOT_EXIST ACPI Error (uteval-0309): Method execution failed [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xffffff00011d2480), AE_NOT_EXIST ACPI Error (evregion-0427): No handler for Region [EC__] (0xffffff00011cf680) [EmbeddedControl] [20070320] ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xffffff00011d2480), AE_NOT_EXIST ACPI Error (uteval-0309): Method execution failed [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xffffff00011d2480), AE_NOT_EXIST ACPI Error (evregion-0427): No handler for Region [EC__] (0xffffff00011cf680) [EmbeddedControl] [20070320] ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xffffff00011d2480), AE_NOT_EXIST ACPI Error (uteval-0309): Method execution failed [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xffffff00011d2480), AE_NOT_EXIST ACPI Error (evregion-0427): No handler for Region [EC__] (0xffffff00011cf680) [EmbeddedControl] [20070320] ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xffffff00011d2480), AE_NOT_EXIST ACPI Error (uteval-0309): Method execution failed [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xffffff00011d2480), AE_NOT_EXIST After dumping the ASL, it defines an embedded controller (Device EC) with a bunch of methods but ACPI-CA complains that there is no OperationRegion handler for them. I see 7 error messages which I believe correspond to the 7 Method AML calls defined. Is this faulty ASL code on MSI's part or a regression bug? Its DSDT specifies ACPI compliance 1.0 I *think* (I'm a little rusty here). I've attached the just full ASL dump. I do notice that iasl gives me a compiler error but its seem outside the scope of my dmesg error output. I assume based on spec that this is the System Bus, PCI bus 0, south bridge, embedded controller, battery 1 (methods are for status, information, etc. etc.). Any feedback would be much appreciated? Thanks -aps -------------- next part -------------- A non-text attachment was scrubbed... Name: iasl Type: application/octet-stream Size: 150657 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-acpi/attachments/20080617/da4f8bfe/iasl-0001.obj From naylor.b.david at gmail.com Thu Jun 19 06:39:22 2008 From: naylor.b.david at gmail.com (David Naylor) Date: Thu Jun 19 06:39:27 2008 Subject: Boot failure with APIC (and other unexplained errors) Message-ID: <200806190810.46062.naylor.b.david@gmail.com> Skipped content of type multipart/mixed-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: This is a digitally signed message part. Url : http://lists.freebsd.org/pipermail/freebsd-acpi/attachments/20080619/7665722a/attachment.pgp From linimon at FreeBSD.org Thu Jun 19 21:06:20 2008 From: linimon at FreeBSD.org (linimon@FreeBSD.org) Date: Thu Jun 19 21:06:23 2008 Subject: kern/124744: [acpi] [patch] incorrect _BST result validation for Tosh Satellite P20 Message-ID: <200806192106.m5JL6KPR047953@freefall.freebsd.org> Old Synopsis: incorrect _BST result validation for Tosh Satellite P20 New Synopsis: [acpi] [patch] incorrect _BST result validation for Tosh Satellite P20 Responsible-Changed-From-To: freebsd-bugs->freebsd-acpi Responsible-Changed-By: linimon Responsible-Changed-When: Thu Jun 19 21:05:29 UTC 2008 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=124744 From pisymbol at gmail.com Fri Jun 20 14:43:52 2008 From: pisymbol at gmail.com (Alexander Sack) Date: Fri Jun 20 14:43:58 2008 Subject: ACPI CA Embedded Controller (EC) error messages MSI notebook Message-ID: <3c0b01820806200743r79a246e9h7500d1d1889c0fb3@mail.gmail.com> Hello Folks: I have a MSI-1710A ("Megabook") which is Athlon X2 Turon based notebook (4GB RAM, Anyway during a 7.0-RELEASE-amd64 boot up I see: ACPI Error (evregion-0427): No handler for Region [EC__] (0xffffff00011cf680) [EmbeddedControl] [20070320] ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xffffff00011d24c0), AE_NOT_EXIST ACPI Error (uteval-0309): Method execution failed [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xffffff00011d24c0), AE_NOT_EXIST ACPI Error (evregion-0427): No handler for Region [EC__] (0xffffff00011cf680) [EmbeddedControl] [20070320] ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xffffff00011d24c0), AE_NOT_EXIST ACPI Error (uteval-0309): Method execution failed [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xffffff00011d24c0), AE_NOT_EXIST ACPI Error (evregion-0427): No handler for Region [EC__] (0xffffff00011cf680) [EmbeddedControl] [20070320] ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xffffff00011d24c0), AE_NOT_EXIST ACPI Error (uteval-0309): Method execution failed [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xffffff00011d24c0), AE_NOT_EXIST ACPI Error (evregion-0427): No handler for Region [EC__] (0xffffff00011cf680) [EmbeddedControl] [20070320] ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xffffff00011d24c0), AE_NOT_EXIST ACPI Error (uteval-0309): Method execution failed [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xffffff00011d24c0), AE_NOT_EXIST ACPI Error (evregion-0427): No handler for Region [EC__] (0xffffff00011cf680) [EmbeddedControl] [20070320] ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xffffff00011d24c0), AE_NOT_EXIST ACPI Error (uteval-0309): Method execution failed [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xffffff00011d24c0), AE_NOT_EXIST ACPI Error (evregion-0427): No handler for Region [EC__] (0xffffff00011cf680) [EmbeddedControl] [20070320] ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xffffff00011d24c0), AE_NOT_EXIST ACPI Error (uteval-0309): Method execution failed [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xffffff00011d24c0), AE_NOT_EXIST ACPI Error (evregion-0427): No handler for Region [EC__] (0xffffff00011cf680) [EmbeddedControl] [20070320] ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xffffff00011d24c0), AE_NOT_EXIST ACPI Error (uteval-0309): Method execution failed [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xffffff00011d24c0), AE_NOT_EXIST After looking at my ASL code, I noticed that YES this code was generated by the MSFT devkit which means its probably NOT spec compliant. RSDT: Length=64, Revision=1, Checksum=83, OEMID=MSI_NB, OEM Table ID=MEGABOOK, OEM Revision=0x7000725, Creator ID=MSFT, Creator Revision=0x97 Entries={ 0xcffc0200, 0xcffc0390, 0xcffc03f0, 0xcffc0430, 0xcffce040, 0xcffc42f0, 0xcffc4330 } The pertinent section (DSDT) condensed is: _SB.PCI0.SBRG: Device (EC) { Device (BAT1) { Name (_HID, EisaId ("PNP0C0A")) Name (_UID, One) Name (_PCL, Package (0x01) { _SB }) Method (_STA, 0, NotSerialized) { If (MYEC) { If (MBTS) { Return (0x1F) } Else { Return (0x0F) } } Else { Return (0x0F) } } } I've read http://www.freebsd.org/doc/en/books/handbook/acpi-debug.html which is very helpful. In any event should I attempt to try to rewrite my ASL to make it more spec conforming so Intel's CA likes it OR would it be better to try to work around it in the CA directly. I believe I understand the problem but I'm still reading the spec regarding embedded controller sections (which is a little different). I believe I'm probably not the only MSI FreeBSD owner so I figured I would share! Thanks a lot! -aps From gahr at FreeBSD.org Fri Jun 20 15:17:51 2008 From: gahr at FreeBSD.org (Pietro Cerutti) Date: Fri Jun 20 15:17:55 2008 Subject: ACPI CA Embedded Controller (EC) error messages MSI notebook In-Reply-To: <3c0b01820806200743r79a246e9h7500d1d1889c0fb3@mail.gmail.com> References: <3c0b01820806200743r79a246e9h7500d1d1889c0fb3@mail.gmail.com> Message-ID: <485BCA10.5010801@FreeBSD.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Alexander Sack wrote: | Hello Folks: | | I have a MSI-1710A ("Megabook") which is Athlon X2 Turon based | notebook (4GB RAM, | | Anyway during a 7.0-RELEASE-amd64 boot up I see: | | ACPI Error (evregion-0427): No handler for Region [EC__] | (0xffffff00011cf680) [EmbeddedControl] [20070320] | ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler [20070320] | ACPI Error (psparse-0626): Method parse/execution failed | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xffffff00011d24c0), | AE_NOT_EXIST | ACPI Error (uteval-0309): Method execution failed | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xffffff00011d24c0), | AE_NOT_EXIST | ACPI Error (evregion-0427): No handler for Region [EC__] | (0xffffff00011cf680) [EmbeddedControl] [20070320] | ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler [20070320] | ACPI Error (psparse-0626): Method parse/execution failed | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xffffff00011d24c0), | AE_NOT_EXIST | ACPI Error (uteval-0309): Method execution failed | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xffffff00011d24c0), | AE_NOT_EXIST | ACPI Error (evregion-0427): No handler for Region [EC__] | (0xffffff00011cf680) [EmbeddedControl] [20070320] | ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler [20070320] | ACPI Error (psparse-0626): Method parse/execution failed | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xffffff00011d24c0), | AE_NOT_EXIST | ACPI Error (uteval-0309): Method execution failed | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xffffff00011d24c0), | AE_NOT_EXIST | ACPI Error (evregion-0427): No handler for Region [EC__] | (0xffffff00011cf680) [EmbeddedControl] [20070320] | ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler [20070320] | ACPI Error (psparse-0626): Method parse/execution failed | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xffffff00011d24c0), | AE_NOT_EXIST | ACPI Error (uteval-0309): Method execution failed | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xffffff00011d24c0), | AE_NOT_EXIST | ACPI Error (evregion-0427): No handler for Region [EC__] | (0xffffff00011cf680) [EmbeddedControl] [20070320] | ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler [20070320] | ACPI Error (psparse-0626): Method parse/execution failed | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xffffff00011d24c0), | AE_NOT_EXIST | ACPI Error (uteval-0309): Method execution failed | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xffffff00011d24c0), | AE_NOT_EXIST | ACPI Error (evregion-0427): No handler for Region [EC__] | (0xffffff00011cf680) [EmbeddedControl] [20070320] | ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler [20070320] | ACPI Error (psparse-0626): Method parse/execution failed | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xffffff00011d24c0), | AE_NOT_EXIST | ACPI Error (uteval-0309): Method execution failed | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xffffff00011d24c0), | AE_NOT_EXIST | ACPI Error (evregion-0427): No handler for Region [EC__] | (0xffffff00011cf680) [EmbeddedControl] [20070320] | ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler [20070320] | ACPI Error (psparse-0626): Method parse/execution failed | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xffffff00011d24c0), | AE_NOT_EXIST | ACPI Error (uteval-0309): Method execution failed | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xffffff00011d24c0), | AE_NOT_EXIST | | After looking at my ASL code, I noticed that YES this code was | generated by the MSFT devkit which means its probably NOT spec | compliant. | | RSDT: Length=64, Revision=1, Checksum=83, | OEMID=MSI_NB, OEM Table ID=MEGABOOK, OEM Revision=0x7000725, | Creator ID=MSFT, Creator Revision=0x97 | Entries={ 0xcffc0200, 0xcffc0390, 0xcffc03f0, 0xcffc0430, | 0xcffce040, 0xcffc42f0, 0xcffc4330 } | | The pertinent section (DSDT) condensed is: | | _SB.PCI0.SBRG: | | Device (EC) { | Device (BAT1) { | Name (_HID, EisaId ("PNP0C0A")) | Name (_UID, One) | Name (_PCL, Package (0x01) | { | _SB | }) | Method (_STA, 0, NotSerialized) | { | If (MYEC) | { | If (MBTS) | { | Return (0x1F) | } | Else | { | Return (0x0F) | } | } | Else | { | Return (0x0F) | } | } | } | | I've read http://www.freebsd.org/doc/en/books/handbook/acpi-debug.html | which is very helpful. In any event should I attempt to try to | rewrite my ASL to make it more spec conforming so Intel's CA likes it | OR would it be better to try to work around it in the CA directly. I | believe I understand the problem but I'm still reading the spec | regarding embedded controller sections (which is a little different). | | I believe I'm probably not the only MSI FreeBSD owner so I figured I | would share! You're not the only one! I have a MSI-1034 (M662) Core2 Duo. Attached is my (patched) asl. Dunno if it can be of any use for you, though... /********* BEGIN MY ASL *********/ /* ~ RSD PTR: OEM=MSI, ACPI_Rev=1.0x (0) RSDT=0x7f7c0000, cksum=157 ~ */ /* ~ RSDT: Length=60, Revision=1, Checksum=212, OEMID=MSI_NB, OEM Table ID=MEGABOOK, OEM Revision=0x3262007, Creator ID=MSFT, Creator Revision=0x97 Entries={ 0x7f7c0200, 0x7f7c0390, 0x7f7c03f0, 0x7f7c0430, 0x7f7ce040, 0x7f7c4670 } ~ */ /* ~ FACP: Length=132, Revision=2, Checksum=98, OEMID=MSI, OEM Table ID=1034, OEM Revision=0x3262007, Creator ID=MSFT, Creator Revision=0x97 ~ FACS=0x7f7ce000, DSDT=0x7f7c05b0 INT_MODEL=APIC Preferred_PM_Profile=Unspecified (0) SCI_INT=9 SMI_CMD=0xb2, ACPI_ENABLE=0xe1, ACPI_DISABLE=0x1e, S4BIOS_REQ=0x0 PSTATE_CNT=0xe2 PM1a_EVT_BLK=0x800-0x803 PM1a_CNT_BLK=0x804-0x805 PM2_CNT_BLK=0x820-0x81f PM_TMR_BLK=0x808-0x80b GPE0_BLK=0x828-0x82f CST_CNT=0xe3 P_LVL2_LAT=1 us, P_LVL3_LAT=85 us FLUSH_SIZE=1024, FLUSH_STRIDE=16 DUTY_OFFSET=1, DUTY_WIDTH=0 DAY_ALRM=13, MON_ALRM=0, CENTURY=0 IAPC_BOOT_ARCH={8042} Flags={WBINVD,PROC_C1,SLP_BUTTON,RTC_S4} ~ */ /* ~ FACS: Length=64, HwSig=0x00000000, Firm_Wake_Vec=0x00000000 Global_Lock= Flags= Version=1 ~ */ /* ~ DSDT: Length=16571, Revision=1, Checksum=254, OEMID=MSI_NB, OEM Table ID=MEGABOOK, OEM Revision=0x3262007, Creator ID=INTL, Creator Revision=0x20051117 ~ */ /* ~ APIC: Length=92, Revision=1, Checksum=3, OEMID=MSI, OEM Table ID=OEMAPIC, OEM Revision=0x3262007, Creator ID=MSFT, Creator Revision=0x97 Local APIC ADDR=0xfee00000 Flags={PC-AT} Type=Local APIC ACPI CPU=1 Flags={ENABLED} APIC ID=0 Type=Local APIC ACPI CPU=2 Flags={ENABLED} APIC ID=1 Type=IO APIC APIC ID=2 INT BASE=0 ADDR=0x00000000fec00000 Type=INT Override BUS=0 IRQ=0 INTR=2 Flags={Polarity=conforming, Trigger=conforming} Type=INT Override BUS=0 IRQ=9 INTR=9 Flags={Polarity=active-hi, Trigger=level} ~ */ /* ~ MCFG: Length=60, Revision=1, Checksum=63, OEMID=MSI, OEM Table ID=OEMMCFG, OEM Revision=0x3262007, Creator ID=MSFT, Creator Revision=0x97 Base Address= 0x00000000e0000000 Segment Group= 0x0000 Start Bus= 0 End Bus= 255 ~ */ /* ~ SLIC: Length=374, Revision=1, Checksum=213, OEMID=MSI_NB, OEM Table ID=MEGABOOK, OEM Revision=0x3262007, Creator ID=MSFT, Creator Revision=0x97 ~ */ /* ~ HPET: Length=56, Revision=1, Checksum=3, OEMID=MSI, OEM Table ID=OEMHPET, OEM Revision=0x3262007, Creator ID=MSFT, Creator Revision=0x97 HPET Number=0 ADDR=0xfed00000:0[8] (Memory) HW Rev=0xff Comparitors=31 Counter Size=1 Legacy IRQ routing capable={TRUE} PCI Vendor ID=0xffff Minimal Tick=14318 ~ */ /* ~ * Intel ACPI Component Architecture ~ * AML Disassembler version 20041119 ~ * ~ */ DefinitionBlock ("DSDT.aml", "DSDT", 1, "MSI_NB", "MEGABOOK", 52830215) { ~ Scope (_PR) ~ { ~ Processor (CPU1, 0x01, 0x00000810, 0x06) ~ { ~ OperationRegion (STBL, SystemMemory, 0x7F7CE0C0, 0x06CA) ~ Name (NCPU, 0x02) ~ Name (TYPE, 0x80000000) ~ Name (HNDL, 0x80000000) ~ Name (CFGD, 0x010061F1) ~ Name (TBLD, 0x80) ~ Method (_PDC, 1, NotSerialized) ~ { ~ CreateDWordField (Arg0, Zero, REVS) ~ CreateDWordField (Arg0, 0x04, SIZE) ~ Store (SizeOf (Arg0), Local0) ~ Store (Subtract (Local0, 0x08), Local1) ~ CreateField (Arg0, 0x40, Multiply (Local1, 0x08), TEMP) ~ Name (STS0, Buffer (0x04) ~ { ~ 0x00, 0x00, 0x00, 0x00 ~ }) ~ Concatenate (STS0, TEMP, Local2) ~ _OSC (Buffer (0x10) ~ { ~ 0x16, 0xA6, 0x77, 0x40, 0x0C, 0x29, 0xBE, 0x47, ~ 0x9E, 0xBD, 0xD8, 0x70, 0x58, 0x71, 0x39, 0x53 ~ }, REVS, SIZE, Local2) ~ } ~ Method (_OSC, 4, NotSerialized) ~ { ~ CreateDWordField (Arg3, Zero, STS0) ~ CreateDWordField (Arg3, 0x04, CAP0) ~ CreateDWordField (Arg0, Zero, IID0) ~ CreateDWordField (Arg0, 0x04, IID1) ~ CreateDWordField (Arg0, 0x08, IID2) ~ CreateDWordField (Arg0, 0x0C, IID3) ~ Name (UID0, Buffer (0x10) ~ { ~ 0x16, 0xA6, 0x77, 0x40, 0x0C, 0x29, 0xBE, 0x47, ~ 0x9E, 0xBD, 0xD8, 0x70, 0x58, 0x71, 0x39, 0x53 ~ }) ~ CreateDWordField (UID0, Zero, EID0) ~ CreateDWordField (UID0, 0x04, EID1) ~ CreateDWordField (UID0, 0x08, EID2) ~ CreateDWordField (UID0, 0x0C, EID3) ~ If (LNot (LAnd (LAnd (LEqual (IID0, EID0), LEqual (IID1, EID1)), LAnd (LEqual (IID2, EID2), LEqual (IID3, EID3))))) ~ { ~ Store (0x06, STS0) ~ Return (Arg3) ~ } ~ If (LNot (LEqual (Arg1, One))) ~ { ~ Store (0x0A, STS0) ~ Return (Arg3) ~ } ~ Or (And (TYPE, 0x7FFFFFFF), CAP0, TYPE) ~ If (And (CFGD, One)) ~ { ~ If (LAnd (LEqual (And (TYPE, 0x09), 0x09), LNot (And (TBLD, One)))) ~ { ~ Or (TBLD, One, TBLD) ~ Load (STBL, HNDL) ~ } ~ } ~ If (And (CFGD, 0xF0)) ~ { ~ If (LAnd (LAnd (And (CFGD, 0x01000000), And (TYPE, 0x18)), LNot (And (TBLD, 0x02)))) ~ { ~ Or (TBLD, 0x02, TBLD) ~ } ~ } ~ Return (Arg3) ~ } ~ } ~ } ~ Scope (_PR) ~ { ~ Processor (CPU2, 0x02, 0x00000810, 0x06) ~ { ~ OperationRegion (STBL, SystemMemory, 0x7F7CE790, 0x0120) ~ Name (NCPU, 0x02) ~ Name (TYPE, 0x80000000) ~ Name (HNDL, 0x80000000) ~ Name (CFGD, 0x010061F1) ~ Name (TBLD, 0x80) ~ Method (_PDC, 1, NotSerialized) ~ { ~ CreateDWordField (Arg0, Zero, REVS) ~ CreateDWordField (Arg0, 0x04, SIZE) ~ Store (SizeOf (Arg0), Local0) ~ Store (Subtract (Local0, 0x08), Local1) ~ CreateField (Arg0, 0x40, Multiply (Local1, 0x08), TEMP) ~ Name (STS0, Buffer (0x04) ~ { ~ 0x00, 0x00, 0x00, 0x00 ~ }) ~ Concatenate (STS0, TEMP, Local2) ~ _OSC (Buffer (0x10) ~ { ~ 0x16, 0xA6, 0x77, 0x40, 0x0C, 0x29, 0xBE, 0x47, ~ 0x9E, 0xBD, 0xD8, 0x70, 0x58, 0x71, 0x39, 0x53 ~ }, REVS, SIZE, Local2) ~ } ~ Method (_OSC, 4, NotSerialized) ~ { ~ CreateDWordField (Arg3, Zero, STS0) ~ CreateDWordField (Arg3, 0x04, CAP0) ~ CreateDWordField (Arg0, Zero, IID0) ~ CreateDWordField (Arg0, 0x04, IID1) ~ CreateDWordField (Arg0, 0x08, IID2) ~ CreateDWordField (Arg0, 0x0C, IID3) ~ Name (UID0, Buffer (0x10) ~ { ~ 0x16, 0xA6, 0x77, 0x40, 0x0C, 0x29, 0xBE, 0x47, ~ 0x9E, 0xBD, 0xD8, 0x70, 0x58, 0x71, 0x39, 0x53 ~ }) ~ CreateDWordField (UID0, Zero, EID0) ~ CreateDWordField (UID0, 0x04, EID1) ~ CreateDWordField (UID0, 0x08, EID2) ~ CreateDWordField (UID0, 0x0C, EID3) ~ If (LNot (LAnd (LAnd (LEqual (IID0, EID0), LEqual (IID1, EID1)), LAnd (LEqual (IID2, EID2), LEqual (IID3, EID3))))) ~ { ~ Store (0x06, STS0) ~ Return (Arg3) ~ } ~ If (LNot (LEqual (Arg1, One))) ~ { ~ Store (0x0A, STS0) ~ Return (Arg3) ~ } ~ Or (And (TYPE, 0x7FFFFFFF), CAP0, TYPE) ~ If (And (CFGD, One)) ~ { ~ If (LAnd (LAnd (And (CFGD, 0x01000000), LEqual (And (TYPE, 0x09), 0x09)), LNot (And (TBLD, One)))) ~ { ~ Or (TBLD, One, TBLD) ~ Load (STBL, HNDL) ~ } ~ } ~ If (And (CFGD, 0xF0)) ~ { ~ If (LAnd (LAnd (And (CFGD, 0x01000000), And (TYPE, 0x18)), LNot (And (TBLD, 0x02)))) ~ { ~ Or (TBLD, 0x02, TBLD) ~ } ~ } ~ Return (Arg3) ~ } ~ } ~ } ~ Name (DP80, 0x80) ~ Name (DP90, 0x90) ~ Name (APIC, One) ~ Name (PMBS, 0x0800) ~ Name (PMLN, 0x80) ~ Name (GPBS, 0x0480) ~ Name (GPLN, 0x40) ~ Name (SMBS, Zero) ~ Name (SMBL, Zero) ~ Name (PM30, 0x0830) ~ Name (SUSW, 0xFF) ~ Name (SMIR, 0xB2) ~ Name (TPBA, 0xFED40000) ~ Name (TPBL, Zero) ~ Name (SMIP, 0xB2) ~ Name (PCIB, 0xE0000000) ~ Name (PCIL, 0x04000000) ~ OperationRegion (BIOS, SystemMemory, 0x7F7CE064, 0xFF) ~ Field (BIOS, ByteAcc, NoLock, Preserve) ~ { ~ SS1, 1, ~ SS2, 1, ~ SS3, 1, ~ SS4, 1, ~ Offset (0x01), ~ IOST, 16, ~ TOPM, 32, ~ ROMS, 32, ~ MG1B, 32, ~ MG1L, 32, ~ MG2B, 32, ~ MG2L, 32, ~ SPEE, 8, ~ DMAX, 8, ~ HPTA, 32, ~ CPB0, 32, ~ CPB1, 32, ~ CPB2, 32, ~ CPB3, 32, ~ ASSB, 8, ~ AOTB, 8, ~ AAXB, 32, ~ DTSF, 8, ~ DTSE, 8, ~ DTS1, 8, ~ DTS2, 8, ~ MPEN, 8, ~ TPMF, 8, ~ MG3B, 32, ~ MG3L, 32, ~ MH1B, 32, ~ MH1L, 32 ~ } ~ Method (RRIO, 4, NotSerialized) ~ { ~ Store ("RRIO", Debug) ~ } ~ Method (RDMA, 3, NotSerialized) ~ { ~ Store ("rDMA", Debug) ~ } ~ Name (PICM, Zero) ~ Method (_PIC, 1, NotSerialized) ~ { ~ If (Arg0) ~ { ~ Store (0xAA, DBG8) ~ } ~ Else ~ { ~ Store (0xAC, DBG8) ~ } ~ Store (Arg0, PICM) ~ } ~ Name (OSVR, Ones) ~ Method (OSFL, 0, NotSerialized) ~ { ~ If (LNot (LEqual (OSVR, Ones))) ~ { ~ Return (OSVR) ~ } ~ If (LEqual (PICM, Zero)) ~ { ~ Store (0xAC, DBG8) ~ } ~ Store (One, OSVR) ~ If (CondRefOf (_OSI, Local1)) ~ { ~ If (_OSI ("Windows 2000")) ~ { ~ Store (0x04, OSVR) ~ } ~ If (_OSI ("Windows 2001")) ~ { ~ Store (Zero, OSVR) ~ } ~ If (_OSI ("Windows 2001 SP1")) ~ { ~ Store (Zero, OSVR) ~ } ~ If (_OSI ("Windows 2001 SP2")) ~ { ~ Store (Zero, OSVR) ~ } ~ If (_OSI ("Windows 2001.1")) ~ { ~ Store (Zero, OSVR) ~ } ~ If (_OSI ("Windows 2001.1 SP1")) ~ { ~ Store (Zero, OSVR) ~ } ~ If (_OSI ("Windows 2006")) ~ { ~ Store (Zero, OSVR) ~ } ~ } ~ Else ~ { ~ If (MCTH (_OS, "Microsoft Windows NT")) ~ { ~ Store (0x04, OSVR) ~ } ~ Else ~ { ~ If (MCTH (_OS, "Microsoft WindowsME: Millennium Edition")) ~ { ~ Store (0x02, OSVR) ~ } ~ If (MCTH (_OS, "Linux")) ~ { ~ Store (0x03, OSVR) ~ } ~ } ~ } ~ Return (OSVR) ~ } ~ Method (MCTH, 2, NotSerialized) ~ { ~ If (LLess (SizeOf (Arg0), SizeOf (Arg1))) ~ { ~ Return (Zero) ~ } ~ Add (SizeOf (Arg0), One, Local0) ~ Name (BUF0, Buffer (Local0) {}) ~ Name (BUF1, Buffer (Local0) {}) ~ Store (Arg0, BUF0) ~ Store (Arg1, BUF1) ~ While (Local0) ~ { ~ Decrement (Local0) ~ If (LNot (LEqual (DerefOf (Index (BUF0, Local0)), DerefOf (Index (BUF1, Local0))))) ~ { ~ Return (Zero) ~ } ~ } ~ Return (One) ~ } ~ Name (PRWP, Package (0x02) ~ { ~ Zero, ~ Zero ~ }) ~ Method (GPRW, 2, NotSerialized) ~ { ~ Store (Arg0, Index (PRWP, Zero)) ~ Store (ShiftLeft (SS1, One), Local0) ~ Or (Local0, ShiftLeft (SS2, 0x02), Local0) ~ Or (Local0, ShiftLeft (SS3, 0x03), Local0) ~ Or (Local0, ShiftLeft (SS4, 0x04), Local0) ~ If (And (ShiftLeft (One, Arg1), Local0)) ~ { ~ Store (Arg1, Index (PRWP, One)) ~ } ~ Else ~ { ~ ShiftRight (Local0, One, Local0) ~ If (LOr (LEqual (OSFL (), One), LEqual (OSFL (), 0x02))) ~ { ~ FindSetLeftBit (Local0, Index (PRWP, One)) ~ } ~ Else ~ { ~ FindSetRightBit (Local0, Index (PRWP, One)) ~ } ~ } ~ Return (PRWP) ~ } ~ Name (WAKP, Package (0x02) ~ { ~ Zero, ~ Zero ~ }) ~ OperationRegion (DEB0, SystemIO, DP80, One) ~ Field (DEB0, ByteAcc, NoLock, Preserve) ~ { ~ DBG8, 8 ~ } ~ OperationRegion (DEB1, SystemIO, DP90, 0x02) ~ Field (DEB1, WordAcc, NoLock, Preserve) ~ { ~ DBG9, 16 ~ } ~ Scope (_SB) ~ { ~ Name (PR00, Package (0x12) ~ { ~ Package (0x04) ~ { ~ 0x0001FFFF, ~ Zero, ~ LNKA, ~ Zero ~ }, ~ Package (0x04) ~ { ~ 0x0001FFFF, ~ One, ~ LNKB, ~ Zero ~ }, ~ Package (0x04) ~ { ~ 0x0001FFFF, ~ 0x02, ~ LNKC, ~ Zero ~ }, ~ Package (0x04) ~ { ~ 0x0001FFFF, ~ 0x03, ~ LNKD, ~ Zero ~ }, ~ Package (0x04) ~ { ~ 0x001FFFFF, ~ Zero, ~ LNKC, ~ Zero ~ }, ~ Package (0x04) ~ { ~ 0x001FFFFF, ~ One, ~ LNKD, ~ Zero ~ }, ~ Package (0x04) ~ { ~ 0x001DFFFF, ~ Zero, ~ LNKH, ~ Zero ~ }, ~ Package (0x04) ~ { ~ 0x001DFFFF, ~ One, ~ LNKD, ~ Zero ~ }, ~ Package (0x04) ~ { ~ 0x001DFFFF, ~ 0x02, ~ LNKC, ~ Zero ~ }, ~ Package (0x04) ~ { ~ 0x001DFFFF, ~ 0x03, ~ LNKA, ~ Zero ~ }, ~ Package (0x04) ~ { ~ 0x001EFFFF, ~ Zero, ~ LNKB, ~ Zero ~ }, ~ Package (0x04) ~ { ~ 0x001EFFFF, ~ One, ~ LNKE, ~ Zero ~ }, ~ Package (0x04) ~ { ~ 0x001BFFFF, ~ Zero, ~ LNKA, ~ Zero ~ }, ~ Package (0x04) ~ { ~ 0x001CFFFF, ~ Zero, ~ LNKA, ~ Zero ~ }, ~ Package (0x04) ~ { ~ 0x001CFFFF, ~ One, ~ LNKB, ~ Zero ~ }, ~ Package (0x04) ~ { ~ 0x001CFFFF, ~ 0x02, ~ LNKC, ~ Zero ~ }, ~ Package (0x04) ~ { ~ 0x001CFFFF, ~ 0x03, ~ LNKD, ~ Zero ~ }, ~ Package (0x04) ~ { ~ 0x0002FFFF, ~ Zero, ~ LNKA, ~ Zero ~ } ~ }) ~ Name (AR00, Package (0x12) ~ { ~ Package (0x04) ~ { ~ 0x0001FFFF, ~ Zero, ~ Zero, ~ 0x10 ~ }, ~ Package (0x04) ~ { ~ 0x0001FFFF, ~ One, ~ Zero, ~ 0x11 ~ }, ~ Package (0x04) ~ { ~ 0x0001FFFF, ~ 0x02, ~ Zero, ~ 0x12 ~ }, ~ Package (0x04) ~ { ~ 0x0001FFFF, ~ 0x03, ~ Zero, ~ 0x13 ~ }, ~ Package (0x04) ~ { ~ 0x001FFFFF, ~ Zero, ~ Zero, ~ 0x12 ~ }, ~ Package (0x04) ~ { ~ 0x001FFFFF, ~ One, ~ Zero, ~ 0x13 ~ }, ~ Package (0x04) ~ { ~ 0x001DFFFF, ~ Zero, ~ Zero, ~ 0x17 ~ }, ~ Package (0x04) ~ { ~ 0x001DFFFF, ~ One, ~ Zero, ~ 0x13 ~ }, ~ Package (0x04) ~ { ~ 0x001DFFFF, ~ 0x02, ~ Zero, ~ 0x12 ~ }, ~ Package (0x04) ~ { ~ 0x001DFFFF, ~ 0x03, ~ Zero, ~ 0x10 ~ }, ~ Package (0x04) ~ { ~ 0x001EFFFF, ~ Zero, ~ Zero, ~ 0x11 ~ }, ~ Package (0x04) ~ { ~ 0x001EFFFF, ~ One, ~ Zero, ~ 0x14 ~ }, ~ Package (0x04) ~ { ~ 0x001BFFFF, ~ Zero, ~ Zero, ~ 0x10 ~ }, ~ Package (0x04) ~ { ~ 0x001CFFFF, ~ Zero, ~ Zero, ~ 0x10 ~ }, ~ Package (0x04) ~ { ~ 0x001CFFFF, ~ One, ~ Zero, ~ 0x11 ~ }, ~ Package (0x04) ~ { ~ 0x001CFFFF, ~ 0x02, ~ Zero, ~ 0x12 ~ }, ~ Package (0x04) ~ { ~ 0x001CFFFF, ~ 0x03, ~ Zero, ~ 0x13 ~ }, ~ Package (0x04) ~ { ~ 0x0002FFFF, ~ Zero, ~ Zero, ~ 0x10 ~ } ~ }) ~ Name (PR04, Package (0x01) ~ { ~ Package (0x04) ~ { ~ 0x0004FFFF, ~ Zero, ~ LNKA, ~ Zero ~ } ~ }) ~ Name (AR04, Package (0x01) ~ { ~ Package (0x04) ~ { ~ 0x0004FFFF, ~ Zero, ~ Zero, ~ 0x10 ~ } ~ }) ~ Name (PR02, Package (0x04) ~ { ~ Package (0x04) ~ { ~ 0xFFFF, ~ Zero, ~ LNKB, ~ Zero ~ }, ~ Package (0x04) ~ { ~ 0xFFFF, ~ One, ~ LNKC, ~ Zero ~ }, ~ Package (0x04) ~ { ~ 0xFFFF, ~ 0x02, ~ LNKD, ~ Zero ~ }, ~ Package (0x04) ~ { ~ 0xFFFF, ~ 0x03, ~ LNKA, ~ Zero ~ } ~ }) ~ Name (AR02, Package (0x04) ~ { ~ Package (0x04) ~ { ~ 0xFFFF, ~ Zero, ~ Zero, ~ 0x11 ~ }, ~ Package (0x04) ~ { ~ 0xFFFF, ~ One, ~ Zero, ~ 0x12 ~ }, ~ Package (0x04) ~ { ~ 0xFFFF, ~ 0x02, ~ Zero, ~ 0x13 ~ }, ~ Package (0x04) ~ { ~ 0xFFFF, ~ 0x03, ~ Zero, ~ 0x10 ~ } ~ }) ~ Name (PR03, Package (0x04) ~ { ~ Package (0x04) ~ { ~ 0xFFFF, ~ Zero, ~ LNKC, ~ Zero ~ }, ~ Package (0x04) ~ { ~ 0xFFFF, ~ One, ~ LNKD, ~ Zero ~ }, ~ Package (0x04) ~ { ~ 0xFFFF, ~ 0x02, ~ LNKA, ~ Zero ~ }, ~ Package (0x04) ~ { ~ 0xFFFF, ~ 0x03, ~ LNKB, ~ Zero ~ } ~ }) ~ Name (AR03, Package (0x04) ~ { ~ Package (0x04) ~ { ~ 0xFFFF, ~ Zero, ~ Zero, ~ 0x12 ~ }, ~ Package (0x04) ~ { ~ 0xFFFF, ~ One, ~ Zero, ~ 0x13 ~ }, ~ Package (0x04) ~ { ~ 0xFFFF, ~ 0x02, ~ Zero, ~ 0x10 ~ }, ~ Package (0x04) ~ { ~ 0xFFFF, ~ 0x03, ~ Zero, ~ 0x11 ~ } ~ }) ~ Name (PR07, Package (0x04) ~ { ~ Package (0x04) ~ { ~ 0xFFFF, ~ Zero, ~ LNKD, ~ Zero ~ }, ~ Package (0x04) ~ { ~ 0xFFFF, ~ One, ~ LNKA, ~ Zero ~ }, ~ Package (0x04) ~ { ~ 0xFFFF, ~ 0x02, ~ LNKB, ~ Zero ~ }, ~ Package (0x04) ~ { ~ 0xFFFF, ~ 0x03, ~ LNKC, ~ Zero ~ } ~ }) ~ Name (AR07, Package (0x04) ~ { ~ Package (0x04) ~ { ~ 0xFFFF, ~ Zero, ~ Zero, ~ 0x13 ~ }, ~ Package (0x04) ~ { ~ 0xFFFF, ~ One, ~ Zero, ~ 0x10 ~ }, ~ Package (0x04) ~ { ~ 0xFFFF, ~ 0x02, ~ Zero, ~ 0x11 ~ }, ~ Package (0x04) ~ { ~ 0xFFFF, ~ 0x03, ~ Zero, ~ 0x12 ~ } ~ }) ~ Name (PR08, Package (0x04) ~ { ~ Package (0x04) ~ { ~ 0xFFFF, ~ Zero, ~ LNKA, ~ Zero ~ }, ~ Package (0x04) ~ { ~ 0xFFFF, ~ One, ~ LNKB, ~ Zero ~ }, ~ Package (0x04) ~ { ~ 0xFFFF, ~ 0x02, ~ LNKC, ~ Zero ~ }, ~ Package (0x04) ~ { ~ 0xFFFF, ~ 0x03, ~ LNKD, ~ Zero ~ } ~ }) ~ Name (AR08, Package (0x04) ~ { ~ Package (0x04) ~ { ~ 0xFFFF, ~ Zero, ~ Zero, ~ 0x10 ~ }, ~ Package (0x04) ~ { ~ 0xFFFF, ~ One, ~ Zero, ~ 0x11 ~ }, ~ Package (0x04) ~ { ~ 0xFFFF, ~ 0x02, ~ Zero, ~ 0x12 ~ }, ~ Package (0x04) ~ { ~ 0xFFFF, ~ 0x03, ~ Zero, ~ 0x13 ~ } ~ }) ~ Name (PR09, Package (0x04) ~ { ~ Package (0x04) ~ { ~ 0xFFFF, ~ Zero, ~ LNKB, ~ Zero ~ }, ~ Package (0x04) ~ { ~ 0xFFFF, ~ One, ~ LNKC, ~ Zero ~ }, ~ Package (0x04) ~ { ~ 0xFFFF, ~ 0x02, ~ LNKD, ~ Zero ~ }, ~ Package (0x04) ~ { ~ 0xFFFF, ~ 0x03, ~ LNKA, ~ Zero ~ } ~ }) ~ Name (AR09, Package (0x04) ~ { ~ Package (0x04) ~ { ~ 0xFFFF, ~ Zero, ~ Zero, ~ 0x11 ~ }, ~ Package (0x04) ~ { ~ 0xFFFF, ~ One, ~ Zero, ~ 0x12 ~ }, ~ Package (0x04) ~ { ~ 0xFFFF, ~ 0x02, ~ Zero, ~ 0x13 ~ }, ~ Package (0x04) ~ { ~ 0xFFFF, ~ 0x03, ~ Zero, ~ 0x10 ~ } ~ }) ~ Name (PRSA, ResourceTemplate () ~ { ~ IRQ (Level, ActiveLow, Shared) {3,4,5,6,7,10,11,12,14,15} ~ }) ~ Alias (PRSA, PRSB) ~ Alias (PRSA, PRSC) ~ Alias (PRSA, PRSD) ~ Alias (PRSA, PRSE) ~ Alias (PRSA, PRSF) ~ Alias (PRSA, PRSG) ~ Alias (PRSA, PRSH) ~ Device (PCI0) ~ { ~ Name (_HID, EisaId ("PNP0A08")) ~ Name (_ADR, Zero) ~ Method (^BN00, 0, NotSerialized) ~ { ~ Return (Zero) ~ } ~ Method (_BBN, 0, NotSerialized) ~ { ~ Return (BN00 ()) ~ } ~ Name (_UID, Zero) ~ Method (_PRT, 0, NotSerialized) ~ { ~ If (PICM) ~ { ~ Return (AR00) ~ } ~ Return (PR00) ~ } ~ Method (_S3D, 0, NotSerialized) ~ { ~ If (LOr (LEqual (OSFL (), One), LEqual (OSFL (), 0x02))) ~ { ~ Return (0x02) ~ } ~ Else ~ { ~ Return (0x03) ~ } ~ } ~ Name (_CID, 0x030AD041) ~ Device (MCH) ~ { ~ Name (_HID, EisaId ("PNP0C01")) ~ Name (_UID, 0x0A) ~ Name (_CRS, ResourceTemplate () ~ { ~ Memory32Fixed (ReadWrite, 0xFED13000, 0x00007000) ~ }) ~ } ~ Method (NPTS, 1, NotSerialized) ~ { ~ } ~ Method (NWAK, 1, NotSerialized) ~ { ~ } ~ Device (P0PC) ~ { ~ Name (_ADR, 0x00010000) ~ Method (_PRW, 0, NotSerialized) ~ { ~ Return (GPRW (0x09, 0x04)) ~ } ~ } ~ Device (P0P4) ~ { ~ Name (_ADR, 0x001E0000) ~ Method (_PRW, 0, NotSerialized) ~ { ~ Return (GPRW (0x0B, 0x04)) ~ } ~ Method (_PRT, 0, NotSerialized) ~ { ~ If (PICM) ~ { ~ Return (AR04) ~ } ~ Return (PR04) ~ } ~ Device (CBC0) ~ { ~ Name (_ADR, 0x00040000) ~ OperationRegion (CBR0, PCI_Config, Zero, 0xE4) ~ Field (CBR0, DWordAcc, NoLock, Preserve) ~ { ~ Offset (0x44), ~ C044, 32, ~ Offset (0x91), ~ C091, 8, ~ Offset (0xA4), ~ C0A4, 8, ~ C0A5, 8, ~ Offset (0xE0), ~ C0E0, 8, ~ C0E1, 8 ~ } ~ Method (_STA, 0, NotSerialized) ~ { ~ Return (0x0F) ~ } ~ Method (_S3D, 0, NotSerialized) ~ { ~ Return (0x03) ~ } ~ Method (_INI, 0, NotSerialized) ~ { ~ Or (C0A5, 0x81, C0A5) ~ And (C091, 0x7F, C091) ~ Store (Zero, C0A4) ~ } ~ Method (CEV0, 0, NotSerialized) ~ { ~ And (C0A5, 0x80, Local0) ~ Store (0xCB, DBG8) ~ If (Local0) ~ { ~ Notify (CBC0, 0x02) ~ Sleep (0x0BB8) ~ And (C0A5, 0xFE, Local1) ~ Store (Local1, C0A5) ~ Or (Local1, One, Local1) ~ Store (Local1, C0A5) ~ } ~ } ~ Method (_PRW, 0, NotSerialized) ~ { ~ Return (GPRW (0x0B, 0x03)) ~ } ~ } ~ Device (CBC2) ~ { ~ Name (_ADR, 0x00040002) ~ } ~ Device (CBC3) ~ { ~ Name (_ADR, 0x00040003) ~ } ~ Device (CBC4) ~ { ~ Name (_ADR, 0x00040004) ~ } ~ } ~ Device (SBRG) ~ { ~ Name (_ADR, 0x001F0000) ~ Device (IELK) ~ { ~ Name (_HID, "AWY0001") ~ OperationRegion (RXA0, PCI_Config, 0xA0, 0x20) ~ Field (RXA0, ByteAcc, NoLock, Preserve) ~ { ~ , 9, ~ PBLV, 1, ~ Offset (0x10), ~ , 1, ~ PBMS, 1, ~ , 1, ~ PMCS, 1, ~ ECNS, 1, ~ Offset (0x11), ~ ECT1, 16, ~ ELEN, 1, ~ Offset (0x14) ~ } ~ Method (\_GPE._L0A, 0, NotSerialized) ~ { ~ Notify (\_SB.PCI0.SBRG.IELK, 0x81) ~ Store (One, \_SB.PCI0.SBRG.IELK.PMCS) ~ } ~ Method (_STA, 0, NotSerialized) ~ { ~ If (ELEN) ~ { ~ Return (0x0F) ~ } ~ Else ~ { ~ Return (Zero) ~ } ~ } ~ Method (SMOD, 1, NotSerialized) ~ { ~ } ~ Method (GPBS, 0, NotSerialized) ~ { ~ Return (XOr (PBLV, One)) ~ } ~ } ~ Method (SPTS, 1, NotSerialized) ~ { ~ Store (One, PS1S) ~ Store (One, PS1E) ~ Store (One, SLPS) ~ } ~ Method (SWAK, 1, NotSerialized) ~ { ~ Store (Zero, SLPS) ~ Store (Zero, PS1E) ~ If (BRTC) {} ~ Else ~ { ~ Notify (PWRB, 0x02) ~ } ~ } ~ OperationRegion (APMP, SystemIO, SMIR, 0x02) ~ Field (APMP, ByteAcc, NoLock, Preserve) ~ { ~ APMC, 8, ~ APMS, 8 ~ } ~ Field (APMP, ByteAcc, NoLock, Preserve) ~ { ~ Offset (0x01), ~ , 1, ~ BRTC, 1 ~ } ~ OperationRegion (PMS0, SystemIO, PMBS, 0x04) ~ Field (PMS0, ByteAcc, NoLock, Preserve) ~ { ~ , 10, ~ RTCS, 1, ~ , 4, ~ WAKS, 1, ~ Offset (0x03), ~ PWBT, 1, ~ Offset (0x04) ~ } ~ OperationRegion (SMIE, SystemIO, PM30, 0x08) ~ Field (SMIE, ByteAcc, NoLock, Preserve) ~ { ~ , 4, ~ PS1E, 1, ~ , 31, ~ PS1S, 1, ~ Offset (0x08) ~ } ~ Scope (\_SB) ~ { ~ } ~ Device (PIC) ~ { ~ Name (_HID, EisaId ("PNP0000")) ~ Name (_CRS, ResourceTemplate () ~ { ~ IO (Decode16, 0x0020, 0x0020, 0x00, 0x02) ~ IO (Decode16, 0x00A0, 0x00A0, 0x00, 0x02) ~ IRQNoFlags () {2} ~ }) ~ } ~ Device (DMAD) ~ { ~ Name (_HID, EisaId ("PNP0200")) ~ Name (_CRS, ResourceTemplate () ~ { ~ DMA (Compatibility, BusMaster, Transfer8) {4} ~ IO (Decode16, 0x0000, 0x0000, 0x00, 0x10) ~ IO (Decode16, 0x0081, 0x0081, 0x00, 0x03) ~ IO (Decode16, 0x0087, 0x0087, 0x00, 0x01) ~ IO (Decode16, 0x0089, 0x0089, 0x00, 0x03) ~ IO (Decode16, 0x008F, 0x008F, 0x00, 0x01) ~ IO (Decode16, 0x00C0, 0x00C0, 0x00, 0x20) ~ }) ~ } ~ Device (TMR) ~ { ~ Name (_HID, EisaId ("PNP0100")) ~ Name (_CRS, ResourceTemplate () ~ { ~ IO (Decode16, 0x0040, 0x0040, 0x00, 0x04) ~ IRQNoFlags () {0} ~ }) ~ } ~ Device (RTC0) ~ { ~ Name (_HID, EisaId ("PNP0B00")) ~ Name (_CRS, ResourceTemplate () ~ { ~ IO (Decode16, 0x0070, 0x0070, 0x00, 0x02) ~ IRQNoFlags () {8} ~ }) ~ } ~ Device (PS2K) ~ { ~ Name (_HID, EisaId ("PNP0303")) ~ Name (_CID, 0x0B03D041) ~ Method (_STA, 0, NotSerialized) ~ { ~ ShiftLeft (One, 0x0A, Local0) ~ If (And (IOST, Local0)) ~ { ~ Return (0x0F) ~ } ~ Return (Zero) ~ } ~ Name (_CRS, ResourceTemplate () ~ { ~ IO (Decode16, 0x0060, 0x0060, 0x00, 0x01) ~ IO (Decode16, 0x0064, 0x0064, 0x00, 0x01) ~ IRQNoFlags () {1} ~ }) ~ } ~ Device (PS2M) ~ { ~ Name (_HID, EisaId ("PNP0F03")) ~ Name (_CID, 0x130FD041) ~ Method (_STA, 0, NotSerialized) ~ { ~ ShiftLeft (One, 0x0C, Local0) ~ If (And (IOST, Local0)) ~ { ~ Return (0x0F) ~ } ~ Return (Zero) ~ } ~ Name (_CRS, ResourceTemplate () ~ { ~ IRQNoFlags () {12} ~ }) ~ } ~ Device (SPKR) ~ { ~ Name (_HID, EisaId ("PNP0800")) ~ Name (_CRS, ResourceTemplate () ~ { ~ IO (Decode16, 0x0061, 0x0061, 0x00, 0x01) ~ }) ~ } ~ Device (COPR) ~ { ~ Name (_HID, EisaId ("PNP0C04")) ~ Name (_CRS, ResourceTemplate () ~ { ~ IO (Decode16, 0x00F0, 0x00F0, 0x00, 0x10) ~ IRQNoFlags () {13} ~ }) ~ } ~ Device (RMSC) ~ { ~ Name (_HID, EisaId ("PNP0C02")) ~ Name (_UID, 0x10) ~ Name (CRS, ResourceTemplate () ~ { ~ IO (Decode16, 0x0010, 0x0010, 0x00, 0x10) ~ IO (Decode16, 0x0022, 0x0022, 0x00, 0x1E) ~ IO (Decode16, 0x0044, 0x0044, 0x00, 0x1C) ~ IO (Decode16, 0x0063, 0x0063, 0x00, 0x01) ~ IO (Decode16, 0x0065, 0x0065, 0x00, 0x01) ~ IO (Decode16, 0x0067, 0x0067, 0x00, 0x09) ~ IO (Decode16, 0x0072, 0x0072, 0x00, 0x0E) ~ IO (Decode16, 0x0080, 0x0080, 0x00, 0x01) ~ IO (Decode16, 0x0084, 0x0084, 0x00, 0x03) ~ IO (Decode16, 0x0088, 0x0088, 0x00, 0x01) ~ IO (Decode16, 0x008C, 0x008C, 0x00, 0x03) ~ IO (Decode16, 0x0090, 0x0090, 0x00, 0x10) ~ IO (Decode16, 0x00A2, 0x00A2, 0x00, 0x1E) ~ IO (Decode16, 0x00E0, 0x00E0, 0x00, 0x10) ~ IO (Decode16, 0x04D0, 0x04D0, 0x00, 0x02) ~ IO (Decode16, 0x0000, 0x0000, 0x00, 0x00) ~ IO (Decode16, 0x0000, 0x0000, 0x00, 0x00) ~ IO (Decode16, 0x0000, 0x0000, 0x00, 0x00) ~ Memory32Fixed (ReadOnly, 0xFFF80000, 0x00080000) ~ Memory32Fixed (ReadOnly, 0xFFB80000, 0x0017D000) ~ Memory32Fixed (ReadWrite, 0xFED1C000, 0x00004000) ~ Memory32Fixed (ReadWrite, 0xFED20000, 0x00070000) ~ Memory32Fixed (ReadOnly, 0xFFF80000, 0x00080000) ~ }) ~ Method (_CRS, 0, NotSerialized) ~ { ~ CreateWordField (CRS, 0x7A, GP00) ~ CreateWordField (CRS, 0x7C, GP01) ~ CreateByteField (CRS, 0x7F, GP0L) ~ Store (PMBS, GP00) ~ Store (PMBS, GP01) ~ Store (PMLN, GP0L) ~ If (SMBS) ~ { ~ CreateWordField (CRS, 0x82, GP10) ~ CreateWordField (CRS, 0x84, GP11) ~ CreateByteField (CRS, 0x87, GP1L) ~ Store (SMBS, GP10) ~ Store (SMBS, GP11) ~ Store (SMBL, GP1L) ~ } ~ If (GPBS) ~ { ~ CreateWordField (CRS, 0x8A, GP20) ~ CreateWordField (CRS, 0x8C, GP21) ~ CreateByteField (CRS, 0x8F, GP2L) ~ Store (GPBS, GP20) ~ Store (GPBS, GP21) ~ Store (GPLN, GP2L) ~ } ~ Return (CRS) ~ } ~ } ~ Device (HPET) ~ { ~ Name (_HID, EisaId ("PNP0103")) ~ Name (CRS, ResourceTemplate () ~ { ~ Memory32Fixed (ReadOnly, 0xFED00000, 0x00000400) ~ }) ~ OperationRegion (^LPCR, SystemMemory, 0xFED1F404, 0x04) ~ Field (LPCR, AnyAcc, NoLock, Preserve) ~ { ~ HPTS, 2, ~ , 5, ~ HPTE, 1, ~ Offset (0x04) ~ } ~ Method (_STA, 0, NotSerialized) ~ { ~ If (LEqual (OSFL (), Zero)) ~ { ~ If (HPTE) ~ { ~ Return (0x0F) ~ } ~ } ~ Else ~ { ~ If (HPTE) ~ { ~ Return (0x0B) ~ } ~ } ~ Return (Zero) ~ } ~ Method (_CRS, 0, NotSerialized) ~ { ~ CreateDWordField (CRS, 0x04, HPT) ~ Multiply (HPTS, 0x1000, Local0) ~ Add (Local0, 0xFED00000, HPT) ~ Return (CRS) ~ } ~ } ~ OperationRegion (RX80, PCI_Config, Zero, 0xFF) ~ Field (RX80, ByteAcc, NoLock, Preserve) ~ { ~ Offset (0x80), ~ LPCD, 16, ~ LPCE, 16 ~ } ~ Name (DBPT, Package (0x04) ~ { ~ Package (0x08) ~ { ~ 0x03F8, ~ 0x02F8, ~ 0x0220, ~ 0x0228, ~ 0x0238, ~ 0x02E8, ~ 0x0338, ~ 0x03E8 ~ }, ~ Package (0x08) ~ { ~ 0x03F8, ~ 0x02F8, ~ 0x0220, ~ 0x0228, ~ 0x0238, ~ 0x02E8, ~ 0x0338, ~ 0x03E8 ~ }, ~ Package (0x03) ~ { ~ 0x0378, ~ 0x0278, ~ 0x03BC ~ }, ~ Package (0x02) ~ { ~ 0x03F0, ~ 0x0370 ~ } ~ }) ~ Name (DDLT, Package (0x04) ~ { ~ Package (0x02) ~ { ~ Zero, ~ 0xFFF8 ~ }, ~ Package (0x02) ~ { ~ 0x04, ~ 0xFF8F ~ }, ~ Package (0x02) ~ { ~ 0x08, ~ 0xFCFF ~ }, ~ Package (0x02) ~ { ~ 0x0C, ~ 0xEFFF ~ } ~ }) ~ Method (RRIO, 4, NotSerialized) ~ { ~ If (LAnd (LNot (LGreater (Arg0, 0x03)), LNot (LLess (Arg0, Zero)))) ~ { ~ Store (Match (DerefOf (Index (DBPT, Arg0)), MEQ, Arg2, MTR, Zero, Zero), Local0) ~ If (LNot (LEqual (Local0, Ones))) ~ { ~ Store (DerefOf (Index (DerefOf (Index (DDLT, Arg0)), Zero)), Local1) ~ Store (DerefOf (Index (DerefOf (Index (DDLT, Arg0)), One)), Local2) ~ ShiftLeft (Local0, Local1, Local0) ~ And (LPCD, Local2, LPCD) ~ Or (LPCD, Local0, LPCD) ~ WX82 (Arg0, Arg1) ~ } ~ } ~ If (LEqual (Arg0, 0x08)) ~ { ~ If (LEqual (Arg2, 0x0200)) ~ { ~ WX82 (0x08, Arg0) ~ } ~ Else ~ { ~ If (LEqual (Arg2, 0x0208)) ~ { ~ WX82 (0x09, Arg0) ~ } ~ } ~ } ~ If (LAnd (LNot (LGreater (Arg0, 0x0D)), LNot (LLess (Arg0, 0x0A)))) ~ { ~ WX82 (Arg0, Arg1) ~ } ~ } ~ Method (WX82, 2, NotSerialized) ~ { ~ ShiftLeft (One, Arg0, Local0) ~ If (Arg1) ~ { ~ Or (LPCE, Local0, LPCE) ~ } ~ Else ~ { ~ Not (Local0, Local0) ~ And (LPCE, Local0, LPCE) ~ } ~ } ~ Method (RDMA, 3, NotSerialized) ~ { ~ } ~ Scope (\) ~ { ~ Field (BIOS, ByteAcc, NoLock, Preserve) ~ { ~ Offset (0x22), ~ OSYS, 16, ~ SMIF, 8, ~ BLID, 8, ~ ACPR, 32, ~ CADL, 16, ~ PADL, 16, ~ IGDS, 8, ~ CSTE, 16, ~ NSTE, 16, ~ SSTE, 16, ~ CTID, 8 ~ } ~ } ~ Device (EC) ~ { ~ Name (_HID, EisaId ("PNP0C09")) ~ Name (_GPE, 0x19) ~ Name (MYEC, Zero) ~ Name (CTSD, Zero) ~ Name (\PPCL, Zero) ~ Method (_REG, 2, NotSerialized) ~ { ~ If (LEqual (Arg0, 0x03)) ~ { ~ Store (Arg1, MYEC) ~ } ~ Store (Zero, CTSD) ~ Store (Zero, PPCL) ~ } ~ Name (_CRS, ResourceTemplate () ~ { ~ IO (Decode16, 0x0062, 0x0062, 0x00, 0x01) ~ IO (Decode16, 0x0066, 0x0066, 0x00, 0x01) ~ }) ~ OperationRegion (EC, EmbeddedControl, Zero, 0xFF) ~ Field (EC, ByteAcc, NoLock, Preserve) ~ { ~ SMPR, 8, ~ SMST, 8, ~ SMAD, 8, ~ SMCM, 8, ~ SMD0, 264, ~ SMAA, 8, ~ Offset (0x30), ~ POWS, 1, ~ LIDS, 1, ~ KBCS, 1, ~ Offset (0x31), ~ MBTS, 1, ~ MBCS, 1, ~ MBDS, 1, ~ MBFS, 1, ~ MBWS, 1, ~ MBLS, 1, ~ MBCL, 1, ~ MBFL, 1, ~ Offset (0x38), ~ MDCL, 8, ~ MDCH, 8, ~ MDVL, 8, ~ MDVH, 8, ~ MCAL, 8, ~ MCAH, 8, ~ MSTL, 8, ~ MSTH, 8, ~ MCCL, 8, ~ MCCH, 8, ~ MPOL, 8, ~ MPOH, 8, ~ MFCL, 8, ~ MFCH, 8, ~ MCUL, 8, ~ MCUH, 8, ~ MRCL, 8, ~ MRCH, 8, ~ MVOL, 8, ~ MVOH, 8, ~ MTEL, 8, ~ MTEH, 8, ~ RSV1, 8, ~ RSV2, 8, ~ SDCL, 8, ~ SDCH, 8, ~ SDVL, 8, ~ SDVH, 8, ~ SCAL, 8, ~ SCAH, 8, ~ SSTL, 8, ~ SSTH, 8, ~ SCCL, 8, ~ SCCH, 8, ~ SPOL, 8, ~ SPOH, 8, ~ SFCL, 8, ~ SFCH, 8, ~ SCUL, 8, ~ SCUH, 8, ~ SRCL, 8, ~ SRCH, 8, ~ SVOL, 8, ~ SVOH, 8, ~ STEL, 8, ~ STEH, 8, ~ Offset (0x68), ~ CPUT, 8, ~ Offset (0x7E), ~ RES1, 3, ~ CHET, 1, ~ RES2, 4, ~ Offset (0x80), ~ SYST, 8 ~ } ~ OperationRegion (APMP, SystemIO, 0xB2, 0x02) ~ Field (APMP, ByteAcc, NoLock, Preserve) ~ { ~ APMC, 8, ~ APMS, 8 ~ } ~ Device (ADP1) ~ { ~ Name (_HID, "ACPI0003") ~ Name (BFLG, One) ~ Name (ACP, One) ~ Name (INIT, One) ~ Method (_PSR, 0, NotSerialized) ~ { ~ If (ACP) ~ { ~ Return (One) ~ } ~ Else ~ { ~ Return (Zero) ~ } ~ } ~ Method (_STA, 0, NotSerialized) ~ { ~ If (MYEC) ~ { ~ If (INIT) ~ { ~ Store (MBTS, Local0) ~ If (LEqual (Local0, One)) ~ { ~ Store (One, BFLG) ~ } ~ Else ~ { ~ Store (Zero, BFLG) ~ } ~ Store (POWS, Local0) ~ If (LEqual (Local0, One)) ~ { ~ Store (One, ACP) ~ } ~ Else ~ { ~ Store (Zero, ACP) ~ } ~ } ~ Store (Zero, INIT) ~ } ~ Return (0x0F) ~ } ~ Name (_PCL, Package (0x01) ~ { ~ _SB ~ }) ~ } ~ Name (BIF0, Package (0x0D) ~ { ~ One, ~ 0x1130, ~ 0x1130, ~ One, ~ 0x39D0, ~ Zero, ~ Zero, ~ One, ~ One, ~ "BAT1", ~ "1234", ~ "LION", ~ "MSI Corp." ~ }) ~ Name (STAT, Package (0x04) ~ { ~ 0x02, ~ 0x0500, ~ 0x0800, ~ 0x03E8 ~ }) ~ Device (BAT1) ~ { ~ Name (_HID, EisaId ("PNP0C0A")) ~ Name (_UID, One) ~ Name (_PCL, Package (0x01) ~ { ~ _SB ~ }) ~ Method (_STA, 0, NotSerialized) ~ { ~ If (^^ADP1.BFLG) ~ { ~ Return (0x1F) ~ } ~ Else ~ { ~ Return (0x0F) ~ } ~ } ~ Method (_BIF, 0, NotSerialized) ~ { ~ If (MYEC) ~ { ~ UPBI () ~ } ~ Else ~ { ~ IVBI () ~ Store (0x99, DBG8) ~ Sleep (0x03E8) ~ } ~ Return (BIF0) ~ } ~ Method (_BST, 0, NotSerialized) ~ { ~ If (MYEC) ~ { ~ UPBS () ~ } ~ Else ~ { ~ IVBS () ~ } ~ Return (STAT) ~ } ~ Method (IVBI, 0, NotSerialized) ~ { ~ Store (Ones, Index (BIF0, One)) ~ Store (Ones, Index (BIF0, 0x02)) ~ Store (Ones, Index (BIF0, 0x04)) ~ Store ("Wrong", Index (BIF0, 0x09)) ~ Store (" ", Index (BIF0, 0x0A)) ~ Store ("Wrong", Index (BIF0, 0x0B)) ~ Store ("Wrong", Index (BIF0, 0x0C)) ~ } ~ Method (IVBS, 0, NotSerialized) ~ { ~ Store (Zero, Index (STAT, Zero)) ~ Store (Ones, Index (STAT, One)) ~ Store (Ones, Index (STAT, 0x02)) ~ Store (0x2710, Index (STAT, 0x03)) ~ } ~ Method (UPBI, 0, NotSerialized) ~ { ~ Store (Zero, Local0) ~ Store (Zero, Local1) ~ Store (Zero, Local2) ~ Store (Zero, Local3) ~ Store (MDCH, Local0) ~ Store (MDCL, Local1) ~ ShiftLeft (Local0, 0x08, Local0) ~ Or (Local0, Local1, Local0) ~ Store (Local0, Index (BIF0, One)) ~ Store (MFCH, Local0) ~ Store (MFCL, Local1) ~ ShiftLeft (Local0, 0x08, Local0) ~ Or (Local0, Local1, Local1) ~ Store (Local1, Index (BIF0, 0x02)) ~ Store (MDVH, Local0) ~ Store (MDVL, Local2) ~ ShiftLeft (Local0, 0x08, Local0) ~ Or (Local0, Local2, Local2) ~ Store (Local2, Index (BIF0, 0x04)) ~ If (LEqual (CTID, One)) ~ { ~ Store (CTID, DBG8) ~ Sleep (0x0BB8) ~ Store (" LG ", Index (BIF0, 0x0C)) ~ } ~ } ~ Method (UPBS, 0, NotSerialized) ~ { ~ Store (Zero, Local0) ~ Store (Zero, Local1) ~ Store (Zero, Local2) ~ Store (Zero, Local3) ~ Store (Zero, Local4) ~ Store (Zero, Local7) ~ Store (MBTS, Local0) ~ If (LEqual (Local0, One)) ~ { ~ Store (POWS, Local0) ~ If (LEqual (Local0, One)) ~ { ~ Store (MBCS, Local1) ~ If (LEqual (Local1, One)) ~ { ~ Or (Local4, 0x02, Local4) ~ } ~ } ~ Else ~ { ~ Or (Local4, One, Local4) ~ Store (MBLS, Local0) ~ If (LEqual (Local0, One)) ~ { ~ Or (Local4, 0x04, Local4) ~ } ~ } ~ Store (POWS, Local0) ~ If (LEqual (Local0, One)) ~ { ~ Store (MBCS, Local0) ~ If (LEqual (Local0, One)) ~ { ~ Store (MCUH, Local0) ~ Store (MCUL, Local1) ~ ShiftLeft (Local0, 0x08, Local0) ~ Or (Local0, Local1, Local1) ~ If (LEqual (Local1, 0xFFFF)) ~ { ~ Store (Ones, Local1) ~ } ~ Store (Local1, Index (STAT, One)) ~ } ~ Else ~ { ~ Store (Zero, Index (STAT, One)) ~ } ~ } ~ Else ~ { ~ Store (MCUH, Local0) ~ Store (MCUL, Local1) ~ ShiftLeft (Local0, 0x08, Local0) ~ Or (Local0, Local1, Local1) ~ XOr (Local1, 0xFFFF, Local1) ~ If (LEqual (Local1, Zero)) ~ { ~ Store (Ones, Local1) ~ } ~ Store (Local1, Index (STAT, One)) ~ } ~ Store (MRCH, Local0) ~ Store (MRCL, Local2) ~ ShiftLeft (Local0, 0x08, Local0) ~ Or (Local0, Local2, Local2) ~ Store (Local2, Index (STAT, 0x02)) ~ Store (MVOH, Local0) ~ Store (MVOL, Local3) ~ ShiftLeft (Local0, 0x08, Local0) ~ Or (Local0, Local3, Local3) ~ Store (Local3, Index (STAT, 0x03)) ~ Store (Local4, Index (STAT, Zero)) ~ Sleep (0x64) ~ } ~ Else ~ { ~ IVBS () ~ } ~ } ~ } ~ Method (_Q80, 0, NotSerialized) ~ { ~ Store (0x80, DBG8) ~ } ~ Method (_Q81, 0, NotSerialized) ~ { ~ If (LEqual (SPEE, Zero)) ~ { ~ Store (0x68, DBG8) ~ Store (0x68, APMC) ~ } ~ Else ~ { ~ Store (0x81, DBG8) ~ Or (One, PPCL, PPCL) ~ Notify (\_PR.CPU1, 0x80) ~ Notify (\_PR.CPU2, 0x80) ~ } ~ Store (One, CHET) ~ } ~ Method (_Q82, 0, NotSerialized) ~ { ~ If (LEqual (SPEE, Zero)) ~ { ~ Store (0x69, DBG8) ~ Store (0x69, APMC) ~ } ~ Else ~ { ~ Store (0x82, DBG8) ~ And (0xFE, PPCL, PPCL) ~ Notify (\_PR.CPU1, 0x80) ~ Notify (\_PR.CPU2, 0x80) ~ } ~ Store (One, CHET) ~ } ~ Method (_Q83, 0, NotSerialized) ~ { ~ Store (0x83, DBG8) ~ Store (Zero, Local0) ~ Store (POWS, Local0) ~ If (LEqual (Local0, One)) ~ { ~ Store (One, ^ADP1.ACP) ~ } ~ Else ~ { ~ Store (Zero, ^ADP1.ACP) ~ } ~ Notify (ADP1, 0x80) ~ } ~ Method (_Q84, 0, NotSerialized) ~ { ~ Store (0x84, DBG8) ~ Notify (LID0, 0x80) ~ } ~ Method (_Q85, 0, NotSerialized) ~ { ~ Store (0x85, DBG8) ~ Store (One, CTSD) ~ Notify (\_TZ.THRM, 0x80) ~ } ~ Method (_Q86, 0, NotSerialized) ~ { ~ Store (0x86, DBG8) ~ } ~ Method (_Q87, 0, NotSerialized) ~ { ~ Store (0x87, DBG8) ~ Store (Zero, Local0) ~ Store (MBTS, Local0) ~ If (LEqual (Local0, One)) ~ { ~ Store (One, ^ADP1.BFLG) ~ Notify (BAT1, 0x80) ~ } ~ Else ~ { ~ Store (Zero, ^ADP1.BFLG) ~ Notify (ADP1, 0x80) ~ Sleep (0x19) ~ Notify (BAT1, 0x81) ~ } ~ Notify (ADP1, 0x80) ~ } ~ Method (_Q88, 0, NotSerialized) ~ { ~ Store (0x88, DBG8) ~ } ~ Method (_Q89, 0, NotSerialized) ~ { ~ Store (0x89, DBG8) ~ } ~ Method (_Q8A, 0, NotSerialized) ~ { ~ Store (0x8A, DBG8) ~ Store (One, CTSD) ~ Notify (\_TZ.THRM, 0x80) ~ } ~ Method (_Q8B, 0, NotSerialized) ~ { ~ Store (0x8B, DBG8) ~ } ~ Method (_Q8C, 0, NotSerialized) ~ { ~ Store (0x8C, DBG8) ~ } ~ Method (_Q90, 0, NotSerialized) ~ { ~ Store (0x90, DBG8) ~ } ~ Method (_QB4, 0, NotSerialized) ~ { ~ Store (0xB4, DBG8) ~ If (LEqual (DSEN, Zero)) ~ { ~ Store (0x10, SMIF) ~ Store (0x70, APMC) ~ If (LEqual (SMIF, Zero)) ~ { ~ Store (CADL, PADL) ~ If (LEqual (OSFL (), Zero)) ~ { ~ Notify (PCI0, Zero) ~ } ~ Else ~ { ~ Notify (IGFX, Zero) ~ } ~ Sleep (0x02EE) ~ Notify (IGFX, 0x80) ~ } ~ } ~ If (LEqual (DSEN, One)) ~ { ~ Store (0x11, SMIF) ~ Store (0x70, APMC) ~ If (LEqual (SMIF, Zero)) ~ { ~ Notify (IGFX, 0x81) ~ } ~ } ~ } ~ Method (_QB5, 0, NotSerialized) ~ { ~ Store (0xB5, DBG8) ~ } ~ Method (_QB6, 0, NotSerialized) ~ { ~ Store (0xB6, DBG8) ~ } ~ Method (_QB7, 0, NotSerialized) ~ { ~ Store (0xB7, DBG8) ~ } ~ Method (_QB8, 0, NotSerialized) ~ { ~ Store (0xB8, DBG8) ~ } ~ Method (_QB9, 0, NotSerialized) ~ { ~ Store (0xB9, DBG8) ~ } ~ Scope (\_SB) ~ { ~ Name (SLPS, Zero) ~ Device (SLPB) ~ { ~ Name (_HID, EisaId ("PNP0C0E")) ~ } ~ Device (LID0) ~ { ~ Name (_HID, EisaId ("PNP0C0D")) ~ Method (_LID, 0, NotSerialized) ~ { ~ If (^^PCI0.SBRG.EC.MYEC) ~ { ~ Store (^^PCI0.SBRG.EC.LIDS, Local0) ~ } ~ Else ~ { ~ Store (One, Local0) ~ } ~ Return (Local0) ~ } ~ } ~ } ~ Scope (\_GPE) ~ { ~ Method (_L01, 0, NotSerialized) ~ { ~ Sleep (0xC8) ~ Store (One, \_SB.PCI0.WAWA.PDC1) ~ Store (One, \_SB.PCI0.WAWA.HPCS) ~ } ~ } ~ Scope (^^^PCI0) ~ { ~ Device (WAWA) ~ { ~ Name (_ADR, 0x001C0000) ~ OperationRegion (P1CS, PCI_Config, 0x40, 0x0100) ~ Field (P1CS, AnyAcc, NoLock, WriteAsZeros) ~ { ~ Offset (0x1A), ~ ABP1, 1, ~ , 2, ~ PDC1, 1, ~ , 2, ~ PDS1, 1, ~ Offset (0x20), ~ Offset (0x22), ~ PSP1, 1, ~ Offset (0x9C), ~ , 30, ~ HPCS, 1, ~ PMCS, 1 ~ } ~ Device (PECA) ~ { ~ Name (_ADR, Zero) ~ Method (_RMV, 0, NotSerialized) ~ { ~ Return (One) ~ } ~ } ~ } ~ } ~ } ~ Scope (^^PCI0) ~ { ~ Device (IGFX) ~ { ~ Name (\DSEN, One) ~ Name (_ADR, 0x00020000) ~ OperationRegion (APMP, SystemIO, 0xB2, 0x02) ~ Field (APMP, ByteAcc, NoLock, Preserve) ~ { ~ APMC, 8, ~ APMS, 8 ~ } ~ Method (_DOS, 1, NotSerialized) ~ { ~ Store (And (Arg0, 0x03), DSEN) ~ } ~ Method (_DOD, 0, NotSerialized) ~ { ~ Return (Package (0x03) ~ { ~ 0x00010100, ~ 0x00010240, ~ 0x00010410 ~ }) ~ } ~ Device (CRT) ~ { ~ Name (_ADR, 0x0100) ~ Method (_DCS, 0, NotSerialized) ~ { ~ Store (One, SMIF) ~ Store (0x68, APMC) ~ If (And (CSTE, 0x0101)) ~ { ~ Return (0x1F) ~ } ~ Return (0x1D) ~ } ~ Method (_DGS, 0, NotSerialized) ~ { ~ If (And (NSTE, 0x0101)) ~ { ~ Return (One) ~ } ~ Return (Zero) ~ } ~ Method (_DSS, 1, NotSerialized) ~ { ~ If (LEqual (And (Arg0, 0xC0000000), 0xC0000000)) ~ { ~ Store (NSTE, CSTE) ~ } ~ } ~ } ~ Device (DTV1) ~ { ~ Name (_ADR, 0x0240) ~ Method (_DCS, 0, NotSerialized) ~ { ~ Store (One, SMIF) ~ Store (0x68, APMC) ~ If (And (CSTE, 0x0202)) ~ { ~ Return (0x1F) ~ } ~ Return (0x1D) ~ } ~ Method (_DGS, 0, NotSerialized) ~ { ~ If (And (NSTE, 0x0202)) ~ { ~ Return (One) ~ } ~ Return (Zero) ~ } ~ Method (_DSS, 1, NotSerialized) ~ { ~ If (LEqual (And (Arg0, 0xC0000000), 0xC0000000)) ~ { ~ Store (NSTE, CSTE) ~ } ~ } ~ } ~ Device (LCD) ~ { ~ Name (_ADR, 0x0410) ~ Method (_DCS, 0, NotSerialized) ~ { ~ Store (One, SMIF) ~ Store (0x68, APMC) ~ If (And (CSTE, 0x0808)) ~ { ~ Return (0x1F) ~ } ~ Return (0x1D) ~ } ~ Method (_DGS, 0, NotSerialized) ~ { ~ If (And (NSTE, 0x0808)) ~ { ~ Return (One) ~ } ~ Return (Zero) ~ } ~ Method (_DSS, 1, NotSerialized) ~ { ~ If (LEqual (And (Arg0, 0xC0000000), 0xC0000000)) ~ { ~ Store (NSTE, CSTE) ~ } ~ } ~ } ~ } ~ } ~ Device (^PCIE) ~ { ~ Name (_HID, EisaId ("PNP0C02")) ~ Name (_UID, 0x11) ~ Name (CRS, ResourceTemplate () ~ { ~ Memory32Fixed (ReadOnly, 0xE0000000, 0x10000000) ~ }) ~ Method (_CRS, 0, NotSerialized) ~ { ~ CreateDWordField (CRS, 0x04, BAS1) ~ CreateDWordField (CRS, 0x08, LEN1) ~ Store (PCIB, BAS1) ~ Store (PCIL, LEN1) ~ Return (CRS) ~ } ~ } ~ Scope (\_TZ) ~ { ~ ThermalZone (THRM) ~ { ~ Method (KLV, 1, NotSerialized) ~ { ~ Add (Arg0, 0x0111, Local0) ~ Multiply (Local0, 0x0A, Local0) ~ Return (Local0) ~ } ~ Method (_TMP, 0, NotSerialized) ~ { ~ If (\_SB.PCI0.SBRG.EC.MYEC) ~ { ~ If (\_SB.PCI0.SBRG.EC.CTSD) ~ { ~ Store (Zero, \_SB.PCI0.SBRG.EC.CTSD) ~ Return (KLV (0x6E)) ~ } ~ Else ~ { ~ Store (\_SB.PCI0.SBRG.EC.CPUT, Local0) ~ Store (Local0, DBG8) ~ Return (KLV (Local0)) ~ } ~ } ~ Else ~ { ~ Return (KLV (0x1E)) ~ } ~ } ~ Method (_CRT, 0, NotSerialized) ~ { ~ Return (KLV (0x64)) ~ } ~ Name (_TC1, 0x00) ~ Name (_TC2, 0x0C) ~ Name (_TSP, 0x28) ~ } ~ } ~ Device (OMSC) ~ { ~ Name (_HID, EisaId ("PNP0C02")) ~ Name (_UID, Zero) ~ Name (CRS, ResourceTemplate () ~ { ~ Memory32Fixed (ReadOnly, 0x00000000, 0x00000000) ~ Memory32Fixed (ReadOnly, 0x00000000, 0x00000000) ~ }) ~ Method (_CRS, 0, NotSerialized) ~ { ~ If (APIC) ~ { ~ CreateDWordField (CRS, 0x08, ML01) ~ CreateDWordField (CRS, 0x04, MB01) ~ CreateDWordField (CRS, 0x14, ML02) ~ CreateDWordField (CRS, 0x10, MB02) ~ Store (0xFEC00000, MB01) ~ Store (0x1000, ML01) ~ Store (0xFEE00000, MB02) ~ Store (0x1000, ML02) ~ } ~ Return (CRS) ~ } ~ } ~ Device (^^RMEM) ~ { ~ Name (_HID, EisaId ("PNP0C01")) ~ Name (_UID, One) ~ Name (CRS, ResourceTemplate () ~ { ~ Memory32Fixed (ReadWrite, 0x00000000, 0x000A0000) ~ Memory32Fixed (ReadOnly, 0x00000000, 0x00000000) ~ Memory32Fixed (ReadOnly, 0x000E0000, 0x00020000) ~ Memory32Fixed (ReadWrite, 0x00100000, 0x00000000) ~ Memory32Fixed (ReadOnly, 0x00000000, 0x00000000) ~ }) ~ Method (_CRS, 0, NotSerialized) ~ { ~ CreateDWordField (CRS, 0x10, BAS1) ~ CreateDWordField (CRS, 0x14, LEN1) ~ CreateDWordField (CRS, 0x1C, BAS2) ~ CreateDWordField (CRS, 0x20, LEN2) ~ CreateDWordField (CRS, 0x2C, LEN3) ~ CreateDWordField (CRS, 0x34, BAS4) ~ CreateDWordField (CRS, 0x38, LEN4) ~ If (OSFL ()) {} ~ Else ~ { ~ If (MG1B) ~ { ~ If (LGreater (MG1B, 0x000C0000)) ~ { ~ Store (0x000C0000, BAS1) ~ Subtract (MG1B, BAS1, LEN1) ~ } ~ } ~ Else ~ { ~ Store (0x000C0000, BAS1) ~ Store (0x00020000, LEN1) ~ } ~ If (Add (MG1B, MG1L, Local0)) ~ { ~ Store (Local0, BAS2) ~ Subtract (0x00100000, BAS2, LEN2) ~ } ~ } ~ Subtract (MG2B, 0x00100000, LEN3) ~ Store (MH1B, BAS4) ~ Subtract (Zero, BAS4, LEN4) ~ Return (CRS) ~ } ~ } ~ } ~ Device (IDE0) ~ { ~ Name (_ADR, 0x001F0002) ~ Name (^NATA, Package (0x01) ~ { ~ 0x001F0002 ~ }) ~ Name (REGF, One) ~ Method (_REG, 2, NotSerialized) ~ { ~ If (LEqual (Arg0, 0x02)) ~ { ~ Store (Arg1, REGF) ~ } ~ } ~ Name (TIM0, Package (0x08) ~ { ~ Package (0x04) ~ { ~ 0x78, ~ 0xB4, ~ 0xF0, ~ 0x0384 ~ }, ~ Package (0x04) ~ { ~ 0x23, ~ 0x21, ~ 0x10, ~ Zero ~ }, ~ Package (0x04) ~ { ~ 0x0B, ~ 0x09, ~ 0x04, ~ Zero ~ }, ~ Package (0x06) ~ { ~ 0x70, ~ 0x49, ~ 0x36, ~ 0x27, ~ 0x19, ~ 0x0F ~ }, ~ Package (0x06) ~ { ~ Zero, ~ One, ~ 0x02, ~ One, ~ 0x02, ~ One ~ }, ~ Package (0x06) ~ { ~ Zero, ~ Zero, ~ Zero, ~ One, ~ One, ~ One ~ }, ~ Package (0x04) ~ { ~ 0x04, ~ 0x03, ~ 0x02, ~ Zero ~ }, ~ Package (0x04) ~ { ~ 0x02, ~ One, ~ Zero, ~ Zero ~ } ~ }) ~ Name (TMD0, Buffer (0x14) {}) ~ CreateDWordField (TMD0, Zero, PIO0) ~ CreateDWordField (TMD0, 0x04, DMA0) ~ CreateDWordField (TMD0, 0x08, PIO1) ~ CreateDWordField (TMD0, 0x0C, DMA1) ~ CreateDWordField (TMD0, 0x10, CHNF) ~ OperationRegion (CFG2, PCI_Config, 0x40, 0x20) ~ Field (CFG2, DWordAcc, NoLock, Preserve) ~ { ~ PMPT, 4, ~ PSPT, 4, ~ PMRI, 6, ~ Offset (0x02), ~ SMPT, 4, ~ SSPT, 4, ~ SMRI, 6, ~ Offset (0x04), ~ PSRI, 4, ~ SSRI, 4, ~ Offset (0x08), ~ PM3E, 1, ~ PS3E, 1, ~ SM3E, 1, ~ SS3E, 1, ~ Offset (0x0A), ~ PMUT, 2, ~ , 2, ~ PSUT, 2, ~ Offset (0x0B), ~ SMUT, 2, ~ , 2, ~ SSUT, 2, ~ Offset (0x0C), ~ Offset (0x14), ~ PM6E, 1, ~ PS6E, 1, ~ SM6E, 1, ~ SS6E, 1, ~ PMCR, 1, ~ PSCR, 1, ~ SMCR, 1, ~ SSCR, 1, ~ , 4, ~ PMAE, 1, ~ PSAE, 1, ~ SMAE, 1, ~ SSAE, 1 ~ } ~ Name (GMPT, Zero) ~ Name (GMUE, Zero) ~ Name (GMUT, Zero) ~ Name (GMCR, Zero) ~ Name (GSPT, Zero) ~ Name (GSUE, Zero) ~ Name (GSUT, Zero) ~ Name (GSCR, Zero) ~ Device (CHN0) ~ { ~ Name (_ADR, Zero) ~ Method (_GTM, 0, NotSerialized) ~ { ~ ShiftLeft (PSCR, One, Local1) ~ Or (PMCR, Local1, Local0) ~ ShiftLeft (PMAE, 0x02, Local3) ~ ShiftLeft (PM6E, One, Local4) ~ Or (Local3, Local4, Local3) ~ Or (PM3E, Local3, Local1) ~ ShiftLeft (PMPT, 0x04, Local3) ~ Or (Local1, Local3, Local1) ~ ShiftLeft (PSAE, 0x02, Local3) ~ ShiftLeft (PS6E, One, Local4) ~ Or (Local3, Local4, Local3) ~ Or (PS3E, Local3, Local2) ~ ShiftLeft (PSPT, 0x04, Local3) ~ Or (Local2, Local3, Local2) ~ Return (GTM (PMRI, Local1, PMUT, PSRI, Local2, PSUT, Local0)) ~ } ~ Method (_STM, 3, NotSerialized) ~ { ~ Store (Arg0, Debug) ~ Store (Arg0, TMD0) ~ ShiftLeft (PMAE, 0x02, Local3) ~ ShiftLeft (PM6E, One, Local4) ~ Or (Local3, Local4, Local3) ~ Or (PM3E, Local3, Local0) ~ ShiftLeft (PMPT, 0x04, Local3) ~ Or (Local0, Local3, Local0) ~ ShiftLeft (PSAE, 0x02, Local3) ~ ShiftLeft (PS6E, One, Local4) ~ Or (Local3, Local4, Local3) ~ Or (PS3E, Local3, Local1) ~ ShiftLeft (PSPT, 0x04, Local3) ~ Or (Local1, Local3, Local1) ~ Store (PMRI, GMPT) ~ Store (Local0, GMUE) ~ Store (PMUT, GMUT) ~ Store (PMCR, GMCR) ~ Store (PSRI, GSPT) ~ Store (Local1, GSUE) ~ Store (PSUT, GSUT) ~ Store (PSCR, GSCR) ~ STM () ~ Store (GMPT, PMRI) ~ Store (GMUE, Local0) ~ Store (GMUT, PMUT) ~ Store (GMCR, PMCR) ~ Store (GSUE, Local1) ~ Store (GSUT, PSUT) ~ Store (GSCR, PSCR) ~ If (And (Local0, One)) ~ { ~ Store (One, PM3E) ~ } ~ Else ~ { ~ Store (Zero, PM3E) ~ } ~ If (And (Local0, 0x02)) ~ { ~ Store (One, PM6E) ~ } ~ Else ~ { ~ Store (Zero, PM6E) ~ } ~ If (And (Local0, 0x04)) ~ { ~ Store (One, PMAE) ~ } ~ Else ~ { ~ Store (Zero, PMAE) ~ } ~ If (And (Local1, One)) ~ { ~ Store (One, PS3E) ~ } ~ Else ~ { ~ Store (Zero, PS3E) ~ } ~ If (And (Local1, 0x02)) ~ { ~ Store (One, PS6E) ~ } ~ Else ~ { ~ Store (Zero, PS6E) ~ } ~ If (And (Local1, 0x04)) ~ { ~ Store (One, PSAE) ~ } ~ Else ~ { ~ Store (Zero, PSAE) ~ } ~ Store (GTF (Zero, Arg1), ATA0) ~ Store (GTF (One, Arg2), ATA1) ~ } ~ Device (DRV0) ~ { ~ Name (_ADR, Zero) ~ Method (_GTF, 0, NotSerialized) ~ { ~ Return (RATA (ATA0)) ~ } ~ } ~ Device (DRV1) ~ { ~ Name (_ADR, One) ~ Method (_GTF, 0, NotSerialized) ~ { ~ Return (RATA (ATA1)) ~ } ~ } ~ } ~ Device (CHN1) ~ { ~ Name (_ADR, One) ~ Method (_GTM, 0, NotSerialized) ~ { ~ ShiftLeft (SSCR, One, Local1) ~ Or (SMCR, Local1, Local0) ~ ShiftLeft (SMAE, 0x02, Local3) ~ ShiftLeft (SM6E, One, Local4) ~ Or (Local3, Local4, Local3) ~ Or (SM3E, Local3, Local1) ~ ShiftLeft (SMPT, 0x04, Local3) ~ Or (Local1, Local3, Local1) ~ ShiftLeft (SSAE, 0x02, Local3) ~ ShiftLeft (SS6E, One, Local4) ~ Or (Local3, Local4, Local3) ~ Or (SS3E, Local3, Local2) ~ ShiftLeft (SSPT, 0x04, Local3) ~ Or (Local2, Local3, Local2) ~ Return (GTM (SMRI, Local1, SMUT, SSRI, Local2, SSUT, Local0)) ~ } ~ Method (_STM, 3, NotSerialized) ~ { ~ Store (Arg0, Debug) ~ Store (Arg0, TMD0) ~ ShiftLeft (SMAE, 0x02, Local3) ~ ShiftLeft (SM6E, One, Local4) ~ Or (Local3, Local4, Local3) ~ Or (SM3E, Local3, Local0) ~ ShiftLeft (SMPT, 0x04, Local3) ~ Or (Local0, Local3, Local0) ~ ShiftLeft (SSAE, 0x02, Local3) ~ ShiftLeft (SS6E, One, Local4) ~ Or (Local3, Local4, Local3) ~ Or (SS3E, Local3, Local1) ~ ShiftLeft (SSPT, 0x04, Local3) ~ Or (Local1, Local3, Local1) ~ Store (SMRI, GMPT) ~ Store (Local0, GMUE) ~ Store (SMUT, GMUT) ~ Store (SMCR, GMCR) ~ Store (SSRI, GSPT) ~ Store (Local1, GSUE) ~ Store (SSUT, GSUT) ~ Store (SSCR, GSCR) ~ STM () ~ Store (GMPT, SMRI) ~ Store (GMUE, Local0) ~ Store (GMUT, SMUT) ~ Store (GMCR, SMCR) ~ Store (GSUE, Local1) ~ Store (GSUT, SSUT) ~ Store (GSCR, SSCR) ~ If (And (Local0, One)) ~ { ~ Store (One, SM3E) ~ } ~ Else ~ { ~ Store (Zero, SM3E) ~ } ~ If (And (Local0, 0x02)) ~ { ~ Store (One, SM6E) ~ } ~ Else ~ { ~ Store (Zero, SM6E) ~ } ~ If (And (Local0, 0x04)) ~ { ~ Store (One, SMAE) ~ } ~ Else ~ { ~ Store (Zero, SMAE) ~ } ~ If (And (Local1, One)) ~ { ~ Store (One, SS3E) ~ } ~ Else ~ { ~ Store (Zero, SS3E) ~ } ~ If (And (Local1, 0x02)) ~ { ~ Store (One, SS6E) ~ } ~ Else ~ { ~ Store (Zero, SS6E) ~ } ~ If (And (Local1, 0x04)) ~ { ~ Store (One, SSAE) ~ } ~ Else ~ { ~ Store (Zero, SSAE) ~ } ~ Store (GTF (Zero, Arg1), ATA2) ~ Store (GTF (One, Arg2), ATA3) ~ } ~ Device (DRV0) ~ { ~ Name (_ADR, Zero) ~ Method (_GTF, 0, NotSerialized) ~ { ~ Return (RATA (ATA2)) ~ } ~ } ~ Device (DRV1) ~ { ~ Name (_ADR, One) ~ Method (_GTF, 0, NotSerialized) ~ { ~ Return (RATA (ATA3)) ~ } ~ } ~ } ~ Method (GTM, 7, Serialized) ~ { ~ Store (Ones, PIO0) ~ Store (Ones, PIO1) ~ Store (Ones, DMA0) ~ Store (Ones, DMA1) ~ Store (0x10, CHNF) ~ If (REGF) {} ~ Else ~ { ~ Return (TMD0) ~ } ~ If (And (Arg1, 0x20)) ~ { ~ Or (CHNF, 0x02, CHNF) ~ } ~ Store (Match (DerefOf (Index (TIM0, One)), MEQ, Arg0, MTR, Zero, Zero), Local6) ~ Store (DerefOf (Index (DerefOf (Index (TIM0, Zero)), Local6)), Local7) ~ Store (Local7, DMA0) ~ Store (Local7, PIO0) ~ If (And (Arg4, 0x20)) ~ { ~ Or (CHNF, 0x08, CHNF) ~ } ~ Store (Match (DerefOf (Index (TIM0, 0x02)), MEQ, Arg3, MTR, Zero, Zero), Local6) ~ Store (DerefOf (Index (DerefOf (Index (TIM0, Zero)), Local6)), Local7) ~ Store (Local7, DMA1) ~ Store (Local7, PIO1) ~ If (And (Arg1, 0x07)) ~ { ~ Store (Arg2, Local5) ~ If (And (Arg1, 0x02)) ~ { ~ Add (Local5, 0x02, Local5) ~ } ~ If (And (Arg1, 0x04)) ~ { ~ Add (Local5, 0x04, Local5) ~ } ~ Store (DerefOf (Index (DerefOf (Index (TIM0, 0x03)), Local5)), DMA0) ~ Or (CHNF, One, CHNF) ~ } ~ If (And (Arg4, 0x07)) ~ { ~ Store (Arg5, Local5) ~ If (And (Arg4, 0x02)) ~ { ~ Add (Local5, 0x02, Local5) ~ } ~ If (And (Arg4, 0x04)) ~ { ~ Add (Local5, 0x04, Local5) ~ } ~ Store (DerefOf (Index (DerefOf (Index (TIM0, 0x03)), Local5)), DMA1) ~ Or (CHNF, 0x04, CHNF) ~ } ~ Store (TMD0, Debug) ~ Return (TMD0) ~ } ~ Method (STM, 0, Serialized) ~ { ~ If (REGF) {} ~ Else ~ { ~ Store (Zero, GMUE) ~ Store (Zero, GMUT) ~ Store (Zero, GSUE) ~ Store (Zero, GSUT) ~ If (And (CHNF, One)) ~ { ~ Store (Match (DerefOf (Index (TIM0, 0x03)), MLE, DMA0, MTR, Zero, Zero), Local0) ~ If (LGreater (Local0, 0x05)) ~ { ~ Store (0x05, Local0) ~ } ~ Store (DerefOf (Index (DerefOf (Index (TIM0, 0x04)), Local0)), GMUT) ~ Or (GMUE, One, GMUE) ~ If (LGreater (Local0, 0x02)) ~ { ~ Or (GMUE, 0x02, GMUE) ~ } ~ If (LGreater (Local0, 0x04)) ~ { ~ And (GMUE, 0xFD, GMUE) ~ Or (GMUE, 0x04, GMUE) ~ } ~ } ~ Else ~ { ~ If (Or (LEqual (PIO0, Ones), LEqual (PIO0, Zero))) ~ { ~ If (And (LLess (DMA0, Ones), LGreater (DMA0, Zero))) ~ { ~ Store (DMA0, PIO0) ~ Or (GMUE, 0x80, GMUE) ~ } ~ } ~ } ~ If (And (CHNF, 0x04)) ~ { ~ Store (Match (DerefOf (Index (TIM0, 0x03)), MLE, DMA1, MTR, Zero, Zero), Local0) ~ If (LGreater (Local0, 0x05)) ~ { ~ Store (0x05, Local0) ~ } ~ Store (DerefOf (Index (DerefOf (Index (TIM0, 0x04)), Local0)), GSUT) ~ Or (GSUE, One, GSUE) ~ If (LGreater (Local0, 0x02)) ~ { ~ Or (GSUE, 0x02, GSUE) ~ } ~ If (LGreater (Local0, 0x04)) ~ { ~ And (GSUE, 0xFD, GSUE) ~ Or (GSUE, 0x04, GSUE) ~ } ~ } ~ Else ~ { ~ If (Or (LEqual (PIO1, Ones), LEqual (PIO1, Zero))) ~ { ~ If (And (LLess (DMA1, Ones), LGreater (DMA1, Zero))) ~ { ~ Store (DMA1, PIO1) ~ Or (GSUE, 0x80, GSUE) ~ } ~ } ~ } ~ If (And (CHNF, 0x02)) ~ { ~ Or (GMUE, 0x20, GMUE) ~ } ~ If (And (CHNF, 0x08)) ~ { ~ Or (GSUE, 0x20, GSUE) ~ } ~ And (Match (DerefOf (Index (TIM0, Zero)), MGE, PIO0, MTR, Zero, Zero), 0x07, Local0) ~ Store (DerefOf (Index (DerefOf (Index (TIM0, One)), Local0)), Local1) ~ Store (Local1, GMPT) ~ If (LLess (Local0, 0x03)) ~ { ~ Or (GMUE, 0x50, GMUE) ~ } ~ And (Match (DerefOf (Index (TIM0, Zero)), MGE, PIO1, MTR, Zero, Zero), 0x07, Local0) ~ Store (DerefOf (Index (DerefOf (Index (TIM0, 0x02)), Local0)), Local1) ~ Store (Local1, GSPT) ~ If (LLess (Local0, 0x03)) ~ { ~ Or (GSUE, 0x50, GSUE) ~ } ~ } ~ } ~ Name (AT01, Buffer (0x07) ~ { ~ 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0xEF ~ }) ~ Name (AT02, Buffer (0x07) ~ { ~ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90 ~ }) ~ Name (AT03, Buffer (0x07) ~ { ~ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC6 ~ }) ~ Name (AT04, Buffer (0x07) ~ { ~ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x91 ~ }) ~ Name (ATA0, Buffer (0x1D) {}) ~ Name (ATA1, Buffer (0x1D) {}) ~ Name (ATA2, Buffer (0x1D) {}) ~ Name (ATA3, Buffer (0x1D) {}) ~ Name (ATAB, Buffer (0x1D) {}) ~ CreateByteField (ATAB, Zero, CMDC) ~ Method (GTFB, 3, Serialized) ~ { ~ Multiply (CMDC, 0x38, Local0) ~ Add (Local0, 0x08, Local1) ~ CreateField (ATAB, Local1, 0x38, CMDX) ~ Multiply (CMDC, 0x07, Local0) ~ CreateByteField (ATAB, Add (Local0, 0x02), A001) ~ CreateByteField (ATAB, Add (Local0, 0x06), A005) ~ Store (Arg0, CMDX) ~ Store (Arg1, A001) ~ Store (Arg2, A005) ~ Increment (CMDC) ~ } ~ Method (GTF, 2, Serialized) ~ { ~ Store (Arg1, Debug) ~ Store (Zero, CMDC) ~ Name (ID49, 0x0C00) ~ Name (ID59, Zero) ~ Name (ID53, 0x04) ~ Name (ID63, 0x0F00) ~ Name (ID88, 0x0F00) ~ Name (IRDY, One) ~ Name (PIOT, Zero) ~ Name (DMAT, Zero) ~ If (LEqual (SizeOf (Arg1), 0x0200)) ~ { ~ CreateWordField (Arg1, 0x62, IW49) ~ Store (IW49, ID49) ~ CreateWordField (Arg1, 0x6A, IW53) ~ Store (IW53, ID53) ~ CreateWordField (Arg1, 0x7E, IW63) ~ Store (IW63, ID63) ~ CreateWordField (Arg1, 0x76, IW59) ~ Store (IW59, ID59) ~ CreateWordField (Arg1, 0xB0, IW88) ~ Store (IW88, ID88) ~ } ~ Store (0xA0, Local7) ~ If (Arg0) ~ { ~ Store (0xB0, Local7) ~ And (CHNF, 0x08, IRDY) ~ If (And (CHNF, 0x10)) ~ { ~ Store (PIO1, PIOT) ~ } ~ Else ~ { ~ Store (PIO0, PIOT) ~ } ~ If (And (CHNF, 0x04)) ~ { ~ If (And (CHNF, 0x10)) ~ { ~ Store (DMA1, DMAT) ~ } ~ Else ~ { ~ Store (DMA0, DMAT) ~ } ~ } ~ } ~ Else ~ { ~ And (CHNF, 0x02, IRDY) ~ Store (PIO0, PIOT) ~ If (And (CHNF, One)) ~ { ~ Store (DMA0, DMAT) ~ } ~ } ~ If (LAnd (LAnd (And (ID53, 0x04), And (ID88, 0xFF00)), DMAT)) ~ { ~ Store (Match (DerefOf (Index (TIM0, 0x03)), MLE, DMAT, MTR, Zero, Zero), Local1) ~ If (LGreater (Local1, 0x05)) ~ { ~ Store (0x05, Local1) ~ } ~ GTFB (AT01, Or (0x40, Local1), Local7) ~ } ~ Else ~ { ~ If (LAnd (And (ID63, 0xFF00), PIOT)) ~ { ~ And (Match (DerefOf (Index (TIM0, Zero)), MGE, PIOT, MTR, Zero, Zero), 0x03, Local0) ~ Or (0x20, DerefOf (Index (DerefOf (Index (TIM0, 0x07)), Local0)), Local1) ~ GTFB (AT01, Local1, Local7) ~ } ~ } ~ If (IRDY) ~ { ~ And (Match (DerefOf (Index (TIM0, Zero)), MGE, PIOT, MTR, Zero, Zero), 0x07, Local0) ~ Or (0x08, DerefOf (Index (DerefOf (Index (TIM0, 0x06)), Local0)), Local1) ~ GTFB (AT01, Local1, Local7) ~ } ~ Else ~ { ~ If (And (ID49, 0x0400)) ~ { ~ GTFB (AT01, One, Local7) ~ } ~ } ~ If (LAnd (And (ID59, 0x0100), And (ID59, 0xFF))) ~ { ~ GTFB (AT03, And (ID59, 0xFF), Local7) ~ } ~ Store (ATAB, Debug) ~ Return (ATAB) ~ } ~ Method (RATA, 1, NotSerialized) ~ { ~ CreateByteField (Arg0, Zero, CMDN) ~ Multiply (CMDN, 0x38, Local0) ~ CreateField (Arg0, 0x08, Local0, RETB) ~ Store (RETB, Debug) ~ Concatenate (RETB, FZTF, RETB) ~ Return (RETB) ~ } ~ Name (FZTF, Buffer (0x07) ~ { ~ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5 ~ }) ~ } ~ Device (IDE1) ~ { ~ Name (_ADR, 0x001F0001) ~ } ~ Device (USB0) ~ { ~ Name (_ADR, 0x001D0000) ~ OperationRegion (BAR0, PCI_Config, 0xC4, One) ~ Field (BAR0, ByteAcc, NoLock, Preserve) ~ { ~ USBW, 2, ~ Offset (0x01) ~ } ~ Method (_S3D, 0, NotSerialized) ~ { ~ If (LOr (LEqual (OSFL (), One), LEqual (OSFL (), 0x02))) ~ { ~ Return (0x02) ~ } ~ Else ~ { ~ Return (0x03) ~ } ~ } ~ Method (_PSW, 1, NotSerialized) ~ { ~ If (Arg0) ~ { ~ Store (0x03, USBW) ~ } ~ Else ~ { ~ Store (Zero, USBW) ~ } ~ } ~ Method (_PRW, 0, NotSerialized) ~ { ~ Return (GPRW (0x03, 0x03)) ~ } ~ } ~ Device (USB1) ~ { ~ Name (_ADR, 0x001D0001) ~ OperationRegion (BAR0, PCI_Config, 0xC4, One) ~ Field (BAR0, ByteAcc, NoLock, Preserve) ~ { ~ USBW, 2, ~ Offset (0x01) ~ } ~ Method (_S3D, 0, NotSerialized) ~ { ~ If (LOr (LEqual (OSFL (), One), LEqual (OSFL (), 0x02))) ~ { ~ Return (0x02) ~ } ~ Else ~ { ~ Return (0x03) ~ } ~ } ~ Method (_PSW, 1, NotSerialized) ~ { ~ If (Arg0) ~ { ~ Store (0x03, USBW) ~ } ~ Else ~ { ~ Store (Zero, USBW) ~ } ~ } ~ Method (_PRW, 0, NotSerialized) ~ { ~ Return (GPRW (0x04, 0x03)) ~ } ~ } ~ Device (USB2) ~ { ~ Name (_ADR, 0x001D0002) ~ OperationRegion (BAR0, PCI_Config, 0xC4, One) ~ Field (BAR0, ByteAcc, NoLock, Preserve) ~ { ~ USBW, 2, ~ Offset (0x01) ~ } ~ Method (_S3D, 0, NotSerialized) ~ { ~ If (LOr (LEqual (OSFL (), One), LEqual (OSFL (), 0x02))) ~ { ~ Return (0x02) ~ } ~ Else ~ { ~ Return (0x03) ~ } ~ } ~ Method (_PSW, 1, NotSerialized) ~ { ~ If (Arg0) ~ { ~ Store (0x03, USBW) ~ } ~ Else ~ { ~ Store (Zero, USBW) ~ } ~ } ~ Method (_PRW, 0, NotSerialized) ~ { ~ Return (GPRW (0x0C, 0x03)) ~ } ~ } ~ Device (USB3) ~ { ~ Name (_ADR, 0x001D0003) ~ OperationRegion (BAR0, PCI_Config, 0xC4, One) ~ Field (BAR0, ByteAcc, NoLock, Preserve) ~ { ~ USBW, 2, ~ Offset (0x01) ~ } ~ Method (_S3D, 0, NotSerialized) ~ { ~ If (LOr (LEqual (OSFL (), One), LEqual (OSFL (), 0x02))) ~ { ~ Return (0x02) ~ } ~ Else ~ { ~ Return (0x03) ~ } ~ } ~ Method (_PSW, 1, NotSerialized) ~ { ~ If (Arg0) ~ { ~ Store (0x03, USBW) ~ } ~ Else ~ { ~ Store (Zero, USBW) ~ } ~ } ~ } ~ Device (EUSB) ~ { ~ Name (_ADR, 0x001D0007) ~ Method (_PRW, 0, NotSerialized) ~ { ~ Return (GPRW (0x0D, 0x03)) ~ } ~ } ~ Device (MC97) ~ { ~ Name (_ADR, 0x001E0003) ~ } ~ Device (AZAL) ~ { ~ Name (_ADR, 0x001B0000) ~ Method (_PRW, 0, NotSerialized) ~ { ~ Return (GPRW (0x05, 0x04)) ~ } ~ } ~ Device (P0PD) ~ { ~ Name (_ADR, 0x001C0000) ~ } ~ Device (P0P2) ~ { ~ Name (_ADR, 0x001C0001) ~ Method (_PRW, 0, NotSerialized) ~ { ~ Return (GPRW (0x09, 0x04)) ~ } ~ Method (_PRT, 0, NotSerialized) ~ { ~ If (PICM) ~ { ~ Return (AR02) ~ } ~ Return (PR02) ~ } ~ } ~ Device (P0P3) ~ { ~ Name (_ADR, 0x001C0002) ~ Method (_PRT, 0, NotSerialized) ~ { ~ If (PICM) ~ { ~ Return (AR03) ~ } ~ Return (PR03) ~ } ~ } ~ Device (P0P7) ~ { ~ Name (_ADR, 0x001C0003) ~ Method (_PRT, 0, NotSerialized) ~ { ~ If (PICM) ~ { ~ Return (AR07) ~ } ~ Return (PR07) ~ } ~ } ~ Device (P0P8) ~ { ~ Name (_ADR, 0x001C0004) ~ Method (_PRT, 0, NotSerialized) ~ { ~ If (PICM) ~ { ~ Return (AR08) ~ } ~ Return (PR08) ~ } ~ } ~ Device (P0P9) ~ { ~ Name (_ADR, 0x001C0005) ~ Method (_PRT, 0, NotSerialized) ~ { ~ If (PICM) ~ { ~ Return (AR09) ~ } ~ Return (PR09) ~ } ~ } ~ } ~ Scope (\_GPE) ~ { ~ Method (_L09, 0, NotSerialized) ~ { ~ Notify (\_SB.PCI0.P0PC, 0x02) ~ Notify (\_SB.PCI0.P0P2, 0x02) ~ Notify (\_SB.PWRB, 0x02) ~ } ~ Method (_L0B, 0, NotSerialized) ~ { ~ Notify (\_SB.PCI0.P0P4, 0x02) ~ Notify (\_SB.PCI0.P0P4.CBC0, 0x02) ~ Notify (\_SB.PWRB, 0x02) ~ } ~ Method (_L03, 0, NotSerialized) ~ { ~ Notify (\_SB.PCI0.USB0, 0x02) ~ Notify (\_SB.PWRB, 0x02) ~ } ~ Method (_L04, 0, NotSerialized) ~ { ~ Notify (\_SB.PCI0.USB1, 0x02) ~ Notify (\_SB.PWRB, 0x02) ~ } ~ Method (_L0C, 0, NotSerialized) ~ { ~ Notify (\_SB.PCI0.USB2, 0x02) ~ Notify (\_SB.PWRB, 0x02) ~ } ~ Method (_L0D, 0, NotSerialized) ~ { ~ Notify (\_SB.PCI0.EUSB, 0x02) ~ Notify (\_SB.PWRB, 0x02) ~ } ~ Method (_L05, 0, NotSerialized) ~ { ~ Notify (\_SB.PCI0.AZAL, 0x02) ~ Notify (\_SB.PWRB, 0x02) ~ } ~ } ~ Device (PWRB) ~ { ~ Name (_HID, EisaId ("PNP0C0C")) ~ Name (_UID, 0xAA) ~ Name (_STA, 0x0B) ~ } ~ } ~ OperationRegion (_SB.PCI0.SBRG.PIX0, PCI_Config, 0x60, 0x0C) ~ Field (\_SB.PCI0.SBRG.PIX0, ByteAcc, NoLock, Preserve) ~ { ~ PIRA, 8, ~ PIRB, 8, ~ PIRC, 8, ~ PIRD, 8, ~ Offset (0x08), ~ PIRE, 8, ~ PIRF, 8, ~ PIRG, 8, ~ PIRH, 8 ~ } ~ Scope (_SB) ~ { ~ Name (BUFA, ResourceTemplate () ~ { ~ IRQ (Level, ActiveLow, Shared) {15} ~ }) ~ CreateWordField (BUFA, One, IRA0) ~ Device (LNKA) ~ { ~ Name (_HID, EisaId ("PNP0C0F")) ~ Name (_UID, One) ~ Method (_STA, 0, NotSerialized) ~ { ~ And (PIRA, 0x80, Local0) ~ If (Local0) ~ { ~ Return (0x09) ~ } ~ Else ~ { ~ Return (0x0B) ~ } ~ } ~ Method (_PRS, 0, NotSerialized) ~ { ~ Return (PRSA) ~ } ~ Method (_DIS, 0, NotSerialized) ~ { ~ Or (PIRA, 0x80, PIRA) ~ } ~ Method (_CRS, 0, NotSerialized) ~ { ~ And (PIRA, 0x0F, Local0) ~ ShiftLeft (One, Local0, IRA0) ~ Return (BUFA) ~ } ~ Method (_SRS, 1, NotSerialized) ~ { ~ CreateWordField (Arg0, One, IRA) ~ FindSetRightBit (IRA, Local0) ~ Decrement (Local0) ~ Store (Local0, PIRA) ~ } ~ } ~ Device (LNKB) ~ { ~ Name (_HID, EisaId ("PNP0C0F")) ~ Name (_UID, 0x02) ~ Method (_STA, 0, NotSerialized) ~ { ~ And (PIRB, 0x80, Local0) ~ If (Local0) ~ { ~ Return (0x09) ~ } ~ Else ~ { ~ Return (0x0B) ~ } ~ } ~ Method (_PRS, 0, NotSerialized) ~ { ~ Return (PRSB) ~ } ~ Method (_DIS, 0, NotSerialized) ~ { ~ Or (PIRB, 0x80, PIRB) ~ } ~ Method (_CRS, 0, NotSerialized) ~ { ~ And (PIRB, 0x0F, Local0) ~ ShiftLeft (One, Local0, IRA0) ~ Return (BUFA) ~ } ~ Method (_SRS, 1, NotSerialized) ~ { ~ CreateWordField (Arg0, One, IRA) ~ FindSetRightBit (IRA, Local0) ~ Decrement (Local0) ~ Store (Local0, PIRB) ~ } ~ } ~ Device (LNKC) ~ { ~ Name (_HID, EisaId ("PNP0C0F")) ~ Name (_UID, 0x03) ~ Method (_STA, 0, NotSerialized) ~ { ~ And (PIRC, 0x80, Local0) ~ If (Local0) ~ { ~ Return (0x09) ~ } ~ Else ~ { ~ Return (0x0B) ~ } ~ } ~ Method (_PRS, 0, NotSerialized) ~ { ~ Return (PRSC) ~ } ~ Method (_DIS, 0, NotSerialized) ~ { ~ Or (PIRC, 0x80, PIRC) ~ } ~ Method (_CRS, 0, NotSerialized) ~ { ~ And (PIRC, 0x0F, Local0) ~ ShiftLeft (One, Local0, IRA0) ~ Return (BUFA) ~ } ~ Method (_SRS, 1, NotSerialized) ~ { ~ CreateWordField (Arg0, One, IRA) ~ FindSetRightBit (IRA, Local0) ~ Decrement (Local0) ~ Store (Local0, PIRC) ~ } ~ } ~ Device (LNKD) ~ { ~ Name (_HID, EisaId ("PNP0C0F")) ~ Name (_UID, 0x04) ~ Method (_STA, 0, NotSerialized) ~ { ~ And (PIRD, 0x80, Local0) ~ If (Local0) ~ { ~ Return (0x09) ~ } ~ Else ~ { ~ Return (0x0B) ~ } ~ } ~ Method (_PRS, 0, NotSerialized) ~ { ~ Return (PRSD) ~ } ~ Method (_DIS, 0, NotSerialized) ~ { ~ Or (PIRD, 0x80, PIRD) ~ } ~ Method (_CRS, 0, NotSerialized) ~ { ~ And (PIRD, 0x0F, Local0) ~ ShiftLeft (One, Local0, IRA0) ~ Return (BUFA) ~ } ~ Method (_SRS, 1, NotSerialized) ~ { ~ CreateWordField (Arg0, One, IRA) ~ FindSetRightBit (IRA, Local0) ~ Decrement (Local0) ~ Store (Local0, PIRD) ~ } ~ } ~ Device (LNKE) ~ { ~ Name (_HID, EisaId ("PNP0C0F")) ~ Name (_UID, 0x05) ~ Method (_STA, 0, NotSerialized) ~ { ~ And (PIRE, 0x80, Local0) ~ If (Local0) ~ { ~ Return (0x09) ~ } ~ Else ~ { ~ Return (0x0B) ~ } ~ } ~ Method (_PRS, 0, NotSerialized) ~ { ~ Return (PRSE) ~ } ~ Method (_DIS, 0, NotSerialized) ~ { ~ Or (PIRE, 0x80, PIRE) ~ } ~ Method (_CRS, 0, NotSerialized) ~ { ~ And (PIRE, 0x0F, Local0) ~ ShiftLeft (One, Local0, IRA0) ~ Return (BUFA) ~ } ~ Method (_SRS, 1, NotSerialized) ~ { ~ CreateWordField (Arg0, One, IRA) ~ FindSetRightBit (IRA, Local0) ~ Decrement (Local0) ~ Store (Local0, PIRE) ~ } ~ } ~ Device (LNKF) ~ { ~ Name (_HID, EisaId ("PNP0C0F")) ~ Name (_UID, 0x06) ~ Method (_STA, 0, NotSerialized) ~ { ~ And (PIRF, 0x80, Local0) ~ If (Local0) ~ { ~ Return (0x09) ~ } ~ Else ~ { ~ Return (0x0B) ~ } ~ } ~ Method (_PRS, 0, NotSerialized) ~ { ~ Return (PRSF) ~ } ~ Method (_DIS, 0, NotSerialized) ~ { ~ Or (PIRF, 0x80, PIRF) ~ } ~ Method (_CRS, 0, NotSerialized) ~ { ~ And (PIRF, 0x0F, Local0) ~ ShiftLeft (One, Local0, IRA0) ~ Return (BUFA) ~ } ~ Method (_SRS, 1, NotSerialized) ~ { ~ CreateWordField (Arg0, One, IRA) ~ FindSetRightBit (IRA, Local0) ~ Decrement (Local0) ~ Store (Local0, PIRF) ~ } ~ } ~ Device (LNKG) ~ { ~ Name (_HID, EisaId ("PNP0C0F")) ~ Name (_UID, 0x07) ~ Method (_STA, 0, NotSerialized) ~ { ~ And (PIRG, 0x80, Local0) ~ If (Local0) ~ { ~ Return (0x09) ~ } ~ Else ~ { ~ Return (0x0B) ~ } ~ } ~ Method (_PRS, 0, NotSerialized) ~ { ~ Return (PRSG) ~ } ~ Method (_DIS, 0, NotSerialized) ~ { ~ Or (PIRG, 0x80, PIRG) ~ } ~ Method (_CRS, 0, NotSerialized) ~ { ~ And (PIRG, 0x0F, Local0) ~ ShiftLeft (One, Local0, IRA0) ~ Return (BUFA) ~ } ~ Method (_SRS, 1, NotSerialized) ~ { ~ CreateWordField (Arg0, One, IRA) ~ FindSetRightBit (IRA, Local0) ~ Decrement (Local0) ~ Store (Local0, PIRG) ~ } ~ } ~ Device (LNKH) ~ { ~ Name (_HID, EisaId ("PNP0C0F")) ~ Name (_UID, 0x08) ~ Method (_STA, 0, NotSerialized) ~ { ~ And (PIRH, 0x80, Local0) ~ If (Local0) ~ { ~ Return (0x09) ~ } ~ Else ~ { ~ Return (0x0B) ~ } ~ } ~ Method (_PRS, 0, NotSerialized) ~ { ~ Return (PRSH) ~ } ~ Method (_DIS, 0, NotSerialized) ~ { ~ Or (PIRH, 0x80, PIRH) ~ } ~ Method (_CRS, 0, NotSerialized) ~ { ~ And (PIRH, 0x0F, Local0) ~ ShiftLeft (One, Local0, IRA0) ~ Return (BUFA) ~ } ~ Method (_SRS, 1, NotSerialized) ~ { ~ CreateWordField (Arg0, One, IRA) ~ FindSetRightBit (IRA, Local0) ~ Decrement (Local0) ~ Store (Local0, PIRH) ~ } ~ } ~ } ~ Scope (_SB) ~ { ~ Name (XCPD, Zero) ~ Name (XNPT, One) ~ Name (XCAP, 0x02) ~ Name (XDCP, 0x04) ~ Name (XDCT, 0x08) ~ Name (XDST, 0x0A) ~ Name (XLCP, 0x0C) ~ Name (XLCT, 0x10) ~ Name (XLST, 0x12) ~ Name (XSCP, 0x14) ~ Name (XSCT, 0x18) ~ Name (XSST, 0x1A) ~ Name (XRCT, 0x1C) ~ Mutex (MUTE, 0x00) ~ Method (RBPE, 1, NotSerialized) ~ { ~ Acquire (MUTE, 0x03E8) ~ Add (Arg0, PCIB, Local0) ~ OperationRegion (PCFG, SystemMemory, Local0, One) ~ Field (PCFG, ByteAcc, NoLock, Preserve) ~ { ~ XCFG, 8 ~ } ~ Release (MUTE) ~ Return (XCFG) ~ } ~ Method (RWPE, 1, NotSerialized) ~ { ~ Acquire (MUTE, 0x03E8) ~ And (Arg0, 0xFFFFFFFE, Arg0) ~ Add (Arg0, PCIB, Local0) ~ OperationRegion (PCFG, SystemMemory, Local0, 0x02) ~ Field (PCFG, WordAcc, NoLock, Preserve) ~ { ~ XCFG, 16 ~ } ~ Release (MUTE) ~ Return (XCFG) ~ } ~ Method (RDPE, 1, NotSerialized) ~ { ~ Acquire (MUTE, 0x03E8) ~ And (Arg0, 0xFFFFFFFC, Arg0) ~ Add (Arg0, PCIB, Local0) ~ OperationRegion (PCFG, SystemMemory, Local0, 0x04) ~ Field (PCFG, DWordAcc, NoLock, Preserve) ~ { ~ XCFG, 32 ~ } ~ Release (MUTE) ~ Return (XCFG) ~ } ~ Method (WBPE, 2, NotSerialized) ~ { ~ Acquire (MUTE, 0x0FFF) ~ Add (Arg0, PCIB, Local0) ~ OperationRegion (PCFG, SystemMemory, Local0, One) ~ Field (PCFG, ByteAcc, NoLock, Preserve) ~ { ~ XCFG, 8 ~ } ~ Store (Arg1, XCFG) ~ Release (MUTE) ~ } ~ Method (WWPE, 2, NotSerialized) ~ { ~ Acquire (MUTE, 0x03E8) ~ And (Arg0, 0xFFFFFFFE, Arg0) ~ Add (Arg0, PCIB, Local0) ~ OperationRegion (PCFG, SystemMemory, Local0, 0x02) ~ Field (PCFG, WordAcc, NoLock, Preserve) ~ { ~ XCFG, 16 ~ } ~ Store (Arg1, XCFG) ~ Release (MUTE) ~ } ~ Method (WDPE, 2, NotSerialized) ~ { ~ Acquire (MUTE, 0x03E8) ~ And (Arg0, 0xFFFFFFFC, Arg0) ~ Add (Arg0, PCIB, Local0) ~ OperationRegion (PCFG, SystemMemory, Local0, 0x04) ~ Field (PCFG, DWordAcc, NoLock, Preserve) ~ { ~ XCFG, 32 ~ } ~ Store (Arg1, XCFG) ~ Release (MUTE) ~ } ~ Method (RWDP, 3, NotSerialized) ~ { ~ Acquire (MUTE, 0x03E8) ~ And (Arg0, 0xFFFFFFFC, Arg0) ~ Add (Arg0, PCIB, Local0) ~ OperationRegion (PCFG, SystemMemory, Local0, 0x04) ~ Field (PCFG, DWordAcc, NoLock, Preserve) ~ { ~ XCFG, 32 ~ } ~ And (XCFG, Arg2, Local1) ~ Or (Local1, Arg1, XCFG) ~ Release (MUTE) ~ } ~ Method (RPME, 1, NotSerialized) ~ { ~ Add (Arg0, 0x84, Local0) ~ Store (RDPE (Local0), Local1) ~ If (LEqual (Local1, Ones)) ~ { ~ Return (Zero) ~ } ~ Else ~ { ~ If (LAnd (Local1, 0x00010000)) ~ { ~ WDPE (Local0, And (Local1, 0x00010000)) ~ Return (One) ~ } ~ Return (Zero) ~ } ~ } ~ } ~ Scope (_SB) ~ { ~ Scope (PCI0) ~ { ~ Name (CRS, ResourceTemplate () ~ { ~ WordBusNumber (ResourceProducer, MinFixed, MaxFixed, PosDecode, ~ 0x0000, ~ 0x0000, ~ 0x00FF, ~ 0x0000, ~ 0x0100) ~ IO (Decode16, 0x0CF8, 0x0CF8, 0x01, 0x08) ~ WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange, ~ 0x0000, ~ 0x0000, ~ 0x0CF7, ~ 0x0000, ~ 0x0CF8) ~ WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange, ~ 0x0000, ~ 0x0D00, ~ 0xFFFF, ~ 0x0000, ~ 0xF300) ~ DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, ~ 0x00000000, ~ 0x000A0000, ~ 0x000BFFFF, ~ 0x00000000, ~ 0x00020000) ~ DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, ~ 0x00000000, ~ 0x000C0000, ~ 0x000DFFFF, ~ 0x00000000, ~ 0x00020000) ~ DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, ~ 0x00000000, ~ 0x00000000, ~ 0x00000000, ~ 0x00000000, ~ 0x00000000) ~ DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, ~ 0x00000000, ~ 0x00000000, ~ 0x00000000, ~ 0x00000000, ~ 0x00000000) ~ }) ~ CreateDWordField (CRS, 0x5C, MIN5) ~ CreateDWordField (CRS, 0x60, MAX5) ~ CreateDWordField (CRS, 0x68, LEN5) ~ CreateDWordField (CRS, 0x76, MIN6) ~ CreateDWordField (CRS, 0x7A, MAX6) ~ CreateDWordField (CRS, 0x82, LEN6) ~ CreateDWordField (CRS, 0x90, MIN7) ~ CreateDWordField (CRS, 0x94, MAX7) ~ CreateDWordField (CRS, 0x9C, LEN7) ~ Method (_CRS, 0, NotSerialized) ~ { ~ Store (MG1L, Local0) ~ If (Local0) ~ { ~ Store (MG1B, MIN5) ~ Store (MG1L, LEN5) ~ Add (MIN5, Decrement (Local0), MAX5) ~ } ~ Store (MG2B, MIN6) ~ Store (MG2L, LEN6) ~ Store (MG2L, Local0) ~ Add (MIN6, Decrement (Local0), MAX6) ~ Store (MG3B, MIN7) ~ Store (MG3L, LEN7) ~ Store (MG3L, Local0) ~ Add (MIN7, Decrement (Local0), MAX7) ~ Return (CRS) ~ } ~ } ~ } ~ Name (WOTB, Zero) ~ Name (WSSB, Zero) ~ Name (WAXB, Zero) ~ Method (_PTS, 1, NotSerialized) ~ { ~ Store (Arg0, DBG8) ~ PTS (Arg0) ~ Store (Zero, Index (WAKP, Zero)) ~ Store (Zero, Index (WAKP, One)) ~ If (LAnd (LEqual (Arg0, 0x04), LEqual (OSFL (), 0x02))) ~ { ~ Sleep (0x0BB8) ~ } ~ Store (ASSB, WSSB) ~ Store (AOTB, WOTB) ~ Store (AAXB, WAXB) ~ Store (Arg0, ASSB) ~ Store (OSFL (), AOTB) ~ Store (Zero, AAXB) ~ } ~ Name (SLID, One) ~ Method (_WAK, 1, NotSerialized) ~ { ~ ShiftLeft (Arg0, 0x04, DBG8) ~ Store (One, SLID) ~ WAK (Arg0) ~ If (ASSB) ~ { ~ Store (WSSB, ASSB) ~ Store (WOTB, AOTB) ~ Store (WAXB, AAXB) ~ } ~ If (DerefOf (Index (WAKP, Zero))) ~ { ~ Store (Zero, Index (WAKP, One)) ~ } ~ Else ~ { ~ Store (Arg0, Index (WAKP, One)) ~ } ~ Store (\_SB.PCI0.SBRG.EC.POWS, Local0) ~ If (LEqual (Local0, One)) ~ { ~ Store (One, \_SB.PCI0.SBRG.EC.ADP1.ACP) ~ } ~ Else ~ { ~ Store (Zero, \_SB.PCI0.SBRG.EC.ADP1.ACP) ~ } ~ Store (\_SB.PCI0.SBRG.EC.MBTS, Local0) ~ If (LEqual (Local0, One)) ~ { ~ Store (One, \_SB.PCI0.SBRG.EC.ADP1.BFLG) ~ } ~ Else ~ { ~ Store (Zero, \_SB.PCI0.SBRG.EC.ADP1.BFLG) ~ } ~ Notify (\_SB.PCI0.SBRG.EC.ADP1, Zero) ~ Notify (\_SB.PCI0.SBRG.EC.BAT1, Zero) ~ Store (One, \_SB.PCI0.WAWA.PDC1) ~ Store (One, \_SB.PCI0.WAWA.HPCS) ~ If (MCTH (_OS, "Microsoft Windows")) ~ { ~ If (LEqual (Arg0, 0x04)) ~ { ~ Notify (\_SB.PWRB, 0x02) ~ } ~ } ~ Return (WAKP) ~ } ~ Name (_S0, Package (0x04) ~ { ~ Zero, ~ Zero, ~ Zero, ~ Zero ~ }) ~ /* ~ If (SS1) ~ { ~ */ ~ Name (_S1, Package (0x04) ~ { ~ One, ~ Zero, ~ Zero, ~ Zero ~ }) ~ /* ~ } ~ */ ~ /* ~ If (SS3) ~ { ~ */ ~ Name (_S3, Package (0x04) ~ { ~ 0x05, ~ Zero, ~ Zero, ~ Zero ~ }) ~ /* ~ } ~ */ ~ /* ~ If (SS4) ~ { ~ */ ~ Name (_S4, Package (0x04) ~ { ~ 0x06, ~ Zero, ~ Zero, ~ Zero ~ }) ~ /* ~ } ~ */ ~ Name (_S5, Package (0x04) ~ { ~ 0x07, ~ Zero, ~ Zero, ~ Zero ~ }) ~ Method (PTS, 1, NotSerialized) ~ { ~ If (Arg0) ~ { ~ \_SB.PCI0.NPTS (Arg0) ~ \_SB.PCI0.SBRG.SPTS (Arg0) ~ } ~ } ~ Method (WAK, 1, NotSerialized) ~ { ~ \_SB.PCI0.NWAK (Arg0) ~ \_SB.PCI0.SBRG.SWAK (Arg0) ~ } } /********* END MY ASL *********/ | | Thanks a lot! | | -aps - -- Pietro Cerutti gahr@FreeBSD.org PGP Public Key: http://gahr.ch/pgp -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEAREKAAYFAkhbyg4ACgkQwMJqmJVx946zXgCggFO88dF5Xtq+C9fCty37vVdU QxoAn2+xQdCHEuNjM+zC/WR56cL3dP06 =XFU1 -----END PGP SIGNATURE----- From alc at cs.rice.edu Sat Jun 21 06:30:08 2008 From: alc at cs.rice.edu (Alan Cox) Date: Sat Jun 21 06:30:10 2008 Subject: kern/120515: [acpi] [patch] acpi_alloc_wakeup_handler: can't alloc wake memory Message-ID: <200806210630.m5L6U8rl051972@freefall.freebsd.org> The following reply was made to PR kern/120515; it has been noted by GNATS. From: Alan Cox To: bug-followup@FreeBSD.org, arthur.hartwig@nokia.com Cc: Subject: Re: kern/120515: [acpi] [patch] acpi_alloc_wakeup_handler: can't alloc wake memory Date: Sat, 21 Jun 2008 01:28:29 -0500 This patch does not apply to HEAD or RELENG_7 in two senses of "apply". The code affected by the patch has changed and so the patch will not mechanically apply. More importantly, the new physical memory allocator in HEAD and RELENG_7 already addresses this problem in a systematic way. I see no reason not to apply this patch to RELENG_6. Alan From dan at obluda.cz Sun Jun 22 13:16:12 2008 From: dan at obluda.cz (Dan Lukes) Date: Sun Jun 22 13:16:15 2008 Subject: kern/120515: [acpi] [patch] acpi_alloc_wakeup_handler: can't alloc wake memory In-Reply-To: <200806210630.m5L6U8rl051972@freefall.freebsd.org> References: <200806210630.m5L6U8rl051972@freefall.freebsd.org> Message-ID: <485E4A3E.2050609@obluda.cz> Alan Cox wrote: > new physical memory allocator in HEAD and RELENG_7 already addresses this problem in a systematic way. > > I see no reason not to apply this patch to RELENG_6. At the first, I analyzed problem for myself. My 6.x based instalations affected by the problem are hacked already as I decide not to wait several months for next release. Well, I offered the analysis and hack to the public also. To apply it into RELENG_6 or not apply it into RELENG_6 - it is commiters decision. I have no problem with either decision. Dan From dan at obluda.cz Sun Jun 22 13:20:04 2008 From: dan at obluda.cz (Dan Lukes) Date: Sun Jun 22 13:20:05 2008 Subject: kern/120515: [acpi] [patch] acpi_alloc_wakeup_handler: can't alloc wake memory Message-ID: <200806221320.m5MDK3Il075092@freefall.freebsd.org> The following reply was made to PR kern/120515; it has been noted by GNATS. From: Dan Lukes To: Alan Cox Cc: freebsd-acpi@FreeBSD.org, bug-followup@FreeBSD.org Subject: Re: kern/120515: [acpi] [patch] acpi_alloc_wakeup_handler: can't alloc wake memory Date: Sun, 22 Jun 2008 14:49:02 +0200 Alan Cox wrote: > new physical memory allocator in HEAD and RELENG_7 already addresses this problem in a systematic way. > > I see no reason not to apply this patch to RELENG_6. At the first, I analyzed problem for myself. My 6.x based instalations affected by the problem are hacked already as I decide not to wait several months for next release. Well, I offered the analysis and hack to the public also. To apply it into RELENG_6 or not apply it into RELENG_6 - it is commiters decision. I have no problem with either decision. Dan From bugmaster at FreeBSD.org Mon Jun 23 11:06:50 2008 From: bugmaster at FreeBSD.org (FreeBSD bugmaster) Date: Mon Jun 23 11:06:52 2008 Subject: Current problem reports assigned to freebsd-acpi@FreeBSD.org Message-ID: <200806231106.m5NB6nQ6064869@freefall.freebsd.org> Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o i386/54756 acpi ACPI suspend/resume problem on CF-W2 laptop o i386/55661 acpi ACPI suspend/resume problem on ARMADA M700 o kern/56024 acpi ACPI suspend drains battery while in S3 o i386/72566 acpi ACPI, FreeBSD disables fan on Compaq Armada 1750 o i386/79081 acpi ACPI suspend/resume not working on HP nx6110 o kern/81000 acpi [apic] Via 8235 sound card worked great with FreeBSD 5 s kern/91038 acpi [panic] [ata] [acpi] 6.0-RELEASE on Fujitsu Siemens Am s i386/91748 acpi acpi problem on Acer TravelMare 4652LMi (nvidia panic, o kern/102252 acpi acpi thermal does not work on Abit AW8D (intel 975) o kern/104625 acpi ACPI on ASUS A8N-32 SLI/ASUS P4P800 does not show ther o kern/106924 acpi [acpi] ACPI resume returns g_vfs_done() errors and ker o kern/108954 acpi [acpi] 'sleep(1)' sleeps >1 seconds when speedstep (Cx o i386/114562 acpi [acpi] cardbus is dead after s3 on Thinkpad T43 with a o kern/116939 acpi [acpi] PCI-to-PCI misconfigured for bus three and can o kern/118973 acpi [acpi]: Kernel panic with acpi boot o kern/119200 acpi [acpi] Lid close switch suspends CPU for 1 second on H o kern/119356 acpi [acpi]: i386 ACPI wakeup not work due resource exhaust o kern/120953 acpi [acpi]: FreeBSD 6.3 Release: acpi_tz0: _TMP value is f kern/121454 acpi [pst] Promise SuperTrak SX6000 does not load during bo 19 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- f kern/67309 acpi zzz reboot computer (ACPI S3) o i386/69750 acpi Boot without ACPI failed on ASUS L5 s kern/73823 acpi [request] acpi / power-on by timer support o kern/76950 acpi ACPI wrongly blacklisted on Micron ClientPro 766Xi sys o i386/83018 acpi [install] Installer will not boot on Asus P4S8X BIOS 1 o kern/89411 acpi [acpi] acpiconf bug s kern/90243 acpi Laptop fan doesn't turn off (ACPI enabled) (Packard Be o kern/97383 acpi Volume buttons on IBM Thinkpad crash system with ACPI o kern/105537 acpi [acpi] problems in acpi on HP Compaq nc6320 o kern/108017 acpi [acpi]: Acer Aspire 5600 o kern/108488 acpi [acpi] ACPI-1304: *** Error: Method execution failed o kern/108581 acpi [sysctl] sysctl: hw.acpi.cpu.cx_lowest: Invalid argume o kern/108695 acpi [acpi]: Fatal trap 9: general protection fault when in s kern/112544 acpi [acpi] [patch] Add High Precision Event Timer Driver f o kern/114165 acpi [acpi] Dell C810 - ACPI problem o kern/117605 acpi [acpi] [request] add debug.cpufreq.highest o kern/120515 acpi [acpi] [patch] acpi_alloc_wakeup_handler: can't alloc o kern/121102 acpi [acpi_fujitsu] [patch] update acpi_fujitsu for the P80 o kern/121504 acpi [patch] Correctly set hw.acpi.osname on certain machin f amd64/122521 acpi ACPI Error after upgrade to 7.0 o kern/123039 acpi [acpi] ACPI AML_BUFFER_LIMIT errors during boot o kern/124223 acpi [acpi] [patch] acpi_battery.c -- Notify user-defined c o kern/124412 acpi [acpi] power off error on Toshiba M40 laptop o kern/124744 acpi [acpi] [patch] incorrect _BST result validation for To 24 problems total. From chris at vindaloo.com Wed Jun 25 23:15:02 2008 From: chris at vindaloo.com (Christopher Sean Hilton) Date: Wed Jun 25 23:15:07 2008 Subject: HP compaq nc6230 lockup on resume. Message-ID: <66563A20-95EB-443C-97DF-72761D2CEE4B@vindaloo.com> Hi, I have an HP Compaq nc6230 laptop. It appears to suspend to S3 just fine. On resume it locks up hard. The video never gets restored so I cannot see what's going on without the debugger. If it means anything the hard drive light stays on for about a minute and then goes out. I'd love to have this thing actually suspend/resume but I'm out of tricks as to how to get it working. -- Chris Chris Hilton tildeChris -- http://myblog.vindaloo.com email -- chris/at/vindaloo/ dot/com .~ ~ .--.~ ~.--.~~.--.~~.--.~~.--.~~.--.~~.--.~~.--.~~.--.~~.--.~~.--.~~.--.~~. "I'm on the outside looking inside, What do I see? Much confusion, disillution, all around me." -- Ian McDonald / Peter Sinfield From jhb at freebsd.org Thu Jun 26 12:51:54 2008 From: jhb at freebsd.org (John Baldwin) Date: Thu Jun 26 12:51:56 2008 Subject: HP compaq nc6230 lockup on resume. In-Reply-To: <66563A20-95EB-443C-97DF-72761D2CEE4B@vindaloo.com> References: <66563A20-95EB-443C-97DF-72761D2CEE4B@vindaloo.com> Message-ID: <200806260838.19933.jhb@freebsd.org> On Wednesday 25 June 2008 06:50:04 pm Christopher Sean Hilton wrote: > Hi, > > I have an HP Compaq nc6230 laptop. It appears to suspend to S3 just > fine. On resume it locks up hard. The video never gets restored so I > cannot see what's going on without the debugger. If it means anything > the hard drive light stays on for about a minute and then goes out. > > I'd love to have this thing actually suspend/resume but I'm out of > tricks as to how to get it working. My nc6220 needs an ATA patch to resume. Otherwise it loses all its ATA devices on resume. http://people.freebsd.org/~jhb/patches/ata_resume.patch -- John Baldwin From chris at vindaloo.com Thu Jun 26 17:47:39 2008 From: chris at vindaloo.com (Christopher Sean Hilton) Date: Thu Jun 26 17:47:43 2008 Subject: HP compaq nc6230 lockup on resume. In-Reply-To: <200806260838.19933.jhb@freebsd.org> References: <66563A20-95EB-443C-97DF-72761D2CEE4B@vindaloo.com> <200806260838.19933.jhb@freebsd.org> Message-ID: <32757427-BB7F-4400-BFE3-65B0ABE0E4DD@vindaloo.com> On Jun 26, 2008, at 8:38 AM, John Baldwin wrote: > On Wednesday 25 June 2008 06:50:04 pm Christopher Sean Hilton wrote: >> Hi, >> >> I'd love to have this thing actually suspend/resume but I'm out of >> tricks as to how to get it working. > > My nc6220 needs an ATA patch to resume. Otherwise it loses all its > ATA > devices on resume. > > http://people.freebsd.org/~jhb/patches/ata_resume.patch > Okay, good progress at least. With the ata_resume.patch that you provided I can get the machine to suspend and resume but the video doesn't come back. However, the caps and numlock keys are doing their jobs and the keyboard works on the console so I can login and shutdown saving myself an fsck after the reboot. Enabling hw.acpi.reset_video causes a hard hang on resume. I enabled comconsoles to get a better idea of what was going on. On the console when I resume the bge driver complains about write and read time outs. Then initialization fails. Shortly after that the keyboard works again. My plan is to cut the bge driver out of the kernel and see if that makes things better although I'm not sure what to do about the lack of video. -- Chris -- Chris -- Chris Hilton chris-at-vindaloo-dot-com ------------------------------------------------------------------------ "All I was doing was trying to get home from work!" -- Rosa Parks From jhb at freebsd.org Thu Jun 26 18:55:32 2008 From: jhb at freebsd.org (John Baldwin) Date: Thu Jun 26 18:55:34 2008 Subject: HP compaq nc6230 lockup on resume. In-Reply-To: <32757427-BB7F-4400-BFE3-65B0ABE0E4DD@vindaloo.com> References: <66563A20-95EB-443C-97DF-72761D2CEE4B@vindaloo.com> <200806260838.19933.jhb@freebsd.org> <32757427-BB7F-4400-BFE3-65B0ABE0E4DD@vindaloo.com> Message-ID: <200806261455.06561.jhb@freebsd.org> On Thursday 26 June 2008 01:47:35 pm Christopher Sean Hilton wrote: > > On Jun 26, 2008, at 8:38 AM, John Baldwin wrote: > > > On Wednesday 25 June 2008 06:50:04 pm Christopher Sean Hilton wrote: > >> Hi, > >> > >> I'd love to have this thing actually suspend/resume but I'm out of > >> tricks as to how to get it working. > > > > My nc6220 needs an ATA patch to resume. Otherwise it loses all its > > ATA > > devices on resume. > > > > http://people.freebsd.org/~jhb/patches/ata_resume.patch > > > > Okay, good progress at least. > > With the ata_resume.patch that you provided I can get the > machine to suspend and resume but the video doesn't come back. > However, the caps and numlock keys are doing their jobs and the > keyboard works on the console so I can login and shutdown saving > myself an fsck after the reboot. > > Enabling hw.acpi.reset_video causes a hard hang on resume. > > I enabled comconsoles to get a better idea of what was going on. > On the console when I resume the bge driver complains about write and > read time outs. Then initialization fails. Shortly after that the > keyboard works again. My plan is to cut the bge driver out of the > kernel and see if that makes things better although I'm not sure what > to do about the lack of video. Yes, I haven't gotten bge to resume yet. I've tried resuming brgphy, etc. but still no dice. For video, use acpi_video and try forcing the lcd on in /etc/rc.resume via hw.acpi.video.lcd0.active=1. -- John Baldwin From chris at vindaloo.com Thu Jun 26 19:21:12 2008 From: chris at vindaloo.com (Christopher Sean Hilton) Date: Thu Jun 26 19:21:14 2008 Subject: HP compaq nc6230 lockup on resume. In-Reply-To: <200806261455.06561.jhb@freebsd.org> References: <66563A20-95EB-443C-97DF-72761D2CEE4B@vindaloo.com> <200806260838.19933.jhb@freebsd.org> <32757427-BB7F-4400-BFE3-65B0ABE0E4DD@vindaloo.com> <200806261455.06561.jhb@freebsd.org> Message-ID: <4D4E634D-23F7-417D-A80D-6AC30E9D2495@vindaloo.com> On Jun 26, 2008, at 2:55 PM, John Baldwin wrote: > > Yes, I haven't gotten bge to resume yet. I've tried resuming > brgphy, etc. but > still no dice. For video, use acpi_video and try forcing the lcd on > in /etc/rc.resume via hw.acpi.video.lcd0.active=1. just add sysctl -w hw.acpi.video.lcd0.active=1 to the bottom of /etc/rc.resume I presume. -- Chris -- Chris Hilton chris-at-vindaloo-dot-com ------------------------------------------------------------------------ "All I was doing was trying to get home from work!" -- Rosa Parks From smithi at nimnet.asn.au Fri Jun 27 03:52:37 2008 From: smithi at nimnet.asn.au (Ian Smith) Date: Fri Jun 27 03:52:40 2008 Subject: HP compaq nc6230 lockup on resume. In-Reply-To: <4D4E634D-23F7-417D-A80D-6AC30E9D2495@vindaloo.com> Message-ID: On Thu, 26 Jun 2008, Christopher Sean Hilton wrote: > On Jun 26, 2008, at 2:55 PM, John Baldwin wrote: > > > > Yes, I haven't gotten bge to resume yet. I've tried resuming > > brgphy, etc. but > > still no dice. For video, use acpi_video and try forcing the lcd on > > in /etc/rc.resume via hw.acpi.video.lcd0.active=1. > > just add > > sysctl -w hw.acpi.video.lcd0.active=1 > > to the bottom of /etc/rc.resume I presume. Well, before the 'exit 0' anyway :) Something else you should try is setting hw.syscons.sc_no_suspend_vtswitch=1 before suspending, and if it helps, add it to /etc/sysctl.conf This is needed for my old Compaq Armada 1500c, and at 6.1 was needed for my Thinkpad T23 to resume screen (however at 7.0, just installed, it doesn't seem to be needed on the T23, though I haven't configured X yet) cheers, Ian From lenzi.sergio at gmail.com Fri Jun 27 14:05:23 2008 From: lenzi.sergio at gmail.com (sergio lenzi) Date: Fri Jun 27 14:05:27 2008 Subject: ACER 5050 In-Reply-To: <200806261455.06561.jhb@freebsd.org> References: <66563A20-95EB-443C-97DF-72761D2CEE4B@vindaloo.com> <200806260838.19933.jhb@freebsd.org> <32757427-BB7F-4400-BFE3-65B0ABE0E4DD@vindaloo.com> <200806261455.06561.jhb@freebsd.org> Message-ID: <1214573778.1245.9.camel@localhost> Hello... I have an ACER 5050 model 3284 (turion 64 1gb memory, 120Gb hd)... it is so terrible that Ubuntu does not boot with acpi turned on.... Well. FreeBSD 7.0 works ok except for the atheros wifi chip that the bios maps it wrong... when I try to load the if_ath, the FreeBSD kernel complains with "cannot map register space" .... so it does not work.... the rest of the notebook works fine... sound screen, reset, keyboard,..... usb... all OK.... Is there a fix in the acpi code (I am using a modified "fixed" acpi during boot)... seems that acpi does not map io/register on boot.... As Linux does not boot on the machine with acpi enable, I cannot tell the OS what is the io/adress of the atheros chip... Any help????? Please???? From chris at vindaloo.com Fri Jun 27 14:13:56 2008 From: chris at vindaloo.com (Christopher Sean Hilton) Date: Fri Jun 27 14:14:03 2008 Subject: HP compaq nc6230 lockup on resume. In-Reply-To: References: Message-ID: On Jun 26, 2008, at 11:34 PM, Ian Smith wrote: > On Thu, 26 Jun 2008, Christopher Sean Hilton wrote: >> On Jun 26, 2008, at 2:55 PM, John Baldwin wrote: >>> >>> Yes, I haven't gotten bge to resume yet. I've tried resuming >>> brgphy, etc. but >>> still no dice. For video, use acpi_video and try forcing the lcd on >>> in /etc/rc.resume via hw.acpi.video.lcd0.active=1. >> >> just add >> >> sysctl -w hw.acpi.video.lcd0.active=1 >> >> to the bottom of /etc/rc.resume I presume. > > Well, before the 'exit 0' anyway :) > > Something else you should try is setting > hw.syscons.sc_no_suspend_vtswitch=1 > before suspending, and if it helps, add it to /etc/sysctl.conf > Nice call. My echo "sysctl -w hw.acpi.video.lcd0.active=1" >> /etc/rc.resume didn't quite get there 8-) so begins another round of testing. This is a pain in the neck because I'm pretty much testing blind. Yesterday when I had the serial console setup I noticed that the serial console wasn't ready for writing on resume but I could see messages. Maybe I need to go back to that setup, at a kill -HUP 1 to /etc/rc.resume and cross my fingers. -- Chris Chris Hilton e: chris|at|vindaloo| dot|com ---------------------------------------------------------------------------- "The pattern juggler lifts his hand; The orchestra begin. As slowly turns the grinding wheel in the court of the crimson king." -- Ian McDonald / Peter Sinfield From david at wood2.org.uk Fri Jun 27 15:28:11 2008 From: david at wood2.org.uk (David Wood) Date: Fri Jun 27 15:28:16 2008 Subject: Dell PowerEdge 2950 III - CPU power management problems In-Reply-To: References: Message-ID: Dear all, In message , David Wood writes >I'm having problems with CPU power management on a Dell PowerEdge 2950 >III. > >I've posted this to freebsd-acpi in the first instance - though it may >finish up belonging on freebsd-stable. As I am almost certain there are >bugs in teh DSDT, I thought I'd start on freebsd-acpi. Dell have just shipped the 2.3.1 BIOS for this hardware, which fixes the DSDT bugs. If I have correctly understood recent messages on freebsd-stable, CPU frequency control and Enhanced SpeedStep is broken for modern Core 2 and Xeon processors. At least my 2950 III is now ready for whatever fixes may become available to that code. I believe the problem may be that FreeBSD doesn't know it needs to change the frequency of several cores at once - after all, my 8 core box is two chips of two processors of two cores each. If any developer is interested in fixing the CPU frequency control / Enhanced SpeedStep code, I might be able to contribute a small amount of finance towards this work. Please email me directly. Best wishes, David -- David Wood david@wood2.org.uk From david at catwhisker.org Sat Jun 28 00:16:31 2008 From: david at catwhisker.org (David Wolfskill) Date: Sat Jun 28 00:16:34 2008 Subject: How/why would dev.cpu.0.freq_levels change??!? Message-ID: <20080627235319.GP70792@bunrab.catwhisker.org> My laptop is a Dell Inspiron 8200; I (ab)use it moderately heavily: this includes tracking RELENG_6, RELENG_7, & HEAD on it, daily. Lately there have been some times when "make buildworld" for RELENG_6 has taken a lot longer than it used to ... and I noticed that the fans were on, even though it was running fairly cool (around 50C; during a "make buildworld, around 85C is more common) -- and that the machine was typically "topping out" at half speed (1200 MHz). During these times, querying dev.cpu.0.freq_levels would yield a list that did, ini fact, max out at 1200 MHz, when I know that it has gone up to 2400 MHz in the past. When it does this, the only circumvention I've been able to find is a power-cycle. Since I like to minimize disruption, this is annoying. This afternoon, it showed evidence of doing this stunt again, so I carefully logged out, powered the machine off, waited about 5 minutes, then powered it back on. But this time, I decided to fire up a little loop to display a timestamp and the ooutput from "sysctl -n hw.acpi.thermal.tz0.temperature dev.cpu.0.freq dev.cpu.0.freq_levels" every 5 seconds. Here's the interval in question: 1214609737,60.5C,300,2400/0 2100/0 1800/0 1500/0 1200/0 1050/0 900/0 750/0 600/0 450/0 300/0 150/0 1214609742,59.5C,450,2400/0 2100/0 1800/0 1500/0 1200/0 1050/0 900/0 750/0 600/0 450/0 300/0 150/0 1214609748,59.5C,450,2400/0 2100/0 1800/0 1500/0 1200/0 1050/0 900/0 750/0 600/0 450/0 300/0 150/0 1214609752,57.5C,150,2400/0 2100/0 1800/0 1500/0 1200/0 1050/0 900/0 750/0 600/0 450/0 300/0 150/0 1214609757,57.5C,600,1200/0 1050/0 900/0 750/0 600/0 450/0 300/0 150/0 1214609762,56.5C,150,1200/0 1050/0 900/0 750/0 600/0 450/0 300/0 150/0 1214609767,56.5C,150,1200/0 1050/0 900/0 750/0 600/0 450/0 300/0 150/0 And from a couple of logs: g1-60(6.3-S)[5] date -r 1214609752 Fri Jun 27 16:35:52 PDT 2008 g1-60(6.3-S)[6] date -r 1214609757 Fri Jun 27 16:35:57 PDT 2008 g1-60(6.3-S)[7] tail -4 /var/log/messages Jun 27 16:01:51 localhost kernel: drm0: [MPSAFE] Jun 27 16:20:57 localhost ntpd[13916]: time reset +1.306598 s Jun 27 16:38:55 localhost sudo: david : TTY=ttyp7 ; PWD=/common/home/david ; USER=root ; COMMAND=/usr/bin/tail /var/log/console.log Jun 27 16:45:34 localhost ntpd[13916]: kernel time sync enabled 2001 g1-60(6.3-S)[8] sudo tail -4 /var/log/console.log Password: Jun 27 16:01:47 localhost kernel: . Jun 27 16:01:47 localhost kernel: Starting background file system checks in 60 seconds. Jun 27 16:01:47 localhost kernel: Jun 27 16:01:47 localhost kernel: Fri Jun 27 16:01:47 PDT 2008 g1-60(6.3-S)[9] dmesg | tail -4 info: [drm] Setting GART location based on new memory map info: [drm] Loading R200 Microcode info: [drm] writeback test succeeded in 1 usecs drm0: [MPSAFE] g1-60(6.3-S)[10] So: nothing logged. And I know of no way to change the value, but something did. Any clues? Oh: the machine is presently running: g1-60(6.3-S)[10] uname -a FreeBSD g1-60.catwhisker.org 6.3-STABLE FreeBSD 6.3-STABLE #638: Fri Jun 27 08:09:17 PDT 2008 root@g1-60.catwhisker.org:/common/S1/obj/usr/src/sys/CANARY i386 g1-60(6.3-S)[11] Please include me in responses, as I'm not subscribed to -acpi@. Thanks! Peace, david -- David H. Wolfskill david@catwhisker.org I submit that "conspiracy" would be an appropriate collective noun for cats. See http://www.catwhisker.org/~david/publickey.gpg for my public key. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-acpi/attachments/20080628/60a8ef32/attachment.pgp From markir at paradise.net.nz Sat Jun 28 09:25:44 2008 From: markir at paradise.net.nz (Mark Kirkwood) Date: Sat Jun 28 09:25:48 2008 Subject: Freebsd 7-stable on Asus Pro31j - suspend and resume Message-ID: <48660389.7020502@paradise.net.nz> I've just seen Christopher's post on the nc6230 suspend and resume - I'm suffering what looks like the same problem with an Asus pro31j: 1/ Suspend to S1 and resume works fine 2/ Suspend to S3 and resume works *but* I have no video thereafer. I've have these set: hw.syscons.sc_no_suspend_vtswitch=1 hw.acpi.reset_video: 1 plus the ata-resume patch: http://people.freebsd.org/~jhb/patches/ata_resume.patch I know S3 is resuming ok, as I can ssh in via re0 interface and check the message log: Jun 28 14:50:04 zul acpi: suspend to 0x03 at 20080628 14:50:04 Jun 28 14:53:41 zul kernel: wakeup from sleeping state (slept 00:03:30) Jun 28 14:53:43 zul acpi: resumed from 0x03 at 20080628 14:53:43 (I've patched rc.suspend and rc.resume to log both $subsystem and $state) I have not tried setting: hw.acpi.video.lcd0.active=1 as I have no such sysctl oid! Any suggestions welcome, and thanks Christopher for raising this! Cheers Mark From jhb at freebsd.org Sat Jun 28 22:34:59 2008 From: jhb at freebsd.org (John Baldwin) Date: Sat Jun 28 22:35:01 2008 Subject: Freebsd 7-stable on Asus Pro31j - suspend and resume In-Reply-To: <48660389.7020502@paradise.net.nz> References: <48660389.7020502@paradise.net.nz> Message-ID: <200806281755.13092.jhb@freebsd.org> On Saturday 28 June 2008 05:25:29 am Mark Kirkwood wrote: > I've just seen Christopher's post on the nc6230 suspend and resume - I'm > suffering what looks like the same problem with an Asus pro31j: > > 1/ Suspend to S1 and resume works fine > 2/ Suspend to S3 and resume works *but* I have no video thereafer. > > I've have these set: > > hw.syscons.sc_no_suspend_vtswitch=1 > hw.acpi.reset_video: 1 > > > plus the ata-resume patch: > > http://people.freebsd.org/~jhb/patches/ata_resume.patch > > I know S3 is resuming ok, as I can ssh in via re0 interface and check > the message log: > > Jun 28 14:50:04 zul acpi: suspend to 0x03 at 20080628 14:50:04 > Jun 28 14:53:41 zul kernel: wakeup from sleeping state (slept 00:03:30) > Jun 28 14:53:43 zul acpi: resumed from 0x03 at 20080628 14:53:43 > > (I've patched rc.suspend and rc.resume to log both $subsystem and $state) > > > I have not tried setting: > > hw.acpi.video.lcd0.active=1 > > as I have no such sysctl oid! You have to use the acpi_video(4) driver (kldload acpi_device or 'device acpi_video'). Your BIOS also has to provide video control via ACPI. > Any suggestions welcome, and thanks Christopher for raising this! You can also try http://www.FreeBSD.org/~jhb/patches/dpms.patch (you'll need to either add 'device dpms' to your kernel config or build dpms.ko and kldload it). It is a committable version of the old DPMS patch that uses VESA DPMS to turn off the monitor on suspend and turn it back on on resume. -- John Baldwin From jhb at freebsd.org Sat Jun 28 22:35:15 2008 From: jhb at freebsd.org (John Baldwin) Date: Sat Jun 28 22:35:28 2008 Subject: How/why would dev.cpu.0.freq_levels change??!? In-Reply-To: <20080627235319.GP70792@bunrab.catwhisker.org> References: <20080627235319.GP70792@bunrab.catwhisker.org> Message-ID: <200806281738.40672.jhb@freebsd.org> On Friday 27 June 2008 07:53:19 pm David Wolfskill wrote: > My laptop is a Dell Inspiron 8200; I (ab)use it moderately heavily: > this includes tracking RELENG_6, RELENG_7, & HEAD on it, daily. > > Lately there have been some times when "make buildworld" for RELENG_6 > has taken a lot longer than it used to ... and I noticed that the > fans were on, even though it was running fairly cool (around 50C; > during a "make buildworld, around 85C is more common) -- and that > the machine was typically "topping out" at half speed (1200 MHz). > > During these times, querying dev.cpu.0.freq_levels would yield a list > that did, ini fact, max out at 1200 MHz, when I know that it has gone up > to 2400 MHz in the past. > > When it does this, the only circumvention I've been able to find is a > power-cycle. Since I like to minimize disruption, this is annoying. > > This afternoon, it showed evidence of doing this stunt again, so I > carefully logged out, powered the machine off, waited about 5 minutes, > then powered it back on. > > But this time, I decided to fire up a little loop to display a timestamp > and the ooutput from "sysctl -n hw.acpi.thermal.tz0.temperature > dev.cpu.0.freq dev.cpu.0.freq_levels" every 5 seconds. > > Here's the interval in question: > > 1214609737,60.5C,300,2400/0 2100/0 1800/0 1500/0 1200/0 1050/0 900/0 750/0 600/0 450/0 300/0 150/0 > 1214609742,59.5C,450,2400/0 2100/0 1800/0 1500/0 1200/0 1050/0 900/0 750/0 600/0 450/0 300/0 150/0 > 1214609748,59.5C,450,2400/0 2100/0 1800/0 1500/0 1200/0 1050/0 900/0 750/0 600/0 450/0 300/0 150/0 > 1214609752,57.5C,150,2400/0 2100/0 1800/0 1500/0 1200/0 1050/0 900/0 750/0 600/0 450/0 300/0 150/0 > 1214609757,57.5C,600,1200/0 1050/0 900/0 750/0 600/0 450/0 300/0 150/0 > 1214609762,56.5C,150,1200/0 1050/0 900/0 750/0 600/0 450/0 300/0 150/0 > 1214609767,56.5C,150,1200/0 1050/0 900/0 750/0 600/0 450/0 300/0 150/0 Looks like it lowered the temperature. Your BIOS might have decided to change the levels to force the CPU to throttle down to cool the system. -- John Baldwin From oberman at es.net Sun Jun 29 00:40:49 2008 From: oberman at es.net (Kevin Oberman) Date: Sun Jun 29 00:40:56 2008 Subject: How/why would dev.cpu.0.freq_levels change??!? In-Reply-To: Your message of "Sat, 28 Jun 2008 17:38:40 EDT." <200806281738.40672.jhb@freebsd.org> Message-ID: <20080629003216.3AA074500E@ptavv.es.net> > From: John Baldwin > Date: Sat, 28 Jun 2008 17:38:40 -0400 > Sender: owner-freebsd-acpi@freebsd.org > > On Friday 27 June 2008 07:53:19 pm David Wolfskill wrote: > > My laptop is a Dell Inspiron 8200; I (ab)use it moderately heavily: > > this includes tracking RELENG_6, RELENG_7, & HEAD on it, daily. > > > > Lately there have been some times when "make buildworld" for RELENG_6 > > has taken a lot longer than it used to ... and I noticed that the > > fans were on, even though it was running fairly cool (around 50C; > > during a "make buildworld, around 85C is more common) -- and that > > the machine was typically "topping out" at half speed (1200 MHz). > > > > During these times, querying dev.cpu.0.freq_levels would yield a list > > that did, ini fact, max out at 1200 MHz, when I know that it has gone up > > to 2400 MHz in the past. > > > > When it does this, the only circumvention I've been able to find is a > > power-cycle. Since I like to minimize disruption, this is annoying. > > > > This afternoon, it showed evidence of doing this stunt again, so I > > carefully logged out, powered the machine off, waited about 5 minutes, > > then powered it back on. > > > > But this time, I decided to fire up a little loop to display a timestamp > > and the ooutput from "sysctl -n hw.acpi.thermal.tz0.temperature > > dev.cpu.0.freq dev.cpu.0.freq_levels" every 5 seconds. > > > > Here's the interval in question: > > > > 1214609737,60.5C,300,2400/0 2100/0 1800/0 1500/0 1200/0 1050/0 900/0 750/0 > 600/0 450/0 300/0 150/0 > > 1214609742,59.5C,450,2400/0 2100/0 1800/0 1500/0 1200/0 1050/0 900/0 750/0 > 600/0 450/0 300/0 150/0 > > 1214609748,59.5C,450,2400/0 2100/0 1800/0 1500/0 1200/0 1050/0 900/0 750/0 > 600/0 450/0 300/0 150/0 > > 1214609752,57.5C,150,2400/0 2100/0 1800/0 1500/0 1200/0 1050/0 900/0 750/0 > 600/0 450/0 300/0 150/0 > > 1214609757,57.5C,600,1200/0 1050/0 900/0 750/0 600/0 450/0 300/0 150/0 > > 1214609762,56.5C,150,1200/0 1050/0 900/0 750/0 600/0 450/0 300/0 150/0 > > 1214609767,56.5C,150,1200/0 1050/0 900/0 750/0 600/0 450/0 300/0 150/0 > > Looks like it lowered the temperature. Your BIOS might have decided to change > the levels to force the CPU to throttle down to cool the system. Any chance you moved to battery at any time? My ThinkPad BIOS drops my CPU's top speed from 2G to 800M when I go onto battery. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 224 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-acpi/attachments/20080629/16a224d2/attachment.pgp From oberman at es.net Sun Jun 29 00:40:49 2008 From: oberman at es.net (Kevin Oberman) Date: Sun Jun 29 00:40:56 2008 Subject: Freebsd 7-stable on Asus Pro31j - suspend and resume In-Reply-To: Your message of "Sat, 28 Jun 2008 17:55:12 EDT." <200806281755.13092.jhb@freebsd.org> Message-ID: <20080629003009.BB47C45047@ptavv.es.net> > From: John Baldwin > Date: Sat, 28 Jun 2008 17:55:12 -0400 > Sender: owner-freebsd-acpi@freebsd.org > > On Saturday 28 June 2008 05:25:29 am Mark Kirkwood wrote: > > I've just seen Christopher's post on the nc6230 suspend and resume - I'm > > suffering what looks like the same problem with an Asus pro31j: > > > > 1/ Suspend to S1 and resume works fine > > 2/ Suspend to S3 and resume works *but* I have no video thereafer. > > > > I've have these set: > > > > hw.syscons.sc_no_suspend_vtswitch=1 > > hw.acpi.reset_video: 1 > > > > > > plus the ata-resume patch: > > > > http://people.freebsd.org/~jhb/patches/ata_resume.patch > > > > I know S3 is resuming ok, as I can ssh in via re0 interface and check > > the message log: > > > > Jun 28 14:50:04 zul acpi: suspend to 0x03 at 20080628 14:50:04 > > Jun 28 14:53:41 zul kernel: wakeup from sleeping state (slept 00:03:30) > > Jun 28 14:53:43 zul acpi: resumed from 0x03 at 20080628 14:53:43 > > > > (I've patched rc.suspend and rc.resume to log both $subsystem and $state) > > > > > > I have not tried setting: > > > > hw.acpi.video.lcd0.active=1 > > > > as I have no such sysctl oid! > > You have to use the acpi_video(4) driver (kldload acpi_device or 'device > acpi_video'). Your BIOS also has to provide video control via ACPI. I feel nervous correcting jhb, but I think he had a metal mis-fire here. I believe that he meant to say "You have to use the acpi_video(4) driver (kldload acpi_video)". In my case, I have acpi_video_load="YES" in /boot/loader.conf (brining the ways to do this up to 3). -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 224 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-acpi/attachments/20080629/730fd401/attachment.pgp From jhb at freebsd.org Sun Jun 29 02:10:34 2008 From: jhb at freebsd.org (John Baldwin) Date: Sun Jun 29 02:10:36 2008 Subject: Freebsd 7-stable on Asus Pro31j - suspend and resume In-Reply-To: <20080629003009.BB47C45047@ptavv.es.net> References: <20080629003009.BB47C45047@ptavv.es.net> Message-ID: <200806282210.08679.jhb@freebsd.org> On Saturday 28 June 2008 08:30:09 pm Kevin Oberman wrote: > > From: John Baldwin > > Date: Sat, 28 Jun 2008 17:55:12 -0400 > > Sender: owner-freebsd-acpi@freebsd.org > > > > On Saturday 28 June 2008 05:25:29 am Mark Kirkwood wrote: > > > I've just seen Christopher's post on the nc6230 suspend and resume - I'm > > > suffering what looks like the same problem with an Asus pro31j: > > > > > > 1/ Suspend to S1 and resume works fine > > > 2/ Suspend to S3 and resume works *but* I have no video thereafer. > > > > > > I've have these set: > > > > > > hw.syscons.sc_no_suspend_vtswitch=1 > > > hw.acpi.reset_video: 1 > > > > > > > > > plus the ata-resume patch: > > > > > > http://people.freebsd.org/~jhb/patches/ata_resume.patch > > > > > > I know S3 is resuming ok, as I can ssh in via re0 interface and check > > > the message log: > > > > > > Jun 28 14:50:04 zul acpi: suspend to 0x03 at 20080628 14:50:04 > > > Jun 28 14:53:41 zul kernel: wakeup from sleeping state (slept 00:03:30) > > > Jun 28 14:53:43 zul acpi: resumed from 0x03 at 20080628 14:53:43 > > > > > > (I've patched rc.suspend and rc.resume to log both $subsystem and $state) > > > > > > > > > I have not tried setting: > > > > > > hw.acpi.video.lcd0.active=1 > > > > > > as I have no such sysctl oid! > > > > You have to use the acpi_video(4) driver (kldload acpi_device or 'device > > acpi_video'). Your BIOS also has to provide video control via ACPI. > > I feel nervous correcting jhb, but I think he had a metal mis-fire > here. I believe that he meant to say "You have to use the acpi_video(4) > driver (kldload acpi_video)". Yep, thanks for catching that. :) Also, as someone else pointed out, the URL was not quite right, it's vesa_dpms.patch rather than dpms.patch, so http://www.FreeBSD.org/~jhb/patches/vesa_dpms.patch -- John Baldwin From david at catwhisker.org Sun Jun 29 02:16:31 2008 From: david at catwhisker.org (David Wolfskill) Date: Sun Jun 29 02:16:34 2008 Subject: How/why would dev.cpu.0.freq_levels change??!? In-Reply-To: <20080629003216.3AA074500E@ptavv.es.net> References: <200806281738.40672.jhb@freebsd.org> <20080629003216.3AA074500E@ptavv.es.net> Message-ID: <20080629014819.GR70792@bunrab.catwhisker.org> On Sat, Jun 28, 2008 at 05:32:16PM -0700, Kevin Oberman wrote: > > From: John Baldwin > > ... > > Looks like it lowered the temperature. Your BIOS might have decided to change > > the levels to force the CPU to throttle down to cool the system. I suppose. :-( But as I noted, it often runs for extended periods at around 85C, so the rationale (if any) for such a maneuver escapes me. > Any chance you moved to battery at any time? My ThinkPad BIOS drops my > CPU's top speed from 2G to 800M when I go onto battery. In this case, I definitely did not, and I was on AC at the time I reported the issue. I've noted recurrences since -- one of which was particularly ntable because dev.cpu.0.freq_levels reported that the fastest available spedd was 1200 MHz, while dev.cpu.0.freq reported that the machine was running at 2400 MHz. Through some experimentation, it appears that I can reduce the probability of the event -- and possibly avoid it altogether (I can't be sure yet) by killing off powerd. (I apologize for failing to mention that I run it, using default settings.) Also, I've only seen it while running RELENG_6 -- not RELENG_7 or HEAD. Then again, I generally only run RELENG_7 or HEAD enough to build them. Thanks for the responses so far. Peace, david -- David H. Wolfskill david@catwhisker.org I submit that "conspiracy" would be an appropriate collective noun for cats. See http://www.catwhisker.org/~david/publickey.gpg for my public key. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-acpi/attachments/20080629/a8bb9e86/attachment.pgp From markir at paradise.net.nz Sun Jun 29 05:33:49 2008 From: markir at paradise.net.nz (Mark Kirkwood) Date: Sun Jun 29 05:33:53 2008 Subject: Freebsd 7-stable on Asus Pro31j - suspend and resume In-Reply-To: <200806281755.13092.jhb@freebsd.org> References: <48660389.7020502@paradise.net.nz> <200806281755.13092.jhb@freebsd.org> Message-ID: <48671EA8.40705@paradise.net.nz> John Baldwin wrote: > On Saturday 28 June 2008 05:25:29 am Mark Kirkwood wrote: > >> I've just seen Christopher's post on the nc6230 suspend and resume - I'm >> suffering what looks like the same problem with an Asus pro31j: >> >> 1/ Suspend to S1 and resume works fine >> 2/ Suspend to S3 and resume works *but* I have no video thereafer. >> >> I've have these set: >> >> hw.syscons.sc_no_suspend_vtswitch=1 >> hw.acpi.reset_video: 1 >> >> >> plus the ata-resume patch: >> >> http://people.freebsd.org/~jhb/patches/ata_resume.patch >> >> I know S3 is resuming ok, as I can ssh in via re0 interface and check >> the message log: >> >> Jun 28 14:50:04 zul acpi: suspend to 0x03 at 20080628 14:50:04 >> Jun 28 14:53:41 zul kernel: wakeup from sleeping state (slept 00:03:30) >> Jun 28 14:53:43 zul acpi: resumed from 0x03 at 20080628 14:53:43 >> >> (I've patched rc.suspend and rc.resume to log both $subsystem and $state) >> >> >> I have not tried setting: >> >> hw.acpi.video.lcd0.active=1 >> >> as I have no such sysctl oid! >> > > You have to use the acpi_video(4) driver (kldload acpi_device or 'device > acpi_video'). Your BIOS also has to provide video control via ACPI. > > >> Any suggestions welcome, and thanks Christopher for raising this! >> > > You can also try http://www.FreeBSD.org/~jhb/patches/dpms.patch (you'll need > to either add 'device dpms' to your kernel config or build dpms.ko and > kldload it). It is a committable version of the old DPMS patch that uses > VESA DPMS to turn off the monitor on suspend and turn it back on on resume. > > Unfortunately adding acpi_video and hw.acpi.video.lcd0.active=1 in rc.resume makes no difference. I was pretty hopeful that the dpms patch would sort this out... however the behaviour is exactly the same :-(. I have it loaded as a module: $ kldstat Id Refs Address Size Name 1 9 0xc0400000 98559c kernel 2 1 0xc0d86000 218c dpms.ko 3 1 0xc0d89000 6a2c4 acpi.ko 4 1 0xc5a04000 21000 radeon.ko 5 1 0xc5a25000 f000 drm.ko Anything else required to activate it? Also, with this patched kernel I have not got acpi_video loaded - as trying to load it in loader.conf gave me the "don't know which disk to boot from" error - strange. Thanks for the patches and suggestions! Mark From david at catwhisker.org Sun Jun 29 18:57:39 2008 From: david at catwhisker.org (David Wolfskill) Date: Sun Jun 29 18:57:43 2008 Subject: How/why would dev.cpu.0.freq_levels change??!? In-Reply-To: <20080629003216.3AA074500E@ptavv.es.net> References: <200806281738.40672.jhb@freebsd.org> <20080629003216.3AA074500E@ptavv.es.net> Message-ID: <20080629185738.GG13924@bunrab.catwhisker.org> OK; I've managed to demonstrate a few things: * Stopping powerd before the phenomenon occurs does not prevent dev.cpu.0.freq_levels from changing, though it does appear to prevent dev.cpu.0.freq from changing: g1-60(6.3-S)[1] sysctl dev.cpu.0.freq_levels dev.cpu.0.freq dev.cpu.0.freq_levels: 1200/0 1050/0 900/0 750/0 600/0 450/0 300/0 150/0 dev.cpu.0.freq: 2400 g1-60(6.3-S)[2] * As you can see, this can lead to the "interesting" situation that the current CPU frequency is higher than the maximum "available." * The phenomenon is not limited to when I run RELENG_6; in an effort to avoid the continuous fan whine, I tried running RELENG_7 for a while, and encountered a recurrence rather quickly. :-( * I tried firing up the Dell diagnostics; they reported OK for each of the CPU & motherboard fans at high speed, but when the diags tried to switch to low speed, they reported that the fans only went down (from 10-11K RPM) to about 7K RPM instead of 5K RPM. (They reported that everything else was working "optimally." Since their serial port test is known to be inadequate -- it makes no attempt to actually use the serial port to send or receive data at all -- I don't know how much that assessment is actually worth.) I still don't know what the problems are, but it's apparent that something outside FreeBSD's control is misbehaving. Given that, I suppose it would be unreasonable to expect FreeBSD to compensate in an attempt to enforce rationality. :-( Which still leaves me wondering what type(s) of evasive actions make sense: I've become rather accustomed to using a laptop with a 1600x1200 screen, and finding another laptop similarly-equipped (but newer) at a reasoonable price that will run FreeBSD well appears to be somewhat of a challenge. I'm open to suggestions. Maybe I should just see if the local laptop repair place can fix it. :-( Peace, david -- David H. Wolfskill david@catwhisker.org I submit that "conspiracy" would be an appropriate collective noun for cats. See http://www.catwhisker.org/~david/publickey.gpg for my public key. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-acpi/attachments/20080629/8453d22e/attachment.pgp From gaijin.k at gmail.com Sun Jun 29 23:08:17 2008 From: gaijin.k at gmail.com (Alexandre "Sunny" Kovalenko) Date: Sun Jun 29 23:08:21 2008 Subject: How/why would dev.cpu.0.freq_levels change??!? In-Reply-To: <20080629185738.GG13924@bunrab.catwhisker.org> References: <200806281738.40672.jhb@freebsd.org> <20080629003216.3AA074500E@ptavv.es.net> <20080629185738.GG13924@bunrab.catwhisker.org> Message-ID: <1214779416.925.17.camel@RabbitsDen> I am coming in late in the thread, so if I have misunderstood your problem, I do apologize. On Sun, 2008-06-29 at 11:57 -0700, David Wolfskill wrote: > OK; I've managed to demonstrate a few things: > > * Stopping powerd before the phenomenon occurs does not prevent > dev.cpu.0.freq_levels from changing, though it does appear to prevent > dev.cpu.0.freq from changing: > g1-60(6.3-S)[1] sysctl dev.cpu.0.freq_levels dev.cpu.0.freq > dev.cpu.0.freq_levels: 1200/0 1050/0 900/0 750/0 600/0 450/0 300/0 150/0 > dev.cpu.0.freq: 2400 > g1-60(6.3-S)[2] > > * As you can see, this can lead to the "interesting" situation that the > current CPU frequency is higher than the maximum "available." >From my (somewhat limited) understanding of the ACPI spec, BIOS can change _PSS object (one containing available clock frequencies) and issue notification to the OS to reevaluate said object. There is no requirement that BIOS change current CPU frequency while doing that. You can try to dump your ASL and see if anything there messes up with _PSS and then issues Notify (xxx.CPU0, 0x80) on the same breath. Killing that piece of ASL dead should ensure constant CPU frequencies set. ?You can post your ASL someplace where I can get to it, I just could not promise that I'll understand it much better than you. > > * The phenomenon is not limited to when I run RELENG_6; in an effort to > avoid the continuous fan whine, I tried running RELENG_7 for a while, > and encountered a recurrence rather quickly. :-( If it is the mechanism, I have described above, I would expect it to behave similarly under RELENG_6 and RELENG_7. > > * I tried firing up the Dell diagnostics; they reported OK for each of > the CPU & motherboard fans at high speed, but when the diags tried to > switch to low speed, they reported that the fans only went down (from > 10-11K RPM) to about 7K RPM instead of 5K RPM. I just emptied can of compressed air into all of the orifices of my ThinkPad X60 with the end result of average running temperature dropping about 7C and fan speed reduced appropriately. I am surprised no one suggested this yet. > > I still don't know what the problems are, but it's apparent that > something outside FreeBSD's control is misbehaving. Given that, I > suppose it would be unreasonable to expect FreeBSD to compensate > in an attempt to enforce rationality. :-( Why not -- I had powerd patch (now obsolete) to compensate for the excess of the thermal paste under the CPU heatsink -- the sky is the limit. > > Which still leaves me wondering what type(s) of evasive actions > make sense: I've become rather accustomed to using a laptop with a > 1600x1200 screen, and finding another laptop similarly-equipped > (but newer) at a reasoonable price that will run FreeBSD well appears > to be somewhat of a challenge. I'm open to suggestions. If you are looking for suggestion on the replacement laptop model -- ThinkPad T42p (aftermarket) should fit the bill nicely, otherwise, see above. > Maybe I should just see if the local laptop repair place can fix it. :-( ... or start with the canned air. > > Peace, > david -- Alexandre "Sunny" Kovalenko (????????? ?????????) From david at catwhisker.org Mon Jun 30 00:45:50 2008 From: david at catwhisker.org (David Wolfskill) Date: Mon Jun 30 00:45:52 2008 Subject: How/why would dev.cpu.0.freq_levels change??!? In-Reply-To: <1214779416.925.17.camel@RabbitsDen> References: <200806281738.40672.jhb@freebsd.org> <20080629003216.3AA074500E@ptavv.es.net> <20080629185738.GG13924@bunrab.catwhisker.org> <1214779416.925.17.camel@RabbitsDen> Message-ID: <20080630004549.GI13924@bunrab.catwhisker.org> On Sun, Jun 29, 2008 at 06:43:36PM -0400, Alexandre Sunny Kovalenko wrote: > I am coming in late in the thread, so if I have misunderstood your > problem, I do apologize. Not at all; thank you for your suggestions! > ... > > * As you can see, this can lead to the "interesting" situation that the > > current CPU frequency is higher than the maximum "available." > >From my (somewhat limited) understanding of the ACPI spec, BIOS can > change _PSS object (one containing available clock frequencies) and > issue notification to the OS to reevaluate said object. There is no > requirement that BIOS change current CPU frequency while doing that. OK; I confess ignorance on that score: I'm posting to -acpi because I rather suspect that ACPI is (at least) profoundly implicated in what's going on, if not responsible for it. > You can try to dump your ASL and see if anything there messes up with > _PSS and then issues Notify (xxx.CPU0, 0x80) on the same breath. Killing > that piece of ASL dead should ensure constant CPU frequencies set. ???You > can post your ASL someplace where I can get to it, I just could not > promise that I'll understand it much better than you. I ran sudo acpidump -dt -o >laptop.i8200.dsdt >laptop.i8200.asl and placed the results in www.catwhisker.org:~david/public_html/FreeBSD/, so and should work. I just tried it from my laptop (sick as it is), and the MD5 hashes matched. They are: g1-60(6.3-S)[6] md5 laptop.i8200.* MD5 (laptop.i8200.asl) = 7c83c27ad30bbd0957f10a5a3ffc90e5 MD5 (laptop.i8200.dsdt) = c290ab9be7c97eb7ae98523a5f5a4ddc g1-60(6.3-S)[7] > > * The phenomenon is not limited to when I run RELENG_6; in an effort to > > avoid the continuous fan whine, I tried running RELENG_7 for a while, > > and encountered a recurrence rather quickly. :-( > If it is the mechanism, I have described above, I would expect it to > behave similarly under RELENG_6 and RELENG_7. Right. Until I had encountered it as reported above, I hadn't seen an occurrence of the phenomenon under either RELENG_7 or HEAD. > > * I tried firing up the Dell diagnostics; they reported OK for each of > > the CPU & motherboard fans at high speed, but when the diags tried to > > switch to low speed, they reported that the fans only went down (from > > 10-11K RPM) to about 7K RPM instead of 5K RPM. > I just emptied can of compressed air into all of the orifices of my > ThinkPad X60 with the end result of average running temperature dropping > about 7C and fan speed reduced appropriately. I am surprised no one > suggested this yet. Well, in fairness, the reported temperature is quite low: I get reports (from sysctl hw.acpi.thermal.tz0.temperature) of around 85C for extended periods during a "make buildworld," but the reported temperature when this sort of thing occurs is around 45C. On the other hand, this did just start happening recently -- within the last 4-5 days. > > I still don't know what the problems are, but it's apparent that > > something outside FreeBSD's control is misbehaving. Given that, I > > suppose it would be unreasonable to expect FreeBSD to compensate > > in an attempt to enforce rationality. :-( > Why not -- I had powerd patch (now obsolete) to compensate for the > excess of the thermal paste under the CPU heatsink -- the sky is the > limit. Hmmm.... > > Which still leaves me wondering what type(s) of evasive actions > > make sense: I've become rather accustomed to using a laptop with a > > 1600x1200 screen, and finding another laptop similarly-equipped > > (but newer) at a reasoonable price that will run FreeBSD well appears > > to be somewhat of a challenge. I'm open to suggestions. > If you are looking for suggestion on the replacement laptop model -- > ThinkPad T42p (aftermarket) should fit the bill nicely, otherwise, see > above. Thanks for the suggestion; I will look into it. > > Maybe I should just see if the local laptop repair place can fix it. :-( > ... or start with the canned air. Well, I did just disassemble the whole thing -- it's actually a somewhat curious mix of a couple of used i8200s plus a handful of spare parts I've bought. I managed to remove some dust & a few cat hairs, but there was no effective change in beavior. I tried swapping my disk drive for the one that came with it (and which has Windows XP on it). At first, the phenomenon (fans full on; CPU throttled to half-speed) wouldn't recur, but eventually, it seems to have done. (At least I could tell that the fans were full on and that the machine was often marginally responsive to (e.g.) mouse movements.) I have no idea how to find out about ACPI stuff (or much of anything else) in a Microsoft environment -- I did this in preparation for bringing the machine to a repair shop: I figured they'd want the Microsoft environment (and unless the problem existed there, it wouldn't be "real"), and I certainly didn't want to entrust my FreeBSD disk to their tender mercies. :-{ Thanks again for the suggestions so far. Peace, david -- David H. Wolfskill david@catwhisker.org I submit that "conspiracy" would be an appropriate collective noun for cats. See http://www.catwhisker.org/~david/publickey.gpg for my public key. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-acpi/attachments/20080630/d535cdd1/attachment.pgp From smithi at nimnet.asn.au Mon Jun 30 05:24:52 2008 From: smithi at nimnet.asn.au (Ian Smith) Date: Mon Jun 30 05:24:56 2008 Subject: How/why would dev.cpu.0.freq_levels change??!? In-Reply-To: <20080629185738.GG13924@bunrab.catwhisker.org> Message-ID: On Sun, 29 Jun 2008, David Wolfskill wrote: > OK; I've managed to demonstrate a few things: > > * Stopping powerd before the phenomenon occurs does not prevent > dev.cpu.0.freq_levels from changing, though it does appear to prevent > dev.cpu.0.freq from changing: > g1-60(6.3-S)[1] sysctl dev.cpu.0.freq_levels dev.cpu.0.freq > dev.cpu.0.freq_levels: 1200/0 1050/0 900/0 750/0 600/0 450/0 300/0 150/0 > dev.cpu.0.freq: 2400 > g1-60(6.3-S)[2] > > * As you can see, this can lead to the "interesting" situation that the > current CPU frequency is higher than the maximum "available." Perhaps just morbid curiousity, but I'm wondering which cpufreq drivers this machine winds up using (acpi_perf or est/p4tcc or .. ?) grep -i acpi /var/run/dmesg.boot ? sysctl hw.acpi ? > * The phenomenon is not limited to when I run RELENG_6; in an effort to > avoid the continuous fan whine, I tried running RELENG_7 for a while, > and encountered a recurrence rather quickly. :-( > > * I tried firing up the Dell diagnostics; they reported OK for each of > the CPU & motherboard fans at high speed, but when the diags tried to > switch to low speed, they reported that the fans only went down (from > 10-11K RPM) to about 7K RPM instead of 5K RPM. (They reported that 10-11K? Wow. > everything else was working "optimally." Since their serial port test > is known to be inadequate -- it makes no attempt to actually use the > serial port to send or receive data at all -- I don't know how much that > assessment is actually worth.) > > I still don't know what the problems are, but it's apparent that > something outside FreeBSD's control is misbehaving. Given that, I > suppose it would be unreasonable to expect FreeBSD to compensate > in an attempt to enforce rationality. :-( Had a quick look at your .asl, doesn't mean much to me, but I wonder . are you running the latest BIOS/ACPI upgrade available from Dell? "Project: DELL Mojave", "Date: 01/28/1998", "Ver: 1.00.04" . might you have any BIOS settings re performance/economy/cooling set? . not running it in a dock are you? >From what you've described, it almost sounds like a hardware temperature sensor may have failed, or be reporting wrong, or something .. as this has only appeared recently, either something's broken, or perhaps you've inadvertantly changed something? You did mention having been inside .. did that go as far as re-pasting the CPU or other heatsinks? cheers, Ian From bugmaster at FreeBSD.org Mon Jun 30 11:06:52 2008 From: bugmaster at FreeBSD.org (FreeBSD bugmaster) Date: Mon Jun 30 11:06:54 2008 Subject: Current problem reports assigned to freebsd-acpi@FreeBSD.org Message-ID: <200806301106.m5UB6qZG095653@freefall.freebsd.org> Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o i386/54756 acpi ACPI suspend/resume problem on CF-W2 laptop o i386/55661 acpi ACPI suspend/resume problem on ARMADA M700 o kern/56024 acpi ACPI suspend drains battery while in S3 o i386/72566 acpi ACPI, FreeBSD disables fan on Compaq Armada 1750 o i386/79081 acpi ACPI suspend/resume not working on HP nx6110 o kern/81000 acpi [apic] Via 8235 sound card worked great with FreeBSD 5 s kern/91038 acpi [panic] [ata] [acpi] 6.0-RELEASE on Fujitsu Siemens Am s i386/91748 acpi acpi problem on Acer TravelMare 4652LMi (nvidia panic, o kern/102252 acpi acpi thermal does not work on Abit AW8D (intel 975) o kern/104625 acpi ACPI on ASUS A8N-32 SLI/ASUS P4P800 does not show ther o kern/106924 acpi [acpi] ACPI resume returns g_vfs_done() errors and ker o kern/108954 acpi [acpi] 'sleep(1)' sleeps >1 seconds when speedstep (Cx o i386/114562 acpi [acpi] cardbus is dead after s3 on Thinkpad T43 with a o kern/116939 acpi [acpi] PCI-to-PCI misconfigured for bus three and can o kern/118973 acpi [acpi]: Kernel panic with acpi boot o kern/119200 acpi [acpi] Lid close switch suspends CPU for 1 second on H o kern/119356 acpi [acpi]: i386 ACPI wakeup not work due resource exhaust o kern/120953 acpi [acpi]: FreeBSD 6.3 Release: acpi_tz0: _TMP value is f kern/121454 acpi [pst] Promise SuperTrak SX6000 does not load during bo 19 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- f kern/67309 acpi zzz reboot computer (ACPI S3) o i386/69750 acpi Boot without ACPI failed on ASUS L5 s kern/73823 acpi [request] acpi / power-on by timer support o kern/76950 acpi ACPI wrongly blacklisted on Micron ClientPro 766Xi sys o i386/83018 acpi [install] Installer will not boot on Asus P4S8X BIOS 1 o kern/89411 acpi [acpi] acpiconf bug s kern/90243 acpi Laptop fan doesn't turn off (ACPI enabled) (Packard Be o kern/97383 acpi Volume buttons on IBM Thinkpad crash system with ACPI o kern/105537 acpi [acpi] problems in acpi on HP Compaq nc6320 o kern/108017 acpi [acpi]: Acer Aspire 5600 o kern/108488 acpi [acpi] ACPI-1304: *** Error: Method execution failed o kern/108581 acpi [sysctl] sysctl: hw.acpi.cpu.cx_lowest: Invalid argume o kern/108695 acpi [acpi]: Fatal trap 9: general protection fault when in s kern/112544 acpi [acpi] [patch] Add High Precision Event Timer Driver f o kern/114165 acpi [acpi] Dell C810 - ACPI problem o kern/117605 acpi [acpi] [request] add debug.cpufreq.highest o kern/120515 acpi [acpi] [patch] acpi_alloc_wakeup_handler: can't alloc o kern/121102 acpi [acpi_fujitsu] [patch] update acpi_fujitsu for the P80 o kern/121504 acpi [patch] Correctly set hw.acpi.osname on certain machin f amd64/122521 acpi ACPI Error after upgrade to 7.0 o kern/123039 acpi [acpi] ACPI AML_BUFFER_LIMIT errors during boot o kern/124223 acpi [acpi] [patch] acpi_battery.c -- Notify user-defined c o kern/124412 acpi [acpi] power off error on Toshiba M40 laptop o kern/124744 acpi [acpi] [patch] incorrect _BST result validation for To 24 problems total. From kris at FreeBSD.org Mon Jun 30 16:03:46 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Mon Jun 30 16:03:48 2008 Subject: acpi causes missing serial port on HP BL10e Message-ID: <486903DE.6070101@FreeBSD.org> If I build a kernel with acpi on this HP proliant BL10e blade system, it doesn't probe sio0: without acpi: sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A, console sio0: [FILTER] sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A sio1: [FILTER] with acpi: sio0: port 0x2f8-0x2ff irq 3 flags 0x10 on acpi0 sio0: type 16550A, console sio0: [FILTER] note: the port at 0x3f8 didn't probe. If someone is interested I can provide the acpidump. Kris From david at catwhisker.org Mon Jun 30 16:38:47 2008 From: david at catwhisker.org (David Wolfskill) Date: Mon Jun 30 16:38:50 2008 Subject: How/why would dev.cpu.0.freq_levels change??!? In-Reply-To: References: <20080629185738.GG13924@bunrab.catwhisker.org> Message-ID: <20080630163845.GL13924@bunrab.catwhisker.org> On Mon, Jun 30, 2008 at 03:24:11PM +1000, Ian Smith wrote: > ... > > * As you can see, this can lead to the "interesting" situation that the > > current CPU frequency is higher than the maximum "available." > > Perhaps just morbid curiousity, but I'm wondering which cpufreq drivers > this machine winds up using (acpi_perf or est/p4tcc or .. ?) > > grep -i acpi /var/run/dmesg.boot ? > sysctl hw.acpi ? I've placed copies of the dmesg.boot from each of RELENG_6, RELENG_7, and HEAD in www.catwhisker.org:~david/public_html/FreeBSD, as well as copies of the kernel configs (joining the ASL/DSDT stuff). I just added output from "sysctl hw.acpi" from each, as well: bunrab(4.11-S)[3] ls -l laptop.i8200.* -rw-r--r-- 1 david staff 91343 Jun 29 17:22 laptop.i8200.asl -rw-r--r-- 1 david staff 28033 Jun 30 06:51 laptop.i8200.dmesg.boot.6 -rw-r--r-- 1 david staff 30401 Jun 30 06:54 laptop.i8200.dmesg.boot.7 -rw-r--r-- 1 david staff 34133 Jun 30 07:41 laptop.i8200.dmesg.boot.8 -rw-r--r-- 1 david staff 12622 Jun 29 17:22 laptop.i8200.dsdt -rw-r--r-- 1 david staff 975 Jun 30 08:55 laptop.i8200.hw.acpi.6 -rw-r--r-- 1 david staff 974 Jun 30 08:57 laptop.i8200.hw.acpi.7 -rw-r--r-- 1 david staff 976 Jun 30 09:08 laptop.i8200.hw.acpi.8 -rw-r--r-- 1 david staff 9502 May 7 15:05 laptop.i8200.kernel.6 -rw-r--r-- 1 david staff 9154 Jun 8 2007 laptop.i8200.kernel.7 -rw-r--r-- 1 david staff 9399 Jan 12 17:26 laptop.i8200.kernel.8 bunrab(4.11-S)[4] >... > Had a quick look at your .asl, doesn't mean much to me, but I wonder > > . are you running the latest BIOS/ACPI upgrade available from Dell? > "Project: DELL Mojave", > "Date: 01/28/1998", > "Ver: 1.00.04" Errr... hmmm? The machine shows "BIOS Version: A11". > . might you have any BIOS settings re performance/economy/cooling set? My settings under "Power Management" (in the BIOS config/setup menus): BATTERY AC _______ __ Brightness: [XXXXX ] [XXXXXXX ] Power Management: Enabled Enabled Display Time-Out: 4 Minutes Disabled Disk Time-Out: 3 Minutes Disabled Suspend Time-Out: Disabled Disabled 22D Time-Out: Disabled Disabled Smart CPU Mode: Enabled Enabled Display Close: Active Active Ring/Event Resume: Enabled Alarm Resume: Enabled Wakeup On LAN: Disabled Intel SpeedStep(tm): Enabled CPU on AC: Automatic CPU on Battery: Automatic Auto On Mode: Disabled Auto On Time: 00:00 Most of the above are defaults; I disabled Suspend & S2D on battery, as well as told it to remain active on battery if I shut the lid. Everything else should be a default setting. > . not running it in a dock are you? I am not running it in a docking station or port replicator. > From what you've described, it almost sounds like a hardware temperature > sensor may have failed, or be reporting wrong, or something .. as this > has only appeared recently, either something's broken, or perhaps you've > inadvertantly changed something? You did mention having been inside .. > did that go as far as re-pasting the CPU or other heatsinks? I did not see how to get the CPU heat sink off, so I didn't mess with that. I did remove the keyboard, and it appears that the keyboard acts as a secondary heat sink for the video card; I did clean both surfaces (the chip & the underside of the keyboard) and place a thin layer of thermal compound on the chip before re-seating the keyboard. That does not appear to have had a noticable effect either way. Thanks for the help so far. I'm getting the distinct impression that it's likely that some of the hardware is failing, and that I either need to have the machine repaired by someone competent to do so (as opposed to me) or I need to consider replacing it. (There are, after all, significant parts of the machine that are over 5 years old. And I've been tracking various FreeBSD branches on it just about daily as long as I've had it and it's been working.) Peace, david -- David H. Wolfskill david@catwhisker.org I submit that "conspiracy" would be an appropriate collective noun for cats. See http://www.catwhisker.org/~david/publickey.gpg for my public key. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-acpi/attachments/20080630/58a9d825/attachment.pgp From jhb at freebsd.org Mon Jun 30 23:10:17 2008 From: jhb at freebsd.org (John Baldwin) Date: Mon Jun 30 23:10:19 2008 Subject: acpi causes missing serial port on HP BL10e In-Reply-To: <486903DE.6070101@FreeBSD.org> References: <486903DE.6070101@FreeBSD.org> Message-ID: <200806301512.19227.jhb@freebsd.org> On Monday 30 June 2008 12:03:42 pm Kris Kennaway wrote: > If I build a kernel with acpi on this HP proliant BL10e blade system, it > doesn't probe sio0: > > without acpi: > > sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 > sio0: type 16550A, console > sio0: [FILTER] > sio1 at port 0x2f8-0x2ff irq 3 on isa0 > sio1: type 16550A > sio1: [FILTER] > > with acpi: > > sio0: port 0x2f8-0x2ff irq 3 flags 0x10 on acpi0 > sio0: type 16550A, console > sio0: [FILTER] > > note: the port at 0x3f8 didn't probe. > > If someone is interested I can provide the acpidump. Does the port at 0x3f8 work w/o ACPI? -- John Baldwin From jhb at freebsd.org Mon Jun 30 23:11:04 2008 From: jhb at freebsd.org (John Baldwin) Date: Mon Jun 30 23:11:06 2008 Subject: How/why would dev.cpu.0.freq_levels change??!? In-Reply-To: <20080629185738.GG13924@bunrab.catwhisker.org> References: <200806281738.40672.jhb@freebsd.org> <20080629003216.3AA074500E@ptavv.es.net> <20080629185738.GG13924@bunrab.catwhisker.org> Message-ID: <200806301511.11294.jhb@freebsd.org> On Sunday 29 June 2008 02:57:38 pm David Wolfskill wrote: > I still don't know what the problems are, but it's apparent that > something outside FreeBSD's control is misbehaving. Given that, I > suppose it would be unreasonable to expect FreeBSD to compensate > in an attempt to enforce rationality. :-( Are you sure it is really a problem? Presumably the machine is overheating or something that is causing the BIOS to request that the CPU speed is lowered (I wonder if Windows changes CPU speed when _PSS changes so that the BIOS writer figured changing _PSS was sufficient to force the CPU to be throttled). Presumably if the BIOS really is trying to protect the hardware not doing what it wants might result in physical damage to the machine of some sort. -- John Baldwin From kris at FreeBSD.org Mon Jun 30 23:20:17 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Mon Jun 30 23:20:19 2008 Subject: acpi causes missing serial port on HP BL10e In-Reply-To: <200806301512.19227.jhb@freebsd.org> References: <486903DE.6070101@FreeBSD.org> <200806301512.19227.jhb@freebsd.org> Message-ID: <48696A2E.8020109@FreeBSD.org> John Baldwin wrote: > On Monday 30 June 2008 12:03:42 pm Kris Kennaway wrote: >> If I build a kernel with acpi on this HP proliant BL10e blade system, it >> doesn't probe sio0: >> >> without acpi: >> >> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 >> sio0: type 16550A, console >> sio0: [FILTER] >> sio1 at port 0x2f8-0x2ff irq 3 on isa0 >> sio1: type 16550A >> sio1: [FILTER] >> >> with acpi: >> >> sio0: port 0x2f8-0x2ff irq 3 flags 0x10 on acpi0 >> sio0: type 16550A, console >> sio0: [FILTER] >> >> note: the port at 0x3f8 didn't probe. >> >> If someone is interested I can provide the acpidump. > > Does the port at 0x3f8 work w/o ACPI? Yeah, it is supposed to be the primary console. I (re)discovered this problem when I accidentally added acpi back to my previously working kernel. Kris From david at catwhisker.org Mon Jun 30 23:31:48 2008 From: david at catwhisker.org (David Wolfskill) Date: Mon Jun 30 23:31:50 2008 Subject: How/why would dev.cpu.0.freq_levels change??!? In-Reply-To: <200806301511.11294.jhb@freebsd.org> References: <200806281738.40672.jhb@freebsd.org> <20080629003216.3AA074500E@ptavv.es.net> <20080629185738.GG13924@bunrab.catwhisker.org> <200806301511.11294.jhb@freebsd.org> Message-ID: <20080630233146.GQ13924@bunrab.catwhisker.org> On Mon, Jun 30, 2008 at 03:11:11PM -0400, John Baldwin wrote: > ... > Are you sure it is really a problem? Presumably the machine is overheating or > something that is causing the BIOS to request that the CPU speed is lowered > (I wonder if Windows changes CPU speed when _PSS changes so that the BIOS > writer figured changing _PSS was sufficient to force the CPU to be > throttled). Presumably if the BIOS really is trying to protect the hardware > not doing what it wants might result in physical damage to the machine of > some sort. Yeah, I'm pretty sure. Evidence: * The behavior is markedly different from what it had been up to about a week ago. In particular, building RELENG_6, RELENG_7, and HEAD daily, the fans would normally vary in speed (based on pitch & intensity of sound, rather than from a sysctl variable) generally in an "expected" way based on the reported CPU temperature (this was from sysctl variable). Now, in contrast, the machinee runs for a bit, then the fans kick in, the CPU acts as if it maxes out at half speed. And the *only* way I've found to even slow the fans down is to power-cycle -- even though the reported CPU temperature is way low -- around 45C. (Exhaust air from the fans isn't especially warm, either.) * As a result, a full "make buildworld" takes several hours longer than it did as recently as a week ago. * I am now able to reproduce the problem just booting the machine to the BIOS config/setup stage. * The fan noise is freaking annoying. :-/ In any case, I've dropped the machine off for hardware repair. I should soon find out whether "repair" is a feasible option or I should look at replacement. Thanks for all your help! Peace, david -- David H. Wolfskill david@catwhisker.org I submit that "conspiracy" would be an appropriate collective noun for cats. See http://www.catwhisker.org/~david/publickey.gpg for my public key. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-acpi/attachments/20080630/4d5ace13/attachment.pgp