Advertisement
Guest User

Untitled

a guest
Nov 28th, 2021
108
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*
  2. * Intel ACPI Component Architecture
  3. * AML/ASL+ Disassembler version 20200326 (64-bit version)
  4. * Copyright (c) 2000 - 2020 Intel Corporation
  5. *
  6. * Disassembling to symbolic ASL+ operators
  7. *
  8. * Disassembly of DSDT, Sun Nov 21 08:52:17 2021
  9. *
  10. * Original Table Header:
  11. * Signature "DSDT"
  12. * Length 0x00011783 (71555)
  13. * Revision 0x01 **** 32-bit table (V1), no 64-bit math support
  14. * Checksum 0xAE
  15. * OEM ID "LENOVO"
  16. * OEM Table ID "TP-R1M "
  17. * OEM Revision 0x000010B0 (4272)
  18. * Compiler ID "INTL"
  19. * Compiler Version 0x20180313 (538444563)
  20. */
  21. DefinitionBlock ("", "DSDT", 1, "LENOVO", "TP-R1M ", 0x000010B0)
  22. {
  23. External (_SB_.ALIB, MethodObj) // 2 Arguments
  24. External (_SB_.APTS, MethodObj) // 1 Arguments
  25. External (_SB_.AWAK, MethodObj) // 1 Arguments
  26. External (_SB_.PCI0.LPC0.EC0_.AFN4, MethodObj) // 1 Arguments
  27. External (_SB_.PCI0.LPC0.EC0_.ECMS, UnknownObj)
  28. External (_SB_.PCI0.LPC0.EC0_.HAM6, UnknownObj)
  29. External (_SB_.PCI0.LPC0.EC0_.HKEY.TSSS, MethodObj) // 0 Arguments
  30. External (_SB_.PCI0.LPC0.EC0_.HPLD, UnknownObj)
  31. External (_SB_.PEP_, UnknownObj)
  32. External (_SB_.TPM_.PTS_, MethodObj) // 1 Arguments
  33. External (M017, MethodObj) // 6 Arguments
  34. External (M019, MethodObj) // 4 Arguments
  35. External (M020, MethodObj) // 5 Arguments
  36. External (TPOS, UnknownObj)
  37.  
  38. OperationRegion (SYST, SystemMemory, 0xCBD79B18, 0x00000001)
  39. Field (SYST, AnyAcc, Lock, Preserve)
  40. {
  41. RV2, 8
  42. }
  43.  
  44. Name (MACA, "_AUXMAX_#XXXXXXXXXXXX#")
  45. Name (WOLD, "_S5WOL_#00EF1700000000#")
  46. Name (SPS, 0x00)
  47. Name (OSIF, 0x00)
  48. Name (WNTF, 0x00)
  49. Name (WXPF, 0x00)
  50. Name (WVIS, 0x00)
  51. Name (WIN7, 0x00)
  52. Name (WIN8, 0x00)
  53. Name (WSPV, 0x00)
  54. Name (LNUX, 0x00)
  55. Name (H8DR, 0x00)
  56. Name (MEMX, 0x00)
  57. Name (ACST, 0x00)
  58. Name (FMBL, 0x01)
  59. Name (FDTP, 0x02)
  60. Name (FUPS, 0x03)
  61. Name (FNID, 0x00)
  62. Name (RRBF, 0x00)
  63. Name (NBCF, 0x00)
  64. OperationRegion (CNVS, SystemMemory, 0xCBC25018, 0x1000)
  65. Field (CNVS, ByteAcc, NoLock, Preserve)
  66. {
  67. SCSB, 32768
  68. }
  69.  
  70. Field (CNVS, ByteAcc, NoLock, Preserve)
  71. {
  72. SNMA, 32
  73. }
  74.  
  75. Field (CNVS, ByteAcc, NoLock, Preserve)
  76. {
  77. SSMB, 24768,
  78. SSPL, 16,
  79. SSPB, 2048
  80. }
  81.  
  82. Field (CNVS, ByteAcc, NoLock, Preserve)
  83. {
  84. SGMB, 128,
  85. SGPL, 16,
  86. SGPB, 2048
  87. }
  88.  
  89. Field (CNVS, ByteAcc, NoLock, Preserve)
  90. {
  91. SGSB, 24608
  92. }
  93.  
  94. Field (CNVS, ByteAcc, NoLock, Preserve)
  95. {
  96. SEDL, 768,
  97. SENS, 32
  98. }
  99.  
  100. OperationRegion (MNVS, SystemMemory, 0xCBC1B018, 0x1000)
  101. Field (MNVS, DWordAcc, NoLock, Preserve)
  102. {
  103. Offset (0xD00),
  104. GAPA, 32,
  105. GAPL, 32,
  106. DCKI, 32,
  107. DCKS, 32,
  108. VCDL, 1,
  109. VCDC, 1,
  110. VCDT, 1,
  111. VCDD, 1,
  112. , 1,
  113. VCSS, 1,
  114. VCDB, 1,
  115. VCIN, 1,
  116. VVPO, 8,
  117. BNTN, 8,
  118. BRLV, 8,
  119. CDFL, 8,
  120. CDAH, 8,
  121. PMOD, 2,
  122. PDIR, 1,
  123. PDMA, 1,
  124. Offset (0xD17),
  125. LFDC, 1,
  126. Offset (0xD18),
  127. C2NA, 1,
  128. C3NA, 1,
  129. C4NA, 1,
  130. C6NA, 1,
  131. C7NA, 1,
  132. Offset (0xD19),
  133. Offset (0xD1A),
  134. , 2,
  135. , 1,
  136. NHPS, 1,
  137. NPMS, 1,
  138. Offset (0xD1B),
  139. UOPT, 8,
  140. BTID, 32,
  141. DPP0, 1,
  142. DPP1, 1,
  143. DPP2, 1,
  144. DPP3, 1,
  145. DPP4, 1,
  146. DPP5, 1,
  147. Offset (0xD21),
  148. Offset (0xD22),
  149. TCRT, 16,
  150. TPSV, 16,
  151. TTC1, 16,
  152. TTC2, 16,
  153. TTSP, 16,
  154. SRAH, 8,
  155. SRHE, 8,
  156. SRE1, 8,
  157. SRE2, 8,
  158. SRE3, 8,
  159. SRE4, 8,
  160. SRE5, 8,
  161. SRE6, 8,
  162. SRU1, 8,
  163. SRU2, 8,
  164. SRU3, 8,
  165. SRU7, 8,
  166. SRU4, 8,
  167. SRU5, 8,
  168. SRU8, 8,
  169. SRPB, 8,
  170. SRLP, 8,
  171. SRSA, 8,
  172. SRSM, 8,
  173. CWAC, 1,
  174. CWAS, 1,
  175. CWUE, 1,
  176. CWUS, 1,
  177. Offset (0xD40),
  178. CWAP, 16,
  179. CWAT, 16,
  180. DBGC, 1,
  181. Offset (0xD45),
  182. FS1L, 16,
  183. FS1M, 16,
  184. FS1H, 16,
  185. FS2L, 16,
  186. FS2M, 16,
  187. FS2H, 16,
  188. FS3L, 16,
  189. FS3M, 16,
  190. FS3H, 16,
  191. TATC, 1,
  192. , 6,
  193. TATL, 1,
  194. TATW, 8,
  195. TNFT, 4,
  196. TNTT, 4,
  197. TDFA, 4,
  198. TDTA, 4,
  199. TDFD, 4,
  200. TDTD, 4,
  201. TCFA, 4,
  202. TCTA, 4,
  203. TCFD, 4,
  204. TCTD, 4,
  205. TSFT, 4,
  206. TSTT, 4,
  207. TIT0, 8,
  208. TCR0, 16,
  209. TPS0, 16,
  210. TIT1, 8,
  211. TCR1, 16,
  212. TPS1, 16,
  213. TIT2, 8,
  214. TCR2, 16,
  215. TPS2, 16,
  216. TIF0, 8,
  217. TIF1, 8,
  218. TIF2, 8,
  219. Offset (0xD78),
  220. BTHI, 1,
  221. Offset (0xD79),
  222. HDIR, 1,
  223. HDEH, 1,
  224. HDSP, 1,
  225. HDPP, 1,
  226. HDUB, 1,
  227. HDMC, 1,
  228. NFCF, 1,
  229. NOMC, 1,
  230. TPME, 8,
  231. BIDE, 4,
  232. IDET, 4,
  233. , 1,
  234. , 1,
  235. Offset (0xD7D),
  236. DTS0, 8,
  237. Offset (0xD7F),
  238. DT00, 1,
  239. DT01, 1,
  240. DT02, 1,
  241. DT03, 1,
  242. Offset (0xD80),
  243. LIDB, 1,
  244. C4WR, 1,
  245. C4AC, 1,
  246. ODDX, 1,
  247. CMPR, 1,
  248. ILNF, 1,
  249. PLUX, 1,
  250. Offset (0xD81),
  251. Offset (0xD8A),
  252. WLAC, 8,
  253. WIWK, 1,
  254. Offset (0xD8C),
  255. , 4,
  256. , 1,
  257. IDMM, 1,
  258. Offset (0xD8D),
  259. , 3,
  260. , 1,
  261. , 1,
  262. , 1,
  263. Offset (0xD8E),
  264. Offset (0xD8F),
  265. , 4,
  266. Offset (0xD90),
  267. Offset (0xD91),
  268. SWGP, 8,
  269. IPMS, 8,
  270. IPMB, 120,
  271. IPMR, 24,
  272. IPMO, 24,
  273. IPMA, 8,
  274. VIGD, 1,
  275. VDSC, 1,
  276. VMSH, 1,
  277. , 1,
  278. VDSP, 1,
  279. Offset (0xDAA),
  280. Offset (0xDAD),
  281. ASFT, 8,
  282. PL1L, 8,
  283. PL1M, 8,
  284. CHKC, 32,
  285. CHKE, 32,
  286. ATRB, 32,
  287. Offset (0xDBD),
  288. PPCR, 8,
  289. TPCR, 5,
  290. Offset (0xDBF),
  291. Offset (0xDCE),
  292. CTPR, 8,
  293. PPCA, 8,
  294. TPCA, 5,
  295. Offset (0xDD1),
  296. BFWB, 296,
  297. OSPX, 1,
  298. OSC4, 1,
  299. CPPX, 1,
  300. Offset (0xDF7),
  301. SPEN, 1,
  302. SCRM, 1,
  303. , 1,
  304. ETAU, 1,
  305. IHBC, 1,
  306. ARPM, 1,
  307. APMF, 1,
  308. Offset (0xDF8),
  309. FTPS, 8,
  310. HIST, 8,
  311. LPST, 8,
  312. LWST, 8,
  313. Offset (0xDFF),
  314. Offset (0xE00),
  315. Offset (0xE20),
  316. HPET, 32,
  317. PKLI, 16,
  318. VLCX, 16,
  319. VNIT, 8,
  320. VBD0, 8,
  321. VBDT, 128,
  322. VBPL, 16,
  323. VBPH, 16,
  324. VBML, 8,
  325. VBMH, 8,
  326. VEDI, 1024,
  327. PDCI, 16,
  328. ISCG, 32,
  329. ISSP, 1,
  330. ISWK, 2,
  331. ISFS, 3,
  332. Offset (0xEC7),
  333. SHA1, 160,
  334. Offset (0xEDC),
  335. LWCP, 1,
  336. LWEN, 1,
  337. IOCP, 1,
  338. IOEN, 1,
  339. IOST, 1,
  340. Offset (0xEDD),
  341. USBR, 1,
  342. Offset (0xEDE),
  343. Offset (0xEDF),
  344. Offset (0xEE1),
  345. BT2T, 1,
  346. Offset (0xEE2),
  347. TPPP, 8,
  348. TPPC, 8,
  349. CTPC, 8,
  350. FNWK, 8,
  351. Offset (0xEE7),
  352. XHCC, 8,
  353. FCAP, 16,
  354. VSTD, 1,
  355. VCQL, 1,
  356. VTIO, 1,
  357. VMYH, 1,
  358. VSTP, 1,
  359. VCQH, 1,
  360. VDCC, 1,
  361. VSFN, 1,
  362. VDMC, 1,
  363. VFHP, 1,
  364. VIFC, 1,
  365. VMMC, 1,
  366. VMSC, 1,
  367. VPSC, 1,
  368. VCSC, 1,
  369. Offset (0xEEC),
  370. CICF, 4,
  371. CICM, 4,
  372. MYHC, 8,
  373. MMCC, 8,
  374. PT1D, 15,
  375. Offset (0xEF1),
  376. PT2D, 15,
  377. Offset (0xEF3),
  378. PT0D, 15,
  379. Offset (0xEF5),
  380. DVS0, 1,
  381. DVS1, 1,
  382. DVS2, 1,
  383. DVS3, 1,
  384. Offset (0xEF7),
  385. DSTD, 15,
  386. Offset (0xEF9),
  387. DCQL, 15,
  388. Offset (0xEFB),
  389. DTIO, 15,
  390. Offset (0xEFD),
  391. DMYH, 15,
  392. Offset (0xEFF),
  393. DPST, 15,
  394. Offset (0xF01),
  395. DCQH, 15,
  396. Offset (0xF03),
  397. DDCC, 15,
  398. Offset (0xF05),
  399. DSFN, 15,
  400. Offset (0xF07),
  401. DDMC, 15,
  402. Offset (0xF09),
  403. DFHP, 15,
  404. Offset (0xF0B),
  405. DIFC, 15,
  406. Offset (0xF0D),
  407. DMMC, 15,
  408. Offset (0xF0F),
  409. DMSC, 15,
  410. Offset (0xF11),
  411. DPSC, 15,
  412. Offset (0xF13),
  413. ECSC, 15,
  414. Offset (0xF15),
  415. SMYH, 4,
  416. SMMC, 4,
  417. SPSC, 4,
  418. Offset (0xF17),
  419. STDV, 8,
  420. SCRB, 8,
  421. PMOF, 8,
  422. MPID, 8,
  423. VEDX, 1024,
  424. SHDW, 8,
  425. TPID, 16,
  426. TPAD, 8,
  427. TDVI, 16,
  428. TDPI, 16,
  429. TLVI, 16,
  430. TLPI, 16,
  431. DYPR, 32
  432. }
  433.  
  434. Field (MNVS, ByteAcc, NoLock, Preserve)
  435. {
  436. Offset (0xB00),
  437. WITM, 8,
  438. WSEL, 8,
  439. WLS0, 8,
  440. WLS1, 8,
  441. WLS2, 8,
  442. WLS3, 8,
  443. WLS4, 8,
  444. WLS5, 8,
  445. WLS6, 8,
  446. WLS7, 8,
  447. WLS8, 8,
  448. WLS9, 8,
  449. WLSA, 8,
  450. WLSB, 8,
  451. WLSC, 8,
  452. WLSD, 8,
  453. WENC, 8,
  454. WKBD, 8,
  455. WPTY, 8,
  456. WPAS, 1032,
  457. WPNW, 1032,
  458. WSPM, 8,
  459. WSPS, 8,
  460. WSMN, 8,
  461. WSMX, 8,
  462. WSEN, 8,
  463. WSKB, 8,
  464. WASB, 8,
  465. WASI, 16,
  466. WASD, 8,
  467. WASS, 32,
  468. WDRV, 8,
  469. WMTH, 8,
  470. RTC0, 8,
  471. RTC1, 8,
  472. RTC2, 8,
  473. WSHS, 8
  474. }
  475.  
  476. Field (MNVS, ByteAcc, NoLock, Preserve)
  477. {
  478. Offset (0xA00),
  479. DBGB, 1024
  480. }
  481.  
  482. OperationRegion (SMI0, SystemIO, 0xB0, 0x02)
  483. Field (SMI0, ByteAcc, NoLock, Preserve)
  484. {
  485. APMC, 8,
  486. APMD, 8
  487. }
  488.  
  489. Field (MNVS, AnyAcc, NoLock, Preserve)
  490. {
  491. Offset (0xFC0),
  492. CMD, 8,
  493. ERR, 32,
  494. PAR0, 32,
  495. PAR1, 32,
  496. PAR2, 32,
  497. PAR3, 32
  498. }
  499.  
  500. Mutex (MSMI, 0x00)
  501. Method (SMI, 5, Serialized)
  502. {
  503. Acquire (MSMI, 0xFFFF)
  504. CMD = Arg0
  505. ERR = 0x01
  506. PAR0 = Arg1
  507. PAR1 = Arg2
  508. PAR2 = Arg3
  509. PAR3 = Arg4
  510. APMC = 0xF5
  511. While ((ERR == 0x01))
  512. {
  513. Sleep (0x01)
  514. APMC = 0xF5
  515. }
  516.  
  517. Local0 = PAR0 /* \PAR0 */
  518. Release (MSMI)
  519. Return (Local0)
  520. }
  521.  
  522. Method (RPCI, 1, NotSerialized)
  523. {
  524. Return (SMI (0x00, 0x00, Arg0, 0x00, 0x00))
  525. }
  526.  
  527. Method (WPCI, 2, NotSerialized)
  528. {
  529. SMI (0x00, 0x01, Arg0, Arg1, 0x00)
  530. }
  531.  
  532.  
  533. Method (_PTS, 1, NotSerialized) // _PTS: Prepare To Sleep
  534. {
  535. P80H = Arg0
  536. PPTS (Arg0)
  537. If ((Arg0 == 0x05))
  538. {
  539. \_SB.PCI0.SMB.BLNK = 0x00
  540. If ((WKPM == One))
  541. {
  542. \_SB.PCI0.SMB.PWDE = One
  543. }
  544.  
  545. BSMI (Zero)
  546. GSMI (0x03)
  547. Local1 = 0xC0
  548. }
  549.  
  550. If ((Arg0 == 0x04))
  551. {
  552. \_SB.PCI0.SMB.BLNK = 0x00
  553. \_SB.PCI0.SMB.CLPS = 0x01
  554. \_SB.PCI0.SMB.RSTU = 0x01
  555. Local1 = 0x80
  556. }
  557.  
  558. If ((Arg0 == 0x03))
  559. {
  560. \_SB.PCI0.SMB.BLNK = 0x01
  561. \_SB.PCI0.SMB.SLPS = 0x01
  562. Local1 = 0x40
  563. }
  564.  
  565. If (CondRefOf (\_SB.TPM.PTS))
  566. {
  567. \_SB.TPM.PTS (Arg0)
  568. }
  569.  
  570. \_SB.APTS (Arg0)
  571. Local0 = 0x01
  572. If ((Arg0 == SPS))
  573. {
  574. Local0 = 0x00
  575. }
  576.  
  577. If (((Arg0 == 0x00) || (Arg0 >= 0x06)))
  578. {
  579. Local0 = 0x00
  580. }
  581.  
  582. If (Local0)
  583. {
  584. SPS = Arg0
  585. \_SB.PCI0.LPC0.EC0.HKEY.MHKE (0x00)
  586. If (\_SB.PCI0.LPC0.EC0.KBLT)
  587. {
  588. SCMS (0x0D)
  589. }
  590.  
  591. If ((Arg0 == 0x01))
  592. {
  593. FNID = \_SB.PCI0.LPC0.EC0.HFNI
  594. \_SB.PCI0.LPC0.EC0.HFNI = 0x00
  595. \_SB.PCI0.LPC0.EC0.HFSP = 0x00
  596. }
  597.  
  598. If ((Arg0 == 0x03))
  599. {
  600. \_SB.PCI0.LPC0.EC0.S3ST = 0x00
  601. \_SB.PCI0.LPC0.EC0.S3ST = 0x01
  602. SLTP ()
  603. ACST = \_SB.PCI0.LPC0.EC0.AC._PSR ()
  604. If ((FNWK == 0x01))
  605. {
  606. If (H8DR)
  607. {
  608. \_SB.PCI0.LPC0.EC0.HWFN = 0x00
  609. }
  610. Else
  611. {
  612. MBEC (0x32, 0xEF, 0x00)
  613. }
  614. }
  615. }
  616.  
  617. If ((Arg0 == 0x04))
  618. {
  619. \_SB.PCI0.LPC0.EC0.S4ST = 0x00
  620. \_SB.PCI0.LPC0.EC0.S4ST = 0x01
  621. \_SB.SLPB._PSW (0x00)
  622. SLTP ()
  623. AWON (0x04)
  624. }
  625.  
  626. If ((Arg0 == 0x05))
  627. {
  628. \_SB.PCI0.LPC0.EC0.S5ST = 0x00
  629. \_SB.PCI0.LPC0.EC0.S5ST = 0x01
  630. SLTP ()
  631. AWON (0x05)
  632. }
  633.  
  634. If ((Arg0 >= 0x04))
  635. {
  636. \_SB.PCI0.LPC0.EC0.HWLB = 0x00
  637. }
  638. Else
  639. {
  640. \_SB.PCI0.LPC0.EC0.HWLB = 0x01
  641. }
  642.  
  643. If ((Arg0 >= 0x03))
  644. {
  645. \_SB.PCI0.LPC0.EC0.HCMU = 0x01
  646. }
  647.  
  648. If ((Arg0 != 0x05)){}
  649. \_SB.PCI0.LPC0.EC0.HKEY.WGPS (Arg0)
  650. }
  651. }
  652.  
  653. OperationRegion (XMOS, SystemIO, 0x72, 0x02)
  654. Field (XMOS, ByteAcc, Lock, Preserve)
  655. {
  656. XIDX, 8,
  657. XDAT, 8
  658. }
  659.  
  660. IndexField (XIDX, XDAT, ByteAcc, Lock, Preserve)
  661. {
  662. Offset (0xAE),
  663. WKSR, 8
  664. }
  665.  
  666. Name (WAKI, Package (0x02)
  667. {
  668. 0x00,
  669. 0x00
  670. })
  671. Method (_WAK, 1, NotSerialized) // _WAK: Wake
  672. {
  673. P80H = (Arg0 << 0x04)
  674. \_SB.PCI0.SMB.BLNK = 0x03
  675. PWAK (Arg0)
  676. \_SB.AWAK (Arg0)
  677. If (((Arg0 == 0x03) || (Arg0 == 0x04)))
  678. {
  679. If (GPIC)
  680. {
  681. \_SB.PCI0.LPC0.DSPI ()
  682. If (NAPC)
  683. {
  684. \_SB.PCI0.NAPE ()
  685. }
  686. }
  687.  
  688. If ((WKSR == 0x61))
  689. {
  690. Notify (\_SB.PWRB, 0x02) // Device Wake
  691. }
  692. ElseIf ((WKSR == 0x68))
  693. {
  694. Notify (\_SB.PWRB, 0x02) // Device Wake
  695. }
  696. ElseIf ((WKSR == 0x6B))
  697. {
  698. Notify (\_SB.PWRB, 0x02) // Device Wake
  699. }
  700. }
  701.  
  702. If ((Arg0 == 0x03))
  703. {
  704. \_SB.PCI0.LPC0.EC0.HWAK = 0x00
  705. }
  706.  
  707. If (((Arg0 == 0x00) || (Arg0 >= 0x05)))
  708. {
  709. Return (WAKI) /* \WAKI */
  710. }
  711.  
  712. SPS = 0x00
  713. \_SB.PCI0.LPC0.EC0.ACOS = 0x01
  714. Local0 = 0x00
  715. If ((TPOS == 0x40))
  716. {
  717. Local0 = 0x01
  718. }
  719.  
  720. If ((TPOS == 0x80))
  721. {
  722. Local0 = 0x02
  723. }
  724.  
  725. If ((TPOS == 0x50))
  726. {
  727. Local0 = 0x03
  728. }
  729.  
  730. If ((TPOS == 0x60))
  731. {
  732. Local0 = 0x04
  733. }
  734.  
  735. If ((TPOS == 0x61))
  736. {
  737. Local0 = 0x04
  738. }
  739.  
  740. If ((TPOS == 0x70))
  741. {
  742. Local0 = 0x05
  743. }
  744.  
  745. \_SB.PCI0.LPC0.EC0.OTYE = Local0
  746. \_SB.PCI0.LPC0.EC0.HCMU = 0x00
  747. \_SB.PCI0.LPC0.EC0.HUBS = 0x00
  748. \_SB.PCI0.LPC0.EC0.EVNT (0x01)
  749. \_SB.PCI0.LPC0.EC0.HKEY.MHKE (0x01)
  750. \_SB.PCI0.LPC0.EC0.FNST ()
  751. SCMS (0x0D)
  752. LIDB = 0x00
  753. \_SB.PCI0.LPC0.EC0.HKEY.CSSS ()
  754. If ((Arg0 == 0x01))
  755. {
  756. FNID = \_SB.PCI0.LPC0.EC0.HFNI
  757. }
  758.  
  759. If ((Arg0 == 0x03))
  760. {
  761. NVSS (0x00)
  762. IOEN = 0x00
  763. IOST = 0x00
  764. If ((ISWK == 0x01))
  765. {
  766. If (\_SB.PCI0.LPC0.EC0.HKEY.DHKC)
  767. {
  768. \_SB.PCI0.LPC0.EC0.HKEY.MHKQ (0x6070)
  769. }
  770. }
  771.  
  772. VCMS (0x01, \_SB.LID._LID ())
  773. AWON (0x00)
  774. If ((WLAC == 0x02)){}
  775. ElseIf ((\_SB.PCI0.LPC0.EC0.ELNK && (WLAC == 0x01)))
  776. {
  777. \_SB.PCI0.LPC0.EC0.DCWL = 0x00
  778. }
  779. Else
  780. {
  781. \_SB.PCI0.LPC0.EC0.DCWL = 0x01
  782. }
  783.  
  784. \_SB.PCI0.LPC0.EC0.S3RM = 0x00
  785. \_SB.PCI0.LPC0.EC0.S3RM = 0x01
  786. }
  787.  
  788. If ((Arg0 == 0x04))
  789. {
  790. NVSS (0x00)
  791. \_SB.PCI0.LPC0.EC0.HSPA = 0x00
  792. Local0 = AUDC (0x00, 0x00)
  793. Local0 &= 0x01
  794. If ((Local0 == 0x00))
  795. {
  796. WFIO (0x54, 0x00)
  797. }
  798. Else
  799. {
  800. WFIO (0x54, 0x01)
  801. }
  802.  
  803. IOEN = 0x00
  804. IOST = 0x00
  805. If ((ISWK == 0x02))
  806. {
  807. If (\_SB.PCI0.LPC0.EC0.HKEY.DHKC)
  808. {
  809. \_SB.PCI0.LPC0.EC0.HKEY.MHKQ (0x6080)
  810. }
  811. }
  812.  
  813. If ((WLAC == 0x02)){}
  814. ElseIf ((\_SB.PCI0.LPC0.EC0.ELNK && (WLAC == 0x01)))
  815. {
  816. \_SB.PCI0.LPC0.EC0.DCWL = 0x00
  817. }
  818. Else
  819. {
  820. \_SB.PCI0.LPC0.EC0.DCWL = 0x01
  821. }
  822.  
  823. \_SB.PCI0.LPC0.EC0.S4RM = 0x00
  824. \_SB.PCI0.LPC0.EC0.S4RM = 0x01
  825. }
  826.  
  827. \_SB.PCI0.LPC0.EC0.BATW (Arg0)
  828. \_SB.PCI0.LPC0.EC0.HKEY.WGWK (Arg0)
  829. VSLD (\_SB.LID._LID ())
  830. If ((Arg0 < 0x04))
  831. {
  832. If (((RRBF & 0x02) || (\_SB.PCI0.LPC0.EC0.HWAC & 0x02)))
  833. {
  834. Local0 = (Arg0 << 0x08)
  835. Local0 = (0x2013 | Local0)
  836. \_SB.PCI0.LPC0.EC0.HKEY.MHKQ (Local0)
  837. }
  838. }
  839.  
  840. If ((Arg0 == 0x04))
  841. {
  842. Local0 = 0x00
  843. Local1 = CSUM (0x00)
  844. If ((Local1 != CHKC))
  845. {
  846. Local0 = 0x01
  847. CHKC = Local1
  848. }
  849.  
  850. Local1 = CSUM (0x01)
  851. If ((Local1 != CHKE))
  852. {
  853. Local0 = 0x01
  854. CHKE = Local1
  855. }
  856.  
  857. If (Local0)
  858. {
  859. Notify (_SB, 0x00) // Bus Check
  860. }
  861. }
  862.  
  863. If (((Arg0 == 0x03) || (Arg0 == 0x04)))
  864. {
  865. \_SB.PCI0.LPC0.EC0.HKEY.DYTC (0x000F0001)
  866. }
  867.  
  868. RRBF = Zero
  869. \_SB.PCI0.LPC0.EC0.AC.ACDC = 0xFF
  870. Notify (\_SB.PCI0.LPC0.EC0.AC, 0x80) // Status Change
  871. Notify (\_SB.PCI0, 0x00) // Bus Check
  872. If ((DAHD == 0x01)){}
  873. If ((Arg0 == 0x04))
  874. {
  875. APMC = 0xA8
  876. }
  877.  
  878. Return (WAKI) /* \WAKI */
  879. }
  880.  
  881. Scope (_SI)
  882. {
  883. Method (_SST, 1, NotSerialized) // _SST: System Status
  884. {
  885. If ((Arg0 == 0x00))
  886. {
  887. \_SB.PCI0.LPC0.EC0.LED (0x00, 0x00)
  888. \_SB.PCI0.LPC0.EC0.LED (0x0A, 0x00)
  889. \_SB.PCI0.LPC0.EC0.LED (0x07, 0x00)
  890. }
  891.  
  892. If ((Arg0 == 0x01))
  893. {
  894. If ((SPS || WNTF))
  895. {
  896. \_SB.PCI0.LPC0.EC0.BEEP (0x05)
  897. }
  898.  
  899. \_SB.PCI0.LPC0.EC0.LED (0x00, 0x80)
  900. \_SB.PCI0.LPC0.EC0.LED (0x0A, 0x80)
  901. \_SB.PCI0.LPC0.EC0.LED (0x07, 0x00)
  902. }
  903.  
  904. If ((Arg0 == 0x02))
  905. {
  906. \_SB.PCI0.LPC0.EC0.LED (0x00, 0x80)
  907. \_SB.PCI0.LPC0.EC0.LED (0x0A, 0x80)
  908. \_SB.PCI0.LPC0.EC0.LED (0x07, 0xC0)
  909. }
  910.  
  911. If ((Arg0 == 0x03))
  912. {
  913. If ((SPS > 0x03))
  914. {
  915. \_SB.PCI0.LPC0.EC0.BEEP (0x07)
  916. }
  917. ElseIf ((SPS == 0x03))
  918. {
  919. \_SB.PCI0.LPC0.EC0.BEEP (0x03)
  920. }
  921. Else
  922. {
  923. \_SB.PCI0.LPC0.EC0.BEEP (0x04)
  924. }
  925.  
  926. If ((SPS == 0x03)){}
  927. Else
  928. {
  929. \_SB.PCI0.LPC0.EC0.LED (0x00, 0x80)
  930. \_SB.PCI0.LPC0.EC0.LED (0x0A, 0x80)
  931. }
  932.  
  933. \_SB.PCI0.LPC0.EC0.LED (0x00, 0xA0)
  934. Stall (0x64)
  935. \_SB.PCI0.LPC0.EC0.LED (0x0A, 0xA0)
  936. }
  937.  
  938. If ((Arg0 == 0x04))
  939. {
  940. \_SB.PCI0.LPC0.EC0.BEEP (0x03)
  941. \_SB.PCI0.LPC0.EC0.LED (0x07, 0xC0)
  942. \_SB.PCI0.LPC0.EC0.LED (0x00, 0xC0)
  943. \_SB.PCI0.LPC0.EC0.LED (0x0A, 0xC0)
  944. \_SB.PCI0.LPC0.EC0.HLCL = 0xC0
  945. Sleep (0x64)
  946. Local0 = 0xCA
  947. \_SB.PCI0.LPC0.EC0.HLCL = Local0
  948. }
  949. }
  950. }
  951.  
  952. Name (GPIC, 0x00)
  953. Method (_PIC, 1, NotSerialized) // _PIC: Interrupt Model
  954. {
  955. GPIC = Arg0
  956. If (Arg0)
  957. {
  958. \_SB.PCI0.LPC0.DSPI ()
  959. If (NAPC)
  960. {
  961. \_SB.PCI0.NAPE ()
  962. }
  963. }
  964. }
  965.  
  966. Scope (_SB)
  967. {
  968. Device (PWRB)
  969. {
  970. Name (_HID, EisaId ("PNP0C0C") /* Power Button Device */) // _HID: Hardware ID
  971. Method (_STA, 0, NotSerialized) // _STA: Status
  972. {
  973. Return (0x0B)
  974. }
  975. }
  976.  
  977. Device (PCI0)
  978. {
  979. Name (_HID, EisaId ("PNP0A08") /* PCI Express Bus */) // _HID: Hardware ID
  980. Name (_CID, EisaId ("PNP0A03") /* PCI Bus */) // _CID: Compatible ID
  981. Name (_UID, 0x01) // _UID: Unique ID
  982. Name (_BBN, 0x00) // _BBN: BIOS Bus Number
  983. Name (_ADR, 0x00) // _ADR: Address
  984. Method (_INI, 0, NotSerialized) // _INI: Initialize
  985. {
  986. If ((GPIC != Zero))
  987. {
  988. ^LPC0.DSPI ()
  989. If (NAPC)
  990. {
  991. NAPE ()
  992. }
  993. }
  994.  
  995. OSTP ()
  996. }
  997.  
  998. Name (SUPP, 0x00)
  999. Name (CTRL, 0x00)
  1000. Method (_OSC, 4, NotSerialized) // _OSC: Operating System Capabilities
  1001. {
  1002. CreateDWordField (Arg3, 0x00, CDW1)
  1003. CreateDWordField (Arg3, 0x04, CDW2)
  1004. CreateDWordField (Arg3, 0x08, CDW3)
  1005. If ((Arg0 == ToUUID ("33db4d5b-1ff7-401c-9657-7441c03dd766") /* PCI Host Bridge Device */))
  1006. {
  1007. SUPP = CDW2 /* \_SB_.PCI0._OSC.CDW2 */
  1008. CTRL = CDW3 /* \_SB_.PCI0._OSC.CDW3 */
  1009. If ((TBEN == One))
  1010. {
  1011. If ((TBNH != Zero))
  1012. {
  1013. CTRL &= 0xFFFFFFF5
  1014. }
  1015. Else
  1016. {
  1017. CTRL &= 0xFFFFFFF4
  1018. }
  1019. }
  1020.  
  1021. If (((SUPP & 0x16) != 0x16))
  1022. {
  1023. CTRL &= 0x1E
  1024. }
  1025.  
  1026. CTRL &= 0x1D
  1027. If (~(CDW1 & 0x01))
  1028. {
  1029. If ((CTRL & 0x01)){}
  1030. If ((CTRL & 0x04)){}
  1031. If ((CTRL & 0x10)){}
  1032. }
  1033.  
  1034. If ((Arg1 != One))
  1035. {
  1036. CDW1 |= 0x08
  1037. }
  1038.  
  1039. If ((CDW3 != CTRL))
  1040. {
  1041. CDW1 |= 0x10
  1042. }
  1043.  
  1044. CDW3 = CTRL /* \_SB_.PCI0.CTRL */
  1045. Return (Arg3)
  1046. }
  1047. Else
  1048. {
  1049. CDW1 |= 0x04
  1050. Return (Arg3)
  1051. }
  1052. }
  1053.  
  1054. OperationRegion (K8ST, SystemMemory, 0xCBC36A98, 0x00000068)
  1055. Field (K8ST, AnyAcc, NoLock, Preserve)
  1056. {
  1057. C0_0, 16,
  1058. C2_0, 16,
  1059. C4_0, 16,
  1060. C6_0, 16,
  1061. C8_0, 16,
  1062. CA_0, 16,
  1063. CC_0, 16,
  1064. CE_0, 16,
  1065. D0_0, 16,
  1066. D2_0, 16,
  1067. D4_0, 16,
  1068. D6_0, 16,
  1069. D8_0, 16,
  1070. DA_0, 16,
  1071. DC_0, 16,
  1072. DE_0, 16,
  1073. E0_0, 16,
  1074. E2_0, 16,
  1075. E4_0, 16,
  1076. E6_0, 16,
  1077. E8_0, 16,
  1078. EA_0, 16,
  1079. EC_0, 16,
  1080. EE_0, 16,
  1081. F0_0, 16,
  1082. F2_0, 16,
  1083. F4_0, 16,
  1084. F6_0, 16,
  1085. F8_0, 16,
  1086. FA_0, 16,
  1087. FC_0, 16,
  1088. FE_0, 16,
  1089. TOML, 32,
  1090. TOMH, 32,
  1091. PCIB, 32,
  1092. PCIS, 32,
  1093. T1MN, 64,
  1094. T1MX, 64,
  1095. T1LN, 64
  1096. }
  1097.  
  1098. Name (RSRC, ResourceTemplate ()
  1099. {
  1100. WordBusNumber (ResourceProducer, MinFixed, MaxFixed, SubDecode,
  1101. 0x0000, // Granularity
  1102. 0x0000, // Range Minimum
  1103. 0x00FF, // Range Maximum
  1104. 0x0000, // Translation Offset
  1105. 0x0100, // Length
  1106. 0x00,, )
  1107. DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
  1108. 0x00000000, // Granularity
  1109. 0x000A0000, // Range Minimum
  1110. 0x000BFFFF, // Range Maximum
  1111. 0x00000000, // Translation Offset
  1112. 0x00020000, // Length
  1113. 0x00,, , AddressRangeMemory, TypeStatic)
  1114. DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
  1115. 0x00000000, // Granularity
  1116. 0x000C0000, // Range Minimum
  1117. 0x000C1FFF, // Range Maximum
  1118. 0x00000000, // Translation Offset
  1119. 0x00002000, // Length
  1120. 0x00,, , AddressRangeMemory, TypeStatic)
  1121. DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
  1122. 0x00000000, // Granularity
  1123. 0x000C2000, // Range Minimum
  1124. 0x000C3FFF, // Range Maximum
  1125. 0x00000000, // Translation Offset
  1126. 0x00002000, // Length
  1127. 0x00,, , AddressRangeMemory, TypeStatic)
  1128. DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
  1129. 0x00000000, // Granularity
  1130. 0x000C4000, // Range Minimum
  1131. 0x000C5FFF, // Range Maximum
  1132. 0x00000000, // Translation Offset
  1133. 0x00002000, // Length
  1134. 0x00,, , AddressRangeMemory, TypeStatic)
  1135. DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
  1136. 0x00000000, // Granularity
  1137. 0x000C6000, // Range Minimum
  1138. 0x000C7FFF, // Range Maximum
  1139. 0x00000000, // Translation Offset
  1140. 0x00002000, // Length
  1141. 0x00,, , AddressRangeMemory, TypeStatic)
  1142. DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
  1143. 0x00000000, // Granularity
  1144. 0x000C8000, // Range Minimum
  1145. 0x000C9FFF, // Range Maximum
  1146. 0x00000000, // Translation Offset
  1147. 0x00002000, // Length
  1148. 0x00,, , AddressRangeMemory, TypeStatic)
  1149. DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
  1150. 0x00000000, // Granularity
  1151. 0x000CA000, // Range Minimum
  1152. 0x000CBFFF, // Range Maximum
  1153. 0x00000000, // Translation Offset
  1154. 0x00002000, // Length
  1155. 0x00,, , AddressRangeMemory, TypeStatic)
  1156. DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
  1157. 0x00000000, // Granularity
  1158. 0x000CC000, // Range Minimum
  1159. 0x000CDFFF, // Range Maximum
  1160. 0x00000000, // Translation Offset
  1161. 0x00002000, // Length
  1162. 0x00,, , AddressRangeMemory, TypeStatic)
  1163. DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
  1164. 0x00000000, // Granularity
  1165. 0x000CE000, // Range Minimum
  1166. 0x000CFFFF, // Range Maximum
  1167. 0x00000000, // Translation Offset
  1168. 0x00002000, // Length
  1169. 0x00,, , AddressRangeMemory, TypeStatic)
  1170. DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
  1171. 0x00000000, // Granularity
  1172. 0x000D0000, // Range Minimum
  1173. 0x000D1FFF, // Range Maximum
  1174. 0x00000000, // Translation Offset
  1175. 0x00002000, // Length
  1176. 0x00,, , AddressRangeMemory, TypeStatic)
  1177. DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
  1178. 0x00000000, // Granularity
  1179. 0x000D2000, // Range Minimum
  1180. 0x000D3FFF, // Range Maximum
  1181. 0x00000000, // Translation Offset
  1182. 0x00002000, // Length
  1183. 0x00,, , AddressRangeMemory, TypeStatic)
  1184. DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
  1185. 0x00000000, // Granularity
  1186. 0x000D4000, // Range Minimum
  1187. 0x000D5FFF, // Range Maximum
  1188. 0x00000000, // Translation Offset
  1189. 0x00002000, // Length
  1190. 0x00,, , AddressRangeMemory, TypeStatic)
  1191. DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
  1192. 0x00000000, // Granularity
  1193. 0x000D6000, // Range Minimum
  1194. 0x000D7FFF, // Range Maximum
  1195. 0x00000000, // Translation Offset
  1196. 0x00002000, // Length
  1197. 0x00,, , AddressRangeMemory, TypeStatic)
  1198. DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
  1199. 0x00000000, // Granularity
  1200. 0x000D8000, // Range Minimum
  1201. 0x000D9FFF, // Range Maximum
  1202. 0x00000000, // Translation Offset
  1203. 0x00002000, // Length
  1204. 0x00,, , AddressRangeMemory, TypeStatic)
  1205. DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
  1206. 0x00000000, // Granularity
  1207. 0x000DA000, // Range Minimum
  1208. 0x000DBFFF, // Range Maximum
  1209. 0x00000000, // Translation Offset
  1210. 0x00002000, // Length
  1211. 0x00,, , AddressRangeMemory, TypeStatic)
  1212. DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
  1213. 0x00000000, // Granularity
  1214. 0x000DC000, // Range Minimum
  1215. 0x000DDFFF, // Range Maximum
  1216. 0x00000000, // Translation Offset
  1217. 0x00002000, // Length
  1218. 0x00,, , AddressRangeMemory, TypeStatic)
  1219. DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
  1220. 0x00000000, // Granularity
  1221. 0x000DE000, // Range Minimum
  1222. 0x000DFFFF, // Range Maximum
  1223. 0x00000000, // Translation Offset
  1224. 0x00002000, // Length
  1225. 0x00,, , AddressRangeMemory, TypeStatic)
  1226. DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
  1227. 0x00000000, // Granularity
  1228. 0x000E0000, // Range Minimum
  1229. 0x000E1FFF, // Range Maximum
  1230. 0x00000000, // Translation Offset
  1231. 0x00002000, // Length
  1232. 0x00,, , AddressRangeMemory, TypeStatic)
  1233. DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
  1234. 0x00000000, // Granularity
  1235. 0x000E2000, // Range Minimum
  1236. 0x000E3FFF, // Range Maximum
  1237. 0x00000000, // Translation Offset
  1238. 0x00002000, // Length
  1239. 0x00,, , AddressRangeMemory, TypeStatic)
  1240. DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
  1241. 0x00000000, // Granularity
  1242. 0x000E4000, // Range Minimum
  1243. 0x000E5FFF, // Range Maximum
  1244. 0x00000000, // Translation Offset
  1245. 0x00002000, // Length
  1246. 0x00,, , AddressRangeMemory, TypeStatic)
  1247. DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
  1248. 0x00000000, // Granularity
  1249. 0x000E6000, // Range Minimum
  1250. 0x000E7FFF, // Range Maximum
  1251. 0x00000000, // Translation Offset
  1252. 0x00002000, // Length
  1253. 0x00,, , AddressRangeMemory, TypeStatic)
  1254. DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
  1255. 0x00000000, // Granularity
  1256. 0x000E8000, // Range Minimum
  1257. 0x000E9FFF, // Range Maximum
  1258. 0x00000000, // Translation Offset
  1259. 0x00002000, // Length
  1260. 0x00,, , AddressRangeMemory, TypeStatic)
  1261. DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
  1262. 0x00000000, // Granularity
  1263. 0x000EA000, // Range Minimum
  1264. 0x000EBFFF, // Range Maximum
  1265. 0x00000000, // Translation Offset
  1266. 0x00002000, // Length
  1267. 0x00,, , AddressRangeMemory, TypeStatic)
  1268. DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
  1269. 0x00000000, // Granularity
  1270. 0x000EC000, // Range Minimum
  1271. 0x000EDFFF, // Range Maximum
  1272. 0x00000000, // Translation Offset
  1273. 0x00002000, // Length
  1274. 0x00,, , AddressRangeMemory, TypeStatic)
  1275. DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
  1276. 0x00000000, // Granularity
  1277. 0x000EE000, // Range Minimum
  1278. 0x000EFFFF, // Range Maximum
  1279. 0x00000000, // Translation Offset
  1280. 0x00002000, // Length
  1281. 0x00,, , AddressRangeMemory, TypeStatic)
  1282. DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
  1283. 0x00000000, // Granularity
  1284. 0x00000000, // Range Minimum
  1285. 0x00000000, // Range Maximum
  1286. 0x00000000, // Translation Offset
  1287. 0x00000000, // Length
  1288. 0x00,, _Y00, AddressRangeMemory, TypeStatic)
  1289. DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
  1290. 0x00000000, // Granularity
  1291. 0xFC000000, // Range Minimum
  1292. 0xFDFFFFFF, // Range Maximum
  1293. 0x00000000, // Translation Offset
  1294. 0x02000000, // Length
  1295. 0x00,, _Y01, AddressRangeMemory, TypeStatic)
  1296. QWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
  1297. 0x0000000000000000, // Granularity
  1298. 0x0000000000000000, // Range Minimum
  1299. 0x0000000000000000, // Range Maximum
  1300. 0x0000000000000000, // Translation Offset
  1301. 0x0000000000000000, // Length
  1302. ,, _Y02, AddressRangeMemory, TypeStatic)
  1303. IO (Decode16,
  1304. 0x0CF8, // Range Minimum
  1305. 0x0CF8, // Range Maximum
  1306. 0x01, // Alignment
  1307. 0x08, // Length
  1308. )
  1309. WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange,
  1310. 0x0000, // Granularity
  1311. 0x0000, // Range Minimum
  1312. 0x0CF7, // Range Maximum
  1313. 0x0000, // Translation Offset
  1314. 0x0CF8, // Length
  1315. 0x00,, , TypeStatic, DenseTranslation)
  1316. WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange,
  1317. 0x0000, // Granularity
  1318. 0x0D00, // Range Minimum
  1319. 0xFFFF, // Range Maximum
  1320. 0x0000, // Translation Offset
  1321. 0xF300, // Length
  1322. 0x00,, , TypeStatic, DenseTranslation)
  1323. })
  1324. Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings
  1325. {
  1326. CreateDWordField (RSRC, \_SB.PCI0._Y00._MIN, BT1S) // _MIN: Minimum Base Address
  1327. CreateDWordField (RSRC, \_SB.PCI0._Y00._MAX, BT1M) // _MAX: Maximum Base Address
  1328. CreateDWordField (RSRC, \_SB.PCI0._Y00._LEN, BT1L) // _LEN: Length
  1329. CreateDWordField (RSRC, \_SB.PCI0._Y01._MIN, BT2S) // _MIN: Minimum Base Address
  1330. CreateDWordField (RSRC, \_SB.PCI0._Y01._MAX, BT2M) // _MAX: Maximum Base Address
  1331. CreateDWordField (RSRC, \_SB.PCI0._Y01._LEN, BT2L) // _LEN: Length
  1332. Local0 = PCIB /* \_SB_.PCI0.PCIB */
  1333. BT1S = TOML /* \_SB_.PCI0.TOML */
  1334. BT1M = (Local0 - 0x01)
  1335. BT1L = (Local0 - TOML) /* \_SB_.PCI0.TOML */
  1336. CreateQWordField (RSRC, \_SB.PCI0._Y02._MIN, M1MN) // _MIN: Minimum Base Address
  1337. CreateQWordField (RSRC, \_SB.PCI0._Y02._MAX, M1MX) // _MAX: Maximum Base Address
  1338. CreateQWordField (RSRC, \_SB.PCI0._Y02._LEN, M1LN) // _LEN: Length
  1339. M1MN = T1MN /* \_SB_.PCI0.T1MN */
  1340. M1MX = T1MX /* \_SB_.PCI0.T1MX */
  1341. M1LN = T1LN /* \_SB_.PCI0.T1LN */
  1342. Return (RSRC) /* \_SB_.PCI0.RSRC */
  1343. }
  1344.  
  1345.  
  1346. Mutex (NAPM, 0x00)
  1347. Method (NAPE, 0, NotSerialized)
  1348. {
  1349. Acquire (NAPM, 0xFFFF)
  1350. Local0 = (PCBA + 0xB8)
  1351. OperationRegion (VARM, SystemMemory, Local0, 0x08)
  1352. Field (VARM, DWordAcc, NoLock, Preserve)
  1353. {
  1354. NAPX, 32,
  1355. NAPD, 32
  1356. }
  1357.  
  1358. Local1 = NAPX /* \_SB_.PCI0.NAPE.NAPX */
  1359. NAPX = 0x14300000
  1360. Local0 = NAPD /* \_SB_.PCI0.NAPE.NAPD */
  1361. Local0 &= 0xFFFFFFEF
  1362. NAPD = Local0
  1363. NAPX = Local1
  1364. Release (NAPM)
  1365. }
  1366.  
  1367. OperationRegion (BAR1, PCI_Config, 0x14, 0x04)
  1368. Field (BAR1, ByteAcc, NoLock, Preserve)
  1369. {
  1370. NBBA, 32
  1371. }
  1372.  
  1373. OperationRegion (PM80, SystemMemory, 0xFED80300, 0x0100)
  1374. Field (PM80, AnyAcc, NoLock, Preserve)
  1375. {
  1376. Offset (0x80),
  1377. SI3R, 1
  1378. }
  1379.  
  1380. Name (NBRI, 0x00)
  1381. Name (NBAR, 0x00)
  1382. Name (NCMD, 0x00)
  1383. Name (PXDC, 0x00)
  1384. Name (PXLC, 0x00)
  1385. Name (PXD2, 0x00)
  1386. Device (GPP0)
  1387. {
  1388. Name (_ADR, 0x00020007) // _ADR: Address
  1389. Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
  1390. {
  1391. If ((WKPM == One))
  1392. {
  1393. Return (GPRW (0x08, 0x03))
  1394. }
  1395. Else
  1396. {
  1397. Return (GPRW (0x08, Zero))
  1398. }
  1399. }
  1400.  
  1401. Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table
  1402. {
  1403. If (GPIC)
  1404. {
  1405. Return (Package (0x04)
  1406. {
  1407. Package (0x04)
  1408. {
  1409. 0xFFFF,
  1410. 0x00,
  1411. 0x00,
  1412. 0x2A
  1413. },
  1414.  
  1415. Package (0x04)
  1416. {
  1417. 0xFFFF,
  1418. 0x01,
  1419. 0x00,
  1420. 0x2B
  1421. },
  1422.  
  1423. Package (0x04)
  1424. {
  1425. 0xFFFF,
  1426. 0x02,
  1427. 0x00,
  1428. 0x28
  1429. },
  1430.  
  1431. Package (0x04)
  1432. {
  1433. 0xFFFF,
  1434. 0x03,
  1435. 0x00,
  1436. 0x29
  1437. }
  1438. })
  1439. }
  1440. Else
  1441. {
  1442. Return (Package (0x04)
  1443. {
  1444. Package (0x04)
  1445. {
  1446. 0xFFFF,
  1447. 0x00,
  1448. ^^LPC0.LNKC,
  1449. 0x00
  1450. },
  1451.  
  1452. Package (0x04)
  1453. {
  1454. 0xFFFF,
  1455. 0x01,
  1456. ^^LPC0.LNKD,
  1457. 0x00
  1458. },
  1459.  
  1460. Package (0x04)
  1461. {
  1462. 0xFFFF,
  1463. 0x02,
  1464. ^^LPC0.LNKA,
  1465. 0x00
  1466. },
  1467.  
  1468. Package (0x04)
  1469. {
  1470. 0xFFFF,
  1471. 0x03,
  1472. ^^LPC0.LNKB,
  1473. 0x00
  1474. }
  1475. })
  1476. }
  1477. }
  1478.  
  1479. Scope (\_SB.PCI0.GPP0)
  1480. {
  1481. Device (RESA)
  1482. {
  1483. Name (_ADR, 0x00) // _ADR: Address
  1484. Name (_PRW, Package (0x02) // _PRW: Power Resources for Wake
  1485. {
  1486. 0x08,
  1487. 0x03
  1488. })
  1489. Device (RHUB)
  1490. {
  1491. Name (_ADR, Zero) // _ADR: Address
  1492. Name (UPCN, Package (0x04)
  1493. {
  1494. 0x00,
  1495. 0x00,
  1496. 0x00,
  1497. 0x00
  1498. })
  1499. Name (UPCP, Package (0x04)
  1500. {
  1501. 0xFF,
  1502. 0xFF,
  1503. 0x00,
  1504. 0x00
  1505. })
  1506. Name (PLDC, Package (0x01)
  1507. {
  1508. Buffer (0x14)
  1509. {
  1510. /* 0000 */ 0x82, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ........
  1511. /* 0008 */ 0x24, 0x01, 0x80, 0x03, 0x00, 0x00, 0x00, 0x00, // $.......
  1512. /* 0010 */ 0xDD, 0x00, 0x95, 0x00 // ....
  1513. }
  1514. })
  1515. Name (PLDN, Package (0x01)
  1516. {
  1517. Buffer (0x10)
  1518. {
  1519. /* 0000 */ 0x82, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ........
  1520. /* 0008 */ 0x99, 0x11, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 // ........
  1521. }
  1522. })
  1523. Device (SS01)
  1524. {
  1525. Name (_ADR, 0x01) // _ADR: Address
  1526. Method (_UPC, 0, NotSerialized) // _UPC: USB Port Capabilities
  1527. {
  1528. Return (UPCN) /* \_SB_.PCI0.GPP0.RESA.RHUB.UPCN */
  1529. }
  1530. }
  1531.  
  1532. Device (SS02)
  1533. {
  1534. Name (_ADR, 0x02) // _ADR: Address
  1535. Method (_UPC, 0, NotSerialized) // _UPC: USB Port Capabilities
  1536. {
  1537. Return (UPCN) /* \_SB_.PCI0.GPP0.RESA.RHUB.UPCN */
  1538. }
  1539. }
  1540.  
  1541. Device (HS03)
  1542. {
  1543. Name (_ADR, 0x03) // _ADR: Address
  1544. Method (_UPC, 0, NotSerialized) // _UPC: USB Port Capabilities
  1545. {
  1546. Return (UPCN) /* \_SB_.PCI0.GPP0.RESA.RHUB.UPCN */
  1547. }
  1548. }
  1549.  
  1550. Device (HSCM)
  1551. {
  1552. Name (_ADR, 0x04) // _ADR: Address
  1553. Method (_UPC, 0, NotSerialized) // _UPC: USB Port Capabilities
  1554. {
  1555. Return (UPCN) /* \_SB_.PCI0.GPP0.RESA.RHUB.UPCN */
  1556. }
  1557.  
  1558. Device (PCAM)
  1559. {
  1560. Name (_ADR, 0x04) // _ADR: Address
  1561. Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
  1562. {
  1563. Return (PLDC) /* \_SB_.PCI0.GPP0.RESA.RHUB.PLDC */
  1564. }
  1565.  
  1566. Method (_STA, 0, NotSerialized) // _STA: Status
  1567. {
  1568. Return (0x0F)
  1569. }
  1570. }
  1571.  
  1572. Device (CMIR)
  1573. {
  1574. Name (_ADR, 0x06) // _ADR: Address
  1575. Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
  1576. {
  1577. Return (PLDC) /* \_SB_.PCI0.GPP0.RESA.RHUB.PLDC */
  1578. }
  1579.  
  1580. Method (_STA, 0, NotSerialized) // _STA: Status
  1581. {
  1582. Return (0x0F)
  1583. }
  1584. }
  1585. }
  1586. }
  1587. }
  1588. }
  1589. }
  1590.  
  1591. Device (GPP2)
  1592. {
  1593. Name (_ADR, 0x00020006) // _ADR: Address
  1594. Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
  1595. {
  1596. If ((WKPM == One))
  1597. {
  1598. Return (GPRW (0x0D, 0x03))
  1599. }
  1600. Else
  1601. {
  1602. Return (GPRW (0x0D, Zero))
  1603. }
  1604. }
  1605.  
  1606. Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table
  1607. {
  1608. If (GPIC)
  1609. {
  1610. Return (Package (0x04)
  1611. {
  1612. Package (0x04)
  1613. {
  1614. 0xFFFF,
  1615. 0x00,
  1616. 0x00,
  1617. 0x2E
  1618. },
  1619.  
  1620. Package (0x04)
  1621. {
  1622. 0xFFFF,
  1623. 0x01,
  1624. 0x00,
  1625. 0x2F
  1626. },
  1627.  
  1628. Package (0x04)
  1629. {
  1630. 0xFFFF,
  1631. 0x02,
  1632. 0x00,
  1633. 0x2C
  1634. },
  1635.  
  1636. Package (0x04)
  1637. {
  1638. 0xFFFF,
  1639. 0x03,
  1640. 0x00,
  1641. 0x2D
  1642. }
  1643. })
  1644. }
  1645. Else
  1646. {
  1647. Return (Package (0x04)
  1648. {
  1649. Package (0x04)
  1650. {
  1651. 0xFFFF,
  1652. 0x00,
  1653. ^^LPC0.LNKG,
  1654. 0x00
  1655. },
  1656.  
  1657. Package (0x04)
  1658. {
  1659. 0xFFFF,
  1660. 0x01,
  1661. ^^LPC0.LNKH,
  1662. 0x00
  1663. },
  1664.  
  1665. Package (0x04)
  1666. {
  1667. 0xFFFF,
  1668. 0x02,
  1669. ^^LPC0.LNKE,
  1670. 0x00
  1671. },
  1672.  
  1673. Package (0x04)
  1674. {
  1675. 0xFFFF,
  1676. 0x03,
  1677. ^^LPC0.LNKF,
  1678. 0x00
  1679. }
  1680. })
  1681. }
  1682. }
  1683.  
  1684. Device (WWAN)
  1685. {
  1686. Name (_ADR, Zero) // _ADR: Address
  1687. }
  1688. }
  1689.  
  1690. Device (GPP6)
  1691. {
  1692. Name (_ADR, 0x00020002) // _ADR: Address
  1693. Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
  1694. {
  1695. Return (GPRW (0x08, 0x03))
  1696. }
  1697.  
  1698. Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table
  1699. {
  1700. If (GPIC)
  1701. {
  1702. Return (Package (0x04)
  1703. {
  1704. Package (0x04)
  1705. {
  1706. 0xFFFF,
  1707. 0x00,
  1708. 0x00,
  1709. 0x28
  1710. },
  1711.  
  1712. Package (0x04)
  1713. {
  1714. 0xFFFF,
  1715. 0x01,
  1716. 0x00,
  1717. 0x29
  1718. },
  1719.  
  1720. Package (0x04)
  1721. {
  1722. 0xFFFF,
  1723. 0x02,
  1724. 0x00,
  1725. 0x2A
  1726. },
  1727.  
  1728. Package (0x04)
  1729. {
  1730. 0xFFFF,
  1731. 0x03,
  1732. 0x00,
  1733. 0x2B
  1734. }
  1735. })
  1736. }
  1737. Else
  1738. {
  1739. Return (Package (0x04)
  1740. {
  1741. Package (0x04)
  1742. {
  1743. 0xFFFF,
  1744. 0x00,
  1745. ^^LPC0.LNKA,
  1746. 0x00
  1747. },
  1748.  
  1749. Package (0x04)
  1750. {
  1751. 0xFFFF,
  1752. 0x01,
  1753. ^^LPC0.LNKB,
  1754. 0x00
  1755. },
  1756.  
  1757. Package (0x04)
  1758. {
  1759. 0xFFFF,
  1760. 0x02,
  1761. ^^LPC0.LNKC,
  1762. 0x00
  1763. },
  1764.  
  1765. Package (0x04)
  1766. {
  1767. 0xFFFF,
  1768. 0x03,
  1769. ^^LPC0.LNKD,
  1770. 0x00
  1771. }
  1772. })
  1773. }
  1774. }
  1775.  
  1776. Device (LAN2)
  1777. {
  1778. Name (_ADR, Zero) // _ADR: Address
  1779. }
  1780.  
  1781. Device (RUSB)
  1782. {
  1783. Name (_ADR, 0x04) // _ADR: Address
  1784. }
  1785. }
  1786.  
  1787. Device (GPP4)
  1788. {
  1789. Name (_ADR, 0x00020004) // _ADR: Address
  1790. Name (_S0W, 0x04) // _S0W: S0 Device Wake State
  1791. Method (_L08, 0, NotSerialized) // _Lxx: Level-Triggered GPE, xx=0x00-0xFF
  1792. {
  1793. Return (Package (0x01)
  1794. {
  1795. PEP
  1796. })
  1797. }
  1798.  
  1799. Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
  1800. {
  1801. If ((WKPM == One))
  1802. {
  1803. Return (GPRW (0x0E, 0x04))
  1804. }
  1805. Else
  1806. {
  1807. Return (GPRW (0x0E, Zero))
  1808. }
  1809. }
  1810.  
  1811. Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table
  1812. {
  1813. If (GPIC)
  1814. {
  1815. Return (Package (0x04)
  1816. {
  1817. Package (0x04)
  1818. {
  1819. 0xFFFF,
  1820. 0x00,
  1821. 0x00,
  1822. 0x30
  1823. },
  1824.  
  1825. Package (0x04)
  1826. {
  1827. 0xFFFF,
  1828. 0x01,
  1829. 0x00,
  1830. 0x31
  1831. },
  1832.  
  1833. Package (0x04)
  1834. {
  1835. 0xFFFF,
  1836. 0x02,
  1837. 0x00,
  1838. 0x32
  1839. },
  1840.  
  1841. Package (0x04)
  1842. {
  1843. 0xFFFF,
  1844. 0x03,
  1845. 0x00,
  1846. 0x33
  1847. }
  1848. })
  1849. }
  1850. Else
  1851. {
  1852. Return (Package (0x04)
  1853. {
  1854. Package (0x04)
  1855. {
  1856. 0xFFFF,
  1857. 0x00,
  1858. ^^LPC0.LNKA,
  1859. 0x00
  1860. },
  1861.  
  1862. Package (0x04)
  1863. {
  1864. 0xFFFF,
  1865. 0x01,
  1866. ^^LPC0.LNKB,
  1867. 0x00
  1868. },
  1869.  
  1870. Package (0x04)
  1871. {
  1872. 0xFFFF,
  1873. 0x02,
  1874. ^^LPC0.LNKC,
  1875. 0x00
  1876. },
  1877.  
  1878. Package (0x04)
  1879. {
  1880. 0xFFFF,
  1881. 0x03,
  1882. ^^LPC0.LNKD,
  1883. 0x00
  1884. }
  1885. })
  1886. }
  1887. }
  1888.  
  1889. Device (RTL8)
  1890. {
  1891. Name (_ADR, Zero) // _ADR: Address
  1892. Name (_S0W, 0x04) // _S0W: S0 Device Wake State
  1893. Name (D0U1, 0x01)
  1894. Name (D3U1, 0x01)
  1895. PowerResource (P0U1, 0x00, 0x0000)
  1896. {
  1897. Method (_STA, 0, NotSerialized) // _STA: Status
  1898. {
  1899. Return (D0U1) /* \_SB_.PCI0.GPP4.RTL8.D0U1 */
  1900. }
  1901.  
  1902. Method (_ON, 0, NotSerialized) // _ON_: Power On
  1903. {
  1904. D0U1 = 0x01
  1905. }
  1906.  
  1907. Method (_OFF, 0, NotSerialized) // _OFF: Power Off
  1908. {
  1909. D0U1 = 0x00
  1910. }
  1911. }
  1912.  
  1913. PowerResource (P3U1, 0x00, 0x0000)
  1914. {
  1915. Method (_STA, 0, NotSerialized) // _STA: Status
  1916. {
  1917. Return (D3U1) /* \_SB_.PCI0.GPP4.RTL8.D3U1 */
  1918. }
  1919.  
  1920. Method (_ON, 0, NotSerialized) // _ON_: Power On
  1921. {
  1922. D3U1 = 0x01
  1923. }
  1924.  
  1925. Method (_OFF, 0, NotSerialized) // _OFF: Power Off
  1926. {
  1927. D3U1 = 0x00
  1928. }
  1929. }
  1930.  
  1931. Name (_PR0, Package (0x01) // _PR0: Power Resources for D0
  1932. {
  1933. P0U1
  1934. })
  1935. Name (_PR3, Package (0x01) // _PR3: Power Resources for D3hot
  1936. {
  1937. P3U1
  1938. })
  1939. }
  1940. }
  1941.  
  1942. Device (GPP5)
  1943. {
  1944. Name (_ADR, 0x00020005) // _ADR: Address
  1945. Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
  1946. {
  1947. If ((WKPM == One))
  1948. {
  1949. Return (GPRW (0x08, 0x03))
  1950. }
  1951. Else
  1952. {
  1953. Return (GPRW (0x08, Zero))
  1954. }
  1955. }
  1956.  
  1957. OperationRegion (PCG1, PCI_Config, 0x58, 0x20)
  1958. Field (PCG1, DWordAcc, NoLock, Preserve)
  1959. {
  1960. Offset (0x10),
  1961. LNKC, 2
  1962. }
  1963.  
  1964. Method (_PS0, 0, NotSerialized) // _PS0: Power State 0
  1965. {
  1966. LNKC = 0x02
  1967. }
  1968.  
  1969. Method (_PS3, 0, NotSerialized) // _PS3: Power State 3
  1970. {
  1971. LNKC = 0x02
  1972. }
  1973.  
  1974. Device (L850)
  1975. {
  1976. Name (_ADR, 0x00) // _ADR: Address
  1977. Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
  1978. {
  1979. If ((WKPM == One))
  1980. {
  1981. Return (GPRW (0x08, 0x03))
  1982. }
  1983. Else
  1984. {
  1985. Return (GPRW (0x08, Zero))
  1986. }
  1987. }
  1988.  
  1989. OperationRegion (PCG2, PCI_Config, 0x00, 0x90)
  1990. Field (PCG2, DWordAcc, NoLock, Preserve)
  1991. {
  1992. VID0, 16,
  1993. DID0, 16,
  1994. Offset (0x80),
  1995. APML, 2
  1996. }
  1997.  
  1998. Method (_RST, 0, NotSerialized) // _RST: Device Reset
  1999. {
  2000. LNKC = 0x02
  2001. WFIO (0x08, 0x00)
  2002. Sleep (0x32)
  2003. Notify (L850, 0x01) // Device Check
  2004. LNKC = 0x02
  2005. WFIO (0x08, 0x01)
  2006. Sleep (0x3E)
  2007. Notify (_SB, 0x00) // Bus Check
  2008. Sleep (0x64)
  2009. Notify (PCI0, 0x00) // Bus Check
  2010. Sleep (0x64)
  2011. Notify (L850, 0x01) // Device Check
  2012. LNKC = 0x02
  2013. APML = 0x02
  2014. Return (0x00)
  2015. }
  2016.  
  2017. Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method
  2018. {
  2019. If ((Arg0 == ToUUID ("bad01b75-22a8-4f48-8792-bdde9467747d")))
  2020. {
  2021. If ((Arg2 == Zero))
  2022. {
  2023. Return (Buffer (One)
  2024. {
  2025. 0x09 // .
  2026. })
  2027. }
  2028.  
  2029. If ((Arg2 == 0x01)){}
  2030. If ((Arg2 == 0x02)){}
  2031. If ((Arg2 == 0x03))
  2032. {
  2033. Return (0x03)
  2034. }
  2035. }
  2036.  
  2037. Return (Buffer (One)
  2038. {
  2039. 0x00 // .
  2040. })
  2041. }
  2042.  
  2043. Method (LFCT, 0, NotSerialized)
  2044. {
  2045. If ((DID0 == 0x7360))
  2046. {
  2047. APML = 0x02
  2048. Return (0x00)
  2049. }
  2050. }
  2051. }
  2052.  
  2053. Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table
  2054. {
  2055. If (GPIC)
  2056. {
  2057. Return (Package (0x04)
  2058. {
  2059. Package (0x04)
  2060. {
  2061. 0xFFFF,
  2062. 0x00,
  2063. 0x00,
  2064. 0x32
  2065. },
  2066.  
  2067. Package (0x04)
  2068. {
  2069. 0xFFFF,
  2070. 0x01,
  2071. 0x00,
  2072. 0x33
  2073. },
  2074.  
  2075. Package (0x04)
  2076. {
  2077. 0xFFFF,
  2078. 0x02,
  2079. 0x00,
  2080. 0x30
  2081. },
  2082.  
  2083. Package (0x04)
  2084. {
  2085. 0xFFFF,
  2086. 0x03,
  2087. 0x00,
  2088. 0x31
  2089. }
  2090. })
  2091. }
  2092. Else
  2093. {
  2094. Return (Package (0x04)
  2095. {
  2096. Package (0x04)
  2097. {
  2098. 0xFFFF,
  2099. 0x00,
  2100. ^^LPC0.LNKC,
  2101. 0x00
  2102. },
  2103.  
  2104. Package (0x04)
  2105. {
  2106. 0xFFFF,
  2107. 0x01,
  2108. ^^LPC0.LNKD,
  2109. 0x00
  2110. },
  2111.  
  2112. Package (0x04)
  2113. {
  2114. 0xFFFF,
  2115. 0x02,
  2116. ^^LPC0.LNKA,
  2117. 0x00
  2118. },
  2119.  
  2120. Package (0x04)
  2121. {
  2122. 0xFFFF,
  2123. 0x03,
  2124. ^^LPC0.LNKB,
  2125. 0x00
  2126. }
  2127. })
  2128. }
  2129. }
  2130. }
  2131.  
  2132. Device (GPP7)
  2133. {
  2134. Name (_ADR, 0x00020003) // _ADR: Address
  2135. Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
  2136. {
  2137. If ((WKPM == One))
  2138. {
  2139. Return (GPRW (0x0E, 0x03))
  2140. }
  2141. Else
  2142. {
  2143. Return (GPRW (0x0E, Zero))
  2144. }
  2145. }
  2146.  
  2147. Device (PXSX)
  2148. {
  2149. Name (_ADR, 0x00) // _ADR: Address
  2150. OperationRegion (RPXX, PCI_Config, 0x00, 0x10)
  2151. Field (RPXX, AnyAcc, NoLock, Preserve)
  2152. {
  2153. VDID, 32
  2154. }
  2155.  
  2156. OperationRegion (FLDR, PCI_Config, 0x44, 0x06)
  2157. Field (FLDR, ByteAcc, NoLock, Preserve)
  2158. {
  2159. DCAP, 32,
  2160. DCTR, 16
  2161. }
  2162.  
  2163. Method (WIST, 0, Serialized)
  2164. {
  2165. If (CondRefOf (VDID))
  2166. {
  2167. Switch (ToInteger (VDID))
  2168. {
  2169. Case (0x095A8086)
  2170. {
  2171. Return (0x01)
  2172. }
  2173. Case (0x095B8086)
  2174. {
  2175. Return (0x01)
  2176. }
  2177. Case (0x31658086)
  2178. {
  2179. Return (0x01)
  2180. }
  2181. Case (0x31668086)
  2182. {
  2183. Return (0x01)
  2184. }
  2185. Case (0x08B18086)
  2186. {
  2187. Return (0x01)
  2188. }
  2189. Case (0x08B28086)
  2190. {
  2191. Return (0x01)
  2192. }
  2193. Case (0x08B38086)
  2194. {
  2195. Return (0x01)
  2196. }
  2197. Case (0x08B48086)
  2198. {
  2199. Return (0x01)
  2200. }
  2201. Case (0x24F38086)
  2202. {
  2203. Return (0x01)
  2204. }
  2205. Case (0x24F48086)
  2206. {
  2207. Return (0x01)
  2208. }
  2209. Case (0x24F58086)
  2210. {
  2211. Return (0x01)
  2212. }
  2213. Case (0x24F68086)
  2214. {
  2215. Return (0x01)
  2216. }
  2217. Case (0x24FD8086)
  2218. {
  2219. Return (0x01)
  2220. }
  2221. Case (0x24FB8086)
  2222. {
  2223. Return (0x01)
  2224. }
  2225. Case (0x25268086)
  2226. {
  2227. Return (0x01)
  2228. }
  2229. Case (0x27238086)
  2230. {
  2231. Return (0x01)
  2232. }
  2233. Case (0xB82210EC)
  2234. {
  2235. Return (0x01)
  2236. }
  2237. Default
  2238. {
  2239. Return (0x00)
  2240. }
  2241.  
  2242. }
  2243. }
  2244. Else
  2245. {
  2246. Return (0x00)
  2247. }
  2248. }
  2249.  
  2250. PowerResource (WRST, 0x05, 0x0000)
  2251. {
  2252. Method (_STA, 0, NotSerialized) // _STA: Status
  2253. {
  2254. Return (0x01)
  2255. }
  2256.  
  2257. Method (_ON, 0, NotSerialized) // _ON_: Power On
  2258. {
  2259. }
  2260.  
  2261. Method (_OFF, 0, NotSerialized) // _OFF: Power Off
  2262. {
  2263. }
  2264.  
  2265. Method (_RST, 0, NotSerialized) // _RST: Device Reset
  2266. {
  2267. If ((DCAP & 0x10000000))
  2268. {
  2269. Local0 = DCTR /* \_SB_.PCI0.GPP7.PXSX.DCTR */
  2270. Local0 |= 0x8000
  2271. DCTR = Local0
  2272. }
  2273. }
  2274. }
  2275.  
  2276. Method (_PRR, 0, NotSerialized) // _PRR: Power Resource for Reset
  2277. {
  2278. Return (Package (0x01)
  2279. {
  2280. WRST
  2281. })
  2282. }
  2283. }
  2284.  
  2285. Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table
  2286. {
  2287. If (GPIC)
  2288. {
  2289. Return (Package (0x04)
  2290. {
  2291. Package (0x04)
  2292. {
  2293. 0xFFFF,
  2294. 0x00,
  2295. 0x00,
  2296. 0x2C
  2297. },
  2298.  
  2299. Package (0x04)
  2300. {
  2301. 0xFFFF,
  2302. 0x01,
  2303. 0x00,
  2304. 0x2D
  2305. },
  2306.  
  2307. Package (0x04)
  2308. {
  2309. 0xFFFF,
  2310. 0x02,
  2311. 0x00,
  2312. 0x2E
  2313. },
  2314.  
  2315. Package (0x04)
  2316. {
  2317. 0xFFFF,
  2318. 0x03,
  2319. 0x00,
  2320. 0x2F
  2321. }
  2322. })
  2323. }
  2324. Else
  2325. {
  2326. Return (Package (0x04)
  2327. {
  2328. Package (0x04)
  2329. {
  2330. 0xFFFF,
  2331. 0x00,
  2332. ^^LPC0.LNKE,
  2333. 0x00
  2334. },
  2335.  
  2336. Package (0x04)
  2337. {
  2338. 0xFFFF,
  2339. 0x01,
  2340. ^^LPC0.LNKF,
  2341. 0x00
  2342. },
  2343.  
  2344. Package (0x04)
  2345. {
  2346. 0xFFFF,
  2347. 0x02,
  2348. ^^LPC0.LNKG,
  2349. 0x00
  2350. },
  2351.  
  2352. Package (0x04)
  2353. {
  2354. 0xFFFF,
  2355. 0x03,
  2356. ^^LPC0.LNKH,
  2357. 0x00
  2358. }
  2359. })
  2360. }
  2361. }
  2362.  
  2363. Device (DEV0)
  2364. {
  2365. Name (_ADR, Zero) // _ADR: Address
  2366. Method (_RMV, 0, NotSerialized) // _RMV: Removal Status
  2367. {
  2368. Return (Zero)
  2369. }
  2370. }
  2371.  
  2372. Device (DEV1)
  2373. {
  2374. Name (_ADR, One) // _ADR: Address
  2375. Method (_RMV, 0, NotSerialized) // _RMV: Removal Status
  2376. {
  2377. Return (Zero)
  2378. }
  2379. }
  2380. }
  2381.  
  2382. Device (GPP8)
  2383. {
  2384. Name (_ADR, 0x00020001) // _ADR: Address
  2385. Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table
  2386. {
  2387. If (GPIC)
  2388. {
  2389. Return (Package (0x04)
  2390. {
  2391. Package (0x04)
  2392. {
  2393. 0xFFFF,
  2394. 0x00,
  2395. 0x00,
  2396. 0x24
  2397. },
  2398.  
  2399. Package (0x04)
  2400. {
  2401. 0xFFFF,
  2402. 0x01,
  2403. 0x00,
  2404. 0x25
  2405. },
  2406.  
  2407. Package (0x04)
  2408. {
  2409. 0xFFFF,
  2410. 0x02,
  2411. 0x00,
  2412. 0x26
  2413. },
  2414.  
  2415. Package (0x04)
  2416. {
  2417. 0xFFFF,
  2418. 0x03,
  2419. 0x00,
  2420. 0x27
  2421. }
  2422. })
  2423. }
  2424. Else
  2425. {
  2426. Return (Package (0x04)
  2427. {
  2428. Package (0x04)
  2429. {
  2430. 0xFFFF,
  2431. 0x00,
  2432. ^^LPC0.LNKE,
  2433. 0x00
  2434. },
  2435.  
  2436. Package (0x04)
  2437. {
  2438. 0xFFFF,
  2439. 0x01,
  2440. ^^LPC0.LNKF,
  2441. 0x00
  2442. },
  2443.  
  2444. Package (0x04)
  2445. {
  2446. 0xFFFF,
  2447. 0x02,
  2448. ^^LPC0.LNKG,
  2449. 0x00
  2450. },
  2451.  
  2452. Package (0x04)
  2453. {
  2454. 0xFFFF,
  2455. 0x03,
  2456. ^^LPC0.LNKH,
  2457. 0x00
  2458. }
  2459. })
  2460. }
  2461. }
  2462. }
  2463.  
  2464. Device (GP17)
  2465. {
  2466. Name (_ADR, 0x00080001) // _ADR: Address
  2467. Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
  2468. {
  2469. If ((WKPM == One))
  2470. {
  2471. Return (GPRW (0x19, 0x03))
  2472. }
  2473. Else
  2474. {
  2475. Return (GPRW (0x19, Zero))
  2476. }
  2477. }
  2478.  
  2479. Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table
  2480. {
  2481. If (GPIC)
  2482. {
  2483. Return (Package (0x04)
  2484. {
  2485. Package (0x04)
  2486. {
  2487. 0xFFFF,
  2488. 0x00,
  2489. 0x00,
  2490. 0x26
  2491. },
  2492.  
  2493. Package (0x04)
  2494. {
  2495. 0xFFFF,
  2496. 0x01,
  2497. 0x00,
  2498. 0x27
  2499. },
  2500.  
  2501. Package (0x04)
  2502. {
  2503. 0xFFFF,
  2504. 0x02,
  2505. 0x00,
  2506. 0x24
  2507. },
  2508.  
  2509. Package (0x04)
  2510. {
  2511. 0xFFFF,
  2512. 0x03,
  2513. 0x00,
  2514. 0x25
  2515. }
  2516. })
  2517. }
  2518. Else
  2519. {
  2520. Return (Package (0x04)
  2521. {
  2522. Package (0x04)
  2523. {
  2524. 0xFFFF,
  2525. 0x00,
  2526. ^^LPC0.LNKG,
  2527. 0x00
  2528. },
  2529.  
  2530. Package (0x04)
  2531. {
  2532. 0xFFFF,
  2533. 0x01,
  2534. ^^LPC0.LNKH,
  2535. 0x00
  2536. },
  2537.  
  2538. Package (0x04)
  2539. {
  2540. 0xFFFF,
  2541. 0x02,
  2542. ^^LPC0.LNKE,
  2543. 0x00
  2544. },
  2545.  
  2546. Package (0x04)
  2547. {
  2548. 0xFFFF,
  2549. 0x03,
  2550. ^^LPC0.LNKF,
  2551. 0x00
  2552. }
  2553. })
  2554. }
  2555. }
  2556.  
  2557. Device (VGA)
  2558. {
  2559. Name (_ADR, Zero) // _ADR: Address
  2560. Method (_STA, 0, NotSerialized) // _STA: Status
  2561. {
  2562. Return (0x0F)
  2563. }
  2564.  
  2565. Name (AF7E, 0x80000001)
  2566. Name (DOSA, 0x00)
  2567. Method (_DOS, 1, NotSerialized) // _DOS: Disable Output Switching
  2568. {
  2569. DOSA = Arg0
  2570. }
  2571.  
  2572. Method (_DOD, 0, NotSerialized) // _DOD: Display Output Devices
  2573. {
  2574. Return (Package (0x05)
  2575. {
  2576. 0x00010100,
  2577. 0x00010110,
  2578. 0x0200,
  2579. 0x00010210,
  2580. 0x00010220
  2581. })
  2582. }
  2583.  
  2584. Device (LCD)
  2585. {
  2586. Method (_ADR, 0, NotSerialized) // _ADR: Address
  2587. {
  2588. Return (0x0110)
  2589. }
  2590.  
  2591. Name (BRLV, Buffer (0x11)
  2592. {
  2593. /* 0000 */ 0x52, 0x22, 0x02, 0x08, 0x0E, 0x16, 0x1C, 0x22, // R"....."
  2594. /* 0008 */ 0x2A, 0x30, 0x36, 0x3E, 0x44, 0x4B, 0x52, 0x58, // *06>DKRX
  2595. /* 0010 */ 0x64 // d
  2596. })
  2597. Method (_BCL, 0, NotSerialized) // _BCL: Brightness Control Levels
  2598. {
  2599. If ((AF7E == 0x80000001))
  2600. {
  2601. Return (^^^^LPC0.EC0.BRTW) /* \_SB_.PCI0.LPC0.EC0_.BRTW */
  2602. }
  2603. Else
  2604. {
  2605. Return (BRLV) /* \_SB_.PCI0.GP17.VGA_.LCD_.BRLV */
  2606. }
  2607. }
  2608.  
  2609. Method (_BCM, 1, NotSerialized) // _BCM: Brightness Control Method
  2610. {
  2611. If ((AF7E == 0x80000001))
  2612. {
  2613. Local0 = Match (^^^^LPC0.EC0.BRTW, MEQ, Arg0, MTR, 0x00, 0x02)
  2614. Local1 = (Local0 - 0x02)
  2615. \BRLV = Local1
  2616. SCMS (0x16)
  2617. }
  2618. }
  2619.  
  2620. Method (_DDC, 1, NotSerialized) // _DDC: Display Data Current
  2621. {
  2622. If ((Arg0 == 0x01))
  2623. {
  2624. Return (VEDI) /* \VEDI */
  2625. }
  2626. ElseIf ((Arg0 == 0x02))
  2627. {
  2628. Name (VBUF, Buffer (0x0100)
  2629. {
  2630. 0x00 // .
  2631. })
  2632. Concatenate (VEDI, VEDX, VBUF) /* \_SB_.PCI0.GP17.VGA_.LCD_._DDC.VBUF */
  2633. Return (VBUF) /* \_SB_.PCI0.GP17.VGA_.LCD_._DDC.VBUF */
  2634. }
  2635.  
  2636. Return (0x00)
  2637. }
  2638. }
  2639. }
  2640.  
  2641. Device (PSP)
  2642. {
  2643. Name (_ADR, 0x02) // _ADR: Address
  2644. }
  2645.  
  2646. Device (ACP)
  2647. {
  2648. Name (_ADR, 0x05) // _ADR: Address
  2649. Method (_WOV, 0, NotSerialized)
  2650. {
  2651. If (HDMC)
  2652. {
  2653. Return (0x00)
  2654. }
  2655.  
  2656. If (NOMC)
  2657. {
  2658. Return (0x00)
  2659. }
  2660.  
  2661. Return (0x01)
  2662. }
  2663. }
  2664.  
  2665. Device (AZAL)
  2666. {
  2667. Name (_ADR, 0x06) // _ADR: Address
  2668. }
  2669.  
  2670. Device (HDAU)
  2671. {
  2672. Name (_ADR, One) // _ADR: Address
  2673. }
  2674.  
  2675. Device (XHC0)
  2676. {
  2677. Name (_ADR, 0x03) // _ADR: Address
  2678. OperationRegion (PMOP, PCI_Config, 0x50, 0x08)
  2679. Field (PMOP, DWordAcc, NoLock, Preserve)
  2680. {
  2681. Offset (0x01),
  2682. Offset (0x02),
  2683. , 3,
  2684. , 1,
  2685. , 1,
  2686. , 1,
  2687. , 3,
  2688. , 1,
  2689. , 1,
  2690. Offset (0x04),
  2691. PSTA, 2,
  2692. , 1,
  2693. , 1,
  2694. , 3,
  2695. Offset (0x05),
  2696. , 4,
  2697. , 2,
  2698. PMES, 1,
  2699. , 2
  2700. }
  2701.  
  2702. Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
  2703. {
  2704. Return (GPRW (0x19, 0x03))
  2705. }
  2706.  
  2707. Device (RHUB)
  2708. {
  2709. Name (_ADR, Zero) // _ADR: Address
  2710. Name (UPCN, Package (0x04)
  2711. {
  2712. 0x00,
  2713. 0x00,
  2714. 0x00,
  2715. 0x00
  2716. })
  2717. Name (UPC4, Package (0x04)
  2718. {
  2719. 0xFF,
  2720. 0x09,
  2721. 0x00,
  2722. 0x00
  2723. })
  2724. Name (UPC3, Package (0x04)
  2725. {
  2726. 0xFF,
  2727. 0x03,
  2728. 0x00,
  2729. 0x00
  2730. })
  2731. Name (UPC5, Package (0x04)
  2732. {
  2733. 0xFF,
  2734. 0x00,
  2735. 0x00,
  2736. 0x00
  2737. })
  2738. Name (UPCP, Package (0x04)
  2739. {
  2740. 0xFF,
  2741. 0xFF,
  2742. 0x00,
  2743. 0x00
  2744. })
  2745. Name (PLDN, Package (0x01)
  2746. {
  2747. Buffer (0x10)
  2748. {
  2749. /* 0000 */ 0x82, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ........
  2750. /* 0008 */ 0x99, 0x11, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 // ........
  2751. }
  2752. })
  2753. Name (PLD1, Package (0x01)
  2754. {
  2755. Buffer (0x10)
  2756. {
  2757. /* 0000 */ 0x82, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ........
  2758. /* 0008 */ 0x69, 0x0C, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00 // i.......
  2759. }
  2760. })
  2761. Name (PLD2, Package (0x01)
  2762. {
  2763. Buffer (0x10)
  2764. {
  2765. /* 0000 */ 0x82, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ........
  2766. /* 0008 */ 0x69, 0x0C, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00 // i.......
  2767. }
  2768. })
  2769. Name (PLD3, Package (0x01)
  2770. {
  2771. Buffer (0x10)
  2772. {
  2773. /* 0000 */ 0x82, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ........
  2774. /* 0008 */ 0x71, 0x0C, 0x80, 0x01, 0x00, 0x00, 0x00, 0x00 // q.......
  2775. }
  2776. })
  2777. Name (PLD4, Package (0x01)
  2778. {
  2779. Buffer (0x10)
  2780. {
  2781. /* 0000 */ 0x82, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ........
  2782. /* 0008 */ 0x24, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00 // $.......
  2783. }
  2784. })
  2785. Name (PLDC, Package (0x01)
  2786. {
  2787. Buffer (0x14)
  2788. {
  2789. /* 0000 */ 0x82, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ........
  2790. /* 0008 */ 0x24, 0x01, 0x80, 0x03, 0x00, 0x00, 0x00, 0x00, // $.......
  2791. /* 0010 */ 0x88, 0xFF, 0xB8, 0xFF // ....
  2792. }
  2793. })
  2794. Name (PLDW, Package (0x01)
  2795. {
  2796. Buffer (0x10)
  2797. {
  2798. /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ........
  2799. /* 0008 */ 0xE0, 0x1E, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00 // ........
  2800. }
  2801. })
  2802. Device (HS01)
  2803. {
  2804. Name (_ADR, 0x01) // _ADR: Address
  2805. Method (_UPC, 0, NotSerialized) // _UPC: USB Port Capabilities
  2806. {
  2807. Return (UPC4) /* \_SB_.PCI0.GP17.XHC0.RHUB.UPC4 */
  2808. }
  2809.  
  2810. Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
  2811. {
  2812. Return (PLD1) /* \_SB_.PCI0.GP17.XHC0.RHUB.PLD1 */
  2813. }
  2814. }
  2815.  
  2816. Device (HS02)
  2817. {
  2818. Name (_ADR, 0x02) // _ADR: Address
  2819. Method (_UPC, 0, NotSerialized) // _UPC: USB Port Capabilities
  2820. {
  2821. Return (UPC5) /* \_SB_.PCI0.GP17.XHC0.RHUB.UPC5 */
  2822. }
  2823.  
  2824. Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
  2825. {
  2826. Return (PLD2) /* \_SB_.PCI0.GP17.XHC0.RHUB.PLD2 */
  2827. }
  2828. }
  2829.  
  2830. Device (HS03)
  2831. {
  2832. Name (_ADR, 0x03) // _ADR: Address
  2833. Method (_UPC, 0, NotSerialized) // _UPC: USB Port Capabilities
  2834. {
  2835. Return (UPCN) /* \_SB_.PCI0.GP17.XHC0.RHUB.UPCN */
  2836. }
  2837.  
  2838. Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
  2839. {
  2840. Return (PLDN) /* \_SB_.PCI0.GP17.XHC0.RHUB.PLDN */
  2841. }
  2842. }
  2843.  
  2844. Device (HS04)
  2845. {
  2846. Name (_ADR, 0x04) // _ADR: Address
  2847. Method (_UPC, 0, NotSerialized) // _UPC: USB Port Capabilities
  2848. {
  2849. Return (UPCN) /* \_SB_.PCI0.GP17.XHC0.RHUB.UPCN */
  2850. }
  2851.  
  2852. Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
  2853. {
  2854. Return (PLDN) /* \_SB_.PCI0.GP17.XHC0.RHUB.PLDN */
  2855. }
  2856. }
  2857.  
  2858. Device (SS01)
  2859. {
  2860. Name (_ADR, 0x05) // _ADR: Address
  2861. Method (_UPC, 0, NotSerialized) // _UPC: USB Port Capabilities
  2862. {
  2863. Return (UPC4) /* \_SB_.PCI0.GP17.XHC0.RHUB.UPC4 */
  2864. }
  2865.  
  2866. Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
  2867. {
  2868. Return (PLD1) /* \_SB_.PCI0.GP17.XHC0.RHUB.PLD1 */
  2869. }
  2870. }
  2871.  
  2872. Device (SS02)
  2873. {
  2874. Name (_ADR, 0x06) // _ADR: Address
  2875. Method (_UPC, 0, NotSerialized) // _UPC: USB Port Capabilities
  2876. {
  2877. Return (UPC3) /* \_SB_.PCI0.GP17.XHC0.RHUB.UPC3 */
  2878. }
  2879.  
  2880. Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
  2881. {
  2882. Return (PLD2) /* \_SB_.PCI0.GP17.XHC0.RHUB.PLD2 */
  2883. }
  2884. }
  2885.  
  2886. Device (SS03)
  2887. {
  2888. Name (_ADR, 0x07) // _ADR: Address
  2889. Method (_UPC, 0, NotSerialized) // _UPC: USB Port Capabilities
  2890. {
  2891. Return (UPCN) /* \_SB_.PCI0.GP17.XHC0.RHUB.UPCN */
  2892. }
  2893. }
  2894.  
  2895. Device (SS04)
  2896. {
  2897. Name (_ADR, 0x08) // _ADR: Address
  2898. Method (_UPC, 0, NotSerialized) // _UPC: USB Port Capabilities
  2899. {
  2900. Return (UPCN) /* \_SB_.PCI0.GP17.XHC0.RHUB.UPCN */
  2901. }
  2902. }
  2903. }
  2904. }
  2905.  
  2906. Device (XHC1)
  2907. {
  2908. Name (_ADR, 0x04) // _ADR: Address
  2909. Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
  2910. {
  2911. Return (GPRW (0x19, 0x03))
  2912. }
  2913.  
  2914. Device (RHUB)
  2915. {
  2916. Name (_ADR, Zero) // _ADR: Address
  2917. Name (UPCN, Package (0x04)
  2918. {
  2919. 0x00,
  2920. 0x00,
  2921. 0x00,
  2922. 0x00
  2923. })
  2924. Name (UPC3, Package (0x04)
  2925. {
  2926. 0xFF,
  2927. 0x03,
  2928. 0x00,
  2929. 0x00
  2930. })
  2931. Name (UPC4, Package (0x04)
  2932. {
  2933. 0xFF,
  2934. 0x09,
  2935. 0x00,
  2936. 0x00
  2937. })
  2938. Name (UPC5, Package (0x04)
  2939. {
  2940. 0xFF,
  2941. 0x00,
  2942. 0x00,
  2943. 0x00
  2944. })
  2945. Name (UPCP, Package (0x04)
  2946. {
  2947. 0xFF,
  2948. 0xFF,
  2949. 0x00,
  2950. 0x00
  2951. })
  2952. Name (PLDN, Package (0x01)
  2953. {
  2954. Buffer (0x10)
  2955. {
  2956. /* 0000 */ 0x82, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ........
  2957. /* 0008 */ 0x99, 0x11, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 // ........
  2958. }
  2959. })
  2960. Name (PLD5, Package (0x01)
  2961. {
  2962. Buffer (0x10)
  2963. {
  2964. /* 0000 */ 0x82, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ........
  2965. /* 0008 */ 0x69, 0x0C, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00 // i.......
  2966. }
  2967. })
  2968. Name (PLD6, Package (0x01)
  2969. {
  2970. Buffer (0x10)
  2971. {
  2972. /* 0000 */ 0x82, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ........
  2973. /* 0008 */ 0x69, 0x0C, 0x80, 0x04, 0x00, 0x00, 0x00, 0x00 // i.......
  2974. }
  2975. })
  2976. Name (PLD7, Package (0x01)
  2977. {
  2978. Buffer (0x10)
  2979. {
  2980. /* 0000 */ 0x82, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ........
  2981. /* 0008 */ 0x71, 0x0C, 0x00, 0x05, 0x00, 0x00, 0x00, 0x00 // q.......
  2982. }
  2983. })
  2984. Name (PLD8, Package (0x01)
  2985. {
  2986. Buffer (0x10)
  2987. {
  2988. /* 0000 */ 0x82, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ........
  2989. /* 0008 */ 0x71, 0x0C, 0x80, 0x05, 0x00, 0x00, 0x00, 0x00 // q.......
  2990. }
  2991. })
  2992. Name (PLDC, Package (0x01)
  2993. {
  2994. Buffer (0x14)
  2995. {
  2996. /* 0000 */ 0x82, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ........
  2997. /* 0008 */ 0x24, 0x01, 0x80, 0x03, 0x00, 0x00, 0x00, 0x00, // $.......
  2998. /* 0010 */ 0x88, 0xFF, 0xB8, 0xFF // ....
  2999. }
  3000. })
  3001. Name (PLDW, Package (0x01)
  3002. {
  3003. Buffer (0x10)
  3004. {
  3005. /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ........
  3006. /* 0008 */ 0xE0, 0x1E, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00 // ........
  3007. }
  3008. })
  3009. Device (HS01)
  3010. {
  3011. Name (_ADR, 0x01) // _ADR: Address
  3012. Method (_UPC, 0, NotSerialized) // _UPC: USB Port Capabilities
  3013. {
  3014. Return (UPC4) /* \_SB_.PCI0.GP17.XHC1.RHUB.UPC4 */
  3015. }
  3016.  
  3017. Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
  3018. {
  3019. Return (PLD5) /* \_SB_.PCI0.GP17.XHC1.RHUB.PLD5 */
  3020. }
  3021. }
  3022.  
  3023. Device (HS02)
  3024. {
  3025. Name (_ADR, 0x02) // _ADR: Address
  3026. Method (_UPC, 0, NotSerialized) // _UPC: USB Port Capabilities
  3027. {
  3028. Return (UPC5) /* \_SB_.PCI0.GP17.XHC1.RHUB.UPC5 */
  3029. }
  3030.  
  3031. Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
  3032. {
  3033. Return (PLD6) /* \_SB_.PCI0.GP17.XHC1.RHUB.PLD6 */
  3034. }
  3035. }
  3036.  
  3037. Device (HS03)
  3038. {
  3039. Name (_ADR, 0x03) // _ADR: Address
  3040. Method (_UPC, 0, NotSerialized) // _UPC: USB Port Capabilities
  3041. {
  3042. Return (UPCN) /* \_SB_.PCI0.GP17.XHC1.RHUB.UPCN */
  3043. }
  3044.  
  3045. Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
  3046. {
  3047. Return (PLDN) /* \_SB_.PCI0.GP17.XHC1.RHUB.PLDN */
  3048. }
  3049. }
  3050.  
  3051. Device (HS04)
  3052. {
  3053. Name (_ADR, 0x04) // _ADR: Address
  3054. Method (_UPC, 0, NotSerialized) // _UPC: USB Port Capabilities
  3055. {
  3056. Return (UPCN) /* \_SB_.PCI0.GP17.XHC1.RHUB.UPCN */
  3057. }
  3058.  
  3059. Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
  3060. {
  3061. Return (PLDN) /* \_SB_.PCI0.GP17.XHC1.RHUB.PLDN */
  3062. }
  3063. }
  3064.  
  3065. Device (SS01)
  3066. {
  3067. Name (_ADR, 0x05) // _ADR: Address
  3068. Method (_UPC, 0, NotSerialized) // _UPC: USB Port Capabilities
  3069. {
  3070. Return (UPC4) /* \_SB_.PCI0.GP17.XHC1.RHUB.UPC4 */
  3071. }
  3072.  
  3073. Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
  3074. {
  3075. Return (PLD5) /* \_SB_.PCI0.GP17.XHC1.RHUB.PLD5 */
  3076. }
  3077. }
  3078.  
  3079. Device (SS02)
  3080. {
  3081. Name (_ADR, 0x06) // _ADR: Address
  3082. Method (_UPC, 0, NotSerialized) // _UPC: USB Port Capabilities
  3083. {
  3084. Return (UPC3) /* \_SB_.PCI0.GP17.XHC1.RHUB.UPC3 */
  3085. }
  3086.  
  3087. Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
  3088. {
  3089. Return (PLD6) /* \_SB_.PCI0.GP17.XHC1.RHUB.PLD6 */
  3090. }
  3091. }
  3092.  
  3093. Device (SS03)
  3094. {
  3095. Name (_ADR, 0x07) // _ADR: Address
  3096. Method (_UPC, 0, NotSerialized) // _UPC: USB Port Capabilities
  3097. {
  3098. Return (UPCN) /* \_SB_.PCI0.GP17.XHC1.RHUB.UPCN */
  3099. }
  3100. }
  3101.  
  3102. Device (SS04)
  3103. {
  3104. Name (_ADR, 0x08) // _ADR: Address
  3105. Method (_UPC, 0, NotSerialized) // _UPC: USB Port Capabilities
  3106. {
  3107. Return (UPCN) /* \_SB_.PCI0.GP17.XHC1.RHUB.UPCN */
  3108. }
  3109. }
  3110. }
  3111. }
  3112. }
  3113.  
  3114. Device (GP18)
  3115. {
  3116. Name (_ADR, 0x00080002) // _ADR: Address
  3117. Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table
  3118. {
  3119. If (GPIC)
  3120. {
  3121. Return (Package (0x04)
  3122. {
  3123. Package (0x04)
  3124. {
  3125. 0xFFFF,
  3126. 0x00,
  3127. 0x00,
  3128. 0x22
  3129. },
  3130.  
  3131. Package (0x04)
  3132. {
  3133. 0xFFFF,
  3134. 0x01,
  3135. 0x00,
  3136. 0x23
  3137. },
  3138.  
  3139. Package (0x04)
  3140. {
  3141. 0xFFFF,
  3142. 0x02,
  3143. 0x00,
  3144. 0x20
  3145. },
  3146.  
  3147. Package (0x04)
  3148. {
  3149. 0xFFFF,
  3150. 0x03,
  3151. 0x00,
  3152. 0x21
  3153. }
  3154. })
  3155. }
  3156. Else
  3157. {
  3158. Return (Package (0x04)
  3159. {
  3160. Package (0x04)
  3161. {
  3162. 0xFFFF,
  3163. 0x00,
  3164. ^^LPC0.LNKC,
  3165. 0x00
  3166. },
  3167.  
  3168. Package (0x04)
  3169. {
  3170. 0xFFFF,
  3171. 0x01,
  3172. ^^LPC0.LNKD,
  3173. 0x00
  3174. },
  3175.  
  3176. Package (0x04)
  3177. {
  3178. 0xFFFF,
  3179. 0x02,
  3180. ^^LPC0.LNKA,
  3181. 0x00
  3182. },
  3183.  
  3184. Package (0x04)
  3185. {
  3186. 0xFFFF,
  3187. 0x03,
  3188. ^^LPC0.LNKB,
  3189. 0x00
  3190. }
  3191. })
  3192. }
  3193. }
  3194.  
  3195. Device (SATA)
  3196. {
  3197. Name (_ADR, Zero) // _ADR: Address
  3198. }
  3199.  
  3200. Device (SAT1)
  3201. {
  3202. Name (_ADR, One) // _ADR: Address
  3203. }
  3204. }
  3205.  
  3206. Scope (GPP7)
  3207. {
  3208. Method (RHRS, 0, NotSerialized)
  3209. {
  3210. Name (RBUF, ResourceTemplate ()
  3211. {
  3212. GpioInt (Edge, ActiveLow, ExclusiveAndWake, PullNone, 0x0000,
  3213. "\\_SB.GPIO", 0x00, ResourceConsumer, ,
  3214. )
  3215. { // Pin list
  3216. 0x0012
  3217. }
  3218. GpioInt (Edge, ActiveHigh, SharedAndWake, PullNone, 0x0000,
  3219. "\\_SB.GPIO", 0x00, ResourceConsumer, ,
  3220. )
  3221. { // Pin list
  3222. 0x00AC
  3223. }
  3224. })
  3225. Return (RBUF) /* \_SB_.PCI0.GPP7.RHRS.RBUF */
  3226. }
  3227.  
  3228. Device (WLAN)
  3229. {
  3230. Name (_ADR, Zero) // _ADR: Address
  3231. Name (_S0W, 0x04) // _S0W: S0 Device Wake State
  3232. }
  3233. }
  3234.  
  3235. Method (PXCR, 3, Serialized)
  3236. {
  3237. Local0 = 0x00
  3238. Local1 = M017 (Arg0, Arg1, Arg2, 0x34, 0x00, 0x08)
  3239. While ((Local1 != 0x00))
  3240. {
  3241. Local2 = M017 (Arg0, Arg1, Arg2, Local1, 0x00, 0x08)
  3242. If (((Local2 == 0x00) || (Local2 == 0xFF)))
  3243. {
  3244. Break
  3245. }
  3246.  
  3247. If ((Local2 == 0x10))
  3248. {
  3249. Local0 = Local1
  3250. Break
  3251. }
  3252.  
  3253. Local1 = M017 (Arg0, Arg1, Arg2, (Local1 + One), 0x00, 0x08)
  3254. }
  3255.  
  3256. Return (Local0)
  3257. }
  3258.  
  3259. Scope (GPP8)
  3260. {
  3261. PowerResource (P0NV, 0x00, 0x0000)
  3262. {
  3263. Name (D0NV, 0x01)
  3264. Name (SLPS, 0x01)
  3265. Method (_STA, 0, NotSerialized) // _STA: Status
  3266. {
  3267. TPST (0x60AA)
  3268. Return (D0NV) /* \_SB_.PCI0.GPP8.P0NV.D0NV */
  3269. }
  3270.  
  3271. Method (_ON, 0, NotSerialized) // _ON_: Power On
  3272. {
  3273. TPST (0x60D0)
  3274. If ((DAS3 == 0x00))
  3275. {
  3276. If (SI3R)
  3277. {
  3278. TPST (0x60E0)
  3279. Local1 = PXCR (NBRI, Zero, Zero)
  3280. M020 (NBRI, Zero, Zero, (Local1 + 0x08), PXDC)
  3281. M020 (NBRI, Zero, Zero, (Local1 + 0x10), (PXLC & 0xFFFFFEFC))
  3282. M020 (NBRI, Zero, Zero, (Local1 + 0x28), PXD2)
  3283. APMC = HDSI /* \HDSI */
  3284. SLPS = 0x01
  3285. SI3R = 0x00
  3286. If ((DAHD == 0x01)){}
  3287. TPST (0x60E1)
  3288. }
  3289.  
  3290. D0NV = 0x01
  3291. }
  3292. }
  3293.  
  3294. Method (_OFF, 0, NotSerialized) // _OFF: Power Off
  3295. {
  3296. TPST (0x60D3)
  3297. If ((DAS3 == 0x00))
  3298. {
  3299. If ((SLPS == 0x01))
  3300. {
  3301. TPST (0x60D4)
  3302. Local0 = M019 (Zero, 0x02, 0x01, 0x18)
  3303. NBRI = ((Local0 & 0xFF00) >> 0x08)
  3304. Local1 = PXCR (NBRI, Zero, Zero)
  3305. PXDC = M019 (NBRI, Zero, Zero, (Local1 + 0x08))
  3306. PXLC = M019 (NBRI, Zero, Zero, (Local1 + 0x10))
  3307. PXD2 = M019 (NBRI, Zero, Zero, (Local1 + 0x28))
  3308. APMC = HDSO /* \HDSO */
  3309. D0NV = 0x00
  3310. }
  3311.  
  3312. SLPS = 0x00
  3313. }
  3314. }
  3315. }
  3316.  
  3317. Device (NVME)
  3318. {
  3319. Name (_ADR, Zero) // _ADR: Address
  3320. Name (_PR0, Package (0x01) // _PR0: Power Resources for D0
  3321. {
  3322. P0NV
  3323. })
  3324. Name (_PR2, Package (0x01) // _PR2: Power Resources for D2
  3325. {
  3326. P0NV
  3327. })
  3328. Name (_PR3, Package (0x01) // _PR3: Power Resources for D3hot
  3329. {
  3330. P0NV
  3331. })
  3332. Method (_PS0, 0, NotSerialized) // _PS0: Power State 0
  3333. {
  3334. TPST (0x6050)
  3335. }
  3336.  
  3337. Method (_PS3, 0, NotSerialized) // _PS3: Power State 3
  3338. {
  3339. TPST (0x6053)
  3340. }
  3341.  
  3342. Name (_DSD, Package (0x02) // _DSD: Device-Specific Data
  3343. {
  3344. ToUUID ("5025030f-842f-4ab4-a561-99a5189762d0"),
  3345. Package (0x01)
  3346. {
  3347. Package (0x02)
  3348. {
  3349. "StorageD3Enable",
  3350. One
  3351. }
  3352. }
  3353. })
  3354. }
  3355. }
  3356.  
  3357. Scope (\_SB)
  3358. {
  3359. Device (WMIW)
  3360. {
  3361. Name (_HID, EisaId ("PNP0C14") /* Windows Management Instrumentation Device */) // _HID: Hardware ID
  3362. Name (_UID, "WWMI") // _UID: Unique ID
  3363. Name (_WDG, Buffer (0x28)
  3364. {
  3365. /* 0000 */ 0x17, 0x82, 0x35, 0x11, 0xCF, 0x21, 0xFD, 0x4B, // ..5..!.K
  3366. /* 0008 */ 0xA8, 0xDC, 0xAB, 0xEB, 0x94, 0x80, 0x9A, 0x6E, // .......n
  3367. /* 0010 */ 0x42, 0x43, 0x01, 0x02, 0x21, 0x12, 0x90, 0x05, // BC..!...
  3368. /* 0018 */ 0x66, 0xD5, 0xD1, 0x11, 0xB2, 0xF0, 0x00, 0xA0, // f.......
  3369. /* 0020 */ 0xC9, 0x06, 0x29, 0x10, 0x46, 0x45, 0x01, 0x00 // ..).FE..
  3370. })
  3371. Method (WMBC, 3, NotSerialized)
  3372. {
  3373. ^^PCI0.GPP5.L850._RST ()
  3374. Return (0x00)
  3375. }
  3376.  
  3377. Name (WQFE, Buffer (0x02C8)
  3378. {
  3379. /* 0000 */ 0x46, 0x4F, 0x4D, 0x42, 0x01, 0x00, 0x00, 0x00, // FOMB....
  3380. /* 0008 */ 0xB8, 0x02, 0x00, 0x00, 0x20, 0x06, 0x00, 0x00, // .... ...
  3381. /* 0010 */ 0x44, 0x53, 0x00, 0x01, 0x1A, 0x7D, 0xDA, 0x54, // DS...}.T
  3382. /* 0018 */ 0x18, 0xDB, 0x82, 0x00, 0x01, 0x06, 0x18, 0x42, // .......B
  3383. /* 0020 */ 0x20, 0xC2, 0x02, 0x89, 0xC0, 0x61, 0x68, 0x24, // ....ah$
  3384. /* 0028 */ 0xD4, 0x01, 0x0C, 0x46, 0x03, 0x88, 0xE4, 0x40, // ...F...@
  3385. /* 0030 */ 0xC8, 0x05, 0x13, 0x13, 0x20, 0x02, 0x42, 0x5E, // .... .B^
  3386. /* 0038 */ 0x05, 0xD8, 0x14, 0x60, 0x12, 0x44, 0xFD, 0xFB, // ...`.D..
  3387. /* 0040 */ 0x43, 0x94, 0x04, 0x87, 0x12, 0x02, 0x21, 0x89, // C.....!.
  3388. /* 0048 */ 0x02, 0xCC, 0x0B, 0xD0, 0x2D, 0xC0, 0xB0, 0x00, // ....-...
  3389. /* 0050 */ 0xDB, 0x02, 0x4C, 0x0B, 0x70, 0x0C, 0x49, 0xA5, // ..L.p.I.
  3390. /* 0058 */ 0x81, 0x53, 0x02, 0x4B, 0x81, 0x90, 0x50, 0x01, // .S.K..P.
  3391. /* 0060 */ 0xCA, 0x05, 0xF8, 0x16, 0xA0, 0x1D, 0x51, 0x92, // ......Q.
  3392. /* 0068 */ 0x05, 0x58, 0x86, 0x11, 0x81, 0x47, 0x11, 0xD9, // .X...G..
  3393. /* 0070 */ 0x68, 0x1C, 0x1A, 0x3B, 0x0C, 0xCB, 0x04, 0xD3, // h..;....
  3394. /* 0078 */ 0x20, 0x0E, 0xA3, 0x6C, 0x64, 0x11, 0x78, 0x42, // ..ld.xB
  3395. /* 0080 */ 0x9D, 0x0A, 0x90, 0x2B, 0x40, 0x98, 0x00, 0xF1, // ...+@...
  3396. /* 0088 */ 0xA8, 0xC2, 0x68, 0x0E, 0x8A, 0xC8, 0x87, 0x46, // ..h....F
  3397. /* 0090 */ 0x89, 0x19, 0x13, 0x81, 0xED, 0x1C, 0x5B, 0xA3, // ......[.
  3398. /* 0098 */ 0x38, 0x8D, 0xC2, 0x05, 0x48, 0xC7, 0xD0, 0x08, // 8...H...
  3399. /* 00A0 */ 0x8E, 0x2B, 0x41, 0x87, 0x33, 0xD0, 0x14, 0xA2, // .+A.3...
  3400. /* 00A8 */ 0x45, 0x28, 0x48, 0x80, 0x75, 0x0C, 0x61, 0x1E, // E(H.u.a.
  3401. /* 00B0 */ 0x52, 0x94, 0x80, 0xF1, 0x62, 0x84, 0x88, 0x7A, // R...b..z
  3402. /* 00B8 */ 0x54, 0x06, 0x0C, 0x14, 0x24, 0xD0, 0x59, 0xC5, // T...$.Y.
  3403. /* 00C0 */ 0x88, 0x52, 0x34, 0x98, 0x20, 0x03, 0x7B, 0x02, // .R4. .{.
  3404. /* 00C8 */ 0xC6, 0x88, 0x17, 0xA2, 0xD5, 0x51, 0x11, 0x9C, // .....Q..
  3405. /* 00D0 */ 0x9E, 0x07, 0x43, 0x26, 0x71, 0x3C, 0x18, 0x19, // ..C&q<..
  3406. /* 00D8 */ 0x10, 0xC2, 0x3A, 0x8D, 0x03, 0x35, 0x81, 0xDD, // ..:..5..
  3407. /* 00E0 */ 0x0B, 0x30, 0x86, 0x20, 0x67, 0x02, 0xAC, 0x09, // .0. g...
  3408. /* 00E8 */ 0x10, 0x27, 0x40, 0x19, 0x8A, 0xBC, 0x09, 0xB0, // .'@.....
  3409. /* 00F0 */ 0x05, 0x42, 0x86, 0x54, 0x23, 0x8A, 0x06, 0x58, // .B.T#..X
  3410. /* 00F8 */ 0x21, 0x88, 0xC6, 0x16, 0xA5, 0x41, 0x40, 0x81, // !....A@.
  3411. /* 0100 */ 0xC4, 0x8A, 0x62, 0xA8, 0x16, 0x21, 0x34, 0xCC, // ..b..!4.
  3412. /* 0108 */ 0x78, 0xA1, 0x0E, 0xD4, 0x48, 0xB5, 0x21, 0xC9, // x...H.!.
  3413. /* 0110 */ 0xFE, 0x20, 0x48, 0xB8, 0x63, 0x81, 0x24, 0x80, // . H.c.$.
  3414. /* 0118 */ 0x28, 0xD2, 0x68, 0x50, 0x47, 0x81, 0x04, 0x8F, // (.hPG...
  3415. /* 0120 */ 0x06, 0x3E, 0x16, 0x9C, 0xD4, 0xA1, 0x9D, 0xDC, // .>......
  3416. /* 0128 */ 0x89, 0x05, 0x39, 0xDD, 0xE3, 0xAB, 0xF3, 0x4C, // ..9....L
  3417. /* 0130 */ 0x40, 0x46, 0xCF, 0xB0, 0x12, 0xFC, 0x26, 0xF8, // @F....&.
  3418. /* 0138 */ 0xFF, 0x7F, 0x48, 0xC0, 0xBB, 0x06, 0xD4, 0xED, // ..H.....
  3419. /* 0140 */ 0xE0, 0xD9, 0x80, 0x0D, 0x33, 0x1C, 0x66, 0x88, // ....3.f.
  3420. /* 0148 */ 0x9E, 0x72, 0xB8, 0x13, 0x38, 0x44, 0x06, 0xE8, // .r..8D..
  3421. /* 0150 */ 0x31, 0x3D, 0x16, 0x60, 0xE7, 0x76, 0x32, 0xCF, // 1=.`.v2.
  3422. /* 0158 */ 0x04, 0xA5, 0x0A, 0x30, 0x7B, 0x3E, 0xD0, 0xC0, // ...0{>..
  3423. /* 0160 */ 0x12, 0x1C, 0x8F, 0x0F, 0x03, 0x1E, 0x36, 0x3F, // ......6?
  3424. /* 0168 */ 0x15, 0x78, 0x10, 0x7C, 0x64, 0x86, 0xF6, 0x18, // .x.|d...
  3425. /* 0170 */ 0x4F, 0xEB, 0x9D, 0xC0, 0x47, 0x85, 0xC3, 0x62, // O...G..b
  3426. /* 0178 */ 0x62, 0x21, 0xA4, 0x00, 0x42, 0xE3, 0x01, 0xBF, // b!..B...
  3427. /* 0180 */ 0xE2, 0x43, 0x81, 0x10, 0x5E, 0x1C, 0x3C, 0x5F, // .C..^.<_
  3428. /* 0188 */ 0x13, 0x14, 0x09, 0x8C, 0x1E, 0x90, 0xFD, 0x0A, // ........
  3429. /* 0190 */ 0x40, 0x08, 0xFE, 0x7A, 0x70, 0x44, 0x0F, 0x10, // @..zpD..
  3430. /* 0198 */ 0x11, 0x1E, 0x23, 0xAC, 0x79, 0x4E, 0xBA, 0x4F, // ..#.yN.O
  3431. /* 01A0 */ 0xF4, 0x0E, 0x4D, 0x94, 0xC2, 0x0B, 0xE7, 0x85, // ..M.....
  3432. /* 01A8 */ 0xC2, 0x27, 0x06, 0x8F, 0x3A, 0xD8, 0x7B, 0x85, // .'..:.{.
  3433. /* 01B0 */ 0x87, 0x80, 0x3B, 0x46, 0x78, 0x08, 0xFC, 0x1C, // ..;Fx...
  3434. /* 01B8 */ 0x70, 0x06, 0x07, 0x74, 0x3A, 0x87, 0x70, 0x40, // p..t:.p@
  3435. /* 01C0 */ 0x51, 0xCE, 0xE2, 0x88, 0x7C, 0xC0, 0x30, 0xC2, // Q...|.0.
  3436. /* 01C8 */ 0x79, 0x3E, 0x57, 0x3C, 0x67, 0x78, 0x1C, 0x67, // y>W<gx.g
  3437. /* 01D0 */ 0xF1, 0xC8, 0x70, 0x52, 0xAF, 0x03, 0x3E, 0x10, // ..pR..>.
  3438. /* 01D8 */ 0x68, 0xA5, 0x3A, 0x8B, 0x58, 0x36, 0x88, 0x6C, // h.:.X6.l
  3439. /* 01E0 */ 0xAC, 0xD5, 0x04, 0x92, 0x05, 0x66, 0x2A, 0x0D, // .....f*.
  3440. /* 01E8 */ 0x09, 0x0C, 0x50, 0xCF, 0x01, 0x26, 0xB0, 0x48, // ..P..&.H
  3441. /* 01F0 */ 0x60, 0x1D, 0x4F, 0xB8, 0x3C, 0x0A, 0x89, 0x83, // `.O.<...
  3442. /* 01F8 */ 0xD0, 0xA8, 0x0C, 0x67, 0x39, 0x70, 0x14, 0xC4, // ...g9p..
  3443. /* 0200 */ 0xA7, 0x00, 0x47, 0x85, 0x90, 0x93, 0x03, 0x01, // ..G.....
  3444. /* 0208 */ 0xFA, 0xFF, 0x7F, 0x92, 0x78, 0xCF, 0x30, 0xC4, // ....x.0.
  3445. /* 0210 */ 0xB3, 0x83, 0x09, 0x1C, 0x0C, 0x42, 0x87, 0x08, // .....B..
  3446. /* 0218 */ 0x1F, 0x1B, 0xF0, 0x37, 0x04, 0x9F, 0x07, 0xB8, // ...7....
  3447. /* 0220 */ 0xC0, 0x73, 0x08, 0x68, 0x6E, 0x1D, 0xE7, 0xFA, // .s.hn...
  3448. /* 0228 */ 0xD6, 0xC1, 0x16, 0x7A, 0x28, 0x7C, 0x58, 0xE4, // ...z(|X.
  3449. /* 0230 */ 0x3C, 0x41, 0xC7, 0xC1, 0xC7, 0x13, 0x2F, 0x01, // <A..../.
  3450. /* 0238 */ 0x3F, 0x26, 0xC0, 0xBF, 0x82, 0x78, 0x12, 0xA7, // ?&...x..
  3451. /* 0240 */ 0xF0, 0x02, 0xF2, 0xF6, 0x91, 0xC0, 0x63, 0xC2, // ......c.
  3452. /* 0248 */ 0x1D, 0x13, 0xE0, 0x01, 0xF9, 0x56, 0xE0, 0xD9, // .....V..
  3453. /* 0250 */ 0x3F, 0x19, 0xB0, 0x39, 0x84, 0x08, 0x13, 0xCD, // ?..9....
  3454. /* 0258 */ 0xF0, 0x98, 0xC8, 0x10, 0xFA, 0xED, 0xF8, 0x44, // .......D
  3455. /* 0260 */ 0xE0, 0x71, 0xF1, 0x71, 0xFA, 0x4C, 0xC3, 0xB0, // .q.q.L..
  3456. /* 0268 */ 0x5F, 0x57, 0x30, 0x83, 0x7A, 0xA3, 0xF0, 0x31, // _W0.z..1
  3457. /* 0270 */ 0xC0, 0xB0, 0x1E, 0x39, 0x87, 0x35, 0x5A, 0xD8, // ...9.5Z.
  3458. /* 0278 */ 0x03, 0x7E, 0x9A, 0xF0, 0x4D, 0xC4, 0x33, 0xF3, // .~..M.3.
  3459. /* 0280 */ 0x1D, 0xC6, 0x67, 0x10, 0xB0, 0x00, 0xE2, 0xCF, // ..g.....
  3460. /* 0288 */ 0x0B, 0xEF, 0x00, 0x9E, 0x80, 0x01, 0xD9, 0xC4, // ........
  3461. /* 0290 */ 0x7D, 0x1A, 0x00, 0xC7, 0xE0, 0x22, 0x9C, 0xE9, // }...."..
  3462. /* 0298 */ 0x3B, 0xC5, 0x41, 0x3C, 0x3E, 0xE0, 0x09, 0x2A, // ;.A<>..*
  3463. /* 02A0 */ 0xB4, 0xE9, 0x53, 0xA3, 0x51, 0xAB, 0x06, 0x65, // ..S.Q..e
  3464. /* 02A8 */ 0x6A, 0x94, 0x69, 0x50, 0xAB, 0x4F, 0xA5, 0xC6, // j.iP.O..
  3465. /* 02B0 */ 0x8C, 0x1D, 0x15, 0xFC, 0xFF, 0x97, 0xF7, 0x6C, // .......l
  3466. /* 02B8 */ 0xD0, 0x60, 0x1D, 0x0E, 0x84, 0x4A, 0xA7, 0x92, // .`...J..
  3467. /* 02C0 */ 0x11, 0x10, 0x05, 0x01, 0x11, 0x90, 0xFF, 0xFF // ........
  3468. })
  3469. }
  3470. }
  3471.  
  3472. Device (SMB)
  3473. {
  3474. Name (_ADR, 0x00140000) // _ADR: Address
  3475. OperationRegion (SBRV, PCI_Config, 0x08, 0x0100)
  3476. Field (SBRV, AnyAcc, NoLock, Preserve)
  3477. {
  3478. RVID, 8,
  3479. Offset (0x5A),
  3480. I1F, 1,
  3481. I12F, 1,
  3482. Offset (0x7A),
  3483. , 2,
  3484. G31O, 1,
  3485. Offset (0xD9),
  3486. , 6,
  3487. ACIR, 1
  3488. }
  3489.  
  3490. OperationRegion (PMIO, SystemMemory, 0xFED80300, 0x0100)
  3491. Field (PMIO, ByteAcc, NoLock, Preserve)
  3492. {
  3493. , 6,
  3494. HPEN, 1,
  3495. Offset (0x60),
  3496. P1EB, 16,
  3497. Offset (0xF0),
  3498. , 3,
  3499. RSTU, 1
  3500. }
  3501.  
  3502. OperationRegion (ERMG, SystemMemory, 0xFED81500, 0x03FF)
  3503. Field (ERMG, AnyAcc, NoLock, Preserve)
  3504. {
  3505. Offset (0x0B),
  3506. , 4,
  3507. P2IS, 1,
  3508. P2WS, 1,
  3509. Offset (0x18),
  3510. Offset (0x1A),
  3511. GE10, 1,
  3512. Offset (0x1C),
  3513. Offset (0x1E),
  3514. GE11, 1,
  3515. Offset (0x40),
  3516. Offset (0x42),
  3517. GE12, 1,
  3518. Offset (0x46),
  3519. GS17, 1,
  3520. , 5,
  3521. GV17, 1,
  3522. GE17, 1,
  3523. Offset (0x108),
  3524. Offset (0x10A),
  3525. P33I, 1,
  3526. Offset (0x10C),
  3527. Offset (0x10E),
  3528. P37I, 1,
  3529. Offset (0x110),
  3530. , 22,
  3531. PLEN, 1,
  3532. Offset (0x118),
  3533. Offset (0x11A),
  3534. P3BI, 1,
  3535. Offset (0x11C),
  3536. Offset (0x11E),
  3537. P40I, 1,
  3538. Offset (0x24C),
  3539. Offset (0x24E),
  3540. BOID, 1
  3541. }
  3542.  
  3543. OperationRegion (ERMM, SystemMemory, 0xFED80000, 0x1000)
  3544. Field (ERMM, ByteAcc, NoLock, Preserve)
  3545. {
  3546. Offset (0x200),
  3547. , 1,
  3548. E01S, 1,
  3549. , 3,
  3550. E05S, 1,
  3551. , 9,
  3552. E15S, 1,
  3553. E16S, 1,
  3554. , 5,
  3555. E22S, 1,
  3556. Offset (0x204),
  3557. , 1,
  3558. E01E, 1,
  3559. , 3,
  3560. E05E, 1,
  3561. , 9,
  3562. E15E, 1,
  3563. E16E, 1,
  3564. , 5,
  3565. E22E, 1,
  3566. Offset (0x208),
  3567. , 1,
  3568. E01C, 1,
  3569. , 3,
  3570. E05C, 1,
  3571. , 4,
  3572. E10C, 1,
  3573. , 4,
  3574. E15C, 1,
  3575. E16C, 1,
  3576. , 4,
  3577. E21C, 1,
  3578. E22C, 1,
  3579. , 3,
  3580. E26C, 1,
  3581. Offset (0x20C),
  3582. , 1,
  3583. E01L, 1,
  3584. , 3,
  3585. E05L, 1,
  3586. , 9,
  3587. E15L, 1,
  3588. E16L, 1,
  3589. , 5,
  3590. E22L, 1,
  3591. Offset (0x288),
  3592. , 1,
  3593. CLPS, 1,
  3594. Offset (0x299),
  3595. , 7,
  3596. G15A, 1,
  3597. Offset (0x2AC),
  3598. , 6,
  3599. SRBT, 2,
  3600. Offset (0x2B0),
  3601. , 2,
  3602. SLPS, 2,
  3603. Offset (0x2B2),
  3604. , 4,
  3605. SPBT, 2,
  3606. Offset (0x362),
  3607. , 6,
  3608. MT3A, 1,
  3609. Offset (0x377),
  3610. EPNM, 1,
  3611. DPPF, 1,
  3612. Offset (0x3BB),
  3613. , 6,
  3614. PWDE, 1,
  3615. Offset (0x3BE),
  3616. , 5,
  3617. ALLS, 1,
  3618. Offset (0x3C8),
  3619. , 2,
  3620. TFTE, 1,
  3621. Offset (0x3DF),
  3622. BLNK, 2,
  3623. Offset (0x3F0),
  3624. PHYD, 1,
  3625. , 1,
  3626. , 1,
  3627. US5R, 1,
  3628. Offset (0x400),
  3629. F0CT, 8,
  3630. F0MS, 8,
  3631. F0FQ, 8,
  3632. F0LD, 8,
  3633. F0MD, 8,
  3634. F0MP, 8,
  3635. LT0L, 8,
  3636. LT0H, 8,
  3637. MT0L, 8,
  3638. MT0H, 8,
  3639. HT0L, 8,
  3640. HT0H, 8,
  3641. LRG0, 8,
  3642. LHC0, 8,
  3643. Offset (0x410),
  3644. F1CT, 8,
  3645. F1MS, 8,
  3646. F1FQ, 8,
  3647. F1LD, 8,
  3648. F1MD, 8,
  3649. F1MP, 8,
  3650. LT1L, 8,
  3651. LT1H, 8,
  3652. MT1L, 8,
  3653. MT1H, 8,
  3654. HT1L, 8,
  3655. HT1H, 8,
  3656. LRG1, 8,
  3657. LHC1, 8,
  3658. Offset (0x420),
  3659. F2CT, 8,
  3660. F2MS, 8,
  3661. F2FQ, 8,
  3662. F2LD, 8,
  3663. F2MD, 8,
  3664. F2MP, 8,
  3665. LT2L, 8,
  3666. LT2H, 8,
  3667. MT2L, 8,
  3668. MT2H, 8,
  3669. HT2L, 8,
  3670. HT2H, 8,
  3671. LRG2, 8,
  3672. LHC2, 8,
  3673. Offset (0x430),
  3674. F3CT, 8,
  3675. F3MS, 8,
  3676. F3FQ, 8,
  3677. F3LD, 8,
  3678. F3MD, 8,
  3679. F3MP, 8,
  3680. LT3L, 8,
  3681. LT3H, 8,
  3682. MT3L, 8,
  3683. MT3H, 8,
  3684. HT3L, 8,
  3685. HT3H, 8,
  3686. LRG3, 8,
  3687. LHC3, 8,
  3688. Offset (0x700),
  3689. SEC, 8,
  3690. Offset (0x702),
  3691. MIN, 8,
  3692. Offset (0xD01),
  3693. MX01, 8,
  3694. Offset (0xD07),
  3695. MX07, 8,
  3696. Offset (0xD0E),
  3697. MX14, 8,
  3698. MX15, 8,
  3699. MX16, 8,
  3700. Offset (0xD15),
  3701. MX21, 8,
  3702. MX22, 8,
  3703. MX23, 8,
  3704. Offset (0xD1B),
  3705. MX27, 8,
  3706. MX28, 8,
  3707. Offset (0xD20),
  3708. MX32, 8,
  3709. MX33, 8,
  3710. MX34, 8,
  3711. Offset (0xD29),
  3712. MX41, 8,
  3713. Offset (0xD2C),
  3714. MX44, 8,
  3715. Offset (0xD33),
  3716. MX51, 8,
  3717. Offset (0xD35),
  3718. MX53, 8,
  3719. Offset (0xD39),
  3720. MX57, 8,
  3721. MX58, 8,
  3722. MX59, 8,
  3723. Offset (0xD42),
  3724. MX66, 8,
  3725. Offset (0xD66),
  3726. M102, 8,
  3727. Offset (0xD6C),
  3728. M108, 8,
  3729. Offset (0xDAA),
  3730. M170, 8,
  3731. Offset (0xDAF),
  3732. M175, 8,
  3733. M176, 8,
  3734. Offset (0xDB4),
  3735. M180, 8,
  3736. M181, 8,
  3737. M182, 8,
  3738. Offset (0xDC5),
  3739. M197, 8,
  3740. Offset (0xDC7),
  3741. M199, 8,
  3742. M200, 8,
  3743. Offset (0xE00),
  3744. MS00, 8,
  3745. MS01, 8,
  3746. MS02, 8,
  3747. MS03, 8,
  3748. MS04, 8,
  3749. Offset (0xE40),
  3750. MS40, 8,
  3751. Offset (0xE81),
  3752. , 2,
  3753. ECES, 1
  3754. }
  3755.  
  3756. OperationRegion (P1E0, SystemIO, P1EB, 0x04)
  3757. Field (P1E0, ByteAcc, NoLock, Preserve)
  3758. {
  3759. Offset (0x01),
  3760. , 6,
  3761. PEWS, 1,
  3762. WSTA, 1,
  3763. Offset (0x03),
  3764. , 6,
  3765. PEWD, 1
  3766. }
  3767.  
  3768. Method (TRMD, 0, NotSerialized)
  3769. {
  3770. TFTE = Zero
  3771. }
  3772.  
  3773. Method (HTCD, 0, NotSerialized)
  3774. {
  3775. }
  3776.  
  3777. OperationRegion (ABIO, SystemIO, 0x0CD8, 0x08)
  3778. Field (ABIO, DWordAcc, NoLock, Preserve)
  3779. {
  3780. INAB, 32,
  3781. DAAB, 32
  3782. }
  3783.  
  3784. Method (RDAB, 1, NotSerialized)
  3785. {
  3786. INAB = Arg0
  3787. Return (DAAB) /* \_SB_.PCI0.SMB_.DAAB */
  3788. }
  3789.  
  3790. Method (WTAB, 2, NotSerialized)
  3791. {
  3792. INAB = Arg0
  3793. DAAB = Arg1
  3794. }
  3795.  
  3796. Method (RWAB, 3, NotSerialized)
  3797. {
  3798. Local0 = (RDAB (Arg0) & Arg1)
  3799. Local1 = (Local0 | Arg2)
  3800. WTAB (Arg0, Local1)
  3801. }
  3802.  
  3803. Method (CABR, 3, NotSerialized)
  3804. {
  3805. Local0 = (Arg0 << 0x05)
  3806. Local1 = (Local0 + Arg1)
  3807. Local2 = (Local1 << 0x18)
  3808. Local3 = (Local2 + Arg2)
  3809. Return (Local3)
  3810. }
  3811. }
  3812.  
  3813. Device (LPC0)
  3814. {
  3815. Name (_ADR, 0x00140003) // _ADR: Address
  3816. OperationRegion (PIRQ, SystemIO, 0x0C00, 0x02)
  3817. Field (PIRQ, ByteAcc, NoLock, Preserve)
  3818. {
  3819. PIID, 8,
  3820. PIDA, 8
  3821. }
  3822.  
  3823. IndexField (PIID, PIDA, ByteAcc, NoLock, Preserve)
  3824. {
  3825. PIRA, 8,
  3826. PIRB, 8,
  3827. PIRC, 8,
  3828. PIRD, 8,
  3829. PIRE, 8,
  3830. PIRF, 8,
  3831. PIRG, 8,
  3832. PIRH, 8,
  3833. Offset (0x0C),
  3834. SIRA, 8,
  3835. SIRB, 8,
  3836. SIRC, 8,
  3837. SIRD, 8,
  3838. PIRS, 8,
  3839. Offset (0x13),
  3840. HDAD, 8,
  3841. Offset (0x17),
  3842. SDCL, 8,
  3843. Offset (0x1A),
  3844. SDIO, 8,
  3845. Offset (0x30),
  3846. USB1, 8,
  3847. Offset (0x34),
  3848. USB3, 8,
  3849. Offset (0x41),
  3850. SATA, 8,
  3851. Offset (0x62),
  3852. GIOC, 8,
  3853. Offset (0x70),
  3854. I2C0, 8,
  3855. I2C1, 8,
  3856. I2C2, 8,
  3857. I2C3, 8,
  3858. URT0, 8,
  3859. URT1, 8
  3860. }
  3861.  
  3862. Name (IPRS, ResourceTemplate ()
  3863. {
  3864. IRQ (Level, ActiveLow, Shared, )
  3865. {3,5,6,10,11}
  3866. })
  3867. Name (UPRS, ResourceTemplate ()
  3868. {
  3869. IRQ (Level, ActiveLow, Exclusive, )
  3870. {15}
  3871. })
  3872. OperationRegion (KBDD, SystemIO, 0x64, 0x01)
  3873. Field (KBDD, ByteAcc, NoLock, Preserve)
  3874. {
  3875. PD64, 8
  3876. }
  3877.  
  3878. Method (DSPI, 0, NotSerialized)
  3879. {
  3880. INTA (0x1F)
  3881. INTB (0x1F)
  3882. INTC (0x1F)
  3883. INTD (0x1F)
  3884. Local1 = PD64 /* \_SB_.PCI0.LPC0.PD64 */
  3885. PIRE = 0x1F
  3886. PIRF = 0x1F
  3887. PIRG = 0x1F
  3888. PIRH = 0x1F
  3889. }
  3890.  
  3891. Method (INTA, 1, NotSerialized)
  3892. {
  3893. PIRA = Arg0
  3894. If (GPIC)
  3895. {
  3896. HDAD = Arg0
  3897. SDCL = Arg0
  3898. }
  3899. }
  3900.  
  3901. Method (INTB, 1, NotSerialized)
  3902. {
  3903. PIRB = Arg0
  3904. }
  3905.  
  3906. Method (INTC, 1, NotSerialized)
  3907. {
  3908. PIRC = Arg0
  3909. If (GPIC)
  3910. {
  3911. USB1 = Arg0
  3912. USB3 = Arg0
  3913. }
  3914. }
  3915.  
  3916. Method (INTD, 1, NotSerialized)
  3917. {
  3918. PIRD = Arg0
  3919. If (GPIC)
  3920. {
  3921. SATA = Arg0
  3922. }
  3923. }
  3924.  
  3925. Device (LNKA)
  3926. {
  3927. Name (_HID, EisaId ("PNP0C0F") /* PCI Interrupt Link Device */) // _HID: Hardware ID
  3928. Name (_UID, 0x01) // _UID: Unique ID
  3929. Method (_STA, 0, NotSerialized) // _STA: Status
  3930. {
  3931. If (PIRA)
  3932. {
  3933. Return (0x0B)
  3934. }
  3935. Else
  3936. {
  3937. Return (0x09)
  3938. }
  3939. }
  3940.  
  3941. Method (_PRS, 0, NotSerialized) // _PRS: Possible Resource Settings
  3942. {
  3943. Return (IPRS) /* \_SB_.PCI0.LPC0.IPRS */
  3944. }
  3945.  
  3946. Method (_DIS, 0, NotSerialized) // _DIS: Disable Device
  3947. {
  3948. INTA (0x1F)
  3949. }
  3950.  
  3951. Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
  3952. {
  3953. Local0 = IPRS /* \_SB_.PCI0.LPC0.IPRS */
  3954. CreateWordField (Local0, 0x01, IRQ0)
  3955. IRQ0 = (0x01 << PIRA) /* \_SB_.PCI0.LPC0.PIRA */
  3956. Return (Local0)
  3957. }
  3958.  
  3959. Method (_SRS, 1, NotSerialized) // _SRS: Set Resource Settings
  3960. {
  3961. CreateWordField (Arg0, 0x01, IRQ0)
  3962. FindSetRightBit (IRQ0, Local0)
  3963. Local0--
  3964. INTA (Local0)
  3965. }
  3966. }
  3967.  
  3968. Device (LNKB)
  3969. {
  3970. Name (_HID, EisaId ("PNP0C0F") /* PCI Interrupt Link Device */) // _HID: Hardware ID
  3971. Name (_UID, 0x02) // _UID: Unique ID
  3972. Method (_STA, 0, NotSerialized) // _STA: Status
  3973. {
  3974. If (PIRB)
  3975. {
  3976. Return (0x0B)
  3977. }
  3978. Else
  3979. {
  3980. Return (0x09)
  3981. }
  3982. }
  3983.  
  3984. Method (_PRS, 0, NotSerialized) // _PRS: Possible Resource Settings
  3985. {
  3986. Return (IPRS) /* \_SB_.PCI0.LPC0.IPRS */
  3987. }
  3988.  
  3989. Method (_DIS, 0, NotSerialized) // _DIS: Disable Device
  3990. {
  3991. INTB (0x1F)
  3992. }
  3993.  
  3994. Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
  3995. {
  3996. Local0 = IPRS /* \_SB_.PCI0.LPC0.IPRS */
  3997. CreateWordField (Local0, 0x01, IRQ0)
  3998. IRQ0 = (0x01 << PIRB) /* \_SB_.PCI0.LPC0.PIRB */
  3999. Return (Local0)
  4000. }
  4001.  
  4002. Method (_SRS, 1, NotSerialized) // _SRS: Set Resource Settings
  4003. {
  4004. CreateWordField (Arg0, 0x01, IRQ0)
  4005. FindSetRightBit (IRQ0, Local0)
  4006. Local0--
  4007. INTB (Local0)
  4008. }
  4009. }
  4010.  
  4011. Device (LNKC)
  4012. {
  4013. Name (_HID, EisaId ("PNP0C0F") /* PCI Interrupt Link Device */) // _HID: Hardware ID
  4014. Name (_UID, 0x03) // _UID: Unique ID
  4015. Method (_STA, 0, NotSerialized) // _STA: Status
  4016. {
  4017. If (PIRC)
  4018. {
  4019. Return (0x0B)
  4020. }
  4021. Else
  4022. {
  4023. Return (0x09)
  4024. }
  4025. }
  4026.  
  4027. Method (_PRS, 0, NotSerialized) // _PRS: Possible Resource Settings
  4028. {
  4029. Return (IPRS) /* \_SB_.PCI0.LPC0.IPRS */
  4030. }
  4031.  
  4032. Method (_DIS, 0, NotSerialized) // _DIS: Disable Device
  4033. {
  4034. INTC (0x1F)
  4035. }
  4036.  
  4037. Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
  4038. {
  4039. Local0 = IPRS /* \_SB_.PCI0.LPC0.IPRS */
  4040. CreateWordField (Local0, 0x01, IRQ0)
  4041. IRQ0 = (0x01 << PIRC) /* \_SB_.PCI0.LPC0.PIRC */
  4042. Return (Local0)
  4043. }
  4044.  
  4045. Method (_SRS, 1, NotSerialized) // _SRS: Set Resource Settings
  4046. {
  4047. CreateWordField (Arg0, 0x01, IRQ0)
  4048. FindSetRightBit (IRQ0, Local0)
  4049. Local0--
  4050. INTC (Local0)
  4051. }
  4052. }
  4053.  
  4054. Device (LNKD)
  4055. {
  4056. Name (_HID, EisaId ("PNP0C0F") /* PCI Interrupt Link Device */) // _HID: Hardware ID
  4057. Name (_UID, 0x04) // _UID: Unique ID
  4058. Method (_STA, 0, NotSerialized) // _STA: Status
  4059. {
  4060. If (PIRD)
  4061. {
  4062. Return (0x0B)
  4063. }
  4064. Else
  4065. {
  4066. Return (0x09)
  4067. }
  4068. }
  4069.  
  4070. Method (_PRS, 0, NotSerialized) // _PRS: Possible Resource Settings
  4071. {
  4072. Return (IPRS) /* \_SB_.PCI0.LPC0.IPRS */
  4073. }
  4074.  
  4075. Method (_DIS, 0, NotSerialized) // _DIS: Disable Device
  4076. {
  4077. INTD (0x1F)
  4078. }
  4079.  
  4080. Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
  4081. {
  4082. Local0 = IPRS /* \_SB_.PCI0.LPC0.IPRS */
  4083. CreateWordField (Local0, 0x01, IRQ0)
  4084. IRQ0 = (0x01 << PIRD) /* \_SB_.PCI0.LPC0.PIRD */
  4085. Return (Local0)
  4086. }
  4087.  
  4088. Method (_SRS, 1, NotSerialized) // _SRS: Set Resource Settings
  4089. {
  4090. CreateWordField (Arg0, 0x01, IRQ0)
  4091. FindSetRightBit (IRQ0, Local0)
  4092. Local0--
  4093. INTD (Local0)
  4094. }
  4095. }
  4096.  
  4097. Device (LNKE)
  4098. {
  4099. Name (_HID, EisaId ("PNP0C0F") /* PCI Interrupt Link Device */) // _HID: Hardware ID
  4100. Name (_UID, 0x05) // _UID: Unique ID
  4101. Method (_STA, 0, NotSerialized) // _STA: Status
  4102. {
  4103. If (PIRE)
  4104. {
  4105. Return (0x0B)
  4106. }
  4107. Else
  4108. {
  4109. Return (0x09)
  4110. }
  4111. }
  4112.  
  4113. Method (_PRS, 0, NotSerialized) // _PRS: Possible Resource Settings
  4114. {
  4115. Return (IPRS) /* \_SB_.PCI0.LPC0.IPRS */
  4116. }
  4117.  
  4118. Method (_DIS, 0, NotSerialized) // _DIS: Disable Device
  4119. {
  4120. PIRE = 0x1F
  4121. }
  4122.  
  4123. Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
  4124. {
  4125. Local0 = IPRS /* \_SB_.PCI0.LPC0.IPRS */
  4126. CreateWordField (Local0, 0x01, IRQ0)
  4127. IRQ0 = (0x01 << PIRE) /* \_SB_.PCI0.LPC0.PIRE */
  4128. Return (Local0)
  4129. }
  4130.  
  4131. Method (_SRS, 1, NotSerialized) // _SRS: Set Resource Settings
  4132. {
  4133. CreateWordField (Arg0, 0x01, IRQ0)
  4134. FindSetRightBit (IRQ0, Local0)
  4135. Local0--
  4136. PIRE = Local0
  4137. }
  4138. }
  4139.  
  4140. Device (LNKF)
  4141. {
  4142. Name (_HID, EisaId ("PNP0C0F") /* PCI Interrupt Link Device */) // _HID: Hardware ID
  4143. Name (_UID, 0x06) // _UID: Unique ID
  4144. Method (_STA, 0, NotSerialized) // _STA: Status
  4145. {
  4146. If (PIRF)
  4147. {
  4148. Return (0x0B)
  4149. }
  4150. Else
  4151. {
  4152. Return (0x09)
  4153. }
  4154. }
  4155.  
  4156. Method (_PRS, 0, NotSerialized) // _PRS: Possible Resource Settings
  4157. {
  4158. Return (IPRS) /* \_SB_.PCI0.LPC0.IPRS */
  4159. }
  4160.  
  4161. Method (_DIS, 0, NotSerialized) // _DIS: Disable Device
  4162. {
  4163. PIRF = 0x1F
  4164. }
  4165.  
  4166. Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
  4167. {
  4168. Local0 = IPRS /* \_SB_.PCI0.LPC0.IPRS */
  4169. CreateWordField (Local0, 0x01, IRQ0)
  4170. IRQ0 = (0x01 << PIRF) /* \_SB_.PCI0.LPC0.PIRF */
  4171. Return (Local0)
  4172. }
  4173.  
  4174. Method (_SRS, 1, NotSerialized) // _SRS: Set Resource Settings
  4175. {
  4176. CreateWordField (Arg0, 0x01, IRQ0)
  4177. FindSetRightBit (IRQ0, Local0)
  4178. Local0--
  4179. PIRF = Local0
  4180. }
  4181. }
  4182.  
  4183. Device (LNKG)
  4184. {
  4185. Name (_HID, EisaId ("PNP0C0F") /* PCI Interrupt Link Device */) // _HID: Hardware ID
  4186. Name (_UID, 0x07) // _UID: Unique ID
  4187. Method (_STA, 0, NotSerialized) // _STA: Status
  4188. {
  4189. If (PIRG)
  4190. {
  4191. Return (0x0B)
  4192. }
  4193. Else
  4194. {
  4195. Return (0x09)
  4196. }
  4197. }
  4198.  
  4199. Method (_PRS, 0, NotSerialized) // _PRS: Possible Resource Settings
  4200. {
  4201. Return (IPRS) /* \_SB_.PCI0.LPC0.IPRS */
  4202. }
  4203.  
  4204. Method (_DIS, 0, NotSerialized) // _DIS: Disable Device
  4205. {
  4206. PIRG = 0x1F
  4207. }
  4208.  
  4209. Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
  4210. {
  4211. Local0 = IPRS /* \_SB_.PCI0.LPC0.IPRS */
  4212. CreateWordField (Local0, 0x01, IRQ0)
  4213. IRQ0 = (0x01 << PIRG) /* \_SB_.PCI0.LPC0.PIRG */
  4214. Return (Local0)
  4215. }
  4216.  
  4217. Method (_SRS, 1, NotSerialized) // _SRS: Set Resource Settings
  4218. {
  4219. CreateWordField (Arg0, 0x01, IRQ0)
  4220. FindSetRightBit (IRQ0, Local0)
  4221. Local0--
  4222. PIRG = Local0
  4223. }
  4224. }
  4225.  
  4226. Device (LNKH)
  4227. {
  4228. Name (_HID, EisaId ("PNP0C0F") /* PCI Interrupt Link Device */) // _HID: Hardware ID
  4229. Name (_UID, 0x08) // _UID: Unique ID
  4230. Method (_STA, 0, NotSerialized) // _STA: Status
  4231. {
  4232. If (PIRH)
  4233. {
  4234. Return (0x0B)
  4235. }
  4236. Else
  4237. {
  4238. Return (0x09)
  4239. }
  4240. }
  4241.  
  4242. Method (_PRS, 0, NotSerialized) // _PRS: Possible Resource Settings
  4243. {
  4244. Return (IPRS) /* \_SB_.PCI0.LPC0.IPRS */
  4245. }
  4246.  
  4247. Method (_DIS, 0, NotSerialized) // _DIS: Disable Device
  4248. {
  4249. PIRH = 0x1F
  4250. }
  4251.  
  4252. Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
  4253. {
  4254. Local0 = IPRS /* \_SB_.PCI0.LPC0.IPRS */
  4255. CreateWordField (Local0, 0x01, IRQ0)
  4256. IRQ0 = (0x01 << PIRH) /* \_SB_.PCI0.LPC0.PIRH */
  4257. Return (Local0)
  4258. }
  4259.  
  4260. Method (_SRS, 1, NotSerialized) // _SRS: Set Resource Settings
  4261. {
  4262. CreateWordField (Arg0, 0x01, IRQ0)
  4263. FindSetRightBit (IRQ0, Local0)
  4264. Local0--
  4265. PIRH = Local0
  4266. }
  4267. }
  4268.  
  4269. Device (DMAC)
  4270. {
  4271. Name (_HID, EisaId ("PNP0200") /* PC-class DMA Controller */) // _HID: Hardware ID
  4272. Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
  4273. {
  4274. IO (Decode16,
  4275. 0x0000, // Range Minimum
  4276. 0x0000, // Range Maximum
  4277. 0x01, // Alignment
  4278. 0x10, // Length
  4279. )
  4280. IO (Decode16,
  4281. 0x0081, // Range Minimum
  4282. 0x0081, // Range Maximum
  4283. 0x01, // Alignment
  4284. 0x0F, // Length
  4285. )
  4286. IO (Decode16,
  4287. 0x00C0, // Range Minimum
  4288. 0x00C0, // Range Maximum
  4289. 0x01, // Alignment
  4290. 0x20, // Length
  4291. )
  4292. DMA (Compatibility, NotBusMaster, Transfer8_16, )
  4293. {4}
  4294. })
  4295. }
  4296.  
  4297. Device (MATH)
  4298. {
  4299. Name (_HID, EisaId ("PNP0C04") /* x87-compatible Floating Point Processing Unit */) // _HID: Hardware ID
  4300. Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
  4301. {
  4302. IO (Decode16,
  4303. 0x00F0, // Range Minimum
  4304. 0x00F0, // Range Maximum
  4305. 0x01, // Alignment
  4306. 0x0F, // Length
  4307. )
  4308. IRQNoFlags ()
  4309. {13}
  4310. })
  4311. }
  4312.  
  4313. Device (PIC)
  4314. {
  4315. Name (_HID, EisaId ("PNP0000") /* 8259-compatible Programmable Interrupt Controller */) // _HID: Hardware ID
  4316. Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
  4317. {
  4318. IO (Decode16,
  4319. 0x0020, // Range Minimum
  4320. 0x0020, // Range Maximum
  4321. 0x01, // Alignment
  4322. 0x02, // Length
  4323. )
  4324. IO (Decode16,
  4325. 0x00A0, // Range Minimum
  4326. 0x00A0, // Range Maximum
  4327. 0x01, // Alignment
  4328. 0x02, // Length
  4329. )
  4330. IRQNoFlags ()
  4331. {2}
  4332. })
  4333. }
  4334.  
  4335. Device (RTC)
  4336. {
  4337. Name (_HID, EisaId ("PNP0B00") /* AT Real-Time Clock */) // _HID: Hardware ID
  4338. Name (BUF0, ResourceTemplate ()
  4339. {
  4340. IO (Decode16,
  4341. 0x0070, // Range Minimum
  4342. 0x0070, // Range Maximum
  4343. 0x01, // Alignment
  4344. 0x02, // Length
  4345. )
  4346. })
  4347. Name (BUF1, ResourceTemplate ()
  4348. {
  4349. IO (Decode16,
  4350. 0x0070, // Range Minimum
  4351. 0x0070, // Range Maximum
  4352. 0x01, // Alignment
  4353. 0x02, // Length
  4354. )
  4355. IRQNoFlags ()
  4356. {8}
  4357. })
  4358. Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings
  4359. {
  4360. If ((^^^SMB.HPEN == One))
  4361. {
  4362. Return (BUF0) /* \_SB_.PCI0.LPC0.RTC_.BUF0 */
  4363. }
  4364.  
  4365. Return (BUF1) /* \_SB_.PCI0.LPC0.RTC_.BUF1 */
  4366. }
  4367. }
  4368.  
  4369. Device (SPKR)
  4370. {
  4371. Name (_HID, EisaId ("PNP0800") /* Microsoft Sound System Compatible Device */) // _HID: Hardware ID
  4372. Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
  4373. {
  4374. IO (Decode16,
  4375. 0x0061, // Range Minimum
  4376. 0x0061, // Range Maximum
  4377. 0x01, // Alignment
  4378. 0x01, // Length
  4379. )
  4380. })
  4381. }
  4382.  
  4383. Device (TIME)
  4384. {
  4385. Name (_HID, EisaId ("PNP0100") /* PC-class System Timer */) // _HID: Hardware ID
  4386. Name (BUF0, ResourceTemplate ()
  4387. {
  4388. IO (Decode16,
  4389. 0x0040, // Range Minimum
  4390. 0x0040, // Range Maximum
  4391. 0x01, // Alignment
  4392. 0x04, // Length
  4393. )
  4394. })
  4395. Name (BUF1, ResourceTemplate ()
  4396. {
  4397. IO (Decode16,
  4398. 0x0040, // Range Minimum
  4399. 0x0040, // Range Maximum
  4400. 0x01, // Alignment
  4401. 0x04, // Length
  4402. )
  4403. IRQNoFlags ()
  4404. {0}
  4405. })
  4406. Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings
  4407. {
  4408. If ((^^^SMB.HPEN == One))
  4409. {
  4410. Return (BUF0) /* \_SB_.PCI0.LPC0.TIME.BUF0 */
  4411. }
  4412.  
  4413. Return (BUF1) /* \_SB_.PCI0.LPC0.TIME.BUF1 */
  4414. }
  4415. }
  4416.  
  4417. Device (SYSR)
  4418. {
  4419. Name (_HID, EisaId ("PNP0C02") /* PNP Motherboard Resources */) // _HID: Hardware ID
  4420. Name (_UID, One) // _UID: Unique ID
  4421. Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
  4422. {
  4423. IO (Decode16,
  4424. 0x0022, // Range Minimum
  4425. 0x0022, // Range Maximum
  4426. 0x01, // Alignment
  4427. 0x02, // Length
  4428. )
  4429. IO (Decode16,
  4430. 0x0072, // Range Minimum
  4431. 0x0072, // Range Maximum
  4432. 0x01, // Alignment
  4433. 0x02, // Length
  4434. )
  4435. IO (Decode16,
  4436. 0x0080, // Range Minimum
  4437. 0x0080, // Range Maximum
  4438. 0x01, // Alignment
  4439. 0x01, // Length
  4440. )
  4441. IO (Decode16,
  4442. 0x0092, // Range Minimum
  4443. 0x0092, // Range Maximum
  4444. 0x01, // Alignment
  4445. 0x01, // Length
  4446. )
  4447. IO (Decode16,
  4448. 0x00B0, // Range Minimum
  4449. 0x00B0, // Range Maximum
  4450. 0x01, // Alignment
  4451. 0x02, // Length
  4452. )
  4453. IO (Decode16,
  4454. 0x0400, // Range Minimum
  4455. 0x0400, // Range Maximum
  4456. 0x01, // Alignment
  4457. 0xD0, // Length
  4458. )
  4459. IO (Decode16,
  4460. 0x04D0, // Range Minimum
  4461. 0x04D0, // Range Maximum
  4462. 0x01, // Alignment
  4463. 0x02, // Length
  4464. )
  4465. IO (Decode16,
  4466. 0x04D6, // Range Minimum
  4467. 0x04D6, // Range Maximum
  4468. 0x01, // Alignment
  4469. 0x01, // Length
  4470. )
  4471. IO (Decode16,
  4472. 0x0C00, // Range Minimum
  4473. 0x0C00, // Range Maximum
  4474. 0x01, // Alignment
  4475. 0x02, // Length
  4476. )
  4477. IO (Decode16,
  4478. 0x0C14, // Range Minimum
  4479. 0x0C14, // Range Maximum
  4480. 0x01, // Alignment
  4481. 0x01, // Length
  4482. )
  4483. IO (Decode16,
  4484. 0x0C50, // Range Minimum
  4485. 0x0C50, // Range Maximum
  4486. 0x01, // Alignment
  4487. 0x03, // Length
  4488. )
  4489. IO (Decode16,
  4490. 0x0C6C, // Range Minimum
  4491. 0x0C6C, // Range Maximum
  4492. 0x01, // Alignment
  4493. 0x01, // Length
  4494. )
  4495. IO (Decode16,
  4496. 0x0C6F, // Range Minimum
  4497. 0x0C6F, // Range Maximum
  4498. 0x01, // Alignment
  4499. 0x01, // Length
  4500. )
  4501. IO (Decode16,
  4502. 0x0CD0, // Range Minimum
  4503. 0x0CD0, // Range Maximum
  4504. 0x01, // Alignment
  4505. 0x0C, // Length
  4506. )
  4507. })
  4508. }
  4509.  
  4510. OperationRegion (LPCS, PCI_Config, 0xA0, 0x04)
  4511. Field (LPCS, DWordAcc, NoLock, Preserve)
  4512. {
  4513. SPBA, 32
  4514. }
  4515.  
  4516. Device (MEM)
  4517. {
  4518. Name (_HID, EisaId ("PNP0C01") /* System Board */) // _HID: Hardware ID
  4519. Name (MSRC, ResourceTemplate ()
  4520. {
  4521. Memory32Fixed (ReadOnly,
  4522. 0x000E0000, // Address Base
  4523. 0x00020000, // Address Length
  4524. )
  4525. Memory32Fixed (ReadOnly,
  4526. 0x00000000, // Address Base
  4527. 0x02000000, // Address Length
  4528. )
  4529. Memory32Fixed (ReadWrite,
  4530. 0x00000000, // Address Base
  4531. 0x00000000, // Address Length
  4532. _Y06)
  4533. Memory32Fixed (ReadWrite,
  4534. 0xFEC10000, // Address Base
  4535. 0x00000020, // Address Length
  4536. _Y07)
  4537. Memory32Fixed (ReadOnly,
  4538. 0xFED00000, // Address Base
  4539. 0x00000400, // Address Length
  4540. )
  4541. Memory32Fixed (ReadWrite,
  4542. 0xFED61000, // Address Base
  4543. 0x00000400, // Address Length
  4544. )
  4545. Memory32Fixed (ReadWrite,
  4546. 0xFED80000, // Address Base
  4547. 0x00001000, // Address Length
  4548. )
  4549. })
  4550. Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
  4551. {
  4552. CreateDWordField (MSRC, \_SB.PCI0.LPC0.MEM._Y06._BAS, BARX) // _BAS: Base Address
  4553. CreateDWordField (MSRC, \_SB.PCI0.LPC0.MEM._Y06._LEN, GALN) // _LEN: Length
  4554. CreateDWordField (MSRC, \_SB.PCI0.LPC0.MEM._Y07._BAS, MB01) // _BAS: Base Address
  4555. CreateDWordField (MSRC, \_SB.PCI0.LPC0.MEM._Y07._LEN, ML01) // _LEN: Length
  4556. Local0 = SPBA /* \_SB_.PCI0.LPC0.SPBA */
  4557. MB01 = (Local0 & 0xFFFFFFE0)
  4558. Local0 = NBBA /* \_SB_.PCI0.NBBA */
  4559. If (Local0)
  4560. {
  4561. GALN = 0x1000
  4562. BARX = (Local0 & 0xFFFFFFF0)
  4563. }
  4564.  
  4565. Return (MSRC) /* \_SB_.PCI0.LPC0.MEM_.MSRC */
  4566. }
  4567. }
  4568.  
  4569. Device (KBD)
  4570. {
  4571. Method (_HID, 0, NotSerialized) // _HID: Hardware ID
  4572. {
  4573. If (WIN8)
  4574. {
  4575. Return (0x7100AE30)
  4576. }
  4577.  
  4578. Return (0x0303D041)
  4579. }
  4580.  
  4581. Name (_CID, EisaId ("PNP0303") /* IBM Enhanced Keyboard (101/102-key, PS/2 Mouse) */) // _CID: Compatible ID
  4582. Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
  4583. {
  4584. IO (Decode16,
  4585. 0x0060, // Range Minimum
  4586. 0x0060, // Range Maximum
  4587. 0x01, // Alignment
  4588. 0x01, // Length
  4589. )
  4590. IO (Decode16,
  4591. 0x0064, // Range Minimum
  4592. 0x0064, // Range Maximum
  4593. 0x01, // Alignment
  4594. 0x01, // Length
  4595. )
  4596. IRQ (Edge, ActiveHigh, Exclusive, )
  4597. {1}
  4598. })
  4599. }
  4600.  
  4601. Device (MOU)
  4602. {
  4603. Method (_HID, 0, NotSerialized) // _HID: Hardware ID
  4604. {
  4605. Return (0x7320AE30)
  4606. }
  4607.  
  4608. Name (_CID, EisaId ("PNP0F13") /* PS/2 Mouse */) // _CID: Compatible ID
  4609. Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
  4610. {
  4611. IRQNoFlags ()
  4612. {12}
  4613. })
  4614. }
  4615.  
  4616. Device (EC0)
  4617. {
  4618. Name (_HID, EisaId ("PNP0C09") /* Embedded Controller Device */) // _HID: Hardware ID
  4619. Name (_UID, 0x00) // _UID: Unique ID
  4620. Name (_GPE, 0x03) // _GPE: General Purpose Events
  4621. Method (_REG, 2, NotSerialized) // _REG: Region Availability
  4622. {
  4623. If ((Arg0 == 0x03))
  4624. {
  4625. H8DR = Arg1
  4626. }
  4627.  
  4628. If (((Arg0 == 0x03) && (Arg1 == 0x01)))
  4629. {
  4630. Local0 = 0x00
  4631. If ((TPOS == 0x40))
  4632. {
  4633. Local0 = 0x01
  4634. }
  4635.  
  4636. If ((TPOS == 0x80))
  4637. {
  4638. Local0 = 0x02
  4639. }
  4640.  
  4641. If ((TPOS == 0x50))
  4642. {
  4643. Local0 = 0x03
  4644. }
  4645.  
  4646. If ((TPOS == 0x60))
  4647. {
  4648. Local0 = 0x04
  4649. }
  4650.  
  4651. If ((TPOS == 0x61))
  4652. {
  4653. Local0 = 0x04
  4654. }
  4655.  
  4656. If ((TPOS == 0x70))
  4657. {
  4658. Local0 = 0x05
  4659. }
  4660.  
  4661. If (H8DR)
  4662. {
  4663. OTYE = Local0
  4664. }
  4665. Else
  4666. {
  4667. MBEC (0x03D7, 0xFF, Local0)
  4668. }
  4669. }
  4670. }
  4671.  
  4672. Mutex (UCCI, 0x00)
  4673. OperationRegion (ECOC, EmbeddedControl, 0x00, 0x0100)
  4674. Field (ECOC, ByteAcc, NoLock, Preserve)
  4675. {
  4676. Offset (0x0C),
  4677. HLCL, 8,
  4678. Offset (0x46),
  4679. , 1,
  4680. BTWK, 1,
  4681. HPLD, 1,
  4682. , 1,
  4683. HPAC, 1,
  4684. BTST, 1,
  4685. PSST, 1,
  4686. Offset (0x47),
  4687. Offset (0x50),
  4688. HMPR, 8,
  4689. Offset (0x81),
  4690. HIID, 8
  4691. }
  4692.  
  4693. OperationRegion (ECOR, SystemMemory, 0xFE00DA00, 0xFF)
  4694. Field (ECOR, ByteAcc, NoLock, Preserve)
  4695. {
  4696. HDBM, 1,
  4697. , 1,
  4698. , 1,
  4699. HFNE, 1,
  4700. , 1,
  4701. , 1,
  4702. HLDM, 1,
  4703. Offset (0x01),
  4704. BBLS, 1,
  4705. BTCM, 1,
  4706. , 1,
  4707. , 1,
  4708. , 1,
  4709. HBPR, 1,
  4710. BTPC, 1,
  4711. Offset (0x02),
  4712. HDUE, 1,
  4713. , 4,
  4714. SNLK, 1,
  4715. Offset (0x03),
  4716. , 5,
  4717. HAUM, 2,
  4718. Offset (0x05),
  4719. HSPA, 1,
  4720. Offset (0x06),
  4721. HSUN, 8,
  4722. HSRP, 8,
  4723. Offset (0x0A),
  4724. , 7,
  4725. ECMS, 1,
  4726. Offset (0x0C),
  4727. Offset (0x0D),
  4728. , 4,
  4729. CALM, 1,
  4730. , 1,
  4731. KBLL, 1,
  4732. KBLH, 1,
  4733. HFNS, 2,
  4734. Offset (0x0F),
  4735. , 6,
  4736. NULS, 1,
  4737. Offset (0x10),
  4738. HAM0, 8,
  4739. HAM1, 8,
  4740. HAM2, 8,
  4741. HAM3, 8,
  4742. HAM4, 8,
  4743. HAM5, 8,
  4744. HAM6, 8,
  4745. HAM7, 8,
  4746. HAM8, 8,
  4747. HAM9, 8,
  4748. HAMA, 8,
  4749. HAMB, 8,
  4750. HAMC, 8,
  4751. HAMD, 8,
  4752. HAME, 8,
  4753. HAMF, 8,
  4754. Offset (0x23),
  4755. HANT, 8,
  4756. Offset (0x26),
  4757. , 2,
  4758. HANA, 2,
  4759. Offset (0x27),
  4760. Offset (0x28),
  4761. , 1,
  4762. SKEM, 1,
  4763. Offset (0x29),
  4764. Offset (0x2A),
  4765. HATR, 8,
  4766. HT0H, 8,
  4767. HT0L, 8,
  4768. HT1H, 8,
  4769. HT1L, 8,
  4770. HFSP, 8,
  4771. MICM, 1,
  4772. , 5,
  4773. HMUT, 1,
  4774. Offset (0x31),
  4775. , 2,
  4776. HUWB, 1,
  4777. , 3,
  4778. VPON, 1,
  4779. VRST, 1,
  4780. HWPM, 1,
  4781. HWLB, 1,
  4782. HWLO, 1,
  4783. HWDK, 1,
  4784. HWFN, 1,
  4785. HWBT, 1,
  4786. HWRI, 1,
  4787. HWBU, 1,
  4788. HWLU, 1,
  4789. Offset (0x34),
  4790. , 3,
  4791. PIBS, 1,
  4792. FEXI, 1,
  4793. , 2,
  4794. HPLO, 1,
  4795. , 4,
  4796. FANE, 1,
  4797. Offset (0x36),
  4798. HWAC, 16,
  4799. HB0S, 7,
  4800. HB0A, 1,
  4801. HB1S, 7,
  4802. HB1A, 1,
  4803. HCMU, 1,
  4804. , 2,
  4805. OVRQ, 1,
  4806. DCBD, 1,
  4807. DCWL, 1,
  4808. DCWW, 1,
  4809. HB1I, 1,
  4810. , 1,
  4811. KBLT, 1,
  4812. BTPW, 1,
  4813. FNKC, 1,
  4814. HUBS, 1,
  4815. BDPW, 1,
  4816. BDDT, 1,
  4817. HUBB, 1,
  4818. Offset (0x46),
  4819. Offset (0x47),
  4820. HPBU, 1,
  4821. , 1,
  4822. HBID, 1,
  4823. , 3,
  4824. PWSE, 1,
  4825. HPNF, 1,
  4826. , 1,
  4827. GSTS, 1,
  4828. , 2,
  4829. HLBU, 1,
  4830. DOCD, 1,
  4831. HCBL, 1,
  4832. Offset (0x49),
  4833. SLUL, 1,
  4834. , 1,
  4835. ACAT, 1,
  4836. , 4,
  4837. ELNK, 1,
  4838. FPSU, 1,
  4839. Offset (0x4B),
  4840. Offset (0x4C),
  4841. HTMH, 8,
  4842. HTML, 8,
  4843. HWAK, 16,
  4844. Offset (0x51),
  4845. , 7,
  4846. HMDN, 1,
  4847. Offset (0x78),
  4848. TMP0, 8,
  4849. TMP3, 8,
  4850. Offset (0x7B),
  4851. GTMP, 1,
  4852. Offset (0x7F),
  4853. , 1,
  4854. QCON, 1,
  4855. Offset (0x80),
  4856. Offset (0x81),
  4857. Offset (0x82),
  4858. Offset (0x83),
  4859. HFNI, 8,
  4860. HSPD, 16,
  4861. Offset (0x88),
  4862. TSL0, 7,
  4863. TSR0, 1,
  4864. TSL1, 7,
  4865. TSR1, 1,
  4866. TSL2, 7,
  4867. TSR2, 1,
  4868. TSL3, 7,
  4869. TSR3, 1,
  4870. GPUT, 1,
  4871. Offset (0x8D),
  4872. HDAA, 3,
  4873. HDAB, 3,
  4874. HDAC, 2,
  4875. Offset (0xB0),
  4876. HDEN, 32,
  4877. HDEP, 32,
  4878. HDEM, 8,
  4879. HDES, 8,
  4880. Offset (0xC8),
  4881. ATMX, 8,
  4882. HWAT, 8,
  4883. Offset (0xCC),
  4884. PWMH, 8,
  4885. PWML, 8,
  4886. Offset (0xED),
  4887. , 4,
  4888. HDDD, 1
  4889. }
  4890.  
  4891. Method (_INI, 0, NotSerialized) // _INI: Initialize
  4892. {
  4893. If (H8DR)
  4894. {
  4895. HSPA = 0x00
  4896. }
  4897. Else
  4898. {
  4899. MBEC (0x05, 0xFE, 0x00)
  4900. }
  4901.  
  4902. ^HKEY.WGIN ()
  4903. If (H8DR)
  4904. {
  4905. If ((WLAC == 0x02)){}
  4906. ElseIf ((ELNK && (WLAC == 0x01)))
  4907. {
  4908. DCWL = 0x00
  4909. }
  4910. Else
  4911. {
  4912. DCWL = 0x01
  4913. }
  4914. }
  4915. Else
  4916. {
  4917. MBEC (0x3A, 0xFF, 0x20)
  4918. }
  4919. }
  4920.  
  4921. Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
  4922. {
  4923. IO (Decode16,
  4924. 0x0062, // Range Minimum
  4925. 0x0062, // Range Maximum
  4926. 0x01, // Alignment
  4927. 0x01, // Length
  4928. )
  4929. IO (Decode16,
  4930. 0x0066, // Range Minimum
  4931. 0x0066, // Range Maximum
  4932. 0x01, // Alignment
  4933. 0x01, // Length
  4934. )
  4935. })
  4936. Method (LED, 2, NotSerialized)
  4937. {
  4938. Local0 = (Arg0 | Arg1)
  4939. If (H8DR)
  4940. {
  4941. HLCL = Local0
  4942. }
  4943. Else
  4944. {
  4945. WBEC (0x0C, Local0)
  4946. }
  4947. }
  4948.  
  4949. Name (BAON, 0x00)
  4950. Name (WBON, 0x00)
  4951. Method (BEEP, 1, NotSerialized)
  4952. {
  4953. If ((Arg0 == 0x05))
  4954. {
  4955. WBON = 0x00
  4956. }
  4957.  
  4958. Local2 = WBON /* \_SB_.PCI0.LPC0.EC0_.WBON */
  4959. If (BAON)
  4960. {
  4961. If ((Arg0 == 0x00))
  4962. {
  4963. BAON = 0x00
  4964. If (WBON)
  4965. {
  4966. Local0 = 0x03
  4967. Local1 = 0x08
  4968. }
  4969. Else
  4970. {
  4971. Local0 = 0x00
  4972. Local1 = 0x00
  4973. }
  4974. }
  4975. Else
  4976. {
  4977. Local0 = 0xFF
  4978. Local1 = 0xFF
  4979. If ((Arg0 == 0x11))
  4980. {
  4981. WBON = 0x00
  4982. }
  4983.  
  4984. If ((Arg0 == 0x10))
  4985. {
  4986. WBON = 0x01
  4987. }
  4988. }
  4989. }
  4990. Else
  4991. {
  4992. Local0 = Arg0
  4993. Local1 = 0xFF
  4994. If ((Arg0 == 0x0F))
  4995. {
  4996. Local0 = Arg0
  4997. Local1 = 0x08
  4998. BAON = 0x01
  4999. }
  5000.  
  5001. If ((Arg0 == 0x11))
  5002. {
  5003. Local0 = 0x00
  5004. Local1 = 0x00
  5005. WBON = 0x00
  5006. }
  5007.  
  5008. If ((Arg0 == 0x10))
  5009. {
  5010. Local0 = 0x03
  5011. Local1 = 0x08
  5012. WBON = 0x01
  5013. }
  5014. }
  5015.  
  5016. If ((Arg0 == 0x03))
  5017. {
  5018. WBON = 0x00
  5019. If (Local2)
  5020. {
  5021. Local0 = 0x07
  5022. If (((SPS == 0x03) || (SPS == 0x04)))
  5023. {
  5024. Local2 = 0x00
  5025. Local0 = 0xFF
  5026. Local1 = 0xFF
  5027. }
  5028. }
  5029. }
  5030.  
  5031. If ((Arg0 == 0x07))
  5032. {
  5033. If (Local2)
  5034. {
  5035. Local2 = 0x00
  5036. Local0 = 0xFF
  5037. Local1 = 0xFF
  5038. }
  5039. }
  5040.  
  5041. If (H8DR)
  5042. {
  5043. If ((Local2 && !WBON))
  5044. {
  5045. HSRP = 0x00
  5046. HSUN = 0x00
  5047. Sleep (0x64)
  5048. }
  5049.  
  5050. If ((Local1 != 0xFF))
  5051. {
  5052. HSRP = Local1
  5053. }
  5054.  
  5055. If ((Local0 != 0xFF))
  5056. {
  5057. HSUN = Local0
  5058. }
  5059. }
  5060. Else
  5061. {
  5062. If ((Local2 && !WBON))
  5063. {
  5064. WBEC (0x07, 0x00)
  5065. WBEC (0x06, 0x00)
  5066. Sleep (0x64)
  5067. }
  5068.  
  5069. If ((Local1 != 0xFF))
  5070. {
  5071. WBEC (0x07, Local1)
  5072. }
  5073.  
  5074. If ((Local0 != 0xFF))
  5075. {
  5076. WBEC (0x06, Local0)
  5077. }
  5078. }
  5079.  
  5080. If ((Arg0 == 0x03)){}
  5081. If ((Arg0 == 0x07))
  5082. {
  5083. Sleep (0x01F4)
  5084. }
  5085. }
  5086.  
  5087. Method (EVNT, 1, NotSerialized)
  5088. {
  5089. If (H8DR)
  5090. {
  5091. If (Arg0)
  5092. {
  5093. HAM5 |= 0x04
  5094. }
  5095. Else
  5096. {
  5097. HAM5 &= 0xFB
  5098. }
  5099. }
  5100. ElseIf (Arg0)
  5101. {
  5102. MBEC (0x15, 0xFF, 0x04)
  5103. }
  5104. Else
  5105. {
  5106. MBEC (0x15, 0xFB, 0x00)
  5107. }
  5108. }
  5109.  
  5110. Method (CHKS, 0, NotSerialized)
  5111. {
  5112. Local0 = 0x03E8
  5113. While (HMPR)
  5114. {
  5115. Sleep (0x01)
  5116. Local0--
  5117. If (!Local0)
  5118. {
  5119. Return (0x8080)
  5120. }
  5121. }
  5122.  
  5123. If (HMDN)
  5124. {
  5125. Return (Zero)
  5126. }
  5127.  
  5128. Return (0x8081)
  5129. }
  5130.  
  5131. Method (LPMD, 0, NotSerialized)
  5132. {
  5133. Local0 = 0x00
  5134. Local1 = 0x00
  5135. Local2 = 0x00
  5136. Return (Local0)
  5137. }
  5138.  
  5139. Method (CLPM, 0, NotSerialized)
  5140. {
  5141. }
  5142.  
  5143. Mutex (MCPU, 0x00)
  5144. Mutex (LIDQ, 0x00)
  5145. Method (_Q1F, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
  5146. {
  5147. If (^HKEY.MHKK (0x01, 0x00020000))
  5148. {
  5149. If ((PKLI & 0x0C00))
  5150. {
  5151. ^HKEY.MHKQ (0x1012)
  5152. }
  5153. }
  5154.  
  5155. SCMS (0x0E)
  5156. }
  5157.  
  5158. Method (_Q16, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
  5159. {
  5160. If (^HKEY.MHKK (0x01, 0x40))
  5161. {
  5162. ^HKEY.MHKQ (0x1007)
  5163. }
  5164. }
  5165.  
  5166. Method (_Q1C, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
  5167. {
  5168. If (^HKEY.MHKK (0x01, 0x01000000))
  5169. {
  5170. ^HKEY.MHKQ (0x1019)
  5171. }
  5172. }
  5173.  
  5174. Method (_Q1D, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
  5175. {
  5176. If (^HKEY.MHKK (0x01, 0x02000000))
  5177. {
  5178. ^HKEY.MHKQ (0x101A)
  5179. }
  5180. }
  5181.  
  5182. Method (_Q13, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
  5183. {
  5184. If (^HKEY.DHKC)
  5185. {
  5186. ^HKEY.MHKQ (0x1004)
  5187. }
  5188. Else
  5189. {
  5190. Notify (SLPB, 0x80) // Status Change
  5191. }
  5192. }
  5193.  
  5194. Method (_Q64, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
  5195. {
  5196. If (^HKEY.MHKK (0x01, 0x10))
  5197. {
  5198. ^HKEY.MHKQ (0x1005)
  5199. }
  5200. }
  5201.  
  5202. Method (_Q62, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
  5203. {
  5204. If (^HKEY.MHKK (0x03, 0x00010000))
  5205. {
  5206. ^HKEY.MHKQ (0x1311)
  5207. }
  5208. }
  5209.  
  5210. Method (_Q6B, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
  5211. {
  5212. If (^HKEY.MHKK (0x03, 0x4000))
  5213. {
  5214. ^HKEY.TSSS ()
  5215. }
  5216. }
  5217.  
  5218. Method (_Q65, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
  5219. {
  5220. If (^HKEY.MHKK (0x03, 0x00020000))
  5221. {
  5222. ^HKEY.MHKQ (0x1312)
  5223. }
  5224. }
  5225.  
  5226. Method (_Q94, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
  5227. {
  5228. If (^HKEY.MHKK (0x03, 0x00040000))
  5229. {
  5230. ^HKEY.MHKQ (0x1313)
  5231. }
  5232. }
  5233.  
  5234. Method (_Q78, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
  5235. {
  5236. If (^HKEY.MHKK (0x03, 0x00400000))
  5237. {
  5238. ^HKEY.MHKQ (0x1317)
  5239. }
  5240. }
  5241.  
  5242. Method (_Q79, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
  5243. {
  5244. If (^HKEY.MHKK (0x03, 0x00800000))
  5245. {
  5246. ^HKEY.MHKQ (0x1318)
  5247. }
  5248. }
  5249.  
  5250. Method (_Q7A, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
  5251. {
  5252. If (^HKEY.MHKK (0x03, 0x01000000))
  5253. {
  5254. ^HKEY.MHKQ (0x1319)
  5255. }
  5256. }
  5257.  
  5258. Method (_Q26, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
  5259. {
  5260. If ((Acquire (UCCI, 0xA000) == 0x00))
  5261. {
  5262. SCMS (0x12)
  5263. Sleep (0x01F4)
  5264. Notify (AC, 0x80) // Status Change
  5265. If (WXPF)
  5266. {
  5267. Acquire (MCPU, 0xFFFF)
  5268. }
  5269.  
  5270. If (WXPF)
  5271. {
  5272. Sleep (0x64)
  5273. }
  5274.  
  5275. If (WXPF)
  5276. {
  5277. Release (MCPU)
  5278. }
  5279.  
  5280. ^HKEY.MHKQ (0x6040)
  5281. Release (UCCI)
  5282. }
  5283. }
  5284.  
  5285. Method (ACIN, 0, NotSerialized)
  5286. {
  5287. If ((Acquire (UCCI, 0xA000) == 0x00))
  5288. {
  5289. SCMS (0x12)
  5290. Sleep (0x01F4)
  5291. Notify (AC, 0x80) // Status Change
  5292. If (WXPF)
  5293. {
  5294. Acquire (MCPU, 0xFFFF)
  5295. }
  5296.  
  5297. If (WXPF)
  5298. {
  5299. Sleep (0x64)
  5300. }
  5301.  
  5302. If (WXPF)
  5303. {
  5304. Release (MCPU)
  5305. }
  5306.  
  5307. ^HKEY.MHKQ (0x6040)
  5308. Release (UCCI)
  5309. }
  5310. }
  5311.  
  5312. Method (_Q27, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
  5313. {
  5314. If ((Acquire (UCCI, 0xA000) == 0x00))
  5315. {
  5316. SCMS (0x12)
  5317. Sleep (0x01F4)
  5318. Notify (AC, 0x80) // Status Change
  5319. If (WXPF)
  5320. {
  5321. Acquire (MCPU, 0xFFFF)
  5322. }
  5323.  
  5324. If (WXPF)
  5325. {
  5326. Sleep (0x64)
  5327. }
  5328.  
  5329. If (WXPF)
  5330. {
  5331. Release (MCPU)
  5332. }
  5333.  
  5334. ^HKEY.MHKQ (0x6040)
  5335. Release (UCCI)
  5336. }
  5337. }
  5338.  
  5339. Method (ACOU, 0, NotSerialized)
  5340. {
  5341. If ((Acquire (UCCI, 0xA000) == 0x00))
  5342. {
  5343. SCMS (0x12)
  5344. Sleep (0x01F4)
  5345. Notify (AC, 0x80) // Status Change
  5346. If (WXPF)
  5347. {
  5348. Acquire (MCPU, 0xFFFF)
  5349. }
  5350.  
  5351. If (WXPF)
  5352. {
  5353. Sleep (0x64)
  5354. }
  5355.  
  5356. If (WXPF)
  5357. {
  5358. Release (MCPU)
  5359. }
  5360.  
  5361. ^HKEY.MHKQ (0x6040)
  5362. Release (UCCI)
  5363. }
  5364. }
  5365.  
  5366. OperationRegion (QWER, SystemIO, 0x72, 0x02)
  5367. Field (QWER, ByteAcc, NoLock, Preserve)
  5368. {
  5369. INDX, 8,
  5370. DATA, 8
  5371. }
  5372.  
  5373. IndexField (INDX, DATA, ByteAcc, NoLock, Preserve)
  5374. {
  5375. Offset (0x8D),
  5376. WERT, 8,
  5377. DFGH, 8
  5378. }
  5379.  
  5380. Method (_Q2A, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
  5381. {
  5382. If ((Acquire (LIDQ, 0xA000) == 0x00))
  5383. {
  5384. P80H = 0x2A
  5385. WERT = HPLD /* \_SB_.PCI0.LPC0.EC0_.HPLD */
  5386. HAM6 = HPLD /* \_SB_.PCI0.LPC0.EC0_.HPLD */
  5387. VCMS (0x01, ^^^^LID._LID ())
  5388. If ((ILNF == 0x00))
  5389. {
  5390. If (IOST)
  5391. {
  5392. If (!ISOC (0x00))
  5393. {
  5394. IOST = 0x00
  5395. ^HKEY.MHKQ (0x60D0)
  5396. }
  5397. }
  5398.  
  5399. ^HKEY.MHKQ (0x5002)
  5400. If ((PLUX == 0x00))
  5401. {
  5402. Notify (LID, 0x80) // Status Change
  5403. Sleep (0x01F4)
  5404. }
  5405. }
  5406.  
  5407. Release (LIDQ)
  5408. }
  5409. }
  5410.  
  5411. Method (LIDO, 0, NotSerialized)
  5412. {
  5413. If ((Acquire (LIDQ, 0xA000) == 0x00))
  5414. {
  5415. P80H = 0x2A
  5416. WERT = HPLD /* \_SB_.PCI0.LPC0.EC0_.HPLD */
  5417. HAM6 = HPLD /* \_SB_.PCI0.LPC0.EC0_.HPLD */
  5418. VCMS (0x01, ^^^^LID._LID ())
  5419. If ((ILNF == 0x00))
  5420. {
  5421. If (IOST)
  5422. {
  5423. If (!ISOC (0x00))
  5424. {
  5425. IOST = 0x00
  5426. ^HKEY.MHKQ (0x60D0)
  5427. }
  5428. }
  5429.  
  5430. ^HKEY.MHKQ (0x5002)
  5431. If ((PLUX == 0x00))
  5432. {
  5433. Notify (LID, 0x80) // Status Change
  5434. }
  5435. }
  5436.  
  5437. Release (LIDQ)
  5438. }
  5439. }
  5440.  
  5441. Method (_Q2B, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
  5442. {
  5443. If ((Acquire (LIDQ, 0xA000) == 0x00))
  5444. {
  5445. P80H = 0x2B
  5446. WERT = 0x00
  5447. DFGH = 0x00
  5448. HAM6 = 0x00
  5449. SCMS (0x0D)
  5450. VCMS (0x01, ^^^^LID._LID ())
  5451. If ((ILNF == 0x00))
  5452. {
  5453. If ((IOEN && !IOST))
  5454. {
  5455. If (!ISOC (0x01))
  5456. {
  5457. IOST = 0x01
  5458. ^HKEY.MHKQ (0x60D0)
  5459. }
  5460. }
  5461.  
  5462. ^HKEY.MHKQ (0x5001)
  5463. If ((PLUX == 0x00))
  5464. {
  5465. Notify (LID, 0x80) // Status Change
  5466. }
  5467. }
  5468.  
  5469. Release (LIDQ)
  5470. }
  5471. }
  5472.  
  5473. Method (LIDC, 0, NotSerialized)
  5474. {
  5475. P80H = 0x2B
  5476. WERT = 0x00
  5477. DFGH = 0x00
  5478. HAM6 = 0x00
  5479. SCMS (0x0D)
  5480. VCMS (0x01, ^^^^LID._LID ())
  5481. If ((ILNF == 0x00))
  5482. {
  5483. If ((IOEN && !IOST))
  5484. {
  5485. If (!ISOC (0x01))
  5486. {
  5487. IOST = 0x01
  5488. ^HKEY.MHKQ (0x60D0)
  5489. }
  5490. }
  5491.  
  5492. ^HKEY.MHKQ (0x5001)
  5493. If ((PLUX == 0x00))
  5494. {
  5495. Notify (LID, 0x80) // Status Change
  5496. }
  5497. }
  5498. }
  5499.  
  5500. Method (_Q3D, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
  5501. {
  5502. }
  5503.  
  5504. Method (_Q48, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
  5505. {
  5506. }
  5507.  
  5508. Method (_Q49, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
  5509. {
  5510. }
  5511.  
  5512. Method (_Q7F, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
  5513. {
  5514. Fatal (0x01, 0x80010000, 0x2D44)
  5515. }
  5516.  
  5517. Method (_Q46, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
  5518. {
  5519. ^HKEY.MHKQ (0x6012)
  5520. }
  5521.  
  5522. Method (_Q8A, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
  5523. {
  5524. If ((WLAC == 0x02)){}
  5525. ElseIf ((ELNK && (WLAC == 0x01)))
  5526. {
  5527. DCWL = 0x00
  5528. }
  5529. Else
  5530. {
  5531. DCWL = 0x01
  5532. }
  5533. }
  5534.  
  5535. Method (_Q2F, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
  5536. {
  5537. BFCC ()
  5538. }
  5539.  
  5540. Method (_Q71, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
  5541. {
  5542. ^HKEY.MHKQ (0x1316)
  5543. }
  5544.  
  5545. Method (_Q86, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
  5546. {
  5547. P80H = 0x86
  5548. ^HKEY.DYTC (0x001F4001)
  5549. }
  5550.  
  5551. Method (_Q87, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
  5552. {
  5553. P80H = 0x87
  5554. ^HKEY.DYTC (0x000F4001)
  5555. }
  5556.  
  5557. Method (_Q6E, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
  5558. {
  5559. P80H = 0x6E
  5560. If (((OSMH & 0x01) == 0x01))
  5561. {
  5562. ^HKEY.DYTC (0x001F1001)
  5563. }
  5564. Else
  5565. {
  5566. ^HKEY.DYTC (0x000F1001)
  5567. }
  5568. }
  5569.  
  5570. Method (_Q8B, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
  5571. {
  5572. P80H = 0x8B
  5573. LGBF = 0x01
  5574. ^HKEY.DYTC (0x001F0001)
  5575. }
  5576.  
  5577. Method (_Q8C, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
  5578. {
  5579. P80H = 0x8C
  5580. LGBF = 0x00
  5581. ^HKEY.DYTC (0x001F0001)
  5582. }
  5583.  
  5584. Method (_Q6C, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
  5585. {
  5586. P80H = 0x6C
  5587. APMC = 0xCC
  5588. }
  5589.  
  5590. Method (_Q6D, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
  5591. {
  5592. P80H = 0x6D
  5593. APMC = 0xCF
  5594. }
  5595.  
  5596. Method (_Q22, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
  5597. {
  5598. If (HB0A)
  5599. {
  5600. Notify (BAT0, 0x80) // Status Change
  5601. }
  5602. }
  5603.  
  5604. Method (_Q4A, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
  5605. {
  5606. Notify (BAT0, 0x81) // Information Change
  5607. }
  5608.  
  5609. Method (_Q4B, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
  5610. {
  5611. Notify (BAT0, 0x80) // Status Change
  5612. ^HKEY.DYTC (0x000F0001)
  5613. }
  5614.  
  5615. Method (_Q24, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
  5616. {
  5617. Notify (BAT0, 0x80) // Status Change
  5618. }
  5619.  
  5620. Method (BFCC, 0, NotSerialized)
  5621. {
  5622. If (^BAT0.B0ST)
  5623. {
  5624. Notify (BAT0, 0x81) // Information Change
  5625. }
  5626. }
  5627.  
  5628. Method (BATW, 1, NotSerialized)
  5629. {
  5630. If (BT2T){}
  5631. }
  5632.  
  5633. OperationRegion (ECOE, SystemMemory, 0xFE00DE00, 0xFF)
  5634. Field (ECOE, ByteAcc, NoLock, Preserve)
  5635. {
  5636. Offset (0x16),
  5637. SBVO, 16,
  5638. Offset (0x1A),
  5639. SBAC, 16,
  5640. SBRS, 16,
  5641. SBRC, 16,
  5642. Offset (0x22),
  5643. SBFC, 16,
  5644. Offset (0x26),
  5645. SBAE, 16,
  5646. SBAF, 16,
  5647. SBBS, 16
  5648. }
  5649.  
  5650. Field (ECOE, ByteAcc, NoLock, Preserve)
  5651. {
  5652. Offset (0x12),
  5653. SBBM, 16,
  5654. Offset (0x2C),
  5655. SBCC, 16,
  5656. Offset (0x92),
  5657. SBMD, 16
  5658. }
  5659.  
  5660. Field (ECOE, ByteAcc, NoLock, Preserve)
  5661. {
  5662. Offset (0x32),
  5663. SBDC, 16,
  5664. SBDV, 16,
  5665. Offset (0x38),
  5666. SBDT, 16,
  5667. SBSN, 16,
  5668. Offset (0x82),
  5669. SBOM, 16
  5670. }
  5671.  
  5672. Field (ECOE, ByteAcc, NoLock, Preserve)
  5673. {
  5674. Offset (0x62),
  5675. SBCH, 32
  5676. }
  5677.  
  5678. Field (ECOE, ByteAcc, NoLock, Preserve)
  5679. {
  5680. Offset (0x42),
  5681. SBMN, 128
  5682. }
  5683.  
  5684. Field (ECOE, ByteAcc, NoLock, Preserve)
  5685. {
  5686. Offset (0x52),
  5687. SBDN, 128
  5688. }
  5689.  
  5690. Mutex (BATM, 0x00)
  5691. Method (GBIF, 3, NotSerialized)
  5692. {
  5693. Acquire (BATM, 0xFFFF)
  5694. If (Arg2)
  5695. {
  5696. Local7 = SBBM /* \_SB_.PCI0.LPC0.EC0_.SBBM */
  5697. Local7 >>= 0x0F
  5698. Arg1 [0x00] = (Local7 ^ 0x01)
  5699. If (Local7)
  5700. {
  5701. Local1 = (SBFC * 0x0A)
  5702. }
  5703. Else
  5704. {
  5705. Local1 = SBFC /* \_SB_.PCI0.LPC0.EC0_.SBFC */
  5706. }
  5707.  
  5708. Arg1 [0x02] = Local1
  5709. If (Local7)
  5710. {
  5711. Local0 = (SBDC * 0x0A)
  5712. }
  5713. Else
  5714. {
  5715. Local0 = SBDC /* \_SB_.PCI0.LPC0.EC0_.SBDC */
  5716. }
  5717.  
  5718. Arg1 [0x01] = Local0
  5719. Divide (Local1, 0x14, Local2, Arg1 [0x05])
  5720. If (Local7)
  5721. {
  5722. Arg1 [0x06] = 0xC8
  5723. }
  5724. ElseIf (SBDV)
  5725. {
  5726. Divide (0x00030D40, SBDV, Local2, Arg1 [0x06])
  5727. }
  5728. Else
  5729. {
  5730. Arg1 [0x06] = 0x00
  5731. }
  5732.  
  5733. Arg1 [0x04] = SBDV /* \_SB_.PCI0.LPC0.EC0_.SBDV */
  5734. Local0 = SBSN /* \_SB_.PCI0.LPC0.EC0_.SBSN */
  5735. Name (SERN, Buffer (0x06)
  5736. {
  5737. " "
  5738. })
  5739. Local2 = 0x04
  5740. While (Local0)
  5741. {
  5742. Divide (Local0, 0x0A, Local1, Local0)
  5743. SERN [Local2] = (Local1 + 0x30)
  5744. Local2--
  5745. }
  5746.  
  5747. Arg1 [0x0A] = SERN /* \_SB_.PCI0.LPC0.EC0_.GBIF.SERN */
  5748. Arg1 [0x09] = SBDN /* \_SB_.PCI0.LPC0.EC0_.SBDN */
  5749. Name (BTYP, Buffer (0x05)
  5750. {
  5751. 0x00, 0x00, 0x00, 0x00, 0x00 // .....
  5752. })
  5753. BTYP = SBCH /* \_SB_.PCI0.LPC0.EC0_.SBCH */
  5754. Arg1 [0x0B] = BTYP /* \_SB_.PCI0.LPC0.EC0_.GBIF.BTYP */
  5755. Arg1 [0x0C] = SBMN /* \_SB_.PCI0.LPC0.EC0_.SBMN */
  5756. }
  5757. Else
  5758. {
  5759. Arg1 [0x01] = 0xFFFFFFFF
  5760. Arg1 [0x05] = 0x00
  5761. Arg1 [0x06] = 0x00
  5762. Arg1 [0x02] = 0xFFFFFFFF
  5763. }
  5764.  
  5765. Release (BATM)
  5766. Return (Arg1)
  5767. }
  5768.  
  5769. Method (GBIX, 3, NotSerialized)
  5770. {
  5771. Acquire (BATM, 0xFFFF)
  5772. If (Arg2)
  5773. {
  5774. Local7 = SBCC /* \_SB_.PCI0.LPC0.EC0_.SBCC */
  5775. Arg1 [0x08] = Local7
  5776. Local7 = SBBM /* \_SB_.PCI0.LPC0.EC0_.SBBM */
  5777. Local7 >>= 0x0F
  5778. Arg1 [0x01] = (Local7 ^ 0x01)
  5779. If (Local7)
  5780. {
  5781. Local1 = (SBFC * 0x0A)
  5782. }
  5783. Else
  5784. {
  5785. Local1 = SBFC /* \_SB_.PCI0.LPC0.EC0_.SBFC */
  5786. }
  5787.  
  5788. Arg1 [0x03] = Local1
  5789. If (Local7)
  5790. {
  5791. Local0 = (SBDC * 0x0A)
  5792. }
  5793. Else
  5794. {
  5795. Local0 = SBDC /* \_SB_.PCI0.LPC0.EC0_.SBDC */
  5796. }
  5797.  
  5798. Arg1 [0x02] = Local0
  5799. Divide (Local1, 0x14, Local2, Arg1 [0x06])
  5800. If (Local7)
  5801. {
  5802. Arg1 [0x07] = 0xC8
  5803. }
  5804. ElseIf (SBDV)
  5805. {
  5806. Divide (0x00030D40, SBDV, Local2, Arg1 [0x07])
  5807. }
  5808. Else
  5809. {
  5810. Arg1 [0x07] = 0x00
  5811. }
  5812.  
  5813. Arg1 [0x05] = SBDV /* \_SB_.PCI0.LPC0.EC0_.SBDV */
  5814. Local0 = SBSN /* \_SB_.PCI0.LPC0.EC0_.SBSN */
  5815. Name (SERN, Buffer (0x06)
  5816. {
  5817. " "
  5818. })
  5819. Local2 = 0x04
  5820. While (Local0)
  5821. {
  5822. Divide (Local0, 0x0A, Local1, Local0)
  5823. SERN [Local2] = (Local1 + 0x30)
  5824. Local2--
  5825. }
  5826.  
  5827. Arg1 [0x11] = SERN /* \_SB_.PCI0.LPC0.EC0_.GBIX.SERN */
  5828. Arg1 [0x10] = SBDN /* \_SB_.PCI0.LPC0.EC0_.SBDN */
  5829. Name (BTYP, Buffer (0x05)
  5830. {
  5831. 0x00, 0x00, 0x00, 0x00, 0x00 // .....
  5832. })
  5833. BTYP = SBCH /* \_SB_.PCI0.LPC0.EC0_.SBCH */
  5834. Arg1 [0x12] = BTYP /* \_SB_.PCI0.LPC0.EC0_.GBIX.BTYP */
  5835. Arg1 [0x13] = SBMN /* \_SB_.PCI0.LPC0.EC0_.SBMN */
  5836. }
  5837. Else
  5838. {
  5839. Arg1 [0x02] = 0xFFFFFFFF
  5840. Arg1 [0x06] = 0x00
  5841. Arg1 [0x07] = 0x00
  5842. Arg1 [0x03] = 0xFFFFFFFF
  5843. }
  5844.  
  5845. Release (BATM)
  5846. Return (Arg1)
  5847. }
  5848.  
  5849. Method (GBST, 4, NotSerialized)
  5850. {
  5851. Acquire (BATM, 0xFFFF)
  5852. If ((Arg1 & 0x20))
  5853. {
  5854. Local0 = 0x02
  5855. }
  5856. ElseIf ((Arg1 & 0x40))
  5857. {
  5858. Local0 = 0x01
  5859. }
  5860. Else
  5861. {
  5862. Local0 = 0x00
  5863. }
  5864.  
  5865. If ((Arg1 & 0x07)){}
  5866. Else
  5867. {
  5868. Local0 |= 0x04
  5869. }
  5870.  
  5871. If (((Arg1 & 0x07) == 0x07))
  5872. {
  5873. Local0 = 0x04
  5874. Local1 = 0x00
  5875. Local2 = 0x00
  5876. Local3 = 0x00
  5877. }
  5878. Else
  5879. {
  5880. Local3 = SBVO /* \_SB_.PCI0.LPC0.EC0_.SBVO */
  5881. If (Arg2)
  5882. {
  5883. Local2 = (SBRC * 0x0A)
  5884. }
  5885. Else
  5886. {
  5887. Local2 = SBRC /* \_SB_.PCI0.LPC0.EC0_.SBRC */
  5888. }
  5889.  
  5890. Local1 = SBAC /* \_SB_.PCI0.LPC0.EC0_.SBAC */
  5891. If ((Local1 >= 0x8000))
  5892. {
  5893. If ((Local0 & 0x01))
  5894. {
  5895. Local1 = (0x00010000 - Local1)
  5896. }
  5897. Else
  5898. {
  5899. Local1 = 0x00
  5900. }
  5901. }
  5902. ElseIf (!(Local0 & 0x02))
  5903. {
  5904. Local1 = 0x00
  5905. }
  5906.  
  5907. If (Arg2)
  5908. {
  5909. Local1 *= Local3
  5910. Divide (Local1, 0x03E8, Local7, Local1)
  5911. }
  5912. }
  5913.  
  5914. Arg3 [0x00] = Local0
  5915. Arg3 [0x01] = Local1
  5916. Arg3 [0x02] = Local2
  5917. Arg3 [0x03] = Local3
  5918. Release (BATM)
  5919. Return (Arg3)
  5920. }
  5921.  
  5922. Method (AJTP, 3, NotSerialized)
  5923. {
  5924. Local0 = Arg1
  5925. Acquire (BATM, 0xFFFF)
  5926. Local1 = SBRC /* \_SB_.PCI0.LPC0.EC0_.SBRC */
  5927. Release (BATM)
  5928. If ((Arg0 == 0x00))
  5929. {
  5930. Local2 = HB0S /* \_SB_.PCI0.LPC0.EC0_.HB0S */
  5931. }
  5932. Else
  5933. {
  5934. Local2 = HB1S /* \_SB_.PCI0.LPC0.EC0_.HB1S */
  5935. }
  5936.  
  5937. If ((Local2 & 0x20))
  5938. {
  5939. If ((Arg2 > 0x00))
  5940. {
  5941. Local0 += 0x01
  5942. }
  5943.  
  5944. If ((Local0 <= Local1))
  5945. {
  5946. Local0 = (Local1 + 0x01)
  5947. }
  5948. }
  5949. ElseIf ((Local2 & 0x40))
  5950. {
  5951. If ((Local0 >= Local1))
  5952. {
  5953. Local0 = (Local1 - 0x01)
  5954. }
  5955. }
  5956.  
  5957. Return (Local0)
  5958. }
  5959.  
  5960. Device (BAT0)
  5961. {
  5962. Name (_HID, EisaId ("PNP0C0A") /* Control Method Battery */) // _HID: Hardware ID
  5963. Name (_UID, 0x00) // _UID: Unique ID
  5964. Name (_PCL, Package (0x01) // _PCL: Power Consumer List
  5965. {
  5966. _SB
  5967. })
  5968. Name (B0ST, 0x00)
  5969. Name (BT0I, Package (0x0D)
  5970. {
  5971. 0x00,
  5972. 0xFFFFFFFF,
  5973. 0xFFFFFFFF,
  5974. 0x01,
  5975. 0x2A30,
  5976. 0x00,
  5977. 0x00,
  5978. 0x01,
  5979. 0x01,
  5980. "",
  5981. "",
  5982. "",
  5983. ""
  5984. })
  5985. Name (BX0I, Package (0x15)
  5986. {
  5987. 0x01,
  5988. 0x00,
  5989. 0xFFFFFFFF,
  5990. 0xFFFFFFFF,
  5991. 0x01,
  5992. 0xFFFFFFFF,
  5993. 0x00,
  5994. 0x00,
  5995. 0xFFFFFFFF,
  5996. 0x00017318,
  5997. 0xFFFFFFFF,
  5998. 0xFFFFFFFF,
  5999. 0x03E8,
  6000. 0x01F4,
  6001. 0xFFFFFFFF,
  6002. 0xFFFFFFFF,
  6003. "",
  6004. "",
  6005. "",
  6006. "",
  6007. 0x00
  6008. })
  6009. Name (BT0P, Package (0x04){})
  6010. Method (_STA, 0, NotSerialized) // _STA: Status
  6011. {
  6012. If (H8DR)
  6013. {
  6014. B0ST = HB0A /* \_SB_.PCI0.LPC0.EC0_.HB0A */
  6015. }
  6016. ElseIf ((RBEC (0x38) & 0x80))
  6017. {
  6018. B0ST = 0x01
  6019. }
  6020. Else
  6021. {
  6022. B0ST = 0x00
  6023. }
  6024.  
  6025. If (B0ST)
  6026. {
  6027. Return (0x1F)
  6028. }
  6029. Else
  6030. {
  6031. Return (0x0F)
  6032. }
  6033. }
  6034.  
  6035. Method (_BIF, 0, NotSerialized) // _BIF: Battery Information
  6036. {
  6037. Local7 = 0x00
  6038. Local6 = 0x0A
  6039. While ((!Local7 && Local6))
  6040. {
  6041. If (HB0A)
  6042. {
  6043. If (((HB0S & 0x07) == 0x07))
  6044. {
  6045. Sleep (0x03E8)
  6046. Local6--
  6047. }
  6048. Else
  6049. {
  6050. Local7 = 0x01
  6051. }
  6052. }
  6053. Else
  6054. {
  6055. Local6 = 0x00
  6056. }
  6057. }
  6058.  
  6059. GBIX (0x00, BX0I, Local7)
  6060. BT0I [0x00] = DerefOf (BX0I [0x01])
  6061. BT0I [0x01] = DerefOf (BX0I [0x02])
  6062. BT0I [0x02] = DerefOf (BX0I [0x03])
  6063. BT0I [0x03] = DerefOf (BX0I [0x04])
  6064. BT0I [0x04] = DerefOf (BX0I [0x05])
  6065. BT0I [0x05] = DerefOf (BX0I [0x06])
  6066. BT0I [0x06] = DerefOf (BX0I [0x07])
  6067. BT0I [0x07] = DerefOf (BX0I [0x0E])
  6068. BT0I [0x08] = DerefOf (BX0I [0x0F])
  6069. BT0I [0x09] = DerefOf (BX0I [0x10])
  6070. BT0I [0x0A] = DerefOf (BX0I [0x11])
  6071. BT0I [0x0B] = DerefOf (BX0I [0x12])
  6072. BT0I [0x0C] = DerefOf (BX0I [0x13])
  6073. Return (BT0I) /* \_SB_.PCI0.LPC0.EC0_.BAT0.BT0I */
  6074. }
  6075.  
  6076. Method (_BIX, 0, NotSerialized) // _BIX: Battery Information Extended
  6077. {
  6078. Local7 = 0x00
  6079. Local6 = 0x0A
  6080. While ((!Local7 && Local6))
  6081. {
  6082. If (HB0A)
  6083. {
  6084. If (((HB0S & 0x07) == 0x07))
  6085. {
  6086. Sleep (0x03E8)
  6087. Local6--
  6088. }
  6089. Else
  6090. {
  6091. Local7 = 0x01
  6092. }
  6093. }
  6094. Else
  6095. {
  6096. Local6 = 0x00
  6097. }
  6098. }
  6099.  
  6100. Return (GBIX (0x00, BX0I, Local7))
  6101. }
  6102.  
  6103. Method (_BST, 0, NotSerialized) // _BST: Battery Status
  6104. {
  6105. Local0 = (DerefOf (BX0I [0x01]) ^ 0x01)
  6106. Return (GBST (0x00, HB0S, Local0, BT0P))
  6107. }
  6108. }
  6109.  
  6110. Device (AC)
  6111. {
  6112. Name (_HID, "ACPI0003" /* Power Source Device */) // _HID: Hardware ID
  6113. Name (_UID, 0x00) // _UID: Unique ID
  6114. Name (_PCL, Package (0x01) // _PCL: Power Consumer List
  6115. {
  6116. _SB
  6117. })
  6118. Name (XX00, Buffer (0x03){})
  6119. Name (ACDC, 0xFF)
  6120. Method (_PSR, 0, NotSerialized) // _PSR: Power Source
  6121. {
  6122. If ((Acquire (UCCI, 0xA000) == 0x00))
  6123. {
  6124. If (H8DR)
  6125. {
  6126. Local0 = HPAC /* \_SB_.PCI0.LPC0.EC0_.HPAC */
  6127. }
  6128. ElseIf ((RBEC (0x46) & 0x10))
  6129. {
  6130. Local0 = 0x01
  6131. }
  6132. Else
  6133. {
  6134. Local0 = 0x00
  6135. }
  6136.  
  6137. If (((Local0 != ACDC) || (ACDC == 0xFF)))
  6138. {
  6139. CreateWordField (XX00, 0x00, SSZE)
  6140. CreateByteField (XX00, 0x02, ACST)
  6141. SSZE = 0x03
  6142. ACDC = Local0
  6143. If (ACDC)
  6144. {
  6145. AFN4 (0x01)
  6146. ACST = 0x00
  6147. }
  6148. Else
  6149. {
  6150. AFN4 (0x02)
  6151. ACST = 0x01
  6152. }
  6153.  
  6154. ALIB (0x01, XX00)
  6155. }
  6156.  
  6157. Release (UCCI)
  6158. }
  6159.  
  6160. Return (Local0)
  6161. }
  6162.  
  6163. Method (_STA, 0, NotSerialized) // _STA: Status
  6164. {
  6165. Return (0x0F)
  6166. }
  6167. }
  6168.  
  6169. Device (HKEY)
  6170. {
  6171. Name (_HID, EisaId ("LEN0268")) // _HID: Hardware ID
  6172. Method (_STA, 0, NotSerialized) // _STA: Status
  6173. {
  6174. Return (0x0F)
  6175. }
  6176.  
  6177. Method (_INI, 0, NotSerialized) // _INI: Initialize
  6178. {
  6179. DYTC (0x000F0001)
  6180. }
  6181.  
  6182. Method (MHKV, 0, NotSerialized)
  6183. {
  6184. Return (0x0200)
  6185. }
  6186.  
  6187. Name (DHKC, 0x00)
  6188. Name (DHKB, 0x01)
  6189. Name (DHKH, 0x00)
  6190. Name (DHKW, 0x00)
  6191. Name (DHKS, 0x00)
  6192. Name (DHKD, 0x00)
  6193. Name (DHKN, 0x0808)
  6194. Name (DHKE, 0x00)
  6195. Name (DHKF, 0x01FF4000)
  6196. Name (DHKT, 0x00)
  6197. Name (DHWW, 0x00)
  6198. Mutex (XDHK, 0x00)
  6199. Method (MHKA, 1, NotSerialized)
  6200. {
  6201. If ((Arg0 == 0x00))
  6202. {
  6203. Return (0x03)
  6204. }
  6205. ElseIf ((Arg0 == 0x01))
  6206. {
  6207. Return (0xFFFFFFFB)
  6208. }
  6209. ElseIf ((Arg0 == 0x02))
  6210. {
  6211. Return (0x00)
  6212. }
  6213. ElseIf ((Arg0 == 0x03))
  6214. {
  6215. Return (0x01FF4000)
  6216. }
  6217. Else
  6218. {
  6219. Return (0x00)
  6220. }
  6221. }
  6222.  
  6223. Method (MHKN, 1, NotSerialized)
  6224. {
  6225. If ((Arg0 == 0x00))
  6226. {
  6227. Return (0x03)
  6228. }
  6229. ElseIf ((Arg0 == 0x01))
  6230. {
  6231. Return (DHKN) /* \_SB_.PCI0.LPC0.EC0_.HKEY.DHKN */
  6232. }
  6233. ElseIf ((Arg0 == 0x02))
  6234. {
  6235. Return (DHKE) /* \_SB_.PCI0.LPC0.EC0_.HKEY.DHKE */
  6236. }
  6237. ElseIf ((Arg0 == 0x03))
  6238. {
  6239. Return (DHKF) /* \_SB_.PCI0.LPC0.EC0_.HKEY.DHKF */
  6240. }
  6241. Else
  6242. {
  6243. Return (0x00)
  6244. }
  6245. }
  6246.  
  6247. Method (MHKK, 2, NotSerialized)
  6248. {
  6249. If ((Arg0 == 0x00))
  6250. {
  6251. Return (0x03)
  6252. }
  6253. ElseIf (DHKC)
  6254. {
  6255. If ((Arg0 == 0x01))
  6256. {
  6257. Return ((DHKN & Arg1))
  6258. }
  6259. ElseIf ((Arg0 == 0x02))
  6260. {
  6261. Return ((DHKE & Arg1))
  6262. }
  6263. ElseIf ((Arg0 == 0x03))
  6264. {
  6265. Return ((DHKF & Arg1))
  6266. }
  6267. Else
  6268. {
  6269. Return (0x00)
  6270. }
  6271. }
  6272. Else
  6273. {
  6274. Return (Zero)
  6275. }
  6276. }
  6277.  
  6278. Method (MHKM, 2, NotSerialized)
  6279. {
  6280. Acquire (XDHK, 0xFFFF)
  6281. If ((Arg0 > 0x60))
  6282. {
  6283. Noop
  6284. }
  6285. ElseIf ((Arg0 <= 0x20))
  6286. {
  6287. Local0 = (One << Arg0--)
  6288. If ((Local0 & 0xFFFFFFFB))
  6289. {
  6290. If (Arg1)
  6291. {
  6292. DHKN |= Local0 /* \_SB_.PCI0.LPC0.EC0_.HKEY.DHKN */
  6293. }
  6294. Else
  6295. {
  6296. DHKN &= (Local0 ^ 0xFFFFFFFF)
  6297. }
  6298. }
  6299. Else
  6300. {
  6301. Noop
  6302. }
  6303. }
  6304. ElseIf ((Arg0 <= 0x40))
  6305. {
  6306. Noop
  6307. }
  6308. ElseIf ((Arg0 <= 0x60))
  6309. {
  6310. Arg0 -= 0x40
  6311. Local0 = (One << Arg0--)
  6312. If ((Local0 & 0x01FF4000))
  6313. {
  6314. If (Arg1)
  6315. {
  6316. DHKF |= Local0 /* \_SB_.PCI0.LPC0.EC0_.HKEY.DHKF */
  6317. }
  6318. Else
  6319. {
  6320. DHKF &= (Local0 ^ 0xFFFFFFFF)
  6321. }
  6322. }
  6323. Else
  6324. {
  6325. Noop
  6326. }
  6327. }
  6328.  
  6329. Release (XDHK)
  6330. }
  6331.  
  6332. Method (MHKS, 0, NotSerialized)
  6333. {
  6334. Notify (SLPB, 0x80) // Status Change
  6335. }
  6336.  
  6337. Method (MHKC, 1, NotSerialized)
  6338. {
  6339. DHKC = Arg0
  6340. }
  6341.  
  6342. Method (MHKP, 0, NotSerialized)
  6343. {
  6344. Acquire (XDHK, 0xFFFF)
  6345. If (DHWW)
  6346. {
  6347. Local1 = DHWW /* \_SB_.PCI0.LPC0.EC0_.HKEY.DHWW */
  6348. DHWW = Zero
  6349. }
  6350. ElseIf (DHKW)
  6351. {
  6352. Local1 = DHKW /* \_SB_.PCI0.LPC0.EC0_.HKEY.DHKW */
  6353. DHKW = Zero
  6354. }
  6355. ElseIf (DHKD)
  6356. {
  6357. Local1 = DHKD /* \_SB_.PCI0.LPC0.EC0_.HKEY.DHKD */
  6358. DHKD = Zero
  6359. }
  6360. ElseIf (DHKS)
  6361. {
  6362. Local1 = DHKS /* \_SB_.PCI0.LPC0.EC0_.HKEY.DHKS */
  6363. DHKS = Zero
  6364. }
  6365. ElseIf (DHKT)
  6366. {
  6367. Local1 = DHKT /* \_SB_.PCI0.LPC0.EC0_.HKEY.DHKT */
  6368. DHKT = Zero
  6369. }
  6370. Else
  6371. {
  6372. Local1 = DHKH /* \_SB_.PCI0.LPC0.EC0_.HKEY.DHKH */
  6373. DHKH = Zero
  6374. }
  6375.  
  6376. Release (XDHK)
  6377. Return (Local1)
  6378. }
  6379.  
  6380. Method (MHKE, 1, Serialized)
  6381. {
  6382. DHKB = Arg0
  6383. Acquire (XDHK, 0xFFFF)
  6384. DHKH = Zero
  6385. DHKW = Zero
  6386. DHKS = Zero
  6387. DHKD = Zero
  6388. DHKT = Zero
  6389. DHWW = Zero
  6390. Release (XDHK)
  6391. }
  6392.  
  6393. Method (MHKQ, 1, Serialized)
  6394. {
  6395. If (DHKB)
  6396. {
  6397. If (DHKC)
  6398. {
  6399. Acquire (XDHK, 0xFFFF)
  6400. If ((Arg0 < 0x1000)){}
  6401. ElseIf ((Arg0 < 0x2000))
  6402. {
  6403. DHKH = Arg0
  6404. }
  6405. ElseIf ((Arg0 < 0x3000))
  6406. {
  6407. DHKW = Arg0
  6408. }
  6409. ElseIf ((Arg0 < 0x4000))
  6410. {
  6411. DHKS = Arg0
  6412. }
  6413. ElseIf ((Arg0 < 0x5000))
  6414. {
  6415. DHKD = Arg0
  6416. }
  6417. ElseIf ((Arg0 < 0x6000))
  6418. {
  6419. DHKH = Arg0
  6420. }
  6421. ElseIf ((Arg0 < 0x7000))
  6422. {
  6423. DHKT = Arg0
  6424. }
  6425. ElseIf ((Arg0 < 0x8000))
  6426. {
  6427. DHWW = Arg0
  6428. }
  6429. Else
  6430. {
  6431. }
  6432.  
  6433. Release (XDHK)
  6434. Notify (HKEY, 0x80) // Status Change
  6435. }
  6436. ElseIf ((Arg0 == 0x1004))
  6437. {
  6438. Notify (SLPB, 0x80) // Status Change
  6439. }
  6440. }
  6441. }
  6442.  
  6443. Method (MHKB, 1, NotSerialized)
  6444. {
  6445. If ((Arg0 == 0x00))
  6446. {
  6447. BEEP (0x11)
  6448. LIDB = 0x00
  6449. }
  6450. ElseIf ((Arg0 == 0x01))
  6451. {
  6452. BEEP (0x10)
  6453. LIDB = 0x01
  6454. }
  6455. Else
  6456. {
  6457. }
  6458. }
  6459.  
  6460. Method (MHKD, 0, NotSerialized)
  6461. {
  6462. If ((PLUX == 0x00)){}
  6463. }
  6464.  
  6465. Method (MHQC, 1, NotSerialized)
  6466. {
  6467. If (WNTF)
  6468. {
  6469. If ((Arg0 == 0x00))
  6470. {
  6471. Return (CWAC) /* \CWAC */
  6472. }
  6473. ElseIf ((Arg0 == 0x01))
  6474. {
  6475. Return (CWAP) /* \CWAP */
  6476. }
  6477. ElseIf ((Arg0 == 0x02))
  6478. {
  6479. Return (CWAT) /* \CWAT */
  6480. }
  6481. Else
  6482. {
  6483. Noop
  6484. }
  6485. }
  6486. Else
  6487. {
  6488. Noop
  6489. }
  6490.  
  6491. Return (0x00)
  6492. }
  6493.  
  6494. Method (MHGC, 0, NotSerialized)
  6495. {
  6496. If (WNTF)
  6497. {
  6498. Acquire (XDHK, 0xFFFF)
  6499. If (CKC4 (0x00))
  6500. {
  6501. Local0 = 0x03
  6502. }
  6503. Else
  6504. {
  6505. Local0 = 0x04
  6506. }
  6507.  
  6508. Release (XDHK)
  6509. Return (Local0)
  6510. }
  6511. Else
  6512. {
  6513. Noop
  6514. }
  6515.  
  6516. Return (0x00)
  6517. }
  6518.  
  6519. Method (MHSC, 1, NotSerialized)
  6520. {
  6521. }
  6522.  
  6523. Method (CKC4, 1, NotSerialized)
  6524. {
  6525. Local0 = 0x00
  6526. If (C4WR)
  6527. {
  6528. If (!C4AC)
  6529. {
  6530. Local0 |= 0x01
  6531. }
  6532. }
  6533.  
  6534. If (C4NA)
  6535. {
  6536. Local0 |= 0x02
  6537. }
  6538.  
  6539. If ((CWAC && CWAS))
  6540. {
  6541. Local0 |= 0x04
  6542. }
  6543.  
  6544. Local0 &= ~Arg0
  6545. Return (Local0)
  6546. }
  6547.  
  6548. Method (MHQE, 0, NotSerialized)
  6549. {
  6550. Return (0x00)
  6551. }
  6552.  
  6553. Method (MHGE, 0, NotSerialized)
  6554. {
  6555. If ((C4WR && C4AC))
  6556. {
  6557. Return (0x04)
  6558. }
  6559.  
  6560. Return (0x03)
  6561. }
  6562.  
  6563. Method (MHSE, 1, NotSerialized)
  6564. {
  6565. }
  6566.  
  6567. Method (UAWO, 1, NotSerialized)
  6568. {
  6569. Return (UAWS (Arg0))
  6570. }
  6571.  
  6572. Method (MLCG, 1, NotSerialized)
  6573. {
  6574. Local0 = KBLS (0x00, 0x00)
  6575. Return (Local0)
  6576. }
  6577.  
  6578. Method (MLCS, 1, NotSerialized)
  6579. {
  6580. Local0 = KBLS (0x01, Arg0)
  6581. If (!(Local0 & 0x80000000))
  6582. {
  6583. If ((Arg0 & 0x00010000))
  6584. {
  6585. MHKQ (0x6001)
  6586. }
  6587. ElseIf (MHKK (0x01, 0x00020000))
  6588. {
  6589. MHKQ (0x1012)
  6590. }
  6591. }
  6592.  
  6593. Return (Local0)
  6594. }
  6595.  
  6596. Method (DSSG, 1, NotSerialized)
  6597. {
  6598. Local0 = (0x0400 | PDCI) /* \PDCI */
  6599. Return (Local0)
  6600. }
  6601.  
  6602. Method (DSSS, 1, NotSerialized)
  6603. {
  6604. PDCI |= Arg0
  6605. }
  6606.  
  6607. Method (SBSG, 1, NotSerialized)
  6608. {
  6609. Return (SYBC (0x00, 0x00))
  6610. }
  6611.  
  6612. Method (SBSS, 1, NotSerialized)
  6613. {
  6614. Return (SYBC (0x01, Arg0))
  6615. }
  6616.  
  6617. Method (PBLG, 1, NotSerialized)
  6618. {
  6619. Local0 = BRLV /* \BRLV */
  6620. Local1 = (Local0 | 0x0F00)
  6621. Return (Local1)
  6622. }
  6623.  
  6624. Method (PBLS, 1, NotSerialized)
  6625. {
  6626. BRLV = Arg0
  6627. If (VIGD){}
  6628. Else
  6629. {
  6630. VBRC (BRLV)
  6631. }
  6632.  
  6633. If (!NBCF)
  6634. {
  6635. MHKQ (0x6050)
  6636. }
  6637.  
  6638. Return (0x00)
  6639. }
  6640.  
  6641. Method (PMSG, 1, NotSerialized)
  6642. {
  6643. Local0 = PRSM (0x00, 0x00)
  6644. Return (Local0)
  6645. }
  6646.  
  6647. Method (PMSS, 1, NotSerialized)
  6648. {
  6649. PRSM (0x01, Arg0)
  6650. Return (0x00)
  6651. }
  6652.  
  6653. Method (ISSG, 1, NotSerialized)
  6654. {
  6655. Local0 = ISSP /* \ISSP */
  6656. If (ISSP)
  6657. {
  6658. Local0 |= 0x01000000
  6659. Local0 |= (ISFS << 0x19)
  6660. }
  6661.  
  6662. Local0 |= (ISCG & 0x30)
  6663. Local0 &= 0xFFFFFFFE
  6664. Local0 |= 0x02
  6665. Local0 |= ((ISWK & 0x02) << 0x02)
  6666. Return (Local0)
  6667. }
  6668.  
  6669. Method (ISSS, 1, NotSerialized)
  6670. {
  6671. ISCG = Arg0
  6672. Return (0x00)
  6673. }
  6674.  
  6675. Method (FFSG, 1, NotSerialized)
  6676. {
  6677. Return (0x00)
  6678. }
  6679.  
  6680. Method (FFSS, 1, NotSerialized)
  6681. {
  6682. Return (0x80000000)
  6683. }
  6684.  
  6685. Method (GMKS, 0, NotSerialized)
  6686. {
  6687. Return (FNSC (0x02, 0x00))
  6688. }
  6689.  
  6690. Method (SMKS, 1, NotSerialized)
  6691. {
  6692. Local0 = FNSC (0x03, (Arg0 & 0x00010001))
  6693. MHKQ (0x6060)
  6694. Return (Local0)
  6695. }
  6696.  
  6697. Method (GSKL, 1, NotSerialized)
  6698. {
  6699. Return (FNSC (0x04, (Arg0 & 0x0F000000)))
  6700. }
  6701.  
  6702. Method (SSKL, 1, NotSerialized)
  6703. {
  6704. Return (FNSC (0x05, (Arg0 & 0x0F00FFFF)))
  6705. }
  6706.  
  6707. Method (INSG, 1, NotSerialized)
  6708. {
  6709. Local0 = IOEN /* \IOEN */
  6710. Local0 |= (IOST << 0x07)
  6711. Local0 |= (IOCP << 0x08)
  6712. Local0 |= 0x10000000
  6713. Return (Local0)
  6714. }
  6715.  
  6716. Method (INSS, 1, NotSerialized)
  6717. {
  6718. If ((Arg0 & 0x10000000))
  6719. {
  6720. If (IOCP)
  6721. {
  6722. Local0 = ((Arg0 & 0x80) >> 0x07)
  6723. If (!EZRC (Local0))
  6724. {
  6725. IOST = Local0
  6726. }
  6727. }
  6728.  
  6729. Return (0x00)
  6730. }
  6731.  
  6732. If ((IOCP && (Arg0 & 0x01)))
  6733. {
  6734. IOEN = 0x01
  6735. }
  6736. Else
  6737. {
  6738. IOEN = 0x00
  6739. If (IOST)
  6740. {
  6741. If (!ISOC (0x00))
  6742. {
  6743. IOST = 0x00
  6744. }
  6745. }
  6746. }
  6747.  
  6748. Return (0x00)
  6749. }
  6750. }
  6751.  
  6752. Scope (HKEY)
  6753. {
  6754. Name (INDV, 0x00)
  6755. Method (MHQI, 0, NotSerialized)
  6756. {
  6757. Return (0x00)
  6758. }
  6759.  
  6760. Method (MHGI, 1, NotSerialized)
  6761. {
  6762. Name (RETB, Buffer (0x10){})
  6763. CreateByteField (RETB, 0x00, MHGS)
  6764. Local0 = (0x01 << Arg0)
  6765. If ((INDV & Local0))
  6766. {
  6767. If ((Arg0 == 0x00))
  6768. {
  6769. CreateField (RETB, 0x08, 0x78, BRBU)
  6770. BRBU = IPMB /* \IPMB */
  6771. MHGS = 0x10
  6772. }
  6773. ElseIf ((Arg0 == 0x01))
  6774. {
  6775. CreateField (RETB, 0x08, 0x18, RRBU)
  6776. RRBU = IPMR /* \IPMR */
  6777. MHGS = 0x04
  6778. }
  6779. ElseIf ((Arg0 == 0x08))
  6780. {
  6781. CreateField (RETB, 0x10, 0x18, ODBU)
  6782. CreateByteField (RETB, 0x01, MHGZ)
  6783. ODBU = IPMO /* \IPMO */
  6784. MHGS = 0x05
  6785. }
  6786. ElseIf ((Arg0 == 0x09))
  6787. {
  6788. CreateField (RETB, 0x10, 0x08, AUBU)
  6789. AUBU = IPMA /* \IPMA */
  6790. RETB [0x01] = 0x01
  6791. MHGS = 0x03
  6792. }
  6793. ElseIf ((Arg0 == 0x02))
  6794. {
  6795. Local1 = VDYN (0x00, 0x00)
  6796. RETB [0x02] = (Local1 & 0x0F)
  6797. Local1 >>= 0x04
  6798. RETB [0x01] = (Local1 & 0x0F)
  6799. MHGS = 0x03
  6800. }
  6801. }
  6802.  
  6803. Return (RETB) /* \_SB_.PCI0.LPC0.EC0_.HKEY.MHGI.RETB */
  6804. }
  6805.  
  6806. Method (MHSI, 2, NotSerialized)
  6807. {
  6808. Local0 = (0x01 << Arg0)
  6809. If ((INDV & Local0))
  6810. {
  6811. If ((Arg0 == 0x08))
  6812. {
  6813. If (Arg1)
  6814. {
  6815. If (H8DR)
  6816. {
  6817. Local1 = HPBU /* \_SB_.PCI0.LPC0.EC0_.HPBU */
  6818. }
  6819. Else
  6820. {
  6821. Local1 = (RBEC (0x47) & 0x01)
  6822. }
  6823. }
  6824. }
  6825. ElseIf ((Arg0 == 0x02))
  6826. {
  6827. VDYN (0x01, Arg1)
  6828. }
  6829. }
  6830. }
  6831. }
  6832.  
  6833. Scope (\_SB.PCI0.LPC0.EC0)
  6834. {
  6835. OperationRegion (FAD5, SystemMemory, 0xFED815AA, 0x01)
  6836. Field (FAD5, ByteAcc, NoLock, Preserve)
  6837. {
  6838. , 6,
  6839. FAD6, 1,
  6840. Offset (0x01)
  6841. }
  6842.  
  6843. OperationRegion (CMS7, SystemMemory, 0xFED80700, 0x80)
  6844. Field (CMS7, ByteAcc, NoLock, Preserve)
  6845. {
  6846. Offset (0x51),
  6847. , 1,
  6848. CM8D, 1,
  6849. CM8J, 1,
  6850. Offset (0x52)
  6851. }
  6852.  
  6853. Method (_Q6A, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
  6854. {
  6855. If ((CM8J == 0x01))
  6856. {
  6857. If ((CM8D == 0x01))
  6858. {
  6859. CM8D = 0x00
  6860. }
  6861. Else
  6862. {
  6863. CM8D = 0x01
  6864. }
  6865. }
  6866.  
  6867. If (HDMC)
  6868. {
  6869. Noop
  6870. }
  6871. ElseIf (^HKEY.MHKK (0x01, 0x04000000))
  6872. {
  6873. ^HKEY.MHKQ (0x101B)
  6874. }
  6875. }
  6876. }
  6877.  
  6878. Scope (HKEY)
  6879. {
  6880. Method (MMTG, 0, NotSerialized)
  6881. {
  6882. Local0 = 0x0101
  6883. If (HDMC)
  6884. {
  6885. Local0 |= 0x00010000
  6886. }
  6887.  
  6888. Return (Local0)
  6889. }
  6890.  
  6891. Method (MMTS, 1, NotSerialized)
  6892. {
  6893. If (HDMC){}
  6894. ElseIf ((Arg0 == 0x02))
  6895. {
  6896. MICM = 0x01
  6897. }
  6898. ElseIf ((Arg0 == 0x03)){}
  6899. Else
  6900. {
  6901. MICM = 0x00
  6902. }
  6903. }
  6904. }
  6905.  
  6906. Scope (HKEY)
  6907. {
  6908. Method (PWMC, 0, NotSerialized)
  6909. {
  6910. Return (0x00)
  6911. }
  6912.  
  6913. Method (PWMG, 0, NotSerialized)
  6914. {
  6915. Local0 = PWMH /* \_SB_.PCI0.LPC0.EC0_.PWMH */
  6916. Local0 <<= 0x08
  6917. Local0 |= PWML /* \_SB_.PCI0.LPC0.EC0_.PWML */
  6918. Return (Local0)
  6919. }
  6920. }
  6921.  
  6922. Scope (\_SB.PCI0.LPC0.EC0)
  6923. {
  6924. Method (_Q3F, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
  6925. {
  6926. ^HKEY.MHKQ (0x6000)
  6927. }
  6928.  
  6929. Method (_Q74, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
  6930. {
  6931. ^HKEY.MHKQ (0x6060)
  6932. }
  6933. }
  6934.  
  6935. Scope (HKEY)
  6936. {
  6937. }
  6938.  
  6939. Scope (\_SB.PCI0.LPC0.EC0)
  6940. {
  6941. Name (BTBF, Buffer (0x0100)
  6942. {
  6943. 0x00 // .
  6944. })
  6945. Method (BTIF, 0, NotSerialized)
  6946. {
  6947. BTBF = TWBT /* \_SB_.PCI0.LPC0.EC0_.TWBT */
  6948. Return (BTBF) /* \_SB_.PCI0.LPC0.EC0_.BTBF */
  6949. }
  6950. }
  6951.  
  6952. Scope (HKEY)
  6953. {
  6954. Method (SBIG, 1, NotSerialized)
  6955. {
  6956. Return (BTIF ())
  6957. }
  6958. }
  6959.  
  6960. OperationRegion (ECMM, SystemMemory, 0xFE00D000, 0x1000)
  6961. Field (ECMM, AnyAcc, Lock, Preserve)
  6962. {
  6963. Offset (0x2BF),
  6964. WLMD, 1,
  6965. , 6,
  6966. ACOS, 1,
  6967. Offset (0x3D7),
  6968. OTYE, 3,
  6969. Offset (0x3D9),
  6970. S3ST, 1,
  6971. S3RM, 1,
  6972. S4ST, 1,
  6973. S4RM, 1,
  6974. S5ST, 1,
  6975. S5RM, 1,
  6976. Offset (0x3DA),
  6977. Offset (0x3DC),
  6978. NPST, 5,
  6979. Offset (0x4A7),
  6980. OSTT, 8,
  6981. OSST, 8,
  6982. THLT, 8,
  6983. TCNL, 8,
  6984. MODE, 1,
  6985. , 2,
  6986. INIT, 1,
  6987. FAN1, 1,
  6988. FAN2, 1,
  6989. FANT, 1,
  6990. SKNM, 1,
  6991. SDTM, 8,
  6992. FSSN, 4,
  6993. FANU, 4,
  6994. , 6,
  6995. SWTO, 1,
  6996. TTHR, 1,
  6997. TTHM, 1,
  6998. THTL, 1,
  6999. , 2,
  7000. Offset (0x4B0),
  7001. CTMP, 8,
  7002. CTML, 8,
  7003. SKTA, 8,
  7004. SKTB, 8,
  7005. SKTC, 8,
  7006. Offset (0x4B6),
  7007. NTMP, 8,
  7008. Offset (0x4B8),
  7009. Offset (0x580),
  7010. , 6,
  7011. LGBF, 1,
  7012. BTLF, 1,
  7013. Offset (0x965),
  7014. OSML, 8,
  7015. OSMH, 8,
  7016. Offset (0xE00),
  7017. TWBT, 2048,
  7018. T2BT, 2048
  7019. }
  7020.  
  7021. Scope (HKEY)
  7022. {
  7023. Name (LQCS, 0x00)
  7024. Name (AM00, 0x00)
  7025. Name (AM01, 0x00)
  7026. Name (AM02, 0x00)
  7027. Name (AM03, 0x00)
  7028. Name (AM04, 0x00)
  7029. Name (AM05, 0x00)
  7030. Name (AM06, 0x00)
  7031. Name (AM07, 0x00)
  7032. Name (AM08, 0x00)
  7033. Name (AM09, 0x00)
  7034. Name (AM0A, 0x00)
  7035. Name (AM0B, 0x00)
  7036. Name (AM0C, 0x00)
  7037. Name (AM0D, 0x00)
  7038. Name (AM0E, 0x00)
  7039. Name (AM0F, 0x00)
  7040. Method (LQCC, 1, NotSerialized)
  7041. {
  7042. If (((Arg0 & 0xFFFF) == 0x0100))
  7043. {
  7044. AM00 = HAM0 /* \_SB_.PCI0.LPC0.EC0_.HAM0 */
  7045. AM01 = HAM1 /* \_SB_.PCI0.LPC0.EC0_.HAM1 */
  7046. AM02 = HAM2 /* \_SB_.PCI0.LPC0.EC0_.HAM2 */
  7047. AM03 = HAM3 /* \_SB_.PCI0.LPC0.EC0_.HAM3 */
  7048. AM04 = HAM4 /* \_SB_.PCI0.LPC0.EC0_.HAM4 */
  7049. AM05 = HAM5 /* \_SB_.PCI0.LPC0.EC0_.HAM5 */
  7050. AM06 = HAM6 /* \_SB_.PCI0.LPC0.EC0_.HAM6 */
  7051. AM07 = HAM7 /* \_SB_.PCI0.LPC0.EC0_.HAM7 */
  7052. AM08 = HAM8 /* \_SB_.PCI0.LPC0.EC0_.HAM8 */
  7053. AM09 = HAM9 /* \_SB_.PCI0.LPC0.EC0_.HAM9 */
  7054. AM0A = HAMA /* \_SB_.PCI0.LPC0.EC0_.HAMA */
  7055. AM0B = HAMB /* \_SB_.PCI0.LPC0.EC0_.HAMB */
  7056. AM0C = HAMC /* \_SB_.PCI0.LPC0.EC0_.HAMC */
  7057. AM0D = HAMD /* \_SB_.PCI0.LPC0.EC0_.HAMD */
  7058. AM0E = HAME /* \_SB_.PCI0.LPC0.EC0_.HAME */
  7059. AM0F = HAMF /* \_SB_.PCI0.LPC0.EC0_.HAMF */
  7060. LQCS = 0x01
  7061. Return (0x01)
  7062. }
  7063. ElseIf (((Arg0 & 0xFFFF) == 0x0101))
  7064. {
  7065. If ((LQCS == 0x01))
  7066. {
  7067. If (((Arg0 & 0x00010000) == 0x00010000))
  7068. {
  7069. HAM0 = (AM00 & 0xFF)
  7070. HAM1 = (AM01 & 0xFF)
  7071. HAM2 = (AM02 & 0x87)
  7072. HAM3 = (AM03 & 0x4D)
  7073. HAM4 = (AM04 & 0xFF)
  7074. HAM5 = (AM05 & 0xFF)
  7075. HAM6 = (AM06 & 0xFF)
  7076. HAM7 = (AM07 & 0x8F)
  7077. HAM8 = (AM08 & 0xF7)
  7078. HAM9 = (AM09 & 0xFF)
  7079. HAMA = (AM0A & 0xFF)
  7080. HAMB = (AM0B & 0xFF)
  7081. HAMC = (AM0C & 0x00)
  7082. HAMD = (AM0D & 0xE0)
  7083. HAME = (AM0E & 0xE2)
  7084. HAMF = (AM0F & 0xFF)
  7085. QCON = 0x01
  7086. Return (0x00)
  7087. }
  7088. ElseIf (((Arg0 & 0x00010000) == 0x00))
  7089. {
  7090. HAM0 = AM00 /* \_SB_.PCI0.LPC0.EC0_.HKEY.AM00 */
  7091. HAM1 = AM01 /* \_SB_.PCI0.LPC0.EC0_.HKEY.AM01 */
  7092. HAM2 = AM02 /* \_SB_.PCI0.LPC0.EC0_.HKEY.AM02 */
  7093. HAM3 = AM03 /* \_SB_.PCI0.LPC0.EC0_.HKEY.AM03 */
  7094. HAM4 = AM04 /* \_SB_.PCI0.LPC0.EC0_.HKEY.AM04 */
  7095. HAM5 = AM05 /* \_SB_.PCI0.LPC0.EC0_.HKEY.AM05 */
  7096. HAM6 = AM06 /* \_SB_.PCI0.LPC0.EC0_.HKEY.AM06 */
  7097. HAM7 = AM07 /* \_SB_.PCI0.LPC0.EC0_.HKEY.AM07 */
  7098. HAM8 = AM08 /* \_SB_.PCI0.LPC0.EC0_.HKEY.AM08 */
  7099. HAM9 = AM09 /* \_SB_.PCI0.LPC0.EC0_.HKEY.AM09 */
  7100. HAMA = AM0A /* \_SB_.PCI0.LPC0.EC0_.HKEY.AM0A */
  7101. HAMB = AM0B /* \_SB_.PCI0.LPC0.EC0_.HKEY.AM0B */
  7102. HAMC = AM0C /* \_SB_.PCI0.LPC0.EC0_.HKEY.AM0C */
  7103. HAMD = AM0D /* \_SB_.PCI0.LPC0.EC0_.HKEY.AM0D */
  7104. HAME = AM0E /* \_SB_.PCI0.LPC0.EC0_.HKEY.AM0E */
  7105. HAMF = AM0F /* \_SB_.PCI0.LPC0.EC0_.HKEY.AM0F */
  7106. QCON = 0x00
  7107. Return (0x00)
  7108. }
  7109. }
  7110. }
  7111.  
  7112. Return (0x10000000)
  7113. }
  7114. }
  7115. }
  7116. }
  7117. }
  7118.  
  7119. Device (LID)
  7120. {
  7121. Name (_HID, EisaId ("PNP0C0D") /* Lid Device */) // _HID: Hardware ID
  7122. OperationRegion (ASDF, SystemIO, 0x72, 0x02)
  7123. Field (ASDF, ByteAcc, NoLock, Preserve)
  7124. {
  7125. INDX, 8,
  7126. DATA, 8
  7127. }
  7128.  
  7129. IndexField (INDX, DATA, ByteAcc, NoLock, Preserve)
  7130. {
  7131. Offset (0x8E),
  7132. SDFG, 8
  7133. }
  7134.  
  7135. Method (_LID, 0, NotSerialized) // _LID: Lid Status
  7136. {
  7137. If (H8DR)
  7138. {
  7139. SDFG = ^^PCI0.LPC0.EC0.HPLD /* \_SB_.PCI0.LPC0.EC0_.HPLD */
  7140. Return (^^PCI0.LPC0.EC0.HPLD) /* \_SB_.PCI0.LPC0.EC0_.HPLD */
  7141. }
  7142. ElseIf ((RBEC (0x46) & 0x04))
  7143. {
  7144. Return (0x01)
  7145. }
  7146. Else
  7147. {
  7148. Return (0x00)
  7149. }
  7150. }
  7151.  
  7152. Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
  7153. {
  7154. If (LWCP)
  7155. {
  7156. Return (Package (0x02)
  7157. {
  7158. 0x08,
  7159. 0x04
  7160. })
  7161. }
  7162. Else
  7163. {
  7164. Return (Package (0x02)
  7165. {
  7166. 0x08,
  7167. 0x03
  7168. })
  7169. }
  7170. }
  7171.  
  7172. Method (_PSW, 1, NotSerialized) // _PSW: Power State Wake
  7173. {
  7174. If (H8DR)
  7175. {
  7176. If (Arg0)
  7177. {
  7178. ^^PCI0.LPC0.EC0.HWLO = 0x01
  7179. }
  7180. Else
  7181. {
  7182. ^^PCI0.LPC0.EC0.HWLO = 0x00
  7183. }
  7184. }
  7185. ElseIf (Arg0)
  7186. {
  7187. MBEC (0x32, 0xFF, 0x04)
  7188. }
  7189. Else
  7190. {
  7191. MBEC (0x32, 0xFB, 0x00)
  7192. }
  7193.  
  7194. If (LWCP)
  7195. {
  7196. If (Arg0)
  7197. {
  7198. LWEN = 0x01
  7199. ^^PCI0.LPC0.EC0.BTPC = 0x01
  7200. }
  7201. Else
  7202. {
  7203. LWEN = 0x00
  7204. ^^PCI0.LPC0.EC0.BTPC = 0x00
  7205. }
  7206. }
  7207. }
  7208. }
  7209.  
  7210. Device (SLPB)
  7211. {
  7212. Name (_HID, EisaId ("PNP0C0E") /* Sleep Button Device */) // _HID: Hardware ID
  7213. Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
  7214. {
  7215. Return (Package (0x02)
  7216. {
  7217. 0x08,
  7218. 0x03
  7219. })
  7220. }
  7221.  
  7222. Method (_PSW, 1, NotSerialized) // _PSW: Power State Wake
  7223. {
  7224. If (H8DR)
  7225. {
  7226. If (Arg0)
  7227. {
  7228. ^^PCI0.LPC0.EC0.HWFN = 0x01
  7229. }
  7230. Else
  7231. {
  7232. ^^PCI0.LPC0.EC0.HWFN = 0x00
  7233. }
  7234. }
  7235. ElseIf (Arg0)
  7236. {
  7237. MBEC (0x32, 0xFF, 0x10)
  7238. }
  7239. Else
  7240. {
  7241. MBEC (0x32, 0xEF, 0x00)
  7242. }
  7243. }
  7244. }
  7245.  
  7246. Scope (PCI0.LPC0.EC0)
  7247. {
  7248. Method (_Q43, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
  7249. {
  7250. If ((^HKEY.DHKC == 0x00))
  7251. {
  7252. HMUT = 0x00
  7253. }
  7254.  
  7255. SCMS (0x18)
  7256. }
  7257.  
  7258. Method (SAUM, 1, NotSerialized)
  7259. {
  7260. If ((Arg0 > 0x03))
  7261. {
  7262. Noop
  7263. }
  7264. ElseIf (H8DR)
  7265. {
  7266. HAUM = Arg0
  7267. }
  7268. Else
  7269. {
  7270. MBEC (0x03, 0x9F, (Arg0 << 0x05))
  7271. }
  7272. }
  7273. }
  7274.  
  7275. Scope (PCI0.LPC0.EC0.HKEY)
  7276. {
  7277. OperationRegion (FAD7, SystemMemory, 0xFED81652, 0x01)
  7278. Field (FAD7, ByteAcc, NoLock, Preserve)
  7279. {
  7280. , 6,
  7281. FAD8, 1,
  7282. Offset (0x01)
  7283. }
  7284.  
  7285. OperationRegion (CMS8, SystemMemory, 0xFED80700, 0x80)
  7286. Field (CMS8, ByteAcc, NoLock, Preserve)
  7287. {
  7288. Offset (0x51),
  7289. CM8C, 1,
  7290. , 1,
  7291. CM8I, 1,
  7292. Offset (0x52)
  7293. }
  7294.  
  7295. Method (GSMS, 1, NotSerialized)
  7296. {
  7297. Return (AUDC (0x00, 0x00))
  7298. }
  7299.  
  7300. Method (SSMS, 1, NotSerialized)
  7301. {
  7302. If ((Arg0 == 0x00)){}
  7303. Else
  7304. {
  7305. }
  7306.  
  7307. Return (AUDC (0x01, (Arg0 & 0x01)))
  7308. }
  7309.  
  7310. Method (SHDA, 1, NotSerialized)
  7311. {
  7312. Return (AUDC (0x02, (Arg0 & 0x01)))
  7313. }
  7314. }
  7315.  
  7316. Scope (PCI0.LPC0.EC0)
  7317. {
  7318. Name (BRTW, Package (0x12)
  7319. {
  7320. 0x64,
  7321. 0x64,
  7322. 0x05,
  7323. 0x0A,
  7324. 0x14,
  7325. 0x19,
  7326. 0x1E,
  7327. 0x23,
  7328. 0x28,
  7329. 0x2D,
  7330. 0x32,
  7331. 0x37,
  7332. 0x3C,
  7333. 0x41,
  7334. 0x46,
  7335. 0x50,
  7336. 0x5A,
  7337. 0x64
  7338. })
  7339. Name (BRTB, Package (0x04)
  7340. {
  7341. Package (0x16)
  7342. {
  7343. 0x1E,
  7344. 0x04,
  7345. 0x04,
  7346. 0x07,
  7347. 0x0A,
  7348. 0x0E,
  7349. 0x11,
  7350. 0x16,
  7351. 0x1B,
  7352. 0x21,
  7353. 0x29,
  7354. 0x32,
  7355. 0x3C,
  7356. 0x46,
  7357. 0x64,
  7358. 0x8C,
  7359. 0xB4,
  7360. 0xFF,
  7361. 0x04E2,
  7362. 0x04E2,
  7363. 0x04,
  7364. 0x04
  7365. },
  7366.  
  7367. Package (0x16)
  7368. {
  7369. 0x28,
  7370. 0x04,
  7371. 0x04,
  7372. 0x07,
  7373. 0x0A,
  7374. 0x0E,
  7375. 0x11,
  7376. 0x16,
  7377. 0x1B,
  7378. 0x21,
  7379. 0x29,
  7380. 0x32,
  7381. 0x3C,
  7382. 0x46,
  7383. 0x64,
  7384. 0x8C,
  7385. 0xB4,
  7386. 0xFF,
  7387. 0x04E2,
  7388. 0x04E2,
  7389. 0x04,
  7390. 0x04
  7391. },
  7392.  
  7393. Package (0x16)
  7394. {
  7395. 0x32,
  7396. 0x04,
  7397. 0x04,
  7398. 0x07,
  7399. 0x0A,
  7400. 0x0E,
  7401. 0x11,
  7402. 0x16,
  7403. 0x1B,
  7404. 0x21,
  7405. 0x29,
  7406. 0x32,
  7407. 0x3C,
  7408. 0x46,
  7409. 0x64,
  7410. 0x8C,
  7411. 0xB4,
  7412. 0xFF,
  7413. 0x04E2,
  7414. 0x04E2,
  7415. 0x04,
  7416. 0x04
  7417. },
  7418.  
  7419. Package (0x16)
  7420. {
  7421. 0x19,
  7422. 0x04,
  7423. 0x04,
  7424. 0x07,
  7425. 0x0A,
  7426. 0x0E,
  7427. 0x13,
  7428. 0x17,
  7429. 0x1C,
  7430. 0x23,
  7431. 0x2C,
  7432. 0x33,
  7433. 0x3E,
  7434. 0x53,
  7435. 0x78,
  7436. 0x9C,
  7437. 0xCE,
  7438. 0xFF,
  7439. 0x04E2,
  7440. 0x04E2,
  7441. 0x04,
  7442. 0x04
  7443. }
  7444. })
  7445. Method (_Q14, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
  7446. {
  7447. If (^HKEY.MHKK (0x01, 0x8000))
  7448. {
  7449. ^HKEY.MHKQ (0x1010)
  7450. }
  7451.  
  7452. Notify (^^^GP17.VGA.LCD, 0x86) // Device-Specific
  7453. }
  7454.  
  7455. Method (_Q15, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
  7456. {
  7457. If (^HKEY.MHKK (0x01, 0x00010000))
  7458. {
  7459. ^HKEY.MHKQ (0x1011)
  7460. }
  7461.  
  7462. Notify (^^^GP17.VGA.LCD, 0x87) // Device-Specific
  7463. }
  7464.  
  7465. Method (BFRQ, 0, NotSerialized)
  7466. {
  7467. Local0 = 0x80000100
  7468. Local1 = DerefOf (DerefOf (BRTB [BNTN]) [0x13])
  7469. Local0 |= (Local1 << 0x09)
  7470. Local1 = DerefOf (DerefOf (BRTB [BNTN]) [0x15])
  7471. Local0 |= Local1
  7472. Return (Local0)
  7473. }
  7474. }
  7475.  
  7476. Scope (PCI0.LPC0.EC0)
  7477. {
  7478. Method (_Q19, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
  7479. {
  7480. If (^HKEY.MHKK (0x01, 0x00800000))
  7481. {
  7482. ^HKEY.MHKQ (0x1018)
  7483. }
  7484.  
  7485. SCMS (0x03)
  7486. }
  7487. }
  7488.  
  7489. Scope (PCI0.LPC0.EC0)
  7490. {
  7491. Method (_Q63, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
  7492. {
  7493. If (^HKEY.MHKK (0x01, 0x00080000))
  7494. {
  7495. ^HKEY.MHKQ (0x1014)
  7496. }
  7497.  
  7498. SCMS (0x0B)
  7499. }
  7500. }
  7501.  
  7502. Scope (PCI0.LPC0.EC0)
  7503. {
  7504. Method (_Q70, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
  7505. {
  7506. FNST ()
  7507. }
  7508.  
  7509. Method (_Q72, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
  7510. {
  7511. FNST ()
  7512. }
  7513.  
  7514. Method (_Q73, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
  7515. {
  7516. FNST ()
  7517. }
  7518.  
  7519. Method (FNST, 0, NotSerialized)
  7520. {
  7521. If (H8DR)
  7522. {
  7523. Local0 = HFNS /* \_SB_.PCI0.LPC0.EC0_.HFNS */
  7524. Local1 = HFNE /* \_SB_.PCI0.LPC0.EC0_.HFNE */
  7525. }
  7526. Else
  7527. {
  7528. Local0 = (RBEC (0x0E) & 0x03)
  7529. Local1 = (RBEC (0x00) & 0x08)
  7530. }
  7531.  
  7532. If (Local1)
  7533. {
  7534. If ((Local0 == 0x00))
  7535. {
  7536. SCMS (0x11)
  7537. }
  7538.  
  7539. If ((Local0 == 0x01))
  7540. {
  7541. SCMS (0x0F)
  7542. }
  7543.  
  7544. If ((Local0 == 0x02))
  7545. {
  7546. SCMS (0x10)
  7547. }
  7548.  
  7549. ^HKEY.MHKQ (0x6005)
  7550. }
  7551. }
  7552. }
  7553.  
  7554. Scope (PCI0.LPC0.EC0.HKEY)
  7555. {
  7556. Method (GHSL, 1, NotSerialized)
  7557. {
  7558. Return (FNSC (0x00, 0x00))
  7559. }
  7560.  
  7561. Method (SHSL, 1, NotSerialized)
  7562. {
  7563. Return (FNSC (0x01, (Arg0 & 0x00010001)))
  7564. }
  7565. }
  7566.  
  7567. Scope (PCI0.LPC0.EC0.HKEY)
  7568. {
  7569. Name (WGFL, 0x00)
  7570. Method (WSIF, 0, NotSerialized)
  7571. {
  7572. Return (0x00)
  7573. }
  7574.  
  7575. Method (WLSW, 0, NotSerialized)
  7576. {
  7577. Return (0x10010001)
  7578. }
  7579.  
  7580. Method (GWAN, 0, NotSerialized)
  7581. {
  7582. Local0 = 0x00
  7583. If ((WGFL & 0x01))
  7584. {
  7585. Local0 |= 0x01
  7586. }
  7587.  
  7588. If ((WGFL & 0x08))
  7589. {
  7590. Return (Local0)
  7591. }
  7592.  
  7593. If (WPWS ())
  7594. {
  7595. Local0 |= 0x02
  7596. }
  7597.  
  7598. Local0 |= 0x04
  7599. Return (Local0)
  7600. }
  7601.  
  7602. Method (SWAN, 1, NotSerialized)
  7603. {
  7604. If ((Arg0 & 0x02))
  7605. {
  7606. WPWC (0x01)
  7607. }
  7608. Else
  7609. {
  7610. WPWC (0x00)
  7611. }
  7612. }
  7613.  
  7614. Method (GBDC, 0, NotSerialized)
  7615. {
  7616. Local0 = 0x00
  7617. If ((WGFL & 0x10))
  7618. {
  7619. Local0 |= 0x01
  7620. }
  7621.  
  7622. If ((WGFL & 0x80))
  7623. {
  7624. Return (Local0)
  7625. }
  7626.  
  7627. If (BPWS ())
  7628. {
  7629. Local0 |= 0x02
  7630. }
  7631.  
  7632. Local0 |= 0x04
  7633. Return (Local0)
  7634. }
  7635.  
  7636. Method (SBDC, 1, NotSerialized)
  7637. {
  7638. If ((Arg0 & 0x02))
  7639. {
  7640. BPWC (0x01)
  7641. }
  7642. Else
  7643. {
  7644. BPWC (0x00)
  7645. }
  7646. }
  7647.  
  7648. Method (WPWS, 0, NotSerialized)
  7649. {
  7650. If (H8DR)
  7651. {
  7652. Local0 = DCWW /* \_SB_.PCI0.LPC0.EC0_.DCWW */
  7653. }
  7654. Else
  7655. {
  7656. Local0 = ((RBEC (0x3A) & 0x40) >> 0x06)
  7657. }
  7658.  
  7659. Return (Local0)
  7660. }
  7661.  
  7662. Method (WPWC, 1, NotSerialized)
  7663. {
  7664. If ((Arg0 && ((WGFL & 0x01) && !(WGFL & 0x08
  7665. ))))
  7666. {
  7667. If (H8DR)
  7668. {
  7669. DCWW = One
  7670. }
  7671. Else
  7672. {
  7673. MBEC (0x3A, 0xFF, 0x40)
  7674. }
  7675.  
  7676. WGFL |= 0x02
  7677. }
  7678. Else
  7679. {
  7680. If (H8DR)
  7681. {
  7682. DCWW = Zero
  7683. }
  7684. Else
  7685. {
  7686. MBEC (0x3A, 0xBF, 0x00)
  7687. }
  7688.  
  7689. WGFL &= 0xFFFFFFFD
  7690. }
  7691. }
  7692.  
  7693. Method (BPWS, 0, NotSerialized)
  7694. {
  7695. If (H8DR)
  7696. {
  7697. Local0 = DCBD /* \_SB_.PCI0.LPC0.EC0_.DCBD */
  7698. }
  7699. Else
  7700. {
  7701. Local0 = ((RBEC (0x3A) & 0x10) >> 0x04)
  7702. }
  7703.  
  7704. Return (Local0)
  7705. }
  7706.  
  7707. Method (BPWC, 1, NotSerialized)
  7708. {
  7709. If ((Arg0 && ((WGFL & 0x10) && !(WGFL & 0x80
  7710. ))))
  7711. {
  7712. If (H8DR)
  7713. {
  7714. DCBD = One
  7715. }
  7716. Else
  7717. {
  7718. MBEC (0x3A, 0xFF, 0x10)
  7719. }
  7720.  
  7721. WGFL |= 0x20
  7722. }
  7723. Else
  7724. {
  7725. If (H8DR)
  7726. {
  7727. DCBD = Zero
  7728. }
  7729. Else
  7730. {
  7731. MBEC (0x3A, 0xEF, 0x00)
  7732. }
  7733.  
  7734. WGFL &= 0xFFFFFFDF
  7735. }
  7736. }
  7737.  
  7738. Method (WGIN, 0, NotSerialized)
  7739. {
  7740. WGFL = 0x00
  7741. WGFL = WGSV (0x01)
  7742. If (WIN8)
  7743. {
  7744. If ((WGFL && 0x10))
  7745. {
  7746. BPWC (0x01)
  7747. }
  7748. }
  7749.  
  7750. If (WPWS ())
  7751. {
  7752. WGFL |= 0x02
  7753. }
  7754.  
  7755. If (BPWS ())
  7756. {
  7757. WGFL |= 0x20
  7758. }
  7759. }
  7760.  
  7761. Method (WGPS, 1, NotSerialized)
  7762. {
  7763. If ((Arg0 >= 0x04))
  7764. {
  7765. BLTH (0x05)
  7766. }
  7767. }
  7768.  
  7769. Method (WGWK, 1, NotSerialized)
  7770. {
  7771. Noop
  7772. }
  7773. }
  7774.  
  7775. Scope (PCI0.LPC0.EC0)
  7776. {
  7777. Method (_Q41, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
  7778. {
  7779. ^HKEY.MHKQ (0x7000)
  7780. }
  7781. }
  7782.  
  7783. Device (WMI1)
  7784. {
  7785. Name (_HID, EisaId ("PNP0C14") /* Windows Management Instrumentation Device */) // _HID: Hardware ID
  7786. Name (_UID, 0x01) // _UID: Unique ID
  7787. Name (_WDG, Buffer (0xF0)
  7788. {
  7789. /* 0000 */ 0x0E, 0x23, 0xF5, 0x51, 0x77, 0x96, 0xCD, 0x46, // .#.Qw..F
  7790. /* 0008 */ 0xA1, 0xCF, 0xC0, 0xB2, 0x3E, 0xE3, 0x4D, 0xB7, // ....>.M.
  7791. /* 0010 */ 0x41, 0x30, 0xFF, 0x05, 0x64, 0x9A, 0x47, 0x98, // A0..d.G.
  7792. /* 0018 */ 0xF5, 0x33, 0x33, 0x4E, 0xA7, 0x07, 0x8E, 0x25, // .33N...%
  7793. /* 0020 */ 0x1E, 0xBB, 0xC3, 0xA1, 0x41, 0x31, 0x01, 0x06, // ....A1..
  7794. /* 0028 */ 0xEF, 0x54, 0x4B, 0x6A, 0xED, 0xA5, 0x33, 0x4D, // .TKj..3M
  7795. /* 0030 */ 0x94, 0x55, 0xB0, 0xD9, 0xB4, 0x8D, 0xF4, 0xB3, // .U......
  7796. /* 0038 */ 0x41, 0x32, 0x01, 0x06, 0xB6, 0xEB, 0xF1, 0x74, // A2.....t
  7797. /* 0040 */ 0x7A, 0x92, 0x7D, 0x4C, 0x95, 0xDF, 0x69, 0x8E, // z.}L..i.
  7798. /* 0048 */ 0x21, 0xE8, 0x0E, 0xB5, 0x41, 0x33, 0x01, 0x06, // !...A3..
  7799. /* 0050 */ 0xFF, 0x04, 0xEF, 0x7E, 0x28, 0x43, 0x7C, 0x44, // ...~(C|D
  7800. /* 0058 */ 0xB5, 0xBB, 0xD4, 0x49, 0x92, 0x5D, 0x53, 0x8D, // ...I.]S.
  7801. /* 0060 */ 0x41, 0x34, 0x01, 0x06, 0x9E, 0x15, 0xDB, 0x8A, // A4......
  7802. /* 0068 */ 0x32, 0x1E, 0x5C, 0x45, 0xBC, 0x93, 0x30, 0x8A, // 2.\E..0.
  7803. /* 0070 */ 0x7E, 0xD9, 0x82, 0x46, 0x41, 0x35, 0x01, 0x01, // ~..FA5..
  7804. /* 0078 */ 0xFD, 0xD9, 0x51, 0x26, 0x1C, 0x91, 0x69, 0x4B, // ..Q&..iK
  7805. /* 0080 */ 0xB9, 0x4E, 0xD0, 0xDE, 0xD5, 0x96, 0x3B, 0xD7, // .N....;.
  7806. /* 0088 */ 0x41, 0x36, 0x01, 0x06, 0x1A, 0x65, 0x64, 0x73, // A6...eds
  7807. /* 0090 */ 0x2F, 0x13, 0xE7, 0x4F, 0xAD, 0xAA, 0x40, 0xC6, // /..O..@.
  7808. /* 0098 */ 0xC7, 0xEE, 0x2E, 0x3B, 0x41, 0x37, 0x01, 0x06, // ...;A7..
  7809. /* 00A0 */ 0x2C, 0xEF, 0xDD, 0xDF, 0xD4, 0x57, 0xCE, 0x48, // ,....W.H
  7810. /* 00A8 */ 0xB1, 0x96, 0x0F, 0xB7, 0x87, 0xD9, 0x08, 0x36, // .......6
  7811. /* 00B0 */ 0x43, 0x30, 0x01, 0x06, 0xA6, 0xEB, 0x70, 0x73, // C0....ps
  7812. /* 00B8 */ 0x73, 0x7E, 0x9C, 0x40, 0x9A, 0x89, 0x82, 0x97, // s~.@....
  7813. /* 00C0 */ 0x95, 0x31, 0x3D, 0x78, 0x41, 0x38, 0x20, 0x05, // .1=xA8 .
  7814. /* 00C8 */ 0x89, 0xA5, 0x94, 0x7E, 0x65, 0x46, 0xDE, 0x47, // ...~eF.G
  7815. /* 00D0 */ 0xBE, 0x2B, 0xDD, 0xE4, 0xA2, 0x80, 0xAD, 0x47, // .+.....G
  7816. /* 00D8 */ 0x41, 0x39, 0x01, 0x06, 0x21, 0x12, 0x90, 0x05, // A9..!...
  7817. /* 00E0 */ 0x66, 0xD5, 0xD1, 0x11, 0xB2, 0xF0, 0x00, 0xA0, // f.......
  7818. /* 00E8 */ 0xC9, 0x06, 0x29, 0x10, 0x42, 0x41, 0x01, 0x00 // ..).BA..
  7819. })
  7820. Name (RETN, Package (0x05)
  7821. {
  7822. "Success",
  7823. "Not Supported",
  7824. "Invalid Parameter",
  7825. "Access Denied",
  7826. "System Busy"
  7827. })
  7828. Name (ITEM, Package (0x96)
  7829. {
  7830. Package (0x02)
  7831. {
  7832. 0x0E,
  7833. "WakeOnLAN"
  7834. },
  7835.  
  7836. Package (0x02)
  7837. {
  7838. 0x00,
  7839. "USBBIOSSupport"
  7840. },
  7841.  
  7842. Package (0x02)
  7843. {
  7844. 0x00,
  7845. "AlwaysOnUSB"
  7846. },
  7847.  
  7848. Package (0x02)
  7849. {
  7850. 0x00,
  7851. "TrackPoint"
  7852. },
  7853.  
  7854. Package (0x02)
  7855. {
  7856. 0x00,
  7857. "TouchPad"
  7858. },
  7859.  
  7860. Package (0x02)
  7861. {
  7862. 0x00,
  7863. "FnSticky"
  7864. },
  7865.  
  7866. Package (0x02)
  7867. {
  7868. 0x04,
  7869. "ThinkPadNumLock"
  7870. },
  7871.  
  7872. Package (0x02)
  7873. {
  7874. 0x0C,
  7875. "PowerOnNumLock"
  7876. },
  7877.  
  7878. Package (0x02)
  7879. {
  7880. 0x05,
  7881. "BootDisplayDevice"
  7882. },
  7883.  
  7884. Package (0x02)
  7885. {
  7886. 0x06,
  7887. "CDROMSpeed"
  7888. },
  7889.  
  7890. Package (0x02)
  7891. {
  7892. 0x00,
  7893. "CPUPowerManagement"
  7894. },
  7895.  
  7896. Package (0x02)
  7897. {
  7898. 0x00,
  7899. "PowerControlBeep"
  7900. },
  7901.  
  7902. Package (0x02)
  7903. {
  7904. 0x00,
  7905. "LowBatteryAlarm"
  7906. },
  7907.  
  7908. Package (0x02)
  7909. {
  7910. 0x00,
  7911. "PasswordBeep"
  7912. },
  7913.  
  7914. Package (0x02)
  7915. {
  7916. 0x00,
  7917. "KeyboardBeep"
  7918. },
  7919.  
  7920. Package (0x02)
  7921. {
  7922. 0x00,
  7923. "ExtendedMemoryTest"
  7924. },
  7925.  
  7926. Package (0x02)
  7927. {
  7928. 0x07,
  7929. "SATAControllerMode"
  7930. },
  7931.  
  7932. Package (0x02)
  7933. {
  7934. 0x00,
  7935. "CoreMultiProcessing"
  7936. },
  7937.  
  7938. Package (0x02)
  7939. {
  7940. 0x00,
  7941. "VirtualizationTechnology"
  7942. },
  7943.  
  7944. Package (0x02)
  7945. {
  7946. 0x00,
  7947. "LockBIOSSetting"
  7948. },
  7949.  
  7950. Package (0x02)
  7951. {
  7952. 0x0B,
  7953. "MinimumPasswordLength"
  7954. },
  7955.  
  7956. Package (0x02)
  7957. {
  7958. 0x00,
  7959. "BIOSPasswordAtUnattendedBoot"
  7960. },
  7961.  
  7962. Package (0x02)
  7963. {
  7964. 0x00,
  7965. "FingerprintPredesktopAuthentication"
  7966. },
  7967.  
  7968. Package (0x02)
  7969. {
  7970. 0x00,
  7971. "Reserved"
  7972. },
  7973.  
  7974. Package (0x02)
  7975. {
  7976. 0x03,
  7977. "FingerprintSecurityMode"
  7978. },
  7979.  
  7980. Package (0x02)
  7981. {
  7982. 0x02,
  7983. "SecurityChip"
  7984. },
  7985.  
  7986. Package (0x02)
  7987. {
  7988. 0x00,
  7989. "BIOSUpdateByEndUsers"
  7990. },
  7991.  
  7992. Package (0x02)
  7993. {
  7994. 0x00,
  7995. "DataExecutionPrevention"
  7996. },
  7997.  
  7998. Package (0x02)
  7999. {
  8000. 0x00,
  8001. "EthernetLANAccess"
  8002. },
  8003.  
  8004. Package (0x02)
  8005. {
  8006. 0x00,
  8007. "WirelessLANAccess"
  8008. },
  8009.  
  8010. Package (0x02)
  8011. {
  8012. 0x00,
  8013. "WirelessWANAccess"
  8014. },
  8015.  
  8016. Package (0x02)
  8017. {
  8018. 0x00,
  8019. "BluetoothAccess"
  8020. },
  8021.  
  8022. Package (0x02)
  8023. {
  8024. 0x00,
  8025. "WirelessUSBAccess"
  8026. },
  8027.  
  8028. Package (0x02)
  8029. {
  8030. 0x00,
  8031. "ModemAccess"
  8032. },
  8033.  
  8034. Package (0x02)
  8035. {
  8036. 0x00,
  8037. "USBPortAccess"
  8038. },
  8039.  
  8040. Package (0x02)
  8041. {
  8042. 0x00,
  8043. "IEEE1394Access"
  8044. },
  8045.  
  8046. Package (0x02)
  8047. {
  8048. 0x00,
  8049. "ExpressCardAccess"
  8050. },
  8051.  
  8052. Package (0x02)
  8053. {
  8054. 0x00,
  8055. "PCIExpressSlotAccess"
  8056. },
  8057.  
  8058. Package (0x02)
  8059. {
  8060. 0x00,
  8061. "UltrabayAccess"
  8062. },
  8063.  
  8064. Package (0x02)
  8065. {
  8066. 0x00,
  8067. "MemoryCardSlotAccess"
  8068. },
  8069.  
  8070. Package (0x02)
  8071. {
  8072. 0x00,
  8073. "SmartCardSlotAccess"
  8074. },
  8075.  
  8076. Package (0x02)
  8077. {
  8078. 0x00,
  8079. "IntegratedCameraAccess"
  8080. },
  8081.  
  8082. Package (0x02)
  8083. {
  8084. 0x00,
  8085. "MicrophoneAccess"
  8086. },
  8087.  
  8088. Package (0x02)
  8089. {
  8090. 0x0A,
  8091. "BootMode"
  8092. },
  8093.  
  8094. Package (0x02)
  8095. {
  8096. 0x00,
  8097. "StartupOptionKeys"
  8098. },
  8099.  
  8100. Package (0x02)
  8101. {
  8102. 0x00,
  8103. "BootDeviceListF12Option"
  8104. },
  8105.  
  8106. Package (0x02)
  8107. {
  8108. 0x64,
  8109. "BootOrder"
  8110. },
  8111.  
  8112. Package (0x02)
  8113. {
  8114. 0x00,
  8115. "WiMAXAccess"
  8116. },
  8117.  
  8118. Package (0x02)
  8119. {
  8120. 0x0D,
  8121. "GraphicsDevice"
  8122. },
  8123.  
  8124. Package (0x02)
  8125. {
  8126. 0x00,
  8127. "TXTFeature"
  8128. },
  8129.  
  8130. Package (0x02)
  8131. {
  8132. 0x19,
  8133. "AmdVt"
  8134. },
  8135.  
  8136. Package (0x02)
  8137. {
  8138. 0x0F,
  8139. "AMTControl"
  8140. },
  8141.  
  8142. Package (0x02)
  8143. {
  8144. 0x00,
  8145. "FingerprintReaderAccess"
  8146. },
  8147.  
  8148. Package (0x02)
  8149. {
  8150. 0x00,
  8151. "OsDetectionForSwitchableGraphics"
  8152. },
  8153.  
  8154. Package (0x02)
  8155. {
  8156. 0x0F,
  8157. "AbsolutePersistenceModuleActivation"
  8158. },
  8159.  
  8160. Package (0x02)
  8161. {
  8162. 0x01,
  8163. "PCIExpressPowerManagement"
  8164. },
  8165.  
  8166. Package (0x02)
  8167. {
  8168. 0x00,
  8169. "Reserved"
  8170. },
  8171.  
  8172. Package (0x02)
  8173. {
  8174. 0x00,
  8175. "eSATAPortAccess"
  8176. },
  8177.  
  8178. Package (0x02)
  8179. {
  8180. 0x00,
  8181. "HardwarePasswordManager"
  8182. },
  8183.  
  8184. Package (0x02)
  8185. {
  8186. 0x00,
  8187. "HyperThreadingTechnology"
  8188. },
  8189.  
  8190. Package (0x02)
  8191. {
  8192. 0x00,
  8193. "FnCtrlKeySwap"
  8194. },
  8195.  
  8196. Package (0x02)
  8197. {
  8198. 0x00,
  8199. "BIOSPasswordAtReboot"
  8200. },
  8201.  
  8202. Package (0x02)
  8203. {
  8204. 0x00,
  8205. "OnByAcAttach"
  8206. },
  8207.  
  8208. Package (0x02)
  8209. {
  8210. 0x64,
  8211. "NetworkBoot"
  8212. },
  8213.  
  8214. Package (0x02)
  8215. {
  8216. 0x00,
  8217. "BootOrderLock"
  8218. },
  8219.  
  8220. Package (0x02)
  8221. {
  8222. 0x11,
  8223. "ExpressCardSpeed"
  8224. },
  8225.  
  8226. Package (0x02)
  8227. {
  8228. 0x00,
  8229. "RapidStartTechnology"
  8230. },
  8231.  
  8232. Package (0x02)
  8233. {
  8234. 0x12,
  8235. "KeyboardIllumination"
  8236. },
  8237.  
  8238. Package (0x02)
  8239. {
  8240. 0x00,
  8241. "IPv4NetworkStack"
  8242. },
  8243.  
  8244. Package (0x02)
  8245. {
  8246. 0x00,
  8247. "IPv6NetworkStack"
  8248. },
  8249.  
  8250. Package (0x02)
  8251. {
  8252. 0x13,
  8253. "UefiPxeBootPriority"
  8254. },
  8255.  
  8256. Package (0x02)
  8257. {
  8258. 0x00,
  8259. "Reserved"
  8260. },
  8261.  
  8262. Package (0x02)
  8263. {
  8264. 0x00,
  8265. "PhysicalPresenceForTpmClear"
  8266. },
  8267.  
  8268. Package (0x02)
  8269. {
  8270. 0x00,
  8271. "SecureRollBackPrevention"
  8272. },
  8273.  
  8274. Package (0x02)
  8275. {
  8276. 0x00,
  8277. "SecureBoot"
  8278. },
  8279.  
  8280. Package (0x02)
  8281. {
  8282. 0x00,
  8283. "NfcAccess"
  8284. },
  8285.  
  8286. Package (0x02)
  8287. {
  8288. 0x00,
  8289. "BottomCoverTamperDetected"
  8290. },
  8291.  
  8292. Package (0x02)
  8293. {
  8294. 0x00,
  8295. "PasswordCountExceededError"
  8296. },
  8297.  
  8298. Package (0x02)
  8299. {
  8300. 0x00,
  8301. "BIOSPasswordAtBootDeviceList"
  8302. },
  8303.  
  8304. Package (0x02)
  8305. {
  8306. 0x14,
  8307. "UMAFramebufferSize"
  8308. },
  8309.  
  8310. Package (0x02)
  8311. {
  8312. 0x15,
  8313. "BootTimeExtension"
  8314. },
  8315.  
  8316. Package (0x02)
  8317. {
  8318. 0x00,
  8319. "FnKeyAsPrimary"
  8320. },
  8321.  
  8322. Package (0x02)
  8323. {
  8324. 0x00,
  8325. "WiGig"
  8326. },
  8327.  
  8328. Package (0x02)
  8329. {
  8330. 0x00,
  8331. "BIOSPasswordAtPowerOn"
  8332. },
  8333.  
  8334. Package (0x02)
  8335. {
  8336. 0x00,
  8337. "Reserved"
  8338. },
  8339.  
  8340. Package (0x02)
  8341. {
  8342. 0x00,
  8343. "Reserved"
  8344. },
  8345.  
  8346. Package (0x02)
  8347. {
  8348. 0x00,
  8349. "InternalStorageTamper"
  8350. },
  8351.  
  8352. Package (0x02)
  8353. {
  8354. 0x00,
  8355. "WirelessAutoDisconnection"
  8356. },
  8357.  
  8358. Package (0x02)
  8359. {
  8360. 0x00,
  8361. "Reserved"
  8362. },
  8363.  
  8364. Package (0x02)
  8365. {
  8366. 0x00,
  8367. "USBKeyProvisioning"
  8368. },
  8369.  
  8370. Package (0x02)
  8371. {
  8372. 0x1B,
  8373. "MACAddressPassThrough"
  8374. },
  8375.  
  8376. Package (0x02)
  8377. {
  8378. 0x00,
  8379. "ThunderboltAccess"
  8380. },
  8381.  
  8382. Package (0x02)
  8383. {
  8384. 0x00,
  8385. "WindowsUEFIFirmwareUpdate"
  8386. },
  8387.  
  8388. Package (0x02)
  8389. {
  8390. 0x00,
  8391. "WakeOnLANDock"
  8392. },
  8393.  
  8394. Package (0x02)
  8395. {
  8396. 0x00,
  8397. "Reserved"
  8398. },
  8399.  
  8400. Package (0x02)
  8401. {
  8402. 0x00,
  8403. "Reserved"
  8404. },
  8405.  
  8406. Package (0x02)
  8407. {
  8408. 0x00,
  8409. "Reserved"
  8410. },
  8411.  
  8412. Package (0x02)
  8413. {
  8414. 0x00,
  8415. "Reserved"
  8416. },
  8417.  
  8418. Package (0x02)
  8419. {
  8420. 0x00,
  8421. "DeviceGuard"
  8422. },
  8423.  
  8424. Package (0x02)
  8425. {
  8426. 0x00,
  8427. "Reserved"
  8428. },
  8429.  
  8430. Package (0x02)
  8431. {
  8432. 0x00,
  8433. "Reserved"
  8434. },
  8435.  
  8436. Package (0x02)
  8437. {
  8438. 0x00,
  8439. "Reserved"
  8440. },
  8441.  
  8442. Package (0x02)
  8443. {
  8444. 0x00,
  8445. "Reserved"
  8446. },
  8447.  
  8448. Package (0x02)
  8449. {
  8450. 0x00,
  8451. "IntegratedAudioAccess"
  8452. },
  8453.  
  8454. Package (0x02)
  8455. {
  8456. 0x00,
  8457. "Reserved"
  8458. },
  8459.  
  8460. Package (0x02)
  8461. {
  8462. 0x00,
  8463. "Reserved"
  8464. },
  8465.  
  8466. Package (0x02)
  8467. {
  8468. 0x0F,
  8469. "ComputraceModuleActivation"
  8470. },
  8471.  
  8472. Package (0x02)
  8473. {
  8474. 0x28,
  8475. "SleepState"
  8476. },
  8477.  
  8478. Package (0x02)
  8479. {
  8480. 0x1C,
  8481. "MaxPasswordAttempts"
  8482. },
  8483.  
  8484. Package (0x02)
  8485. {
  8486. 0x1D,
  8487. "PasswordChangeTime"
  8488. },
  8489.  
  8490. Package (0x02)
  8491. {
  8492. 0x00,
  8493. "SystemManagementPasswordControl"
  8494. },
  8495.  
  8496. Package (0x02)
  8497. {
  8498. 0x00,
  8499. "PowerOnPasswordControl"
  8500. },
  8501.  
  8502. Package (0x02)
  8503. {
  8504. 0x00,
  8505. "HardDiskPasswordControl"
  8506. },
  8507.  
  8508. Package (0x02)
  8509. {
  8510. 0x00,
  8511. "BIOSSetupConfigurations"
  8512. },
  8513.  
  8514. Package (0x02)
  8515. {
  8516. 0x00,
  8517. "EnhancedWindowsBiometricSecurity"
  8518. },
  8519.  
  8520. Package (0x02)
  8521. {
  8522. 0x00,
  8523. "ThinkShieldsecurewipe"
  8524. },
  8525.  
  8526. Package (0x02)
  8527. {
  8528. 0x00,
  8529. "KernelDMAProtection"
  8530. },
  8531.  
  8532. Package (0x02)
  8533. {
  8534. 0x1E,
  8535. "SetupUI"
  8536. },
  8537.  
  8538. Package (0x02)
  8539. {
  8540. 0x00,
  8541. "ChargeInBatteryMode"
  8542. },
  8543.  
  8544. Package (0x02)
  8545. {
  8546. 0x00,
  8547. "StrongPassword"
  8548. },
  8549.  
  8550. Package (0x02)
  8551. {
  8552. 0x20,
  8553. "KeyboardLayout"
  8554. },
  8555.  
  8556. Package (0x02)
  8557. {
  8558. 0x00,
  8559. "PCIeTunneling"
  8560. },
  8561.  
  8562. Package (0x02)
  8563. {
  8564. 0x00,
  8565. "Reserved"
  8566. },
  8567.  
  8568. Package (0x02)
  8569. {
  8570. 0x00,
  8571. "Reserved"
  8572. },
  8573.  
  8574. Package (0x02)
  8575. {
  8576. 0x00,
  8577. "Reserved"
  8578. },
  8579.  
  8580. Package (0x02)
  8581. {
  8582. 0x00,
  8583. "Reserved"
  8584. },
  8585.  
  8586. Package (0x02)
  8587. {
  8588. 0x00,
  8589. "Reserved"
  8590. },
  8591.  
  8592. Package (0x02)
  8593. {
  8594. 0x00,
  8595. "Reserved"
  8596. },
  8597.  
  8598. Package (0x02)
  8599. {
  8600. 0x00,
  8601. "Reserved"
  8602. },
  8603.  
  8604. Package (0x02)
  8605. {
  8606. 0x00,
  8607. "Reserved"
  8608. },
  8609.  
  8610. Package (0x02)
  8611. {
  8612. 0x21,
  8613. "WakeUponAlarm"
  8614. },
  8615.  
  8616. Package (0x02)
  8617. {
  8618. 0x22,
  8619. "AlarmDate"
  8620. },
  8621.  
  8622. Package (0x02)
  8623. {
  8624. 0x23,
  8625. "AlarmTime"
  8626. },
  8627.  
  8628. Package (0x02)
  8629. {
  8630. 0x24,
  8631. "AlarmDayofWeek"
  8632. },
  8633.  
  8634. Package (0x02)
  8635. {
  8636. 0x00,
  8637. "UserDefinedAlarmSunday"
  8638. },
  8639.  
  8640. Package (0x02)
  8641. {
  8642. 0x00,
  8643. "UserDefinedAlarmMonday"
  8644. },
  8645.  
  8646. Package (0x02)
  8647. {
  8648. 0x00,
  8649. "UserDefinedAlarmTuesday"
  8650. },
  8651.  
  8652. Package (0x02)
  8653. {
  8654. 0x00,
  8655. "UserDefinedAlarmWednesday"
  8656. },
  8657.  
  8658. Package (0x02)
  8659. {
  8660. 0x00,
  8661. "UserDefinedAlarmThursday"
  8662. },
  8663.  
  8664. Package (0x02)
  8665. {
  8666. 0x00,
  8667. "UserDefinedAlarmFriday"
  8668. },
  8669.  
  8670. Package (0x02)
  8671. {
  8672. 0x00,
  8673. "UserDefinedAlarmSaturday"
  8674. },
  8675.  
  8676. Package (0x02)
  8677. {
  8678. 0x23,
  8679. "UserDefinedAlarmTime"
  8680. },
  8681.  
  8682. Package (0x02)
  8683. {
  8684. 0x00,
  8685. "BlockSIDAuthentication"
  8686. },
  8687.  
  8688. Package (0x02)
  8689. {
  8690. 0x00,
  8691. "Reserved"
  8692. },
  8693.  
  8694. Package (0x02)
  8695. {
  8696. 0x00,
  8697. "DashEnabled"
  8698. },
  8699.  
  8700. Package (0x02)
  8701. {
  8702. 0x00,
  8703. "WirelessDashEnabled"
  8704. },
  8705.  
  8706. Package (0x02)
  8707. {
  8708. 0x00,
  8709. "LidSensor"
  8710. },
  8711.  
  8712. Package (0x02)
  8713. {
  8714. 0x00,
  8715. "Reserved"
  8716. },
  8717.  
  8718. Package (0x02)
  8719. {
  8720. 0x00,
  8721. "TSME"
  8722. },
  8723.  
  8724. Package (0x02)
  8725. {
  8726. 0x29,
  8727. "HDMIModeSelect"
  8728. }
  8729. })
  8730. Name (VSEL, Package (0x2A)
  8731. {
  8732. Package (0x02)
  8733. {
  8734. "Disable",
  8735. "Enable"
  8736. },
  8737.  
  8738. Package (0x02)
  8739. {
  8740. "Disable",
  8741. "Automatic"
  8742. },
  8743.  
  8744. Package (0x04)
  8745. {
  8746. "Active",
  8747. "Inactive",
  8748. "Disable",
  8749. "Enable"
  8750. },
  8751.  
  8752. Package (0x02)
  8753. {
  8754. "Normal",
  8755. "High"
  8756. },
  8757.  
  8758. Package (0x02)
  8759. {
  8760. "Independent",
  8761. "Synchronized"
  8762. },
  8763.  
  8764. Package (0x04)
  8765. {
  8766. "LCD",
  8767. "",
  8768. "",
  8769. "ExternalDisplay"
  8770. },
  8771.  
  8772. Package (0x03)
  8773. {
  8774. "High",
  8775. "Normal",
  8776. "Silent"
  8777. },
  8778.  
  8779. Package (0x02)
  8780. {
  8781. "Compatibility",
  8782. "AHCI"
  8783. },
  8784.  
  8785. Package (0x02)
  8786. {
  8787. "External",
  8788. "InternalOnly"
  8789. },
  8790.  
  8791. Package (0x02)
  8792. {
  8793. "MaximizePerformance",
  8794. "Balanced"
  8795. },
  8796.  
  8797. Package (0x02)
  8798. {
  8799. "Quick",
  8800. "Diagnostics"
  8801. },
  8802.  
  8803. Package (0x0A)
  8804. {
  8805. "Disable",
  8806. "4",
  8807. "5",
  8808. "6",
  8809. "7",
  8810. "8",
  8811. "9",
  8812. "10",
  8813. "11",
  8814. "12"
  8815. },
  8816.  
  8817. Package (0x03)
  8818. {
  8819. "Auto",
  8820. "On",
  8821. "Off"
  8822. },
  8823.  
  8824. Package (0x03)
  8825. {
  8826. "IntegratedGfx",
  8827. "DiscreteGfx",
  8828. "SwitchableGfx"
  8829. },
  8830.  
  8831. Package (0x03)
  8832. {
  8833. "Disable",
  8834. "ACOnly",
  8835. "ACandBattery"
  8836. },
  8837.  
  8838. Package (0x03)
  8839. {
  8840. "Disable",
  8841. "Enable",
  8842. "PermanentlyDisable"
  8843. },
  8844.  
  8845. Package (0x02)
  8846. {
  8847. "HDMI",
  8848. "USBTypeC"
  8849. },
  8850.  
  8851. Package (0x02)
  8852. {
  8853. "Generation1",
  8854. "Automatic"
  8855. },
  8856.  
  8857. Package (0x03)
  8858. {
  8859. "ThinkLightOnly",
  8860. "BacklightOnly",
  8861. "Both"
  8862. },
  8863.  
  8864. Package (0x02)
  8865. {
  8866. "IPv6First",
  8867. "IPv4First"
  8868. },
  8869.  
  8870. Package (0x05)
  8871. {
  8872. "Auto",
  8873. "1GB",
  8874. "2GB",
  8875. "4GB",
  8876. "8GB"
  8877. },
  8878.  
  8879. Package (0x0B)
  8880. {
  8881. "Disable",
  8882. "1",
  8883. "2",
  8884. "3",
  8885. "",
  8886. "5",
  8887. "",
  8888. "",
  8889. "",
  8890. "",
  8891. "10"
  8892. },
  8893.  
  8894. Package (0x03)
  8895. {
  8896. "Disable",
  8897. "Enable",
  8898. "SoftwareControl"
  8899. },
  8900.  
  8901. Package (0x04)
  8902. {
  8903. "NoSecurity",
  8904. "UserAuthorization",
  8905. "SecureConnect",
  8906. "DisplayPortandUSB"
  8907. },
  8908.  
  8909. Package (0x02)
  8910. {
  8911. "Disable",
  8912. "Enable"
  8913. },
  8914.  
  8915. Package (0x03)
  8916. {
  8917. "Enable",
  8918. "Disable",
  8919. ""
  8920. },
  8921.  
  8922. Package (0x03)
  8923. {
  8924. "Disable",
  8925. "Enable",
  8926. "Pre-BootACL"
  8927. },
  8928.  
  8929. Package (0x03)
  8930. {
  8931. "Disable",
  8932. "Enable",
  8933. "Second"
  8934. },
  8935.  
  8936. Package (0x04)
  8937. {
  8938. "Unlimited",
  8939. "1",
  8940. "3",
  8941. "100"
  8942. },
  8943.  
  8944. Package (0x02)
  8945. {
  8946. "Immediately",
  8947. "AfterReboot"
  8948. },
  8949.  
  8950. Package (0x02)
  8951. {
  8952. "SimpleText",
  8953. "Graphical"
  8954. },
  8955.  
  8956. Package (0x02)
  8957. {
  8958. "Linux",
  8959. "Windows10"
  8960. },
  8961.  
  8962. Package (0x1B)
  8963. {
  8964. "English_US",
  8965. "CanadianFrenchMultilingual",
  8966. "CanadianFrench",
  8967. "Spanish_LA",
  8968. "Portuguese_BR",
  8969. "Belgian",
  8970. "Danish",
  8971. "Spanish",
  8972. "French",
  8973. "German",
  8974. "Hungarian",
  8975. "Icelandic",
  8976. "Italian",
  8977. "Norwegian",
  8978. "Portuguese",
  8979. "Slovenian",
  8980. "Swedish",
  8981. "Swiss",
  8982. "Turkish",
  8983. "English_UK",
  8984. "Japanese",
  8985. "Korean",
  8986. "TraditionalChinese",
  8987. "Turkish-F",
  8988. "Estonian",
  8989. "Finnish",
  8990. "Czech"
  8991. },
  8992.  
  8993. Package (0x05)
  8994. {
  8995. "Disable",
  8996. "UserDefined",
  8997. "WeeklyEvent",
  8998. "DailyEvent",
  8999. "SingleEvent"
  9000. },
  9001.  
  9002. Package (0x01)
  9003. {
  9004. "MM/DD/YYYY"
  9005. },
  9006.  
  9007. Package (0x01)
  9008. {
  9009. "HH/MM/SS"
  9010. },
  9011.  
  9012. Package (0x07)
  9013. {
  9014. "Sunday",
  9015. "Monday",
  9016. "Tuesday",
  9017. "Wednesday",
  9018. "Thursday",
  9019. "Friday",
  9020. "Saturday"
  9021. },
  9022.  
  9023. Package (0x03)
  9024. {
  9025. "Near",
  9026. "Middle",
  9027. "Far"
  9028. },
  9029.  
  9030. Package (0x03)
  9031. {
  9032. "Fast",
  9033. "Medium",
  9034. "Slow"
  9035. },
  9036.  
  9037. Package (0x02)
  9038. {
  9039. "No",
  9040. "Yes"
  9041. },
  9042.  
  9043. Package (0x02)
  9044. {
  9045. "Linux",
  9046. "Windows 10"
  9047. },
  9048.  
  9049. Package (0x02)
  9050. {
  9051. "HDMI1.4",
  9052. "HDMI2.0"
  9053. }
  9054. })
  9055. Name (VLST, Package (0x13)
  9056. {
  9057. "HDD0",
  9058. "HDD1",
  9059. "HDD2",
  9060. "HDD3",
  9061. "HDD4",
  9062. "PXEBOOT",
  9063. "ATAPICD0",
  9064. "ATAPICD1",
  9065. "ATAPICD2",
  9066. "USBFDD",
  9067. "USBCD",
  9068. "USBHDD",
  9069. "OtherHDD",
  9070. "OtherCD",
  9071. "NVMe0",
  9072. "NVMe1",
  9073. "HTTPSBOOT",
  9074. "LENOVOCLOUD",
  9075. "NODEV"
  9076. })
  9077. Name (VR01, Package (0x67)
  9078. {
  9079. "0000",
  9080. "1998",
  9081. "1999",
  9082. "2000",
  9083. "2001",
  9084. "2002",
  9085. "2003",
  9086. "2004",
  9087. "2005",
  9088. "2006",
  9089. "2007",
  9090. "2008",
  9091. "2009",
  9092. "2010",
  9093. "2011",
  9094. "2012",
  9095. "2013",
  9096. "2014",
  9097. "2015",
  9098. "2016",
  9099. "2017",
  9100. "2018",
  9101. "2019",
  9102. "2020",
  9103. "2021",
  9104. "2022",
  9105. "2023",
  9106. "2024",
  9107. "2025",
  9108. "2026",
  9109. "2027",
  9110. "2028",
  9111. "2029",
  9112. "2030",
  9113. "2031",
  9114. "2032",
  9115. "2033",
  9116. "2034",
  9117. "2035",
  9118. "2036",
  9119. "2037",
  9120. "2038",
  9121. "2039",
  9122. "2040",
  9123. "2041",
  9124. "2042",
  9125. "2043",
  9126. "2044",
  9127. "2045",
  9128. "2046",
  9129. "2047",
  9130. "2048",
  9131. "2049",
  9132. "2050",
  9133. "2051",
  9134. "2052",
  9135. "2053",
  9136. "2054",
  9137. "2055",
  9138. "2056",
  9139. "2057",
  9140. "2058",
  9141. "2059",
  9142. "2060",
  9143. "2061",
  9144. "2062",
  9145. "2063",
  9146. "2064",
  9147. "2065",
  9148. "2066",
  9149. "2067",
  9150. "2068",
  9151. "2069",
  9152. "2070",
  9153. "2071",
  9154. "2072",
  9155. "2073",
  9156. "2074",
  9157. "2075",
  9158. "2076",
  9159. "2077",
  9160. "2078",
  9161. "2079",
  9162. "2080",
  9163. "2081",
  9164. "2082",
  9165. "2083",
  9166. "2084",
  9167. "2085",
  9168. "2086",
  9169. "2087",
  9170. "2088",
  9171. "2089",
  9172. "2090",
  9173. "2091",
  9174. "2092",
  9175. "2093",
  9176. "2094",
  9177. "2095",
  9178. "2096",
  9179. "2097",
  9180. "2098",
  9181. "2099"
  9182. })
  9183. Name (VR02, Package (0x0D)
  9184. {
  9185. "00",
  9186. "01",
  9187. "02",
  9188. "03",
  9189. "04",
  9190. "05",
  9191. "06",
  9192. "07",
  9193. "08",
  9194. "09",
  9195. "10",
  9196. "11",
  9197. "12"
  9198. })
  9199. Name (VR03, Package (0x20)
  9200. {
  9201. "00",
  9202. "01",
  9203. "02",
  9204. "03",
  9205. "04",
  9206. "05",
  9207. "06",
  9208. "07",
  9209. "08",
  9210. "09",
  9211. "10",
  9212. "11",
  9213. "12",
  9214. "13",
  9215. "14",
  9216. "15",
  9217. "16",
  9218. "17",
  9219. "18",
  9220. "19",
  9221. "20",
  9222. "21",
  9223. "22",
  9224. "23",
  9225. "24",
  9226. "25",
  9227. "26",
  9228. "27",
  9229. "28",
  9230. "29",
  9231. "30",
  9232. "31"
  9233. })
  9234. Name (VR04, Package (0x18)
  9235. {
  9236. "00",
  9237. "01",
  9238. "02",
  9239. "03",
  9240. "04",
  9241. "05",
  9242. "06",
  9243. "07",
  9244. "08",
  9245. "09",
  9246. "10",
  9247. "11",
  9248. "12",
  9249. "13",
  9250. "14",
  9251. "15",
  9252. "16",
  9253. "17",
  9254. "18",
  9255. "19",
  9256. "20",
  9257. "21",
  9258. "22",
  9259. "23"
  9260. })
  9261. Name (VR05, Package (0x3C)
  9262. {
  9263. "00",
  9264. "01",
  9265. "02",
  9266. "03",
  9267. "04",
  9268. "05",
  9269. "06",
  9270. "07",
  9271. "08",
  9272. "09",
  9273. "10",
  9274. "11",
  9275. "12",
  9276. "13",
  9277. "14",
  9278. "15",
  9279. "16",
  9280. "17",
  9281. "18",
  9282. "19",
  9283. "20",
  9284. "21",
  9285. "22",
  9286. "23",
  9287. "24",
  9288. "25",
  9289. "26",
  9290. "27",
  9291. "28",
  9292. "29",
  9293. "30",
  9294. "31",
  9295. "32",
  9296. "33",
  9297. "34",
  9298. "35",
  9299. "36",
  9300. "37",
  9301. "38",
  9302. "39",
  9303. "40",
  9304. "41",
  9305. "42",
  9306. "43",
  9307. "44",
  9308. "45",
  9309. "46",
  9310. "47",
  9311. "48",
  9312. "49",
  9313. "50",
  9314. "51",
  9315. "52",
  9316. "53",
  9317. "54",
  9318. "55",
  9319. "56",
  9320. "57",
  9321. "58",
  9322. "59"
  9323. })
  9324. Name (PENC, Package (0x02)
  9325. {
  9326. "ascii",
  9327. "scancode"
  9328. })
  9329. Name (PKBD, Package (0x03)
  9330. {
  9331. "us",
  9332. "fr",
  9333. "gr"
  9334. })
  9335. Name (PTYP, Package (0x13)
  9336. {
  9337. "pap",
  9338. "pop",
  9339. "uhdp1",
  9340. "mhdp1",
  9341. "uhdp2",
  9342. "mhdp2",
  9343. "uhdp3",
  9344. "mhdp3",
  9345. "uhdp4",
  9346. "mhdp4",
  9347. "udrp1",
  9348. "adrp1",
  9349. "udrp2",
  9350. "adrp2",
  9351. "udrp3",
  9352. "adrp3",
  9353. "udrp4",
  9354. "adrp4",
  9355. "smp"
  9356. })
  9357. Name (OPCD, Package (0x0E)
  9358. {
  9359. "WmiOpcodePasswordType",
  9360. "WmiOpcodePasswordCurrent01",
  9361. "WmiOpcodePasswordCurrent02",
  9362. "WmiOpcodePasswordCurrent03",
  9363. "WmiOpcodePasswordCurrent04",
  9364. "WmiOpcodePasswordNew01",
  9365. "WmiOpcodePasswordNew02",
  9366. "WmiOpcodePasswordNew03",
  9367. "WmiOpcodePasswordNew04",
  9368. "WmiOpcodePasswordEncode",
  9369. "WmiOpcodePasswordSetUpdate",
  9370. "WmiOpcodePasswordAdmin",
  9371. "WmiOpcodeTPM",
  9372. "WmiOpcodePasswordFree"
  9373. })
  9374. Name (FUNC, Package (0x05)
  9375. {
  9376. Package (0x02)
  9377. {
  9378. 0x27,
  9379. "ClearSecurityChip"
  9380. },
  9381.  
  9382. Package (0x02)
  9383. {
  9384. 0x27,
  9385. "ResetFingerprintData"
  9386. },
  9387.  
  9388. Package (0x02)
  9389. {
  9390. 0x27,
  9391. "ResettoSetupMode"
  9392. },
  9393.  
  9394. Package (0x02)
  9395. {
  9396. 0x27,
  9397. "RestoreFactoryKeys"
  9398. },
  9399.  
  9400. Package (0x02)
  9401. {
  9402. 0x27,
  9403. "ClearAllSecureBootKeys"
  9404. }
  9405. })
  9406. Mutex (MWMI, 0x00)
  9407. Name (PCFG, Buffer (0x18){})
  9408. Name (IBUF, Buffer (0x0200){})
  9409. Name (ILEN, 0x00)
  9410. Name (PSTR, Buffer (0x81){})
  9411. Name (ALEN, 0x00)
  9412. Method (WQA0, 1, NotSerialized)
  9413. {
  9414. Acquire (MWMI, 0xFFFF)
  9415. If ((WMIS (0x00, Arg0) != 0x00))
  9416. {
  9417. Release (MWMI)
  9418. Return ("")
  9419. }
  9420.  
  9421. Local0 = DerefOf (ITEM [WITM])
  9422. Local1 = DerefOf (Local0 [0x00])
  9423. Local2 = DerefOf (Local0 [0x01])
  9424. If ((Local1 == 0x22))
  9425. {
  9426. Concatenate (Local2, ",", Local6)
  9427. Concatenate (Local6, DerefOf (VR02 [RTC1]), Local7)
  9428. Concatenate (Local7, "/", Local6)
  9429. Concatenate (Local6, DerefOf (VR03 [RTC2]), Local7)
  9430. Concatenate (Local7, "/", Local6)
  9431. Concatenate (Local6, DerefOf (VR01 [RTC0]), Local7)
  9432. }
  9433. ElseIf ((Local1 == 0x23))
  9434. {
  9435. Concatenate (Local2, ",", Local6)
  9436. Concatenate (Local6, DerefOf (VR04 [RTC0]), Local7)
  9437. Concatenate (Local7, ":", Local6)
  9438. Concatenate (Local6, DerefOf (VR05 [RTC1]), Local7)
  9439. Concatenate (Local7, ":", Local6)
  9440. Concatenate (Local6, DerefOf (VR05 [RTC2]), Local7)
  9441. }
  9442. ElseIf ((Local1 < 0x64))
  9443. {
  9444. Concatenate (Local2, ",", Local6)
  9445. Local3 = DerefOf (VSEL [Local1])
  9446. Concatenate (Local6, DerefOf (Local3 [WSEL]), Local7)
  9447. }
  9448. Else
  9449. {
  9450. Local3 = SizeOf (VLST)
  9451. If ((WLS0 <= Local3))
  9452. {
  9453. Concatenate (Local2, ",", Local7)
  9454. Concatenate (Local7, DerefOf (VLST [WLS0]), Local2)
  9455. }
  9456.  
  9457. If ((WLS1 <= Local3))
  9458. {
  9459. Concatenate (Local2, ":", Local7)
  9460. Concatenate (Local7, DerefOf (VLST [WLS1]), Local2)
  9461. }
  9462.  
  9463. If ((WLS2 <= Local3))
  9464. {
  9465. Concatenate (Local2, ":", Local7)
  9466. Concatenate (Local7, DerefOf (VLST [WLS2]), Local2)
  9467. }
  9468.  
  9469. If ((WLS3 <= Local3))
  9470. {
  9471. Concatenate (Local2, ":", Local7)
  9472. Concatenate (Local7, DerefOf (VLST [WLS3]), Local2)
  9473. }
  9474.  
  9475. If ((WLS4 <= Local3))
  9476. {
  9477. Concatenate (Local2, ":", Local7)
  9478. Concatenate (Local7, DerefOf (VLST [WLS4]), Local2)
  9479. }
  9480.  
  9481. If ((WLS5 <= Local3))
  9482. {
  9483. Concatenate (Local2, ":", Local7)
  9484. Concatenate (Local7, DerefOf (VLST [WLS5]), Local2)
  9485. }
  9486.  
  9487. If ((WLS6 <= Local3))
  9488. {
  9489. Concatenate (Local2, ":", Local7)
  9490. Concatenate (Local7, DerefOf (VLST [WLS6]), Local2)
  9491. }
  9492.  
  9493. If ((WLS7 <= Local3))
  9494. {
  9495. Concatenate (Local2, ":", Local7)
  9496. Concatenate (Local7, DerefOf (VLST [WLS7]), Local2)
  9497. }
  9498.  
  9499. If ((WLS8 <= Local3))
  9500. {
  9501. Concatenate (Local2, ":", Local7)
  9502. Concatenate (Local7, DerefOf (VLST [WLS8]), Local2)
  9503. }
  9504.  
  9505. If ((WLS9 <= Local3))
  9506. {
  9507. Concatenate (Local2, ":", Local7)
  9508. Concatenate (Local7, DerefOf (VLST [WLS9]), Local2)
  9509. }
  9510.  
  9511. If ((WLSA <= Local3))
  9512. {
  9513. Concatenate (Local2, ":", Local7)
  9514. Concatenate (Local7, DerefOf (VLST [WLSA]), Local2)
  9515. }
  9516.  
  9517. If ((WLSB <= Local3))
  9518. {
  9519. Concatenate (Local2, ":", Local7)
  9520. Concatenate (Local7, DerefOf (VLST [WLSB]), Local2)
  9521. }
  9522.  
  9523. If ((WLSC <= Local3))
  9524. {
  9525. Concatenate (Local2, ":", Local7)
  9526. Concatenate (Local7, DerefOf (VLST [WLSC]), Local2)
  9527. }
  9528.  
  9529. If ((WLSD <= Local3))
  9530. {
  9531. Concatenate (Local2, ":", Local7)
  9532. Concatenate (Local7, DerefOf (VLST [WLSD]), Local2)
  9533. }
  9534.  
  9535. Local7 = Local2
  9536. }
  9537.  
  9538. Release (MWMI)
  9539. Return (Local7)
  9540. }
  9541.  
  9542. Method (WMA1, 3, NotSerialized)
  9543. {
  9544. Acquire (MWMI, 0xFFFF)
  9545. If ((SizeOf (Arg2) == 0x00))
  9546. {
  9547. Local0 = 0x02
  9548. }
  9549. Else
  9550. {
  9551. Local0 = CARG (Arg2)
  9552. If ((Local0 == 0x00))
  9553. {
  9554. Local0 = WSET (ITEM, VSEL)
  9555. If ((Local0 == 0x00))
  9556. {
  9557. Local0 = WMIS (0x01, 0x00)
  9558. }
  9559. }
  9560. }
  9561.  
  9562. Release (MWMI)
  9563. Return (DerefOf (RETN [Local0]))
  9564. }
  9565.  
  9566. Method (WMA2, 3, NotSerialized)
  9567. {
  9568. Acquire (MWMI, 0xFFFF)
  9569. Local0 = CARG (Arg2)
  9570. If ((Local0 == 0x00))
  9571. {
  9572. If ((ILEN != 0x00))
  9573. {
  9574. Local0 = CPAS (IBUF, 0x00)
  9575. }
  9576.  
  9577. If ((Local0 == 0x00))
  9578. {
  9579. Local0 = WMIS (0x02, 0x00)
  9580. }
  9581. }
  9582.  
  9583. Release (MWMI)
  9584. Return (DerefOf (RETN [Local0]))
  9585. }
  9586.  
  9587. Method (WMA3, 3, NotSerialized)
  9588. {
  9589. Acquire (MWMI, 0xFFFF)
  9590. Local0 = CARG (Arg2)
  9591. If ((Local0 == 0x00))
  9592. {
  9593. If ((ILEN != 0x00))
  9594. {
  9595. Local0 = CPAS (IBUF, 0x00)
  9596. }
  9597.  
  9598. If ((Local0 == 0x00))
  9599. {
  9600. Local0 = WMIS (0x03, 0x00)
  9601. }
  9602. }
  9603.  
  9604. Release (MWMI)
  9605. Return (DerefOf (RETN [Local0]))
  9606. }
  9607.  
  9608. Method (WMA4, 3, NotSerialized)
  9609. {
  9610. Acquire (MWMI, 0xFFFF)
  9611. Local0 = CARG (Arg2)
  9612. If ((Local0 == 0x00))
  9613. {
  9614. If ((ILEN != 0x00))
  9615. {
  9616. Local0 = CPAS (IBUF, 0x00)
  9617. }
  9618.  
  9619. If ((Local0 == 0x00))
  9620. {
  9621. Local0 = WMIS (0x04, 0x00)
  9622. }
  9623. }
  9624.  
  9625. Release (MWMI)
  9626. Return (DerefOf (RETN [Local0]))
  9627. }
  9628.  
  9629. Method (WQA5, 1, NotSerialized)
  9630. {
  9631. Acquire (MWMI, 0xFFFF)
  9632. Local0 = WMIS (0x05, 0x00)
  9633. PCFG [0x00] = WSPM /* \WSPM */
  9634. PCFG [0x04] = WSPS /* \WSPS */
  9635. PCFG [0x08] = WSMN /* \WSMN */
  9636. PCFG [0x0C] = WSMX /* \WSMX */
  9637. PCFG [0x10] = WSEN /* \WSEN */
  9638. PCFG [0x14] = WSKB /* \WSKB */
  9639. Release (MWMI)
  9640. Return (PCFG) /* \_SB_.WMI1.PCFG */
  9641. }
  9642.  
  9643. Method (WMA6, 3, NotSerialized)
  9644. {
  9645. Acquire (MWMI, 0xFFFF)
  9646. If ((SizeOf (Arg2) == 0x00))
  9647. {
  9648. Local0 = 0x02
  9649. }
  9650. Else
  9651. {
  9652. Local0 = CARG (Arg2)
  9653. If ((Local0 == 0x00))
  9654. {
  9655. If ((ILEN != 0x00))
  9656. {
  9657. Local0 = SPAS (IBUF)
  9658. }
  9659.  
  9660. If ((Local0 == 0x00))
  9661. {
  9662. Local0 = WMIS (0x06, 0x00)
  9663. }
  9664. }
  9665. }
  9666.  
  9667. Release (MWMI)
  9668. Return (DerefOf (RETN [Local0]))
  9669. }
  9670.  
  9671. Method (WMA7, 3, NotSerialized)
  9672. {
  9673. If ((SizeOf (Arg2) == 0x00))
  9674. {
  9675. Return ("")
  9676. }
  9677.  
  9678. Local0 = CARG (Arg2)
  9679. If ((Local0 == 0x00))
  9680. {
  9681. Local1 = GITM (IBUF, ITEM)
  9682. If ((Local1 == Ones))
  9683. {
  9684. Return ("")
  9685. }
  9686.  
  9687. Local0 = DerefOf (ITEM [Local1])
  9688. Local1 = DerefOf (Local0 [0x00])
  9689. If ((Local1 < 0x64))
  9690. {
  9691. Local3 = DerefOf (VSEL [Local1])
  9692. Local2 = DerefOf (Local3 [0x00])
  9693. Local4 = SizeOf (Local3)
  9694. Local5 = 0x01
  9695. While ((Local5 < Local4))
  9696. {
  9697. Local6 = DerefOf (Local3 [Local5])
  9698. If ((SizeOf (Local6) != 0x00))
  9699. {
  9700. Concatenate (Local2, ",", Local7)
  9701. Concatenate (Local7, Local6, Local2)
  9702. }
  9703.  
  9704. Local5++
  9705. }
  9706. }
  9707. Else
  9708. {
  9709. Local2 = DerefOf (VLST [0x00])
  9710. Local4 = SizeOf (VLST)
  9711. Local5 = 0x01
  9712. While ((Local5 < Local4))
  9713. {
  9714. Local6 = DerefOf (VLST [Local5])
  9715. Concatenate (Local2, ",", Local7)
  9716. Concatenate (Local7, Local6, Local2)
  9717. Local5++
  9718. }
  9719. }
  9720. }
  9721.  
  9722. Return (Local2)
  9723. }
  9724.  
  9725. Method (WQA8, 1, NotSerialized)
  9726. {
  9727. Acquire (MWMI, 0xFFFF)
  9728. If ((WMIS (0x10, Arg0) != 0x00))
  9729. {
  9730. Release (MWMI)
  9731. Return ("")
  9732. }
  9733.  
  9734. Local0 = DerefOf (FUNC [WITM])
  9735. Local1 = DerefOf (Local0 [0x00])
  9736. Local2 = DerefOf (Local0 [0x01])
  9737. Concatenate (Local2, ",", Local6)
  9738. Local3 = DerefOf (VSEL [Local1])
  9739. Concatenate (Local6, DerefOf (Local3 [WSEL]), Local7)
  9740. Release (MWMI)
  9741. Return (Local7)
  9742. }
  9743.  
  9744. Method (WMA9, 3, NotSerialized)
  9745. {
  9746. Acquire (MWMI, 0xFFFF)
  9747. If ((SizeOf (Arg2) == 0x00))
  9748. {
  9749. Local0 = 0x02
  9750. }
  9751. Else
  9752. {
  9753. Local0 = CARG (Arg2)
  9754. If ((Local0 == 0x00))
  9755. {
  9756. Local0 = WSET (FUNC, VSEL)
  9757. If ((Local0 == 0x00))
  9758. {
  9759. Local0 = WMIS (0x11, 0x00)
  9760. }
  9761. }
  9762. }
  9763.  
  9764. Release (MWMI)
  9765. Return (DerefOf (RETN [Local0]))
  9766. }
  9767.  
  9768. Method (WMC0, 3, NotSerialized)
  9769. {
  9770. Acquire (MWMI, 0xFFFF)
  9771. If ((SizeOf (Arg2) == 0x00))
  9772. {
  9773. Local0 = 0x02
  9774. }
  9775. Else
  9776. {
  9777. Local0 = CARG (Arg2)
  9778. If ((Local0 == 0x00))
  9779. {
  9780. Local6 = GSEL (OPCD, IBUF, 0x00)
  9781. If ((Local6 != Ones))
  9782. {
  9783. Local4 = DerefOf (OPCD [Local6])
  9784. Local2 = SizeOf (Local4)
  9785. Local3 = DerefOf (IBUF [Local2])
  9786. If (((Local3 == 0x2C) || (Local3 == 0x3A)))
  9787. {
  9788. Local2++
  9789. }
  9790.  
  9791. Local5 = (SizeOf (Arg2) - Local2)
  9792. Local0 = 0x00
  9793. If ((Local6 == 0x00))
  9794. {
  9795. WPTY = 0xFF
  9796. Local7 = GSEL (PTYP, IBUF, Local2)
  9797. If ((Local7 != Ones))
  9798. {
  9799. WPTY = Local7
  9800. }
  9801. Else
  9802. {
  9803. Local0 = 0x02
  9804. }
  9805. }
  9806. ElseIf ((Local6 == 0x01))
  9807. {
  9808. PSTR = 0x00
  9809. Local1 = GPAO (IBUF, Local2)
  9810. If ((Local1 == Ones))
  9811. {
  9812. Local0 = 0x02
  9813. }
  9814.  
  9815. If ((Local0 == 0x00))
  9816. {
  9817. WPAS = PSTR /* \_SB_.WMI1.PSTR */
  9818. }
  9819. }
  9820. ElseIf ((Local6 == 0x05))
  9821. {
  9822. PSTR = 0x00
  9823. Local1 = GPAO (IBUF, Local2)
  9824. If ((Local1 == Ones))
  9825. {
  9826. Local0 = 0x02
  9827. }
  9828.  
  9829. If ((Local1 == 0x00))
  9830. {
  9831. PSTR = 0x00
  9832. }
  9833.  
  9834. If ((Local0 == 0x00))
  9835. {
  9836. WPNW = PSTR /* \_SB_.WMI1.PSTR */
  9837. }
  9838. }
  9839. ElseIf ((Local6 == 0x0A))
  9840. {
  9841. Local0 = 0x00
  9842. }
  9843. ElseIf ((Local6 == 0x0B))
  9844. {
  9845. PSTR = 0x00
  9846. Local1 = GPAO (IBUF, Local2)
  9847. If ((Local1 == Ones))
  9848. {
  9849. Local0 = 0x02
  9850. }
  9851.  
  9852. If ((Local1 == 0x00))
  9853. {
  9854. Local0 = 0x02
  9855. }
  9856.  
  9857. If ((Local0 == 0x00))
  9858. {
  9859. WPAS = PSTR /* \_SB_.WMI1.PSTR */
  9860. }
  9861. }
  9862. Else
  9863. {
  9864. Local0 = 0x02
  9865. }
  9866.  
  9867. If ((Local0 == 0x00))
  9868. {
  9869. Local0 = WMIS (0x0F, Local6)
  9870. }
  9871. }
  9872. Else
  9873. {
  9874. Local0 = 0x02
  9875. }
  9876. }
  9877. }
  9878.  
  9879. Release (MWMI)
  9880. Return (DerefOf (RETN [Local0]))
  9881. }
  9882.  
  9883. Method (CARG, 1, NotSerialized)
  9884. {
  9885. Local0 = SizeOf (Arg0)
  9886. If ((Local0 == 0x00))
  9887. {
  9888. IBUF = 0x00
  9889. ILEN = 0x00
  9890. Return (0x00)
  9891. }
  9892.  
  9893. If ((ObjectType (Arg0) != 0x02))
  9894. {
  9895. Return (0x02)
  9896. }
  9897.  
  9898. If ((Local0 >= 0x01FF))
  9899. {
  9900. Return (0x02)
  9901. }
  9902.  
  9903. IBUF = Arg0
  9904. Local0--
  9905. Local1 = DerefOf (IBUF [Local0])
  9906. If (((Local1 == 0x3B) || (Local1 == 0x2A)))
  9907. {
  9908. IBUF [Local0] = 0x00
  9909. ILEN = Local0
  9910. }
  9911. Else
  9912. {
  9913. ILEN = SizeOf (Arg0)
  9914. }
  9915.  
  9916. Return (0x00)
  9917. }
  9918.  
  9919. Method (SCMP, 3, NotSerialized)
  9920. {
  9921. Local0 = SizeOf (Arg0)
  9922. If ((Local0 == 0x00))
  9923. {
  9924. Return (0x00)
  9925. }
  9926.  
  9927. Local0++
  9928. Name (STR1, Buffer (Local0){})
  9929. STR1 = Arg0
  9930. Local0--
  9931. If ((ALEN != 0x00))
  9932. {
  9933. Local0 = ALEN /* \_SB_.WMI1.ALEN */
  9934. }
  9935.  
  9936. Local1 = 0x00
  9937. Local2 = Arg2
  9938. While ((Local1 < Local0))
  9939. {
  9940. Local3 = DerefOf (STR1 [Local1])
  9941. Local4 = DerefOf (Arg1 [Local2])
  9942. If ((Local3 != Local4))
  9943. {
  9944. Return (0x00)
  9945. }
  9946.  
  9947. Local1++
  9948. Local2++
  9949. }
  9950.  
  9951. If ((ALEN != 0x00))
  9952. {
  9953. Return (0x01)
  9954. }
  9955.  
  9956. Local4 = DerefOf (Arg1 [Local2])
  9957. If ((Local4 == 0x00))
  9958. {
  9959. Return (0x01)
  9960. }
  9961.  
  9962. If (((Local4 == 0x2C) || (Local4 == 0x3A)))
  9963. {
  9964. Return (0x01)
  9965. }
  9966.  
  9967. Return (0x00)
  9968. }
  9969.  
  9970. Method (GITM, 2, NotSerialized)
  9971. {
  9972. Local0 = 0x00
  9973. Local1 = SizeOf (Arg1)
  9974. While ((Local0 < Local1))
  9975. {
  9976. Local3 = DerefOf (DerefOf (Arg1 [Local0]) [0x01])
  9977. If (SCMP (Local3, Arg0, 0x00))
  9978. {
  9979. Return (Local0)
  9980. }
  9981.  
  9982. Local0++
  9983. }
  9984.  
  9985. Return (Ones)
  9986. }
  9987.  
  9988. Method (GSEL, 3, NotSerialized)
  9989. {
  9990. Local0 = 0x00
  9991. Local1 = SizeOf (Arg0)
  9992. While ((Local0 < Local1))
  9993. {
  9994. Local2 = DerefOf (Arg0 [Local0])
  9995. If (SCMP (Local2, Arg1, Arg2))
  9996. {
  9997. Return (Local0)
  9998. }
  9999.  
  10000. Local0++
  10001. }
  10002.  
  10003. Return (Ones)
  10004. }
  10005.  
  10006. Method (SLEN, 2, NotSerialized)
  10007. {
  10008. Local0 = DerefOf (Arg0 [Arg1])
  10009. Return (SizeOf (Local0))
  10010. }
  10011.  
  10012. Method (CLRP, 0, NotSerialized)
  10013. {
  10014. WPAS = 0x00
  10015. WPNW = 0x00
  10016. }
  10017.  
  10018. Method (GPAS, 2, NotSerialized)
  10019. {
  10020. Local0 = Arg1
  10021. Local1 = 0x00
  10022. While ((Local1 <= 0x80))
  10023. {
  10024. Local2 = DerefOf (Arg0 [Local0])
  10025. If (((Local2 == 0x2C) || (Local2 == 0x00)))
  10026. {
  10027. PSTR [Local1] = 0x00
  10028. Return (Local1)
  10029. }
  10030.  
  10031. PSTR [Local1] = Local2
  10032. Local0++
  10033. Local1++
  10034. }
  10035.  
  10036. PSTR [Local1] = 0x00
  10037. Return (Ones)
  10038. }
  10039.  
  10040. Method (GPAO, 2, NotSerialized)
  10041. {
  10042. Local0 = Arg1
  10043. Local1 = 0x00
  10044. While ((Local1 <= 0x80))
  10045. {
  10046. Local2 = DerefOf (Arg0 [Local0])
  10047. If ((Local2 == 0x00))
  10048. {
  10049. PSTR [Local1] = 0x00
  10050. Return (Local1)
  10051. }
  10052.  
  10053. PSTR [Local1] = Local2
  10054. Local0++
  10055. Local1++
  10056. }
  10057.  
  10058. Local1--
  10059. PSTR [Local1] = 0x00
  10060. Return (Ones)
  10061. }
  10062.  
  10063. Method (CPAS, 2, NotSerialized)
  10064. {
  10065. CLRP ()
  10066. Local0 = Arg1
  10067. Local1 = GPAS (Arg0, Local0)
  10068. If ((Local1 == Ones))
  10069. {
  10070. Return (0x02)
  10071. }
  10072.  
  10073. If ((Local1 == 0x00))
  10074. {
  10075. Return (0x02)
  10076. }
  10077.  
  10078. WPAS = PSTR /* \_SB_.WMI1.PSTR */
  10079. Local0 += Local1
  10080. Local0++
  10081. Local6 = GSEL (PENC, Arg0, Local0)
  10082. If ((Local6 == Ones))
  10083. {
  10084. Return (0x02)
  10085. }
  10086.  
  10087. WENC = Local6
  10088. If ((Local6 == 0x00))
  10089. {
  10090. Local0 += SLEN (PENC, 0x00)
  10091. If ((DerefOf (Arg0 [Local0]) != 0x2C))
  10092. {
  10093. Return (0x02)
  10094. }
  10095.  
  10096. Local0++
  10097. Local6 = GSEL (PKBD, Arg0, Local0)
  10098. If ((Local6 == Ones))
  10099. {
  10100. Return (0x02)
  10101. }
  10102.  
  10103. WKBD = Local6
  10104. }
  10105.  
  10106. Return (0x00)
  10107. }
  10108.  
  10109. Method (SPAS, 1, NotSerialized)
  10110. {
  10111. CLRP ()
  10112. Local6 = GSEL (PTYP, Arg0, 0x00)
  10113. If ((Local6 == Ones))
  10114. {
  10115. Return (0x02)
  10116. }
  10117.  
  10118. WPTY = Local6
  10119. Local0 = SLEN (PTYP, Local6)
  10120. If ((DerefOf (Arg0 [Local0]) != 0x2C))
  10121. {
  10122. Return (0x02)
  10123. }
  10124.  
  10125. Local0++
  10126. PSTR = 0x00
  10127. Local1 = GPAS (Arg0, Local0)
  10128. If ((Local1 == Ones))
  10129. {
  10130. Return (0x02)
  10131. }
  10132.  
  10133. WPAS = PSTR /* \_SB_.WMI1.PSTR */
  10134. Local0 += Local1
  10135. If ((DerefOf (Arg0 [Local0]) != 0x2C))
  10136. {
  10137. Return (0x02)
  10138. }
  10139.  
  10140. Local0++
  10141. PSTR = 0x00
  10142. Local1 = GPAS (Arg0, Local0)
  10143. If ((Local1 == Ones))
  10144. {
  10145. Return (0x02)
  10146. }
  10147.  
  10148. If ((Local1 == 0x00))
  10149. {
  10150. PSTR = 0x00
  10151. }
  10152.  
  10153. WPNW = PSTR /* \_SB_.WMI1.PSTR */
  10154. Local0 += Local1
  10155. Local0++
  10156. Local6 = GSEL (PENC, Arg0, Local0)
  10157. If ((Local6 == Ones))
  10158. {
  10159. Return (0x02)
  10160. }
  10161.  
  10162. WENC = Local6
  10163. If ((Local6 == 0x00))
  10164. {
  10165. Local0 += SLEN (PENC, 0x00)
  10166. If ((DerefOf (Arg0 [Local0]) != 0x2C))
  10167. {
  10168. Return (0x02)
  10169. }
  10170.  
  10171. Local0++
  10172. Local6 = GSEL (PKBD, Arg0, Local0)
  10173. If ((Local6 == Ones))
  10174. {
  10175. Return (0x02)
  10176. }
  10177.  
  10178. WKBD = Local6
  10179. }
  10180.  
  10181. Return (0x00)
  10182. }
  10183.  
  10184. Method (WSET, 2, NotSerialized)
  10185. {
  10186. Local0 = ILEN /* \_SB_.WMI1.ILEN */
  10187. Local0++
  10188. Local1 = GITM (IBUF, Arg0)
  10189. If ((Local1 == Ones))
  10190. {
  10191. Return (0x02)
  10192. }
  10193.  
  10194. WITM = Local1
  10195. Local3 = DerefOf (Arg0 [Local1])
  10196. Local4 = DerefOf (Local3 [0x01])
  10197. Local2 = SizeOf (Local4)
  10198. Local2++
  10199. Local4 = DerefOf (Local3 [0x00])
  10200. If ((Local4 == 0x22))
  10201. {
  10202. If ((ALMD (Local2) != 0x00))
  10203. {
  10204. Return (0x02)
  10205. }
  10206.  
  10207. Local2 += 0x0A
  10208. Local4 = DerefOf (IBUF [Local2])
  10209. }
  10210. ElseIf ((Local4 == 0x23))
  10211. {
  10212. If ((ALMT (Local2) != 0x00))
  10213. {
  10214. Return (0x02)
  10215. }
  10216.  
  10217. Local2 += 0x08
  10218. Local4 = DerefOf (IBUF [Local2])
  10219. }
  10220. ElseIf ((Local4 < 0x64))
  10221. {
  10222. Local5 = DerefOf (Arg1 [Local4])
  10223. Local6 = GSEL (Local5, IBUF, Local2)
  10224. If ((Local6 == Ones))
  10225. {
  10226. Return (0x02)
  10227. }
  10228.  
  10229. WSEL = Local6
  10230. Local2 += SLEN (Local5, Local6)
  10231. Local4 = DerefOf (IBUF [Local2])
  10232. }
  10233. Else
  10234. {
  10235. WLS0 = 0x3F
  10236. WLS1 = 0x3F
  10237. WLS2 = 0x3F
  10238. WLS3 = 0x3F
  10239. WLS4 = 0x3F
  10240. WLS5 = 0x3F
  10241. WLS6 = 0x3F
  10242. WLS7 = 0x3F
  10243. WLS8 = 0x3F
  10244. WLS9 = 0x3F
  10245. WLSA = 0x3F
  10246. WLSB = 0x3F
  10247. WLSC = 0x3F
  10248. WLSD = 0x3F
  10249. Local6 = GSEL (VLST, IBUF, Local2)
  10250. If ((Local6 == Ones))
  10251. {
  10252. Return (0x02)
  10253. }
  10254.  
  10255. WLS0 = Local6
  10256. Local2 += SLEN (VLST, Local6)
  10257. Local4 = DerefOf (IBUF [Local2])
  10258. If (((Local2 < Local0) && (Local4 == 0x3A)))
  10259. {
  10260. Local2++
  10261. Local6 = GSEL (VLST, IBUF, Local2)
  10262. If ((Local6 == Ones))
  10263. {
  10264. Return (0x02)
  10265. }
  10266.  
  10267. WLS1 = Local6
  10268. Local2 += SLEN (VLST, Local6)
  10269. Local4 = DerefOf (IBUF [Local2])
  10270. }
  10271.  
  10272. If (((Local2 < Local0) && (Local4 == 0x3A)))
  10273. {
  10274. Local2++
  10275. Local6 = GSEL (VLST, IBUF, Local2)
  10276. If ((Local6 == Ones))
  10277. {
  10278. Return (0x02)
  10279. }
  10280.  
  10281. WLS2 = Local6
  10282. Local2 += SLEN (VLST, Local6)
  10283. Local4 = DerefOf (IBUF [Local2])
  10284. }
  10285.  
  10286. If (((Local2 < Local0) && (Local4 == 0x3A)))
  10287. {
  10288. Local2++
  10289. Local6 = GSEL (VLST, IBUF, Local2)
  10290. If ((Local6 == Ones))
  10291. {
  10292. Return (0x02)
  10293. }
  10294.  
  10295. WLS3 = Local6
  10296. Local2 += SLEN (VLST, Local6)
  10297. Local4 = DerefOf (IBUF [Local2])
  10298. }
  10299.  
  10300. If (((Local2 < Local0) && (Local4 == 0x3A)))
  10301. {
  10302. Local2++
  10303. Local6 = GSEL (VLST, IBUF, Local2)
  10304. If ((Local6 == Ones))
  10305. {
  10306. Return (0x02)
  10307. }
  10308.  
  10309. WLS4 = Local6
  10310. Local2 += SLEN (VLST, Local6)
  10311. Local4 = DerefOf (IBUF [Local2])
  10312. }
  10313.  
  10314. If (((Local2 < Local0) && (Local4 == 0x3A)))
  10315. {
  10316. Local2++
  10317. Local6 = GSEL (VLST, IBUF, Local2)
  10318. If ((Local6 == Ones))
  10319. {
  10320. Return (0x02)
  10321. }
  10322.  
  10323. WLS5 = Local6
  10324. Local2 += SLEN (VLST, Local6)
  10325. Local4 = DerefOf (IBUF [Local2])
  10326. }
  10327.  
  10328. If (((Local2 < Local0) && (Local4 == 0x3A)))
  10329. {
  10330. Local2++
  10331. Local6 = GSEL (VLST, IBUF, Local2)
  10332. If ((Local6 == Ones))
  10333. {
  10334. Return (0x02)
  10335. }
  10336.  
  10337. WLS6 = Local6
  10338. Local2 += SLEN (VLST, Local6)
  10339. Local4 = DerefOf (IBUF [Local2])
  10340. }
  10341.  
  10342. If (((Local2 < Local0) && (Local4 == 0x3A)))
  10343. {
  10344. Local2++
  10345. Local6 = GSEL (VLST, IBUF, Local2)
  10346. If ((Local6 == Ones))
  10347. {
  10348. Return (0x02)
  10349. }
  10350.  
  10351. WLS7 = Local6
  10352. Local2 += SLEN (VLST, Local6)
  10353. Local4 = DerefOf (IBUF [Local2])
  10354. }
  10355.  
  10356. If (((Local2 < Local0) && (Local4 == 0x3A)))
  10357. {
  10358. Local2++
  10359. Local6 = GSEL (VLST, IBUF, Local2)
  10360. If ((Local6 == Ones))
  10361. {
  10362. Return (0x02)
  10363. }
  10364.  
  10365. WLS8 = Local6
  10366. Local2 += SLEN (VLST, Local6)
  10367. Local4 = DerefOf (IBUF [Local2])
  10368. }
  10369.  
  10370. If (((Local2 < Local0) && (Local4 == 0x3A)))
  10371. {
  10372. Local2++
  10373. Local6 = GSEL (VLST, IBUF, Local2)
  10374. If ((Local6 == Ones))
  10375. {
  10376. Return (0x02)
  10377. }
  10378.  
  10379. WLS9 = Local6
  10380. Local2 += SLEN (VLST, Local6)
  10381. Local4 = DerefOf (IBUF [Local2])
  10382. }
  10383.  
  10384. If (((Local2 < Local0) && (Local4 == 0x3A)))
  10385. {
  10386. Local2++
  10387. Local6 = GSEL (VLST, IBUF, Local2)
  10388. If ((Local6 == Ones))
  10389. {
  10390. Return (0x02)
  10391. }
  10392.  
  10393. WLSA = Local6
  10394. Local2 += SLEN (VLST, Local6)
  10395. Local4 = DerefOf (IBUF [Local2])
  10396. }
  10397.  
  10398. If (((Local2 < Local0) && (Local4 == 0x3A)))
  10399. {
  10400. Local2++
  10401. Local6 = GSEL (VLST, IBUF, Local2)
  10402. If ((Local6 == Ones))
  10403. {
  10404. Return (0x02)
  10405. }
  10406.  
  10407. WLSB = Local6
  10408. Local2 += SLEN (VLST, Local6)
  10409. Local4 = DerefOf (IBUF [Local2])
  10410. }
  10411.  
  10412. If (((Local2 < Local0) && (Local4 == 0x3A)))
  10413. {
  10414. Local2++
  10415. Local6 = GSEL (VLST, IBUF, Local2)
  10416. If ((Local6 == Ones))
  10417. {
  10418. Return (0x02)
  10419. }
  10420.  
  10421. WLSC = Local6
  10422. Local2 += SLEN (VLST, Local6)
  10423. Local4 = DerefOf (IBUF [Local2])
  10424. }
  10425.  
  10426. If (((Local2 < Local0) && (Local4 == 0x3A)))
  10427. {
  10428. Local2++
  10429. Local6 = GSEL (VLST, IBUF, Local2)
  10430. If ((Local6 == Ones))
  10431. {
  10432. Return (0x02)
  10433. }
  10434.  
  10435. WLSD = Local6
  10436. Local2 += SLEN (VLST, Local6)
  10437. Local4 = DerefOf (IBUF [Local2])
  10438. }
  10439. }
  10440.  
  10441. If (((Local4 == 0x2C) && (Local2 < Local0)))
  10442. {
  10443. Local2++
  10444. Local0 = CPAS (IBUF, Local2)
  10445. If ((Local0 != 0x00))
  10446. {
  10447. Return (Local0)
  10448. }
  10449. }
  10450.  
  10451. Return (0x00)
  10452. }
  10453.  
  10454. Method (ALMD, 1, NotSerialized)
  10455. {
  10456. Local0 = Arg0
  10457. Local1 = VR02 /* \_SB_.WMI1.VR02 */
  10458. ALEN = 0x02
  10459. Local2 = GSEL (Local1, IBUF, Local0)
  10460. ALEN = 0x00
  10461. If ((Local2 == Ones))
  10462. {
  10463. Return (0x02)
  10464. }
  10465.  
  10466. RTC1 = Local2
  10467. Local0++
  10468. Local0++
  10469. Local3 = DerefOf (IBUF [Local0])
  10470. If ((Local3 != 0x2F))
  10471. {
  10472. Return (0x02)
  10473. }
  10474.  
  10475. Local0++
  10476. Local1 = VR03 /* \_SB_.WMI1.VR03 */
  10477. ALEN = 0x02
  10478. Local2 = GSEL (Local1, IBUF, Local0)
  10479. ALEN = 0x00
  10480. If ((Local2 == Ones))
  10481. {
  10482. Return (0x02)
  10483. }
  10484.  
  10485. RTC2 = Local2
  10486. Local0++
  10487. Local0++
  10488. Local3 = DerefOf (IBUF [Local0])
  10489. If ((Local3 != 0x2F))
  10490. {
  10491. Return (0x02)
  10492. }
  10493.  
  10494. Local0++
  10495. Local1 = VR01 /* \_SB_.WMI1.VR01 */
  10496. Local2 = GSEL (Local1, IBUF, Local0)
  10497. If ((Local2 == Ones))
  10498. {
  10499. Return (0x02)
  10500. }
  10501.  
  10502. RTC0 = Local2
  10503. Return (0x00)
  10504. }
  10505.  
  10506. Method (ALMT, 1, NotSerialized)
  10507. {
  10508. Local0 = Arg0
  10509. Local1 = VR04 /* \_SB_.WMI1.VR04 */
  10510. ALEN = 0x02
  10511. Local2 = GSEL (Local1, IBUF, Local0)
  10512. ALEN = 0x00
  10513. If ((Local2 == Ones))
  10514. {
  10515. Return (0x02)
  10516. }
  10517.  
  10518. RTC0 = Local2
  10519. Local0++
  10520. Local0++
  10521. Local3 = DerefOf (IBUF [Local0])
  10522. If ((Local3 != 0x3A))
  10523. {
  10524. Return (0x02)
  10525. }
  10526.  
  10527. Local0++
  10528. Local1 = VR05 /* \_SB_.WMI1.VR05 */
  10529. ALEN = 0x02
  10530. Local2 = GSEL (Local1, IBUF, Local0)
  10531. ALEN = 0x00
  10532. If ((Local2 == Ones))
  10533. {
  10534. Return (0x02)
  10535. }
  10536.  
  10537. RTC1 = Local2
  10538. Local0++
  10539. Local0++
  10540. Local3 = DerefOf (IBUF [Local0])
  10541. If ((Local3 != 0x3A))
  10542. {
  10543. Return (0x02)
  10544. }
  10545.  
  10546. Local0++
  10547. Local1 = VR05 /* \_SB_.WMI1.VR05 */
  10548. Local2 = GSEL (Local1, IBUF, Local0)
  10549. If ((Local2 == Ones))
  10550. {
  10551. Return (0x02)
  10552. }
  10553.  
  10554. RTC2 = Local2
  10555. Return (0x00)
  10556. }
  10557.  
  10558. Scope (PCI0.LPC0.EC0.HKEY)
  10559. {
  10560. Mutex (BFWM, 0x00)
  10561. Method (MHCF, 1, NotSerialized)
  10562. {
  10563. Local0 = BFWC (Arg0)
  10564. Return (Local0)
  10565. }
  10566.  
  10567. Method (MHPF, 1, NotSerialized)
  10568. {
  10569. Name (RETB, Buffer (0x25){})
  10570. Acquire (BFWM, 0xFFFF)
  10571. If ((SizeOf (Arg0) <= 0x25))
  10572. {
  10573. BFWB = Arg0
  10574. CHKS ()
  10575. If (BFWP ())
  10576. {
  10577. CHKS ()
  10578. BFWL ()
  10579. }
  10580.  
  10581. RETB = BFWB /* \BFWB */
  10582. }
  10583.  
  10584. Release (BFWM)
  10585. Return (RETB) /* \_SB_.PCI0.LPC0.EC0_.HKEY.MHPF.RETB */
  10586. }
  10587.  
  10588. Method (MHIF, 1, NotSerialized)
  10589. {
  10590. Name (RETB, Buffer (0x0A){})
  10591. Acquire (BFWM, 0xFFFF)
  10592. BFWG (Arg0)
  10593. RETB = BFWB /* \BFWB */
  10594. Release (BFWM)
  10595. Return (RETB) /* \_SB_.PCI0.LPC0.EC0_.HKEY.MHIF.RETB */
  10596. }
  10597.  
  10598. Method (MHDM, 1, NotSerialized)
  10599. {
  10600. BDMC (Arg0)
  10601. }
  10602. }
  10603.  
  10604. Scope (PCI0.LPC0.EC0.HKEY)
  10605. {
  10606. Method (PSSG, 1, NotSerialized)
  10607. {
  10608. Return (PSIF (0x00, 0x00))
  10609. }
  10610.  
  10611. Method (PSSS, 1, NotSerialized)
  10612. {
  10613. Return (PSIF (0x01, Arg0))
  10614. }
  10615.  
  10616. Method (PSBS, 1, NotSerialized)
  10617. {
  10618. Return (PSIF (0x02, Arg0))
  10619. }
  10620.  
  10621. Method (BICG, 1, NotSerialized)
  10622. {
  10623. Return (PSIF (0x03, Arg0))
  10624. }
  10625.  
  10626. Method (BICS, 1, NotSerialized)
  10627. {
  10628. Return (PSIF (0x04, Arg0))
  10629. }
  10630.  
  10631. Method (BCTG, 1, NotSerialized)
  10632. {
  10633. Return (PSIF (0x05, Arg0))
  10634. }
  10635.  
  10636. Method (BCCS, 1, NotSerialized)
  10637. {
  10638. Return (PSIF (0x06, Arg0))
  10639. }
  10640.  
  10641. Method (BCSG, 1, NotSerialized)
  10642. {
  10643. Return (PSIF (0x07, Arg0))
  10644. }
  10645.  
  10646. Method (BCSS, 1, NotSerialized)
  10647. {
  10648. Return (PSIF (0x08, Arg0))
  10649. }
  10650.  
  10651. Method (BDSG, 1, NotSerialized)
  10652. {
  10653. Return (PSIF (0x09, Arg0))
  10654. }
  10655.  
  10656. Method (BDSS, 1, NotSerialized)
  10657. {
  10658. Return (PSIF (0x0A, Arg0))
  10659. }
  10660. }
  10661.  
  10662. Scope (PCI0.LPC0.EC0.HKEY)
  10663. {
  10664. Method (GILN, 0, NotSerialized)
  10665. {
  10666. Return ((0x02 | ILNF))
  10667. }
  10668.  
  10669. Method (SILN, 1, NotSerialized)
  10670. {
  10671. If ((0x01 == Arg0))
  10672. {
  10673. ILNF = 0x01
  10674. BBLS = 0x00
  10675. Return (0x00)
  10676. }
  10677. ElseIf ((0x02 == Arg0))
  10678. {
  10679. ILNF = 0x00
  10680. BBLS = 0x01
  10681. Return (0x00)
  10682. }
  10683. Else
  10684. {
  10685. Return (0x01)
  10686. }
  10687. }
  10688.  
  10689. Method (GLSI, 0, NotSerialized)
  10690. {
  10691. If (H8DR)
  10692. {
  10693. Return ((0x02 + HPLD))
  10694. }
  10695. ElseIf ((RBEC (0x46) & 0x04))
  10696. {
  10697. Return (0x03)
  10698. }
  10699. Else
  10700. {
  10701. Return (0x02)
  10702. }
  10703. }
  10704. }
  10705.  
  10706. Scope (PCI0.LPC0.EC0.HKEY)
  10707. {
  10708. Method (GDLN, 0, NotSerialized)
  10709. {
  10710. Return ((0x02 | PLUX))
  10711. }
  10712.  
  10713. Method (SDLN, 1, NotSerialized)
  10714. {
  10715. If ((0x01 == Arg0))
  10716. {
  10717. PLUX = 0x01
  10718. Return (0x00)
  10719. }
  10720. ElseIf ((0x02 == Arg0))
  10721. {
  10722. PLUX = 0x00
  10723. Return (0x00)
  10724. }
  10725. Else
  10726. {
  10727. Return (0x01)
  10728. }
  10729. }
  10730. }
  10731.  
  10732. Scope (PCI0.LPC0.EC0.HKEY)
  10733. {
  10734. Method (FPSW, 1, Serialized)
  10735. {
  10736. Switch ((Arg0 & 0xFFFF))
  10737. {
  10738. Case (0x0100)
  10739. {
  10740. Local0 = GLFP ()
  10741. FPSU = Local0
  10742. Local1 = (Local0 <<= 0x01 | 0x01)
  10743. Return (Local1)
  10744. }
  10745. Case (0x0101)
  10746. {
  10747. Local0 = (Arg0 >> 0x10)
  10748. SLFP (Local0)
  10749. Return (0x00)
  10750. }
  10751. Default
  10752. {
  10753. Return (0x80000000)
  10754. }
  10755.  
  10756. }
  10757.  
  10758. Return (0x00)
  10759. }
  10760.  
  10761. Method (GLFP, 0, NotSerialized)
  10762. {
  10763. If ((FPCI (0x00, 0x00) == 0x01))
  10764. {
  10765. Return (0x01)
  10766. }
  10767. Else
  10768. {
  10769. Return (0x00)
  10770. }
  10771. }
  10772.  
  10773. Method (SLFP, 1, NotSerialized)
  10774. {
  10775. If ((Arg0 == 0x01))
  10776. {
  10777. FPSU = 0x01
  10778. FPCI (0x01, 0x01)
  10779. }
  10780. Else
  10781. {
  10782. FPSU = 0x00
  10783. FPCI (0x01, 0x00)
  10784. }
  10785. }
  10786. }
  10787.  
  10788. OperationRegion (ECMS, SystemIO, 0x72, 0x02)
  10789. Field (ECMS, ByteAcc, Lock, Preserve)
  10790. {
  10791. INDX, 8,
  10792. DATA, 8
  10793. }
  10794.  
  10795. Method (RECM, 1, Serialized)
  10796. {
  10797. INDX = Arg0
  10798. Return (DATA) /* \_SB_.DATA */
  10799. }
  10800.  
  10801. Method (WECM, 2, Serialized)
  10802. {
  10803. INDX = Arg0
  10804. DATA = Arg1
  10805. }
  10806.  
  10807. Scope (PCI0.LPC0.EC0.HKEY)
  10808. {
  10809. Method (GSSS, 1, NotSerialized)
  10810. {
  10811. Local0 = 0x00
  10812. If (((SHDW & 0x80) == 0x00))
  10813. {
  10814. Local0 |= 0x00010000
  10815. }
  10816.  
  10817. If ((SHDW & 0x01))
  10818. {
  10819. Local0 |= 0x01
  10820. }
  10821.  
  10822. Local0 |= 0x32000000
  10823. Return (Local0)
  10824. }
  10825.  
  10826. Method (SSSS, 1, NotSerialized)
  10827. {
  10828. If (((SHDW & 0x80) == 0x00))
  10829. {
  10830. If ((Arg0 == 0x00))
  10831. {
  10832. If (((SHDW & 0x01) != 0x00))
  10833. {
  10834. ^^^^SMB.PLEN = 0x00
  10835. SHDW = (SHDW & 0xFFFFFFFE)
  10836. WECM (0xCE, SHDW)
  10837. MHKQ (0x130F)
  10838. Return (0x00)
  10839. }
  10840. }
  10841.  
  10842. If ((Arg0 == 0x01))
  10843. {
  10844. If (((SHDW & 0x01) == 0x00))
  10845. {
  10846. ^^^^SMB.PLEN = 0x01
  10847. SHDW = (SHDW | 0x01)
  10848. WECM (0xCE, SHDW)
  10849. MHKQ (0x130F)
  10850. Return (0x00)
  10851. }
  10852. }
  10853. }
  10854.  
  10855. Return (0x80000000)
  10856. }
  10857.  
  10858. Method (TSSS, 0, NotSerialized)
  10859. {
  10860. If (((SHDW & 0x80) == 0x00))
  10861. {
  10862. If (((SHDW & 0x01) != 0x00))
  10863. {
  10864. SSSS (0x00)
  10865. Return (0x00)
  10866. }
  10867.  
  10868. If (((SHDW & 0x01) == 0x00))
  10869. {
  10870. SSSS (0x01)
  10871. Return (0x00)
  10872. }
  10873. }
  10874.  
  10875. Return (0x80000000)
  10876. }
  10877.  
  10878. Method (CSSS, 0, NotSerialized)
  10879. {
  10880. If ((((SHDW & 0x80) == 0x00) && ((SHDW &
  10881. 0x01) != 0x00)))
  10882. {
  10883. Return (SSSS (0x01))
  10884. }
  10885. Else
  10886. {
  10887. Return (SSSS (0x00))
  10888. }
  10889. }
  10890. }
  10891.  
  10892. Scope (PCI0.LPC0.EC0)
  10893. {
  10894. Device (LSSD)
  10895. {
  10896. Name (_HID, EisaId ("LEN0111")) // _HID: Hardware ID
  10897. Method (_STA, 0, NotSerialized) // _STA: Status
  10898. {
  10899. Return (0x0F)
  10900. }
  10901. }
  10902. }
  10903.  
  10904. Method (LM01, 1, Serialized)
  10905. {
  10906. Local0 = Arg0
  10907. OperationRegion (VARM, SystemMemory, Local0, 0x01)
  10908. Field (VARM, ByteAcc, NoLock, Preserve)
  10909. {
  10910. VARR, 8
  10911. }
  10912.  
  10913. Return (VARR) /* \_SB_.LM01.VARR */
  10914. }
  10915.  
  10916. Method (LM02, 1, Serialized)
  10917. {
  10918. Local0 = Arg0
  10919. OperationRegion (VARM, SystemMemory, Local0, 0x02)
  10920. Field (VARM, WordAcc, NoLock, Preserve)
  10921. {
  10922. VARR, 16
  10923. }
  10924.  
  10925. Return (VARR) /* \_SB_.LM02.VARR */
  10926. }
  10927.  
  10928. Method (LM03, 1, Serialized)
  10929. {
  10930. Local0 = Arg0
  10931. OperationRegion (VARM, SystemMemory, Local0, 0x04)
  10932. Field (VARM, DWordAcc, NoLock, Preserve)
  10933. {
  10934. VARR, 32
  10935. }
  10936.  
  10937. Return (VARR) /* \_SB_.LM03.VARR */
  10938. }
  10939.  
  10940. Method (LM04, 2, Serialized)
  10941. {
  10942. Local0 = Arg0
  10943. OperationRegion (VARM, SystemMemory, Local0, 0x01)
  10944. Field (VARM, ByteAcc, NoLock, Preserve)
  10945. {
  10946. VARR, 8
  10947. }
  10948.  
  10949. VARR = (Arg1 & 0xFF)
  10950. }
  10951.  
  10952. Method (LM05, 2, Serialized)
  10953. {
  10954. Local0 = Arg0
  10955. OperationRegion (VARM, SystemMemory, Local0, 0x02)
  10956. Field (VARM, WordAcc, NoLock, Preserve)
  10957. {
  10958. VARR, 16
  10959. }
  10960.  
  10961. VARR = (Arg1 & 0xFFFF)
  10962. }
  10963.  
  10964. Method (LM06, 2, Serialized)
  10965. {
  10966. Local0 = Arg0
  10967. OperationRegion (VARM, SystemMemory, Local0, 0x04)
  10968. Field (VARM, DWordAcc, NoLock, Preserve)
  10969. {
  10970. VARR, 32
  10971. }
  10972.  
  10973. VARR = (Arg1 & 0xFFFFFFFF)
  10974. }
  10975.  
  10976. Method (LM07, 1, Serialized)
  10977. {
  10978. Local0 = (Arg0 & 0xFFFF)
  10979. OperationRegion (VARI, SystemIO, Local0, 0x01)
  10980. Field (VARI, ByteAcc, Lock, Preserve)
  10981. {
  10982. VARR, 8
  10983. }
  10984.  
  10985. Return (VARR) /* \_SB_.LM07.VARR */
  10986. }
  10987.  
  10988. Method (LM08, 1, Serialized)
  10989. {
  10990. Local0 = (Arg0 & 0xFFFF)
  10991. OperationRegion (VARJ, SystemIO, Local0, 0x02)
  10992. Field (VARJ, WordAcc, Lock, Preserve)
  10993. {
  10994. VARR, 16
  10995. }
  10996.  
  10997. Return (VARR) /* \_SB_.LM08.VARR */
  10998. }
  10999.  
  11000. Method (LM09, 2, Serialized)
  11001. {
  11002. Local0 = (Arg0 & 0xFFFF)
  11003. OperationRegion (VARK, SystemIO, Local0, 0x01)
  11004. Field (VARK, ByteAcc, NoLock, Preserve)
  11005. {
  11006. VARR, 8
  11007. }
  11008.  
  11009. VARR = (Arg1 & 0xFF)
  11010. }
  11011.  
  11012. Method (LM0A, 2, Serialized)
  11013. {
  11014. Local0 = (Arg0 & 0xFFFF)
  11015. OperationRegion (VARL, SystemIO, Local0, 0x02)
  11016. Field (VARL, WordAcc, Lock, Preserve)
  11017. {
  11018. VARR, 16
  11019. }
  11020.  
  11021. VARR = (Arg1 & 0xFFFF)
  11022. }
  11023.  
  11024. Method (LM0B, 4, Serialized)
  11025. {
  11026. Local0 = 0xF8000000
  11027. Local0 += ((Arg0 & 0xFF) << 0x14)
  11028. Local0 += ((Arg1 & 0x1F) << 0x0F)
  11029. Local0 += ((Arg2 & 0x07) << 0x0C)
  11030. Local0 += (Arg3 & 0x0FFF)
  11031. Return (LM01 (Local0))
  11032. }
  11033.  
  11034. Method (LM0C, 4, Serialized)
  11035. {
  11036. Local0 = 0xF8000000
  11037. Local0 += ((Arg0 & 0xFF) << 0x14)
  11038. Local0 += ((Arg1 & 0x1F) << 0x0F)
  11039. Local0 += ((Arg2 & 0x07) << 0x0C)
  11040. Local0 += (Arg3 & 0x0FFF)
  11041. Return (LM02 (Local0))
  11042. }
  11043.  
  11044. Method (LM0D, 4, Serialized)
  11045. {
  11046. Local0 = 0xF8000000
  11047. Local0 += ((Arg0 & 0xFF) << 0x14)
  11048. Local0 += ((Arg1 & 0x1F) << 0x0F)
  11049. Local0 += ((Arg2 & 0x07) << 0x0C)
  11050. Local0 += (Arg3 & 0x0FFF)
  11051. Return (LM03 (Local0))
  11052. }
  11053.  
  11054. Method (LM0E, 5, Serialized)
  11055. {
  11056. Local0 = 0xF8000000
  11057. Local0 += ((Arg0 & 0xFF) << 0x14)
  11058. Local0 += ((Arg1 & 0x1F) << 0x0F)
  11059. Local0 += ((Arg2 & 0x07) << 0x0C)
  11060. Local0 += (Arg3 & 0x0FFF)
  11061. LM04 (Local0, (Arg4 & 0xFF))
  11062. }
  11063.  
  11064. Method (LM0F, 5, Serialized)
  11065. {
  11066. Local0 = 0xF8000000
  11067. Local0 += ((Arg0 & 0xFF) << 0x14)
  11068. Local0 += ((Arg1 & 0x1F) << 0x0F)
  11069. Local0 += ((Arg2 & 0x07) << 0x0C)
  11070. Local0 += (Arg3 & 0x0FFF)
  11071. LM05 (Local0, (Arg4 & 0xFFFF))
  11072. }
  11073.  
  11074. Method (LM10, 5, Serialized)
  11075. {
  11076. Local0 = 0xF8000000
  11077. Local0 += ((Arg0 & 0xFF) << 0x14)
  11078. Local0 += ((Arg1 & 0x1F) << 0x0F)
  11079. Local0 += ((Arg2 & 0x07) << 0x0C)
  11080. Local0 += (Arg3 & 0x0FFF)
  11081. LM06 (Local0, (Arg4 & 0xFFFFFFFF))
  11082. }
  11083.  
  11084. Method (LM11, 2, Serialized)
  11085. {
  11086. Local0 = (Arg0 << 0x02)
  11087. Local0 += 0xFED81500
  11088. Local1 = LM03 (Local0)
  11089. Local2 = (Arg1 & 0x01)
  11090. If ((Local2 == 0x01))
  11091. {
  11092. Local1 |= 0x00400000
  11093. }
  11094. Else
  11095. {
  11096. Local1 &= 0xFFBFFFFF
  11097. }
  11098.  
  11099. LM06 (Local0, Local1)
  11100. }
  11101.  
  11102. Method (LM12, 1, Serialized)
  11103. {
  11104. Local0 = (Arg0 << 0x02)
  11105. Local0 += 0xFED81500
  11106. Local1 = LM03 (Local0)
  11107. If (((Local1 && 0x00800000) == 0x01))
  11108. {
  11109. If (((Local1 & 0x00400000) == 0x00400000))
  11110. {
  11111. Return (0x01)
  11112. }
  11113. Else
  11114. {
  11115. Return (0x00)
  11116. }
  11117. }
  11118. ElseIf (((Local1 & 0x00010000) == 0x00010000))
  11119. {
  11120. Return (0x01)
  11121. }
  11122. Else
  11123. {
  11124. Return (0x00)
  11125. }
  11126. }
  11127.  
  11128. Method (LM13, 1, Serialized)
  11129. {
  11130. Return ((LM01 ((0xFED80700 + (Arg0 & 0xFF))) & 0xFF))
  11131. }
  11132.  
  11133. Method (LM14, 2, Serialized)
  11134. {
  11135. LM04 ((0xFED80700 + (Arg0 & 0xFF)), (Arg1 & 0xFF))
  11136. }
  11137.  
  11138. Method (LM15, 1, Serialized)
  11139. {
  11140. OperationRegion (VARE, SystemIO, 0x72, 0x02)
  11141. Field (VARE, ByteAcc, Lock, Preserve)
  11142. {
  11143. EINP, 8,
  11144. EDAP, 8
  11145. }
  11146.  
  11147. EINP = (Arg0 & 0xFF)
  11148. Return (EDAP) /* \_SB_.LM15.EDAP */
  11149. }
  11150.  
  11151. Method (LM16, 2, Serialized)
  11152. {
  11153. OperationRegion (VARE, SystemIO, 0x72, 0x02)
  11154. Field (VARE, ByteAcc, Lock, Preserve)
  11155. {
  11156. EINP, 8,
  11157. EDAP, 8
  11158. }
  11159.  
  11160. EINP = (Arg0 & 0xFF)
  11161. EDAP = (Arg1 & 0xFF)
  11162. }
  11163.  
  11164. Method (LM17, 1, Serialized)
  11165. {
  11166. LM09 (0x80, Arg0)
  11167. }
  11168.  
  11169. Method (LM18, 1, Serialized)
  11170. {
  11171. LM09 (0xB0, Arg0)
  11172. }
  11173. }
  11174.  
  11175. Scope (\)
  11176. {
  11177. Name (HPDT, Package (0x09)
  11178. {
  11179. "LEGACYHP",
  11180. 0x80000000,
  11181. 0x80000000,
  11182. "NATIVEHP",
  11183. 0x80000000,
  11184. 0x80000000,
  11185. "THERMALX",
  11186. 0x80000000,
  11187. 0x80000000
  11188. })
  11189. Name (DDB0, 0x00)
  11190. Name (DDB1, 0x00)
  11191. Name (DDB2, 0x00)
  11192. }
  11193.  
  11194. Scope (_GPE)
  11195. {
  11196. Method (_L08, 0, NotSerialized) // _Lxx: Level-Triggered GPE, xx=0x00-0xFF
  11197. {
  11198. TPST (0x3908)
  11199. If ((TBEN == Zero))
  11200. {
  11201. Notify (\_SB.PCI0.GPP0, 0x02) // Device Wake
  11202. }
  11203.  
  11204. Notify (\_SB.PCI0.GPP5, 0x02) // Device Wake
  11205. Notify (\_SB.PCI0.GP17, 0x02) // Device Wake
  11206. Notify (\_SB.PCI0.GP18, 0x02) // Device Wake
  11207. Local0 = \_SB.PCI0.LPC0.EC0.HWAK
  11208. RRBF = Local0
  11209. If ((Local0 & 0x01)){}
  11210. If ((Local0 & 0x02)){}
  11211. If ((Local0 & 0x04))
  11212. {
  11213. Notify (\_SB.LID, 0x02) // Device Wake
  11214. }
  11215.  
  11216. If ((Local0 & 0x08))
  11217. {
  11218. Notify (\_SB.SLPB, 0x02) // Device Wake
  11219. }
  11220.  
  11221. If ((Local0 & 0x10))
  11222. {
  11223. Notify (\_SB.SLPB, 0x02) // Device Wake
  11224. }
  11225.  
  11226. If ((Local0 & 0x80))
  11227. {
  11228. Notify (\_SB.SLPB, 0x02) // Device Wake
  11229. }
  11230.  
  11231. \_SB.PCI0.LPC0.EC0.HWAK = 0x00
  11232. }
  11233.  
  11234. Method (_L19, 0, NotSerialized) // _Lxx: Level-Triggered GPE, xx=0x00-0xFF
  11235. {
  11236. TPST (0x3919)
  11237. Notify (\_SB.PCI0.GP17.XHC0, 0x02) // Device Wake
  11238. Notify (\_SB.PCI0.GP17.XHC1, 0x02) // Device Wake
  11239. }
  11240. }
  11241.  
  11242. Name (TSOS, 0x75)
  11243. If (CondRefOf (\_OSI))
  11244. {
  11245. If (_OSI ("Windows 2009"))
  11246. {
  11247. TSOS = 0x50
  11248. }
  11249.  
  11250. If (_OSI ("Windows 2015"))
  11251. {
  11252. TSOS = 0x70
  11253. }
  11254. }
  11255.  
  11256. Scope (_SB)
  11257. {
  11258. OperationRegion (SMIC, SystemMemory, 0xFED80000, 0x00800000)
  11259. Field (SMIC, ByteAcc, NoLock, Preserve)
  11260. {
  11261. Offset (0x36A),
  11262. SMIB, 8
  11263. }
  11264.  
  11265. OperationRegion (SSMI, SystemIO, SMIB, 0x02)
  11266. Field (SSMI, AnyAcc, NoLock, Preserve)
  11267. {
  11268. SMIW, 16
  11269. }
  11270.  
  11271. OperationRegion (ECMC, SystemIO, 0x72, 0x02)
  11272. Field (ECMC, AnyAcc, NoLock, Preserve)
  11273. {
  11274. ECMI, 8,
  11275. ECMD, 8
  11276. }
  11277.  
  11278. IndexField (ECMI, ECMD, ByteAcc, NoLock, Preserve)
  11279. {
  11280. Offset (0x08),
  11281. FRTB, 32
  11282. }
  11283.  
  11284. OperationRegion (FRTP, SystemMemory, FRTB, 0x0100)
  11285. Field (FRTP, AnyAcc, NoLock, Preserve)
  11286. {
  11287. PEBA, 32,
  11288. , 5,
  11289. IC0E, 1,
  11290. IC1E, 1,
  11291. IC2E, 1,
  11292. IC3E, 1,
  11293. IC4E, 1,
  11294. IC5E, 1,
  11295. UT0E, 1,
  11296. UT1E, 1,
  11297. , 1,
  11298. , 1,
  11299. ST_E, 1,
  11300. UT2E, 1,
  11301. , 1,
  11302. EMMD, 2,
  11303. , 3,
  11304. XHCE, 1,
  11305. , 1,
  11306. , 1,
  11307. UT3E, 1,
  11308. ESPI, 1,
  11309. EMME, 1,
  11310. HFPE, 1,
  11311. Offset (0x08),
  11312. PCEF, 1,
  11313. , 4,
  11314. IC0D, 1,
  11315. IC1D, 1,
  11316. IC2D, 1,
  11317. IC3D, 1,
  11318. IC4D, 1,
  11319. IC5D, 1,
  11320. UT0D, 1,
  11321. UT1D, 1,
  11322. , 1,
  11323. , 1,
  11324. ST_D, 1,
  11325. UT2D, 1,
  11326. , 1,
  11327. EHCD, 1,
  11328. , 4,
  11329. XHCD, 1,
  11330. SD_D, 1,
  11331. , 1,
  11332. UT3D, 1,
  11333. , 1,
  11334. EMD3, 1,
  11335. , 2,
  11336. S03D, 1,
  11337. FW00, 16,
  11338. FW01, 32,
  11339. FW02, 16,
  11340. FW03, 32,
  11341. SDS0, 8,
  11342. SDS1, 8,
  11343. CZFG, 1,
  11344. Offset (0x20),
  11345. SD10, 32,
  11346. EH10, 32,
  11347. XH10, 32,
  11348. STBA, 32
  11349. }
  11350.  
  11351. OperationRegion (FCFG, SystemMemory, PEBA, 0x01000000)
  11352. Field (FCFG, DWordAcc, NoLock, Preserve)
  11353. {
  11354. Offset (0xA3044),
  11355. IPDE, 32,
  11356. IMPE, 32,
  11357. Offset (0xA3078),
  11358. , 2,
  11359. LDQ0, 1,
  11360. Offset (0xA30CB),
  11361. , 7,
  11362. AUSS, 1
  11363. }
  11364.  
  11365. OperationRegion (IOMX, SystemMemory, 0xFED80D00, 0x0100)
  11366. Field (IOMX, AnyAcc, NoLock, Preserve)
  11367. {
  11368. Offset (0x15),
  11369. IM15, 8,
  11370. IM16, 8,
  11371. Offset (0x1F),
  11372. IM1F, 8,
  11373. IM20, 8,
  11374. Offset (0x44),
  11375. IM44, 8,
  11376. Offset (0x46),
  11377. IM46, 8,
  11378. Offset (0x4A),
  11379. IM4A, 8,
  11380. IM4B, 8,
  11381. Offset (0x57),
  11382. IM57, 8,
  11383. IM58, 8,
  11384. Offset (0x68),
  11385. IM68, 8,
  11386. IM69, 8,
  11387. IM6A, 8,
  11388. IM6B, 8,
  11389. Offset (0x6D),
  11390. IM6D, 8
  11391. }
  11392.  
  11393. OperationRegion (FACR, SystemMemory, 0xFED81E00, 0x0100)
  11394. Field (FACR, AnyAcc, NoLock, Preserve)
  11395. {
  11396. Offset (0x80),
  11397. , 28,
  11398. RD28, 1,
  11399. , 1,
  11400. RQTY, 1,
  11401. Offset (0x84),
  11402. , 28,
  11403. SD28, 1,
  11404. , 1,
  11405. Offset (0xA0),
  11406. PG1A, 1
  11407. }
  11408.  
  11409. OperationRegion (EMMX, SystemMemory, 0xFEDD5800, 0x0130)
  11410. Field (EMMX, AnyAcc, NoLock, Preserve)
  11411. {
  11412. Offset (0xD0),
  11413. , 17,
  11414. FC18, 1,
  11415. FC33, 1,
  11416. , 7,
  11417. CD_T, 1,
  11418. WP_T, 1
  11419. }
  11420.  
  11421. OperationRegion (EMMB, SystemMemory, 0xFEDD5800, 0x0130)
  11422. Field (EMMB, AnyAcc, NoLock, Preserve)
  11423. {
  11424. Offset (0xA4),
  11425. E0A4, 32,
  11426. E0A8, 32,
  11427. Offset (0xB0),
  11428. E0B0, 32,
  11429. Offset (0xD0),
  11430. E0D0, 32,
  11431. Offset (0x116),
  11432. E116, 32
  11433. }
  11434.  
  11435. Name (SVBF, Buffer (0x0100)
  11436. {
  11437. 0x00 // .
  11438. })
  11439. CreateDWordField (SVBF, 0x00, S0A4)
  11440. CreateDWordField (SVBF, 0x04, S0A8)
  11441. CreateDWordField (SVBF, 0x08, S0B0)
  11442. CreateDWordField (SVBF, 0x0C, S0D0)
  11443. CreateDWordField (SVBF, 0x10, S116)
  11444. Method (SECR, 0, Serialized)
  11445. {
  11446. S116 = E116 /* \_SB_.E116 */
  11447. RQTY = Zero
  11448. RD28 = One
  11449. Local0 = SD28 /* \_SB_.SD28 */
  11450. While (Local0)
  11451. {
  11452. Local0 = SD28 /* \_SB_.SD28 */
  11453. }
  11454. }
  11455.  
  11456. Method (RECR, 0, Serialized)
  11457. {
  11458. E116 = S116 /* \_SB_.S116 */
  11459. }
  11460.  
  11461. OperationRegion (LUIE, SystemMemory, 0xFEDC0020, 0x04)
  11462. Field (LUIE, AnyAcc, NoLock, Preserve)
  11463. {
  11464. IER0, 1,
  11465. IER1, 1,
  11466. IER2, 1,
  11467. IER3, 1,
  11468. UOL0, 1,
  11469. UOL1, 1,
  11470. UOL2, 1,
  11471. UOL3, 1,
  11472. WUR0, 2,
  11473. WUR1, 2,
  11474. WUR2, 2,
  11475. WUR3, 2
  11476. }
  11477.  
  11478. Method (FRUI, 2, Serialized)
  11479. {
  11480. If ((Arg0 == 0x00))
  11481. {
  11482. Arg1 = IUA0 /* \_SB_.IUA0 */
  11483. }
  11484.  
  11485. If ((Arg0 == 0x01))
  11486. {
  11487. Arg1 = IUA1 /* \_SB_.IUA1 */
  11488. }
  11489.  
  11490. If ((Arg0 == 0x02))
  11491. {
  11492. Arg1 = IUA2 /* \_SB_.IUA2 */
  11493. }
  11494.  
  11495. If ((Arg0 == 0x03))
  11496. {
  11497. Arg1 = IUA3 /* \_SB_.IUA3 */
  11498. }
  11499. }
  11500.  
  11501. Method (FUIO, 1, Serialized)
  11502. {
  11503. If ((IER0 == 0x01))
  11504. {
  11505. If ((WUR0 == Arg0))
  11506. {
  11507. Return (0x00)
  11508. }
  11509. }
  11510.  
  11511. If ((IER1 == 0x01))
  11512. {
  11513. If ((WUR1 == Arg0))
  11514. {
  11515. Return (0x01)
  11516. }
  11517. }
  11518.  
  11519. If ((IER2 == 0x01))
  11520. {
  11521. If ((WUR2 == Arg0))
  11522. {
  11523. Return (0x02)
  11524. }
  11525. }
  11526.  
  11527. If ((IER3 == 0x01))
  11528. {
  11529. If ((WUR3 == Arg0))
  11530. {
  11531. Return (0x03)
  11532. }
  11533. }
  11534.  
  11535. Return (0x0F)
  11536. }
  11537.  
  11538. Method (SRAD, 2, Serialized)
  11539. {
  11540. Local0 = (Arg0 << 0x01)
  11541. Local0 += 0xFED81E40
  11542. OperationRegion (ADCR, SystemMemory, Local0, 0x02)
  11543. Field (ADCR, ByteAcc, NoLock, Preserve)
  11544. {
  11545. ADTD, 2,
  11546. ADPS, 1,
  11547. ADPD, 1,
  11548. ADSO, 1,
  11549. ADSC, 1,
  11550. ADSR, 1,
  11551. ADIS, 1,
  11552. ADDS, 3
  11553. }
  11554.  
  11555. ADIS = One
  11556. ADSR = Zero
  11557. Stall (Arg1)
  11558. ADSR = One
  11559. ADIS = Zero
  11560. Stall (Arg1)
  11561. }
  11562.  
  11563. Method (DSAD, 2, Serialized)
  11564. {
  11565. Local0 = (Arg0 << 0x01)
  11566. Local0 += 0xFED81E40
  11567. OperationRegion (ADCR, SystemMemory, Local0, 0x02)
  11568. Field (ADCR, ByteAcc, NoLock, Preserve)
  11569. {
  11570. ADTD, 2,
  11571. ADPS, 1,
  11572. ADPD, 1,
  11573. ADSO, 1,
  11574. ADSC, 1,
  11575. ADSR, 1,
  11576. ADIS, 1,
  11577. ADDS, 3
  11578. }
  11579.  
  11580. If ((Arg0 != ADTD))
  11581. {
  11582. If ((Arg1 == 0x00))
  11583. {
  11584. ADTD = 0x00
  11585. ADPD = One
  11586. Local0 = ADDS /* \_SB_.DSAD.ADDS */
  11587. While ((Local0 != 0x07))
  11588. {
  11589. Local0 = ADDS /* \_SB_.DSAD.ADDS */
  11590. }
  11591. }
  11592.  
  11593. If ((Arg1 == 0x03))
  11594. {
  11595. ADPD = Zero
  11596. Local0 = ADDS /* \_SB_.DSAD.ADDS */
  11597. While ((Local0 != 0x00))
  11598. {
  11599. Local0 = ADDS /* \_SB_.DSAD.ADDS */
  11600. }
  11601.  
  11602. ADTD = 0x03
  11603. }
  11604. }
  11605. }
  11606.  
  11607. Method (HSAD, 2, Serialized)
  11608. {
  11609. Local3 = (0x01 << Arg0)
  11610. Local0 = (Arg0 << 0x01)
  11611. Local0 += 0xFED81E40
  11612. OperationRegion (ADCR, SystemMemory, Local0, 0x02)
  11613. Field (ADCR, ByteAcc, NoLock, Preserve)
  11614. {
  11615. ADTD, 2,
  11616. ADPS, 1,
  11617. ADPD, 1,
  11618. ADSO, 1,
  11619. ADSC, 1,
  11620. ADSR, 1,
  11621. ADIS, 1,
  11622. ADDS, 3
  11623. }
  11624.  
  11625. If ((Arg1 != ADTD))
  11626. {
  11627. If ((Arg1 == 0x00))
  11628. {
  11629. PG1A = One
  11630. ADTD = 0x00
  11631. ADPD = One
  11632. Local0 = ADDS /* \_SB_.HSAD.ADDS */
  11633. While ((Local0 != 0x07))
  11634. {
  11635. Local0 = ADDS /* \_SB_.HSAD.ADDS */
  11636. }
  11637.  
  11638. RQTY = One
  11639. RD28 = One
  11640. Local0 = SD28 /* \_SB_.SD28 */
  11641. While (!Local0)
  11642. {
  11643. Local0 = SD28 /* \_SB_.SD28 */
  11644. }
  11645. }
  11646.  
  11647. If ((Arg1 == 0x03))
  11648. {
  11649. RQTY = Zero
  11650. RD28 = One
  11651. Local0 = SD28 /* \_SB_.SD28 */
  11652. While (Local0)
  11653. {
  11654. Local0 = SD28 /* \_SB_.SD28 */
  11655. }
  11656.  
  11657. ADPD = Zero
  11658. Local0 = ADDS /* \_SB_.HSAD.ADDS */
  11659. While ((Local0 != 0x00))
  11660. {
  11661. Local0 = ADDS /* \_SB_.HSAD.ADDS */
  11662. }
  11663.  
  11664. ADTD = 0x03
  11665. PG1A = Zero
  11666. }
  11667. }
  11668. }
  11669.  
  11670. OperationRegion (FPIC, SystemIO, 0x0C00, 0x02)
  11671. Field (FPIC, AnyAcc, NoLock, Preserve)
  11672. {
  11673. FPII, 8,
  11674. FPID, 8
  11675. }
  11676.  
  11677. IndexField (FPII, FPID, ByteAcc, NoLock, Preserve)
  11678. {
  11679. Offset (0xF4),
  11680. IUA0, 8,
  11681. IUA1, 8,
  11682. Offset (0xF8),
  11683. IUA2, 8,
  11684. IUA3, 8
  11685. }
  11686.  
  11687. Device (HFP1)
  11688. {
  11689. Name (_HID, "AMDI0060") // _HID: Hardware ID
  11690. Name (_UID, 0x00) // _UID: Unique ID
  11691. Method (_STA, 0, NotSerialized) // _STA: Status
  11692. {
  11693. If (HFPE)
  11694. {
  11695. Return (0x0F)
  11696. }
  11697. Else
  11698. {
  11699. Return (0x00)
  11700. }
  11701. }
  11702.  
  11703. Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
  11704. {
  11705. Name (RBUF, ResourceTemplate ()
  11706. {
  11707. Memory32Fixed (ReadWrite,
  11708. 0xFEC11000, // Address Base
  11709. 0x00000100, // Address Length
  11710. )
  11711. })
  11712. Return (RBUF) /* \_SB_.HFP1._CRS.RBUF */
  11713. }
  11714. }
  11715.  
  11716. Device (GPIO)
  11717. {
  11718. Name (_HID, "AMDI0030") // _HID: Hardware ID
  11719. Name (_CID, "AMDI0030") // _CID: Compatible ID
  11720. Name (_UID, 0x00) // _UID: Unique ID
  11721. Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
  11722. {
  11723. Name (RBUF, ResourceTemplate ()
  11724. {
  11725. Interrupt (ResourceConsumer, Level, ActiveLow, Shared, ,, )
  11726. {
  11727. 0x00000009,
  11728. }
  11729. Memory32Fixed (ReadWrite,
  11730. 0xFED81500, // Address Base
  11731. 0x00000400, // Address Length
  11732. )
  11733. Memory32Fixed (ReadWrite,
  11734. 0xFED81200, // Address Base
  11735. 0x00000100, // Address Length
  11736. )
  11737. })
  11738. Return (RBUF) /* \_SB_.GPIO._CRS.RBUF */
  11739. }
  11740.  
  11741. Method (_STA, 0, NotSerialized) // _STA: Status
  11742. {
  11743. If ((TSOS >= 0x70))
  11744. {
  11745. Return (0x0F)
  11746. }
  11747. Else
  11748. {
  11749. Return (0x00)
  11750. }
  11751. }
  11752. }
  11753.  
  11754. Method (MI2C, 3, Serialized)
  11755. {
  11756. Switch (ToInteger (Arg0))
  11757. {
  11758. Case (0x00)
  11759. {
  11760. Name (IIC0, ResourceTemplate ()
  11761. {
  11762. I2cSerialBusV2 (0x0000, ControllerInitiated, 0x00061A80,
  11763. AddressingMode7Bit, "\\_SB.I2CA",
  11764. 0x00, ResourceConsumer, _Y08, Exclusive,
  11765. )
  11766. })
  11767. CreateWordField (IIC0, \_SB.MI2C._Y08._ADR, DAD0) // _ADR: Address
  11768. CreateDWordField (IIC0, \_SB.MI2C._Y08._SPE, DSP0) // _SPE: Speed
  11769. DAD0 = Arg1
  11770. DSP0 = Arg2
  11771. Return (IIC0) /* \_SB_.MI2C.IIC0 */
  11772. }
  11773. Case (0x01)
  11774. {
  11775. Name (IIC1, ResourceTemplate ()
  11776. {
  11777. I2cSerialBusV2 (0x0000, ControllerInitiated, 0x00061A80,
  11778. AddressingMode7Bit, "\\_SB.I2CB",
  11779. 0x00, ResourceConsumer, _Y09, Exclusive,
  11780. )
  11781. })
  11782. CreateWordField (IIC1, \_SB.MI2C._Y09._ADR, DAD1) // _ADR: Address
  11783. CreateDWordField (IIC1, \_SB.MI2C._Y09._SPE, DSP1) // _SPE: Speed
  11784. DAD1 = Arg1
  11785. DSP1 = Arg2
  11786. Return (IIC1) /* \_SB_.MI2C.IIC1 */
  11787. }
  11788. Case (0x02)
  11789. {
  11790. Name (IIC2, ResourceTemplate ()
  11791. {
  11792. I2cSerialBusV2 (0x0000, ControllerInitiated, 0x00061A80,
  11793. AddressingMode7Bit, "\\_SB.I2CC",
  11794. 0x00, ResourceConsumer, _Y0A, Exclusive,
  11795. )
  11796. })
  11797. CreateWordField (IIC2, \_SB.MI2C._Y0A._ADR, DAD2) // _ADR: Address
  11798. CreateDWordField (IIC2, \_SB.MI2C._Y0A._SPE, DSP2) // _SPE: Speed
  11799. DAD2 = Arg1
  11800. DSP2 = Arg2
  11801. Return (IIC2) /* \_SB_.MI2C.IIC2 */
  11802. }
  11803. Case (0x03)
  11804. {
  11805. Name (IIC3, ResourceTemplate ()
  11806. {
  11807. I2cSerialBusV2 (0x0000, ControllerInitiated, 0x00061A80,
  11808. AddressingMode7Bit, "\\_SB.I2CD",
  11809. 0x00, ResourceConsumer, _Y0B, Exclusive,
  11810. )
  11811. })
  11812. CreateWordField (IIC3, \_SB.MI2C._Y0B._ADR, DAD3) // _ADR: Address
  11813. CreateDWordField (IIC3, \_SB.MI2C._Y0B._SPE, DSP3) // _SPE: Speed
  11814. DAD3 = Arg1
  11815. DSP3 = Arg2
  11816. Return (IIC3) /* \_SB_.MI2C.IIC3 */
  11817. }
  11818. Default
  11819. {
  11820. Return (0x00)
  11821. }
  11822.  
  11823. }
  11824. }
  11825.  
  11826. Device (I2CA)
  11827. {
  11828. Name (_HID, "AMDI0010") // _HID: Hardware ID
  11829. Name (_UID, 0x00) // _UID: Unique ID
  11830. Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
  11831. {
  11832. IRQ (Edge, ActiveHigh, Exclusive, )
  11833. {10}
  11834. Memory32Fixed (ReadWrite,
  11835. 0xFEDC2000, // Address Base
  11836. 0x00001000, // Address Length
  11837. )
  11838. })
  11839. Method (_STA, 0, NotSerialized) // _STA: Status
  11840. {
  11841. If ((TSOS >= 0x70))
  11842. {
  11843. Return (0x0F)
  11844. }
  11845. Else
  11846. {
  11847. Return (0x00)
  11848. }
  11849. }
  11850.  
  11851. Method (RSET, 0, NotSerialized)
  11852. {
  11853. SRAD (0x05, 0xC8)
  11854. }
  11855. }
  11856.  
  11857. Device (I2CB)
  11858. {
  11859. Name (_HID, "AMDI0010") // _HID: Hardware ID
  11860. Name (_UID, 0x01) // _UID: Unique ID
  11861. Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
  11862. {
  11863. IRQ (Edge, ActiveHigh, Exclusive, )
  11864. {11}
  11865. Memory32Fixed (ReadWrite,
  11866. 0xFEDC3000, // Address Base
  11867. 0x00001000, // Address Length
  11868. )
  11869. })
  11870. Method (_STA, 0, NotSerialized) // _STA: Status
  11871. {
  11872. If ((TSOS >= 0x70))
  11873. {
  11874. If ((IC1E == One))
  11875. {
  11876. Return (0x0F)
  11877. }
  11878.  
  11879. Return (0x00)
  11880. }
  11881. Else
  11882. {
  11883. Return (0x00)
  11884. }
  11885. }
  11886.  
  11887. Method (RSET, 0, NotSerialized)
  11888. {
  11889. SRAD (0x06, 0xC8)
  11890. }
  11891. }
  11892. }
  11893.  
  11894. Scope (_SB.I2CB)
  11895. {
  11896. Device (TPNL)
  11897. {
  11898. Name (_HID, "XXXX0000") // _HID: Hardware ID
  11899. Name (_CID, "PNP0C50" /* HID Protocol Device (I2C bus) */) // _CID: Compatible ID
  11900. Name (_S0W, 0x03) // _S0W: S0 Device Wake State
  11901. Name (HID2, 0x00)
  11902. Name (POIO, 0x00)
  11903. Name (SBFB, ResourceTemplate ()
  11904. {
  11905. I2cSerialBusV2 (0x0000, ControllerInitiated, 0x00061A80,
  11906. AddressingMode7Bit, "\\_SB.I2CB",
  11907. 0x00, ResourceConsumer, _Y0C, Exclusive,
  11908. )
  11909. })
  11910. Name (SBFG, ResourceTemplate ()
  11911. {
  11912. GpioInt (Level, ActiveLow, ExclusiveAndWake, PullNone, 0x0000,
  11913. "\\_SB.GPIO", 0x00, ResourceConsumer, ,
  11914. )
  11915. { // Pin list
  11916. 0x0005
  11917. }
  11918. })
  11919. CreateWordField (SBFB, \_SB.I2CB.TPNL._Y0C._ADR, BADR) // _ADR: Address
  11920. CreateDWordField (SBFB, \_SB.I2CB.TPNL._Y0C._SPE, SPED) // _SPE: Speed
  11921. Name (ITML, Package (0x0A)
  11922. {
  11923. Package (0x07)
  11924. {
  11925. 0x04F3,
  11926. 0x2A3B,
  11927. 0x10,
  11928. 0x01,
  11929. 0x01,
  11930. "ELAN901C",
  11931. 0x01
  11932. },
  11933.  
  11934. Package (0x07)
  11935. {
  11936. 0x04F3,
  11937. 0x2455,
  11938. 0x10,
  11939. 0x01,
  11940. 0x01,
  11941. "ELAN901C",
  11942. 0x01
  11943. },
  11944.  
  11945. Package (0x07)
  11946. {
  11947. 0x2386,
  11948. 0x4B48,
  11949. 0x39,
  11950. 0x01,
  11951. 0x01,
  11952. "RAYD0001",
  11953. 0x01
  11954. },
  11955.  
  11956. Package (0x07)
  11957. {
  11958. 0x1FD2,
  11959. 0xA004,
  11960. 0x34,
  11961. 0x00,
  11962. 0x01,
  11963. "MELF0410",
  11964. 0x01
  11965. },
  11966.  
  11967. Package (0x07)
  11968. {
  11969. 0x04F3,
  11970. 0x2CBF,
  11971. 0x10,
  11972. 0x01,
  11973. 0x01,
  11974. "ELAN901C",
  11975. 0x01
  11976. },
  11977.  
  11978. Package (0x07)
  11979. {
  11980. 0x04F3,
  11981. 0x2CAA,
  11982. 0x10,
  11983. 0x01,
  11984. 0x01,
  11985. "ELAN901C",
  11986. 0x01
  11987. },
  11988.  
  11989. Package (0x07)
  11990. {
  11991. 0x04F3,
  11992. 0x2CBD,
  11993. 0x10,
  11994. 0x01,
  11995. 0x01,
  11996. "ELAN901C",
  11997. 0x01
  11998. },
  11999.  
  12000. Package (0x07)
  12001. {
  12002. 0x04F3,
  12003. 0x2D19,
  12004. 0x10,
  12005. 0x01,
  12006. 0x01,
  12007. "ELAN901C",
  12008. 0x01
  12009. },
  12010.  
  12011. Package (0x07)
  12012. {
  12013. 0x04F3,
  12014. 0x2D4C,
  12015. 0x10,
  12016. 0x01,
  12017. 0x01,
  12018. "ELAN901C",
  12019. 0x01
  12020. },
  12021.  
  12022. Package (0x07)
  12023. {
  12024. 0x2386,
  12025. 0x4B4E,
  12026. 0x39,
  12027. 0x01,
  12028. 0x01,
  12029. "RAYD0001",
  12030. 0x01
  12031. }
  12032. })
  12033. Method (UHMS, 0, NotSerialized)
  12034. {
  12035. Local0 = 0x00
  12036. Local1 = SizeOf (ITML)
  12037. While ((Local0 < Local1))
  12038. {
  12039. Local2 = DerefOf (ITML [Local0])
  12040. Local3 = DerefOf (Local2 [0x00])
  12041. Local4 = DerefOf (Local2 [0x01])
  12042. If ((PNVD == Local3))
  12043. {
  12044. If ((PNPD == Local4))
  12045. {
  12046. BADR = DerefOf (Local2 [0x02])
  12047. HID2 = DerefOf (Local2 [0x03])
  12048. Local5 = DerefOf (Local2 [0x04])
  12049. _HID = DerefOf (Local2 [0x05])
  12050. POIO = DerefOf (Local2 [0x06])
  12051. If ((Local5 == 0x00))
  12052. {
  12053. SPED = 0x000186A0
  12054. }
  12055.  
  12056. If ((Local5 == 0x01))
  12057. {
  12058. SPED = 0x00061A80
  12059. }
  12060.  
  12061. If ((Local5 == 0x02))
  12062. {
  12063. SPED = 0x000F4240
  12064. }
  12065.  
  12066. Return (0x01)
  12067. }
  12068. }
  12069.  
  12070. Local0++
  12071. }
  12072.  
  12073. Return (0x00)
  12074. }
  12075.  
  12076. Method (_INI, 0, NotSerialized) // _INI: Initialize
  12077. {
  12078. UHMS ()
  12079. }
  12080.  
  12081. Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
  12082. {
  12083. Return (ConcatenateResTemplate (MI2C (POIO, BADR, SPED), SBFG))
  12084. }
  12085.  
  12086. Method (_STA, 0, NotSerialized) // _STA: Status
  12087. {
  12088. If (((PNVD == 0x00) || (PNPD == 0x00)))
  12089. {
  12090. Return (0x00)
  12091. }
  12092.  
  12093. If ((TPOS >= 0x60))
  12094. {
  12095. Return (0x0F)
  12096. }
  12097. Else
  12098. {
  12099. Return (Zero)
  12100. }
  12101. }
  12102.  
  12103. Method (_DSW, 3, NotSerialized) // _DSW: Device Sleep Wake
  12104. {
  12105. If (Arg0){}
  12106. Else
  12107. {
  12108. }
  12109. }
  12110.  
  12111. Method (_PS0, 0, NotSerialized) // _PS0: Power State 0
  12112. {
  12113. }
  12114.  
  12115. Method (_PS3, 0, NotSerialized) // _PS3: Power State 3
  12116. {
  12117. }
  12118.  
  12119. Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method
  12120. {
  12121. If ((Arg0 == ToUUID ("3cdff6f7-4267-4555-ad05-b30a3d8938de") /* HID I2C Device */))
  12122. {
  12123. Switch (ToInteger (Arg2))
  12124. {
  12125. Case (0x00)
  12126. {
  12127. Switch (ToInteger (Arg1))
  12128. {
  12129. Case (0x01)
  12130. {
  12131. Return (Buffer (0x01)
  12132. {
  12133. 0x03 // .
  12134. })
  12135. }
  12136. Default
  12137. {
  12138. Return (Buffer (0x01)
  12139. {
  12140. 0x00 // .
  12141. })
  12142. }
  12143.  
  12144. }
  12145. }
  12146. Case (0x01)
  12147. {
  12148. Return (HID2) /* \_SB_.I2CB.TPNL.HID2 */
  12149. }
  12150. Default
  12151. {
  12152. Return (0x00)
  12153. }
  12154.  
  12155. }
  12156. }
  12157. Else
  12158. {
  12159. Return (Buffer (0x01)
  12160. {
  12161. 0x00 // .
  12162. })
  12163. }
  12164. }
  12165. }
  12166. }
  12167.  
  12168. Scope (_SB.I2CA)
  12169. {
  12170. Device (NFC1)
  12171. {
  12172. Name (_ADR, 0x00) // _ADR: Address
  12173. Name (_HID, "NXP1001") // _HID: Hardware ID
  12174. Name (_DDN, "NXP NFC For Win10") // _DDN: DOS Device Name
  12175. Name (_UID, 0x01) // _UID: Unique ID
  12176. Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
  12177. {
  12178. Name (RBUF, ResourceTemplate ()
  12179. {
  12180. I2cSerialBusV2 (0x0029, ControllerInitiated, 0x00061A80,
  12181. AddressingMode7Bit, "\\_SB.I2CA",
  12182. 0x00, ResourceConsumer, , Exclusive,
  12183. )
  12184. GpioInt (Level, ActiveHigh, Exclusive, PullNone, 0x0000,
  12185. "\\_SB.GPIO", 0x00, ResourceConsumer, ,
  12186. )
  12187. { // Pin list
  12188. 0x0054
  12189. }
  12190. GpioIo (Exclusive, PullDefault, 0x0000, 0x0000, IoRestrictionOutputOnly,
  12191. "\\_SB.GPIO", 0x00, ResourceConsumer, ,
  12192. )
  12193. { // Pin list
  12194. 0x0004
  12195. }
  12196. GpioIo (Exclusive, PullDefault, 0x0000, 0x0000, IoRestrictionOutputOnly,
  12197. "\\_SB.GPIO", 0x00, ResourceConsumer, ,
  12198. )
  12199. { // Pin list
  12200. 0x0090
  12201. }
  12202. })
  12203. Return (RBUF) /* \_SB_.I2CA.NFC1._CRS.RBUF */
  12204. }
  12205.  
  12206. Method (_STA, 0, NotSerialized) // _STA: Status
  12207. {
  12208. If ((TPOS >= 0x60))
  12209. {
  12210. If (((LM12 (0x46) == 0x00) && (NFCF == 0x00)))
  12211. {
  12212. Return (0x0F)
  12213. }
  12214. }
  12215.  
  12216. Return (0x00)
  12217. }
  12218. }
  12219. }
  12220.  
  12221. Scope (_SB.PCI0)
  12222. {
  12223. Device (SMB1)
  12224. {
  12225. Name (_HID, "SMB0001") // _HID: Hardware ID
  12226. Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
  12227. {
  12228. IO (Decode16,
  12229. 0x0B20, // Range Minimum
  12230. 0x0B20, // Range Maximum
  12231. 0x20, // Alignment
  12232. 0x20, // Length
  12233. )
  12234. IRQ (Level, ActiveLow, Shared, )
  12235. {7}
  12236. })
  12237. Method (_STA, 0, NotSerialized) // _STA: Status
  12238. {
  12239. Return (0x0F)
  12240. }
  12241. }
  12242. }
  12243.  
  12244. Scope (_SB.PCI0.LPC0.EC0.HKEY)
  12245. {
  12246. Name (MPL0, 0x2AF8)
  12247. Name (SPP0, 0x3A98)
  12248. Name (FPP0, 0x4E20)
  12249. Name (STC0, 0x05)
  12250. Name (ALA0, 0x1999)
  12251. Name (STL0, 0x2F00)
  12252. Name (ERC0, 0x0147)
  12253. Name (ERA0, 0x2666)
  12254. Name (SM10, 0x02A2)
  12255. Name (SM20, 0x0321)
  12256. Name (SCA0, 0xC58A)
  12257. Name (TCL0, 0x56)
  12258. Name (MPL1, 0x2AF8)
  12259. Name (SPP1, 0x2AF8)
  12260. Name (FPP1, 0x2AF8)
  12261. Name (STC1, 0x05)
  12262. Name (ALA1, 0x1999)
  12263. Name (STL1, 0x2D00)
  12264. Name (ERC1, 0x0147)
  12265. Name (ERA1, 0x2666)
  12266. Name (SM11, 0x019B)
  12267. Name (SM21, 0x0441)
  12268. Name (SCA1, 0xC4E0)
  12269. Name (TCL1, 0x46)
  12270. Name (MPL2, 0x4268)
  12271. Name (SPP2, 0x5DC0)
  12272. Name (FPP2, 0x7530)
  12273. Name (STC2, 0x05)
  12274. Name (ALA2, 0x1999)
  12275. Name (STL2, 0x3280)
  12276. Name (ERC2, 0x0147)
  12277. Name (ERA2, 0x2666)
  12278. Name (SM12, 0x02D0)
  12279. Name (SM22, 0x025F)
  12280. Name (SCA2, 0xCAB9)
  12281. Name (TCL2, 0x60)
  12282. Name (MPL3, 0x2AF8)
  12283. Name (SPP3, 0x3A98)
  12284. Name (FPP3, 0x4E20)
  12285. Name (STC3, 0x05)
  12286. Name (ALA3, 0x1999)
  12287. Name (STL3, 0x2F00)
  12288. Name (ERC3, 0x0147)
  12289. Name (ERA3, 0x2666)
  12290. Name (SM13, 0x02A2)
  12291. Name (SM23, 0x0321)
  12292. Name (SCA3, 0xC58A)
  12293. Name (TCL3, 0x56)
  12294. Name (MPL4, 0x2AF8)
  12295. Name (SPP4, 0x2AF8)
  12296. Name (FPP4, 0x2AF8)
  12297. Name (STC4, 0x05)
  12298. Name (ALA4, 0x1999)
  12299. Name (STL4, 0x2D00)
  12300. Name (ERC4, 0x0147)
  12301. Name (ERA4, 0x2666)
  12302. Name (SM14, 0x019B)
  12303. Name (SM24, 0x0441)
  12304. Name (SCA4, 0xC4E0)
  12305. Name (TCL4, 0x46)
  12306. Name (MPL5, 0x2AF8)
  12307. Name (SPP5, 0x2AF8)
  12308. Name (FPP5, 0x2AF8)
  12309. Name (STC5, 0x05)
  12310. Name (ALA5, 0x1999)
  12311. Name (STL5, 0x2D00)
  12312. Name (ERC5, 0x0147)
  12313. Name (ERA5, 0x2666)
  12314. Name (SM15, 0x019B)
  12315. Name (SM25, 0x0441)
  12316. Name (SCA5, 0xC4E0)
  12317. Name (TCL5, 0x46)
  12318. Name (TDC5, 0x80E8)
  12319. Name (EDC5, 0xC350)
  12320. Name (TDCN, 0xABE0)
  12321. Name (EDCN, 0x00017318)
  12322. Method (DYTC, 1, Serialized)
  12323. {
  12324. Local0 = Arg0
  12325. DYPR = Arg0
  12326. Local1 = 0x00
  12327. Name (XX11, Buffer (0x07){})
  12328. Name (TSCB, 0x0F)
  12329. Name (TSCC, 0x0F)
  12330. CreateWordField (XX11, 0x00, SSZE)
  12331. CreateByteField (XX11, 0x02, SMUF)
  12332. CreateDWordField (XX11, 0x03, SMUD)
  12333. SSZE = 0x07
  12334. Switch (ToInteger ((Local0 & 0x01FF)))
  12335. {
  12336. Case (0x00)
  12337. {
  12338. Local1 = 0x0100
  12339. Local1 |= 0x60000000
  12340. Local1 |= 0x00
  12341. Local1 |= 0x01
  12342. }
  12343. Case (0x01)
  12344. {
  12345. Local2 = ((Local0 >> 0x0C) & 0x0F)
  12346. Local3 = ((Local0 >> 0x10) & 0x0F)
  12347. Local4 = ((Local0 >> 0x14) & 0x01)
  12348. Switch (Local2)
  12349. {
  12350. Case (0x01)
  12351. {
  12352. If ((Local3 != 0x0F))
  12353. {
  12354. Local1 = 0x0A
  12355. Return (Local1)
  12356. }
  12357.  
  12358. If ((Local4 == 0x00))
  12359. {
  12360. If ((0x01 == VCQL))
  12361. {
  12362. VCQL = 0x00
  12363. }
  12364. }
  12365. ElseIf (((VPSC == 0x01) && ((SPSC == 0x07) || (SPSC ==
  12366. 0x08))))
  12367. {
  12368. VCQL = 0x01
  12369. }
  12370. }
  12371. Case (0x04)
  12372. {
  12373. If ((Local3 != 0x0F))
  12374. {
  12375. Local1 = 0x0A
  12376. Return (Local1)
  12377. }
  12378.  
  12379. If ((Local4 == 0x00))
  12380. {
  12381. VSTP = 0x00
  12382. }
  12383. Else
  12384. {
  12385. VSTP = 0x01
  12386. }
  12387. }
  12388. Case (0x0D)
  12389. {
  12390. If (((Local3 <= 0x08) && (Local3 >= 0x01)))
  12391. {
  12392. If ((Local4 != 0x01))
  12393. {
  12394. Local1 = 0x0A
  12395. Return (Local1)
  12396. }
  12397. }
  12398. ElseIf ((Local3 == 0x0F))
  12399. {
  12400. If ((Local4 != 0x00))
  12401. {
  12402. Local1 = 0x0A
  12403. Return (Local1)
  12404. }
  12405. }
  12406. Else
  12407. {
  12408. Local1 = 0x0A
  12409. Return (Local1)
  12410. }
  12411.  
  12412. If ((Local4 == 0x00))
  12413. {
  12414. VPSC = 0x00
  12415. SPSC = 0x00
  12416. }
  12417. Else
  12418. {
  12419. VCQL = 0x00
  12420. VPSC = 0x01
  12421. SPSC = Local3
  12422. }
  12423. }
  12424. Case (0x00)
  12425. {
  12426. If ((Local3 != 0x0F))
  12427. {
  12428. Local1 = 0x0A
  12429. Return (Local1)
  12430. }
  12431. }
  12432. Default
  12433. {
  12434. Local1 = 0x02
  12435. Return (Local1)
  12436. }
  12437.  
  12438. }
  12439.  
  12440. If (H8DR)
  12441. {
  12442. If (((FANE == 0x01) || (FEXI == 0x00)))
  12443. {
  12444. VSTP = 0x01
  12445. }
  12446. }
  12447. ElseIf ((((RBEC (0x34) & 0x10) == 0x00) || ((
  12448. RBEC (0x35) & 0x10) == 0x10)))
  12449. {
  12450. VSTP = 0x01
  12451. }
  12452.  
  12453. If ((HB0A == 0x00))
  12454. {
  12455. SMUF = 0x2E
  12456. SMUD = MPL5 /* \_SB_.PCI0.LPC0.EC0_.HKEY.MPL5 */
  12457. ALIB (0x0C, XX11)
  12458. SMUF = 0x06
  12459. SMUD = FPP5 /* \_SB_.PCI0.LPC0.EC0_.HKEY.FPP5 */
  12460. ALIB (0x0C, XX11)
  12461. SMUF = 0x07
  12462. SMUD = SPP5 /* \_SB_.PCI0.LPC0.EC0_.HKEY.SPP5 */
  12463. ALIB (0x0C, XX11)
  12464. SMUF = 0x08
  12465. SMUD = STC5 /* \_SB_.PCI0.LPC0.EC0_.HKEY.STC5 */
  12466. ALIB (0x0C, XX11)
  12467. SMUF = 0x20
  12468. SMUD = ALA5 /* \_SB_.PCI0.LPC0.EC0_.HKEY.ALA5 */
  12469. ALIB (0x0C, XX11)
  12470. SMUF = 0x22
  12471. SMUD = STL5 /* \_SB_.PCI0.LPC0.EC0_.HKEY.STL5 */
  12472. ALIB (0x0C, XX11)
  12473. SMUF = 0x24
  12474. SMUD = ERC5 /* \_SB_.PCI0.LPC0.EC0_.HKEY.ERC5 */
  12475. ALIB (0x0C, XX11)
  12476. SMUF = 0x25
  12477. SMUD = ERA5 /* \_SB_.PCI0.LPC0.EC0_.HKEY.ERA5 */
  12478. ALIB (0x0C, XX11)
  12479. SMUF = 0x26
  12480. SMUD = SM15 /* \_SB_.PCI0.LPC0.EC0_.HKEY.SM15 */
  12481. ALIB (0x0C, XX11)
  12482. SMUF = 0x27
  12483. SMUD = SM25 /* \_SB_.PCI0.LPC0.EC0_.HKEY.SM25 */
  12484. ALIB (0x0C, XX11)
  12485. SMUF = 0x2C
  12486. SMUD = SCA5 /* \_SB_.PCI0.LPC0.EC0_.HKEY.SCA5 */
  12487. ALIB (0x0C, XX11)
  12488. SMUF = 0x03
  12489. If ((VSTP == 0x01))
  12490. {
  12491. SMUD = TCL4 /* \_SB_.PCI0.LPC0.EC0_.HKEY.TCL4 */
  12492. }
  12493. Else
  12494. {
  12495. SMUD = TCL5 /* \_SB_.PCI0.LPC0.EC0_.HKEY.TCL5 */
  12496. }
  12497.  
  12498. ALIB (0x0C, XX11)
  12499. SMUF = 0x0B
  12500. SMUD = TDC5 /* \_SB_.PCI0.LPC0.EC0_.HKEY.TDC5 */
  12501. ALIB (0x0C, XX11)
  12502. SMUF = 0x0C
  12503. SMUD = EDC5 /* \_SB_.PCI0.LPC0.EC0_.HKEY.EDC5 */
  12504. ALIB (0x0C, XX11)
  12505. }
  12506. ElseIf ((VCQL == 0x01))
  12507. {
  12508. CICF = 0x01
  12509. OSML = 0x22
  12510. SMUF = 0x2E
  12511. If ((VSTP == 0x01))
  12512. {
  12513. SMUD = MPL4 /* \_SB_.PCI0.LPC0.EC0_.HKEY.MPL4 */
  12514. }
  12515. Else
  12516. {
  12517. SMUD = MPL0 /* \_SB_.PCI0.LPC0.EC0_.HKEY.MPL0 */
  12518. }
  12519.  
  12520. ALIB (0x0C, XX11)
  12521. SMUF = 0x06
  12522. If ((VSTP == 0x01))
  12523. {
  12524. SMUD = FPP4 /* \_SB_.PCI0.LPC0.EC0_.HKEY.FPP4 */
  12525. }
  12526. Else
  12527. {
  12528. SMUD = FPP0 /* \_SB_.PCI0.LPC0.EC0_.HKEY.FPP0 */
  12529. }
  12530.  
  12531. ALIB (0x0C, XX11)
  12532. SMUF = 0x07
  12533. If ((VSTP == 0x01))
  12534. {
  12535. SMUD = SPP4 /* \_SB_.PCI0.LPC0.EC0_.HKEY.SPP4 */
  12536. }
  12537. Else
  12538. {
  12539. SMUD = SPP0 /* \_SB_.PCI0.LPC0.EC0_.HKEY.SPP0 */
  12540. }
  12541.  
  12542. ALIB (0x0C, XX11)
  12543. SMUF = 0x08
  12544. If ((VSTP == 0x01))
  12545. {
  12546. SMUD = STC4 /* \_SB_.PCI0.LPC0.EC0_.HKEY.STC4 */
  12547. }
  12548. Else
  12549. {
  12550. SMUD = STC0 /* \_SB_.PCI0.LPC0.EC0_.HKEY.STC0 */
  12551. }
  12552.  
  12553. ALIB (0x0C, XX11)
  12554. SMUF = 0x20
  12555. If ((VSTP == 0x01))
  12556. {
  12557. SMUD = ALA4 /* \_SB_.PCI0.LPC0.EC0_.HKEY.ALA4 */
  12558. }
  12559. Else
  12560. {
  12561. SMUD = ALA0 /* \_SB_.PCI0.LPC0.EC0_.HKEY.ALA0 */
  12562. }
  12563.  
  12564. ALIB (0x0C, XX11)
  12565. SMUF = 0x22
  12566. If ((VSTP == 0x01))
  12567. {
  12568. SMUD = STL4 /* \_SB_.PCI0.LPC0.EC0_.HKEY.STL4 */
  12569. }
  12570. Else
  12571. {
  12572. SMUD = STL0 /* \_SB_.PCI0.LPC0.EC0_.HKEY.STL0 */
  12573. }
  12574.  
  12575. ALIB (0x0C, XX11)
  12576. SMUF = 0x24
  12577. If ((VSTP == 0x01))
  12578. {
  12579. SMUD = ERC4 /* \_SB_.PCI0.LPC0.EC0_.HKEY.ERC4 */
  12580. }
  12581. Else
  12582. {
  12583. SMUD = ERC0 /* \_SB_.PCI0.LPC0.EC0_.HKEY.ERC0 */
  12584. }
  12585.  
  12586. ALIB (0x0C, XX11)
  12587. SMUF = 0x25
  12588. If ((VSTP == 0x01))
  12589. {
  12590. SMUD = ERA4 /* \_SB_.PCI0.LPC0.EC0_.HKEY.ERA4 */
  12591. }
  12592. Else
  12593. {
  12594. SMUD = ERA0 /* \_SB_.PCI0.LPC0.EC0_.HKEY.ERA0 */
  12595. }
  12596.  
  12597. ALIB (0x0C, XX11)
  12598. SMUF = 0x26
  12599. If ((VSTP == 0x01))
  12600. {
  12601. SMUD = SM14 /* \_SB_.PCI0.LPC0.EC0_.HKEY.SM14 */
  12602. }
  12603. Else
  12604. {
  12605. SMUD = SM10 /* \_SB_.PCI0.LPC0.EC0_.HKEY.SM10 */
  12606. }
  12607.  
  12608. ALIB (0x0C, XX11)
  12609. SMUF = 0x27
  12610. If ((VSTP == 0x01))
  12611. {
  12612. SMUD = SM24 /* \_SB_.PCI0.LPC0.EC0_.HKEY.SM24 */
  12613. }
  12614. Else
  12615. {
  12616. SMUD = SM20 /* \_SB_.PCI0.LPC0.EC0_.HKEY.SM20 */
  12617. }
  12618.  
  12619. ALIB (0x0C, XX11)
  12620. SMUF = 0x2C
  12621. If ((VSTP == 0x01))
  12622. {
  12623. SMUD = SCA4 /* \_SB_.PCI0.LPC0.EC0_.HKEY.SCA4 */
  12624. }
  12625. Else
  12626. {
  12627. SMUD = SCA0 /* \_SB_.PCI0.LPC0.EC0_.HKEY.SCA0 */
  12628. }
  12629.  
  12630. ALIB (0x0C, XX11)
  12631. SMUF = 0x03
  12632. If ((VSTP == 0x01))
  12633. {
  12634. SMUD = TCL4 /* \_SB_.PCI0.LPC0.EC0_.HKEY.TCL4 */
  12635. }
  12636. Else
  12637. {
  12638. SMUD = TCL0 /* \_SB_.PCI0.LPC0.EC0_.HKEY.TCL0 */
  12639. }
  12640.  
  12641. ALIB (0x0C, XX11)
  12642. SMUF = 0x0B
  12643. SMUD = TDCN /* \_SB_.PCI0.LPC0.EC0_.HKEY.TDCN */
  12644. ALIB (0x0C, XX11)
  12645. SMUF = 0x0C
  12646. SMUD = EDCN /* \_SB_.PCI0.LPC0.EC0_.HKEY.EDCN */
  12647. ALIB (0x0C, XX11)
  12648. }
  12649. ElseIf ((VPSC == 0x01))
  12650. {
  12651. CICF = 0x0D
  12652. Local7 = SPSC /* \SPSC */
  12653. Switch (Local7)
  12654. {
  12655. Case (Package (0x02)
  12656. {
  12657. 0x07,
  12658. 0x08
  12659. }
  12660.  
  12661. )
  12662. {
  12663. OSML = 0x02
  12664. SMUF = 0x2E
  12665. If ((VSTP == 0x01))
  12666. {
  12667. SMUD = MPL4 /* \_SB_.PCI0.LPC0.EC0_.HKEY.MPL4 */
  12668. }
  12669. Else
  12670. {
  12671. SMUD = MPL2 /* \_SB_.PCI0.LPC0.EC0_.HKEY.MPL2 */
  12672. }
  12673.  
  12674. ALIB (0x0C, XX11)
  12675. SMUF = 0x06
  12676. If ((VSTP == 0x01))
  12677. {
  12678. SMUD = FPP4 /* \_SB_.PCI0.LPC0.EC0_.HKEY.FPP4 */
  12679. }
  12680. Else
  12681. {
  12682. SMUD = FPP2 /* \_SB_.PCI0.LPC0.EC0_.HKEY.FPP2 */
  12683. }
  12684.  
  12685. ALIB (0x0C, XX11)
  12686. SMUF = 0x07
  12687. If ((VSTP == 0x01))
  12688. {
  12689. SMUD = SPP4 /* \_SB_.PCI0.LPC0.EC0_.HKEY.SPP4 */
  12690. }
  12691. Else
  12692. {
  12693. SMUD = SPP2 /* \_SB_.PCI0.LPC0.EC0_.HKEY.SPP2 */
  12694. }
  12695.  
  12696. ALIB (0x0C, XX11)
  12697. SMUF = 0x08
  12698. If ((VSTP == 0x01))
  12699. {
  12700. SMUD = STC4 /* \_SB_.PCI0.LPC0.EC0_.HKEY.STC4 */
  12701. }
  12702. Else
  12703. {
  12704. SMUD = STC2 /* \_SB_.PCI0.LPC0.EC0_.HKEY.STC2 */
  12705. }
  12706.  
  12707. ALIB (0x0C, XX11)
  12708. SMUF = 0x20
  12709. If ((VSTP == 0x01))
  12710. {
  12711. SMUD = ALA4 /* \_SB_.PCI0.LPC0.EC0_.HKEY.ALA4 */
  12712. }
  12713. Else
  12714. {
  12715. SMUD = ALA2 /* \_SB_.PCI0.LPC0.EC0_.HKEY.ALA2 */
  12716. }
  12717.  
  12718. ALIB (0x0C, XX11)
  12719. SMUF = 0x22
  12720. If ((VSTP == 0x01))
  12721. {
  12722. SMUD = STL4 /* \_SB_.PCI0.LPC0.EC0_.HKEY.STL4 */
  12723. }
  12724. Else
  12725. {
  12726. SMUD = STL2 /* \_SB_.PCI0.LPC0.EC0_.HKEY.STL2 */
  12727. }
  12728.  
  12729. ALIB (0x0C, XX11)
  12730. SMUF = 0x24
  12731. If ((VSTP == 0x01))
  12732. {
  12733. SMUD = ERC4 /* \_SB_.PCI0.LPC0.EC0_.HKEY.ERC4 */
  12734. }
  12735. Else
  12736. {
  12737. SMUD = ERC2 /* \_SB_.PCI0.LPC0.EC0_.HKEY.ERC2 */
  12738. }
  12739.  
  12740. ALIB (0x0C, XX11)
  12741. SMUF = 0x25
  12742. If ((VSTP == 0x01))
  12743. {
  12744. SMUD = ERA4 /* \_SB_.PCI0.LPC0.EC0_.HKEY.ERA4 */
  12745. }
  12746. Else
  12747. {
  12748. SMUD = ERA2 /* \_SB_.PCI0.LPC0.EC0_.HKEY.ERA2 */
  12749. }
  12750.  
  12751. ALIB (0x0C, XX11)
  12752. SMUF = 0x26
  12753. If ((VSTP == 0x01))
  12754. {
  12755. SMUD = SM14 /* \_SB_.PCI0.LPC0.EC0_.HKEY.SM14 */
  12756. }
  12757. Else
  12758. {
  12759. SMUD = SM12 /* \_SB_.PCI0.LPC0.EC0_.HKEY.SM12 */
  12760. }
  12761.  
  12762. ALIB (0x0C, XX11)
  12763. SMUF = 0x27
  12764. If ((VSTP == 0x01))
  12765. {
  12766. SMUD = SM24 /* \_SB_.PCI0.LPC0.EC0_.HKEY.SM24 */
  12767. }
  12768. Else
  12769. {
  12770. SMUD = SM22 /* \_SB_.PCI0.LPC0.EC0_.HKEY.SM22 */
  12771. }
  12772.  
  12773. ALIB (0x0C, XX11)
  12774. SMUF = 0x2C
  12775. If ((VSTP == 0x01))
  12776. {
  12777. SMUD = SCA4 /* \_SB_.PCI0.LPC0.EC0_.HKEY.SCA4 */
  12778. }
  12779. Else
  12780. {
  12781. SMUD = SCA2 /* \_SB_.PCI0.LPC0.EC0_.HKEY.SCA2 */
  12782. }
  12783.  
  12784. ALIB (0x0C, XX11)
  12785. SMUF = 0x03
  12786. If ((VSTP == 0x01))
  12787. {
  12788. SMUD = TCL4 /* \_SB_.PCI0.LPC0.EC0_.HKEY.TCL4 */
  12789. }
  12790. Else
  12791. {
  12792. SMUD = TCL2 /* \_SB_.PCI0.LPC0.EC0_.HKEY.TCL2 */
  12793. }
  12794.  
  12795. ALIB (0x0C, XX11)
  12796. SMUF = 0x0B
  12797. SMUD = TDCN /* \_SB_.PCI0.LPC0.EC0_.HKEY.TDCN */
  12798. ALIB (0x0C, XX11)
  12799. SMUF = 0x0C
  12800. SMUD = EDCN /* \_SB_.PCI0.LPC0.EC0_.HKEY.EDCN */
  12801. ALIB (0x0C, XX11)
  12802. }
  12803. Case (Package (0x03)
  12804. {
  12805. 0x02,
  12806. 0x03,
  12807. 0x04
  12808. }
  12809.  
  12810. )
  12811. {
  12812. OSML = 0x01
  12813. SMUF = 0x2E
  12814. If ((VSTP == 0x01))
  12815. {
  12816. SMUD = MPL4 /* \_SB_.PCI0.LPC0.EC0_.HKEY.MPL4 */
  12817. }
  12818. Else
  12819. {
  12820. SMUD = MPL1 /* \_SB_.PCI0.LPC0.EC0_.HKEY.MPL1 */
  12821. }
  12822.  
  12823. ALIB (0x0C, XX11)
  12824. SMUF = 0x06
  12825. If ((VSTP == 0x01))
  12826. {
  12827. SMUD = FPP4 /* \_SB_.PCI0.LPC0.EC0_.HKEY.FPP4 */
  12828. }
  12829. Else
  12830. {
  12831. SMUD = FPP1 /* \_SB_.PCI0.LPC0.EC0_.HKEY.FPP1 */
  12832. }
  12833.  
  12834. ALIB (0x0C, XX11)
  12835. SMUF = 0x07
  12836. If ((VSTP == 0x01))
  12837. {
  12838. SMUD = SPP4 /* \_SB_.PCI0.LPC0.EC0_.HKEY.SPP4 */
  12839. }
  12840. Else
  12841. {
  12842. SMUD = SPP1 /* \_SB_.PCI0.LPC0.EC0_.HKEY.SPP1 */
  12843. }
  12844.  
  12845. ALIB (0x0C, XX11)
  12846. SMUF = 0x08
  12847. If ((VSTP == 0x01))
  12848. {
  12849. SMUD = STC4 /* \_SB_.PCI0.LPC0.EC0_.HKEY.STC4 */
  12850. }
  12851. Else
  12852. {
  12853. SMUD = STC1 /* \_SB_.PCI0.LPC0.EC0_.HKEY.STC1 */
  12854. }
  12855.  
  12856. ALIB (0x0C, XX11)
  12857. SMUF = 0x20
  12858. If ((VSTP == 0x01))
  12859. {
  12860. SMUD = ALA4 /* \_SB_.PCI0.LPC0.EC0_.HKEY.ALA4 */
  12861. }
  12862. Else
  12863. {
  12864. SMUD = ALA1 /* \_SB_.PCI0.LPC0.EC0_.HKEY.ALA1 */
  12865. }
  12866.  
  12867. ALIB (0x0C, XX11)
  12868. SMUF = 0x22
  12869. If ((VSTP == 0x01))
  12870. {
  12871. SMUD = STL4 /* \_SB_.PCI0.LPC0.EC0_.HKEY.STL4 */
  12872. }
  12873. Else
  12874. {
  12875. SMUD = STL1 /* \_SB_.PCI0.LPC0.EC0_.HKEY.STL1 */
  12876. }
  12877.  
  12878. ALIB (0x0C, XX11)
  12879. SMUF = 0x24
  12880. If ((VSTP == 0x01))
  12881. {
  12882. SMUD = ERC4 /* \_SB_.PCI0.LPC0.EC0_.HKEY.ERC4 */
  12883. }
  12884. Else
  12885. {
  12886. SMUD = ERC1 /* \_SB_.PCI0.LPC0.EC0_.HKEY.ERC1 */
  12887. }
  12888.  
  12889. ALIB (0x0C, XX11)
  12890. SMUF = 0x25
  12891. If ((VSTP == 0x01))
  12892. {
  12893. SMUD = ERA4 /* \_SB_.PCI0.LPC0.EC0_.HKEY.ERA4 */
  12894. }
  12895. Else
  12896. {
  12897. SMUD = ERA1 /* \_SB_.PCI0.LPC0.EC0_.HKEY.ERA1 */
  12898. }
  12899.  
  12900. ALIB (0x0C, XX11)
  12901. SMUF = 0x26
  12902. If ((VSTP == 0x01))
  12903. {
  12904. SMUD = SM14 /* \_SB_.PCI0.LPC0.EC0_.HKEY.SM14 */
  12905. }
  12906. Else
  12907. {
  12908. SMUD = SM11 /* \_SB_.PCI0.LPC0.EC0_.HKEY.SM11 */
  12909. }
  12910.  
  12911. ALIB (0x0C, XX11)
  12912. SMUF = 0x27
  12913. If ((VSTP == 0x01))
  12914. {
  12915. SMUD = SM24 /* \_SB_.PCI0.LPC0.EC0_.HKEY.SM24 */
  12916. }
  12917. Else
  12918. {
  12919. SMUD = SM21 /* \_SB_.PCI0.LPC0.EC0_.HKEY.SM21 */
  12920. }
  12921.  
  12922. ALIB (0x0C, XX11)
  12923. SMUF = 0x2C
  12924. If ((VSTP == 0x01))
  12925. {
  12926. SMUD = SCA4 /* \_SB_.PCI0.LPC0.EC0_.HKEY.SCA4 */
  12927. }
  12928. Else
  12929. {
  12930. SMUD = SCA1 /* \_SB_.PCI0.LPC0.EC0_.HKEY.SCA1 */
  12931. }
  12932.  
  12933. ALIB (0x0C, XX11)
  12934. SMUF = 0x03
  12935. If ((VSTP == 0x01))
  12936. {
  12937. SMUD = TCL4 /* \_SB_.PCI0.LPC0.EC0_.HKEY.TCL4 */
  12938. }
  12939. Else
  12940. {
  12941. SMUD = TCL1 /* \_SB_.PCI0.LPC0.EC0_.HKEY.TCL1 */
  12942. }
  12943.  
  12944. ALIB (0x0C, XX11)
  12945. SMUF = 0x0B
  12946. SMUD = TDCN /* \_SB_.PCI0.LPC0.EC0_.HKEY.TDCN */
  12947. ALIB (0x0C, XX11)
  12948. SMUF = 0x0C
  12949. SMUD = EDCN /* \_SB_.PCI0.LPC0.EC0_.HKEY.EDCN */
  12950. ALIB (0x0C, XX11)
  12951. }
  12952. Default
  12953. {
  12954. OSML = 0x04
  12955. SMUF = 0x2E
  12956. If ((VSTP == 0x01))
  12957. {
  12958. SMUD = MPL4 /* \_SB_.PCI0.LPC0.EC0_.HKEY.MPL4 */
  12959. }
  12960. Else
  12961. {
  12962. SMUD = MPL3 /* \_SB_.PCI0.LPC0.EC0_.HKEY.MPL3 */
  12963. }
  12964.  
  12965. ALIB (0x0C, XX11)
  12966. SMUF = 0x06
  12967. If ((VSTP == 0x01))
  12968. {
  12969. SMUD = FPP4 /* \_SB_.PCI0.LPC0.EC0_.HKEY.FPP4 */
  12970. }
  12971. Else
  12972. {
  12973. SMUD = FPP3 /* \_SB_.PCI0.LPC0.EC0_.HKEY.FPP3 */
  12974. }
  12975.  
  12976. ALIB (0x0C, XX11)
  12977. SMUF = 0x07
  12978. If ((VSTP == 0x01))
  12979. {
  12980. SMUD = SPP4 /* \_SB_.PCI0.LPC0.EC0_.HKEY.SPP4 */
  12981. }
  12982. Else
  12983. {
  12984. SMUD = SPP3 /* \_SB_.PCI0.LPC0.EC0_.HKEY.SPP3 */
  12985. }
  12986.  
  12987. ALIB (0x0C, XX11)
  12988. SMUF = 0x08
  12989. If ((VSTP == 0x01))
  12990. {
  12991. SMUD = STC4 /* \_SB_.PCI0.LPC0.EC0_.HKEY.STC4 */
  12992. }
  12993. Else
  12994. {
  12995. SMUD = STC3 /* \_SB_.PCI0.LPC0.EC0_.HKEY.STC3 */
  12996. }
  12997.  
  12998. ALIB (0x0C, XX11)
  12999. SMUF = 0x20
  13000. If ((VSTP == 0x01))
  13001. {
  13002. SMUD = ALA4 /* \_SB_.PCI0.LPC0.EC0_.HKEY.ALA4 */
  13003. }
  13004. Else
  13005. {
  13006. SMUD = ALA3 /* \_SB_.PCI0.LPC0.EC0_.HKEY.ALA3 */
  13007. }
  13008.  
  13009. ALIB (0x0C, XX11)
  13010. SMUF = 0x22
  13011. If ((VSTP == 0x01))
  13012. {
  13013. SMUD = STL4 /* \_SB_.PCI0.LPC0.EC0_.HKEY.STL4 */
  13014. }
  13015. Else
  13016. {
  13017. SMUD = STL3 /* \_SB_.PCI0.LPC0.EC0_.HKEY.STL3 */
  13018. }
  13019.  
  13020. ALIB (0x0C, XX11)
  13021. SMUF = 0x24
  13022. If ((VSTP == 0x01))
  13023. {
  13024. SMUD = ERC4 /* \_SB_.PCI0.LPC0.EC0_.HKEY.ERC4 */
  13025. }
  13026. Else
  13027. {
  13028. SMUD = ERC3 /* \_SB_.PCI0.LPC0.EC0_.HKEY.ERC3 */
  13029. }
  13030.  
  13031. ALIB (0x0C, XX11)
  13032. SMUF = 0x25
  13033. If ((VSTP == 0x01))
  13034. {
  13035. SMUD = ERA4 /* \_SB_.PCI0.LPC0.EC0_.HKEY.ERA4 */
  13036. }
  13037. Else
  13038. {
  13039. SMUD = ERA3 /* \_SB_.PCI0.LPC0.EC0_.HKEY.ERA3 */
  13040. }
  13041.  
  13042. ALIB (0x0C, XX11)
  13043. SMUF = 0x26
  13044. If ((VSTP == 0x01))
  13045. {
  13046. SMUD = SM14 /* \_SB_.PCI0.LPC0.EC0_.HKEY.SM14 */
  13047. }
  13048. Else
  13049. {
  13050. SMUD = SM13 /* \_SB_.PCI0.LPC0.EC0_.HKEY.SM13 */
  13051. }
  13052.  
  13053. ALIB (0x0C, XX11)
  13054. SMUF = 0x27
  13055. If ((VSTP == 0x01))
  13056. {
  13057. SMUD = SM24 /* \_SB_.PCI0.LPC0.EC0_.HKEY.SM24 */
  13058. }
  13059. Else
  13060. {
  13061. SMUD = SM23 /* \_SB_.PCI0.LPC0.EC0_.HKEY.SM23 */
  13062. }
  13063.  
  13064. ALIB (0x0C, XX11)
  13065. SMUF = 0x2C
  13066. If ((VSTP == 0x01))
  13067. {
  13068. SMUD = SCA4 /* \_SB_.PCI0.LPC0.EC0_.HKEY.SCA4 */
  13069. }
  13070. Else
  13071. {
  13072. SMUD = SCA3 /* \_SB_.PCI0.LPC0.EC0_.HKEY.SCA3 */
  13073. }
  13074.  
  13075. ALIB (0x0C, XX11)
  13076. SMUF = 0x03
  13077. If ((VSTP == 0x01))
  13078. {
  13079. SMUD = TCL4 /* \_SB_.PCI0.LPC0.EC0_.HKEY.TCL4 */
  13080. }
  13081. Else
  13082. {
  13083. SMUD = TCL3 /* \_SB_.PCI0.LPC0.EC0_.HKEY.TCL3 */
  13084. }
  13085.  
  13086. ALIB (0x0C, XX11)
  13087. SMUF = 0x0B
  13088. SMUD = TDCN /* \_SB_.PCI0.LPC0.EC0_.HKEY.TDCN */
  13089. ALIB (0x0C, XX11)
  13090. SMUF = 0x0C
  13091. SMUD = EDCN /* \_SB_.PCI0.LPC0.EC0_.HKEY.EDCN */
  13092. ALIB (0x0C, XX11)
  13093. }
  13094.  
  13095. }
  13096. }
  13097. Else
  13098. {
  13099. CICF = 0x00
  13100. OSML = 0x04
  13101. SMUF = 0x2E
  13102. If ((VSTP == 0x01))
  13103. {
  13104. SMUD = MPL4 /* \_SB_.PCI0.LPC0.EC0_.HKEY.MPL4 */
  13105. }
  13106. Else
  13107. {
  13108. SMUD = MPL3 /* \_SB_.PCI0.LPC0.EC0_.HKEY.MPL3 */
  13109. }
  13110.  
  13111. ALIB (0x0C, XX11)
  13112. SMUF = 0x06
  13113. If ((VSTP == 0x01))
  13114. {
  13115. SMUD = FPP4 /* \_SB_.PCI0.LPC0.EC0_.HKEY.FPP4 */
  13116. }
  13117. Else
  13118. {
  13119. SMUD = FPP3 /* \_SB_.PCI0.LPC0.EC0_.HKEY.FPP3 */
  13120. }
  13121.  
  13122. ALIB (0x0C, XX11)
  13123. SMUF = 0x07
  13124. If ((VSTP == 0x01))
  13125. {
  13126. SMUD = SPP4 /* \_SB_.PCI0.LPC0.EC0_.HKEY.SPP4 */
  13127. }
  13128. Else
  13129. {
  13130. SMUD = SPP3 /* \_SB_.PCI0.LPC0.EC0_.HKEY.SPP3 */
  13131. }
  13132.  
  13133. ALIB (0x0C, XX11)
  13134. SMUF = 0x08
  13135. If ((VSTP == 0x01))
  13136. {
  13137. SMUD = STC4 /* \_SB_.PCI0.LPC0.EC0_.HKEY.STC4 */
  13138. }
  13139. Else
  13140. {
  13141. SMUD = STC3 /* \_SB_.PCI0.LPC0.EC0_.HKEY.STC3 */
  13142. }
  13143.  
  13144. ALIB (0x0C, XX11)
  13145. SMUF = 0x20
  13146. If ((VSTP == 0x01))
  13147. {
  13148. SMUD = ALA4 /* \_SB_.PCI0.LPC0.EC0_.HKEY.ALA4 */
  13149. }
  13150. Else
  13151. {
  13152. SMUD = ALA3 /* \_SB_.PCI0.LPC0.EC0_.HKEY.ALA3 */
  13153. }
  13154.  
  13155. ALIB (0x0C, XX11)
  13156. SMUF = 0x22
  13157. If ((VSTP == 0x01))
  13158. {
  13159. SMUD = STL4 /* \_SB_.PCI0.LPC0.EC0_.HKEY.STL4 */
  13160. }
  13161. Else
  13162. {
  13163. SMUD = STL3 /* \_SB_.PCI0.LPC0.EC0_.HKEY.STL3 */
  13164. }
  13165.  
  13166. ALIB (0x0C, XX11)
  13167. SMUF = 0x24
  13168. If ((VSTP == 0x01))
  13169. {
  13170. SMUD = ERC4 /* \_SB_.PCI0.LPC0.EC0_.HKEY.ERC4 */
  13171. }
  13172. Else
  13173. {
  13174. SMUD = ERC3 /* \_SB_.PCI0.LPC0.EC0_.HKEY.ERC3 */
  13175. }
  13176.  
  13177. ALIB (0x0C, XX11)
  13178. SMUF = 0x25
  13179. If ((VSTP == 0x01))
  13180. {
  13181. SMUD = ERA4 /* \_SB_.PCI0.LPC0.EC0_.HKEY.ERA4 */
  13182. }
  13183. Else
  13184. {
  13185. SMUD = ERA3 /* \_SB_.PCI0.LPC0.EC0_.HKEY.ERA3 */
  13186. }
  13187.  
  13188. ALIB (0x0C, XX11)
  13189. SMUF = 0x26
  13190. If ((VSTP == 0x01))
  13191. {
  13192. SMUD = SM14 /* \_SB_.PCI0.LPC0.EC0_.HKEY.SM14 */
  13193. }
  13194. Else
  13195. {
  13196. SMUD = SM13 /* \_SB_.PCI0.LPC0.EC0_.HKEY.SM13 */
  13197. }
  13198.  
  13199. ALIB (0x0C, XX11)
  13200. SMUF = 0x27
  13201. If ((VSTP == 0x01))
  13202. {
  13203. SMUD = SM24 /* \_SB_.PCI0.LPC0.EC0_.HKEY.SM24 */
  13204. }
  13205. Else
  13206. {
  13207. SMUD = SM23 /* \_SB_.PCI0.LPC0.EC0_.HKEY.SM23 */
  13208. }
  13209.  
  13210. ALIB (0x0C, XX11)
  13211. SMUF = 0x2C
  13212. If ((VSTP == 0x01))
  13213. {
  13214. SMUD = SCA4 /* \_SB_.PCI0.LPC0.EC0_.HKEY.SCA4 */
  13215. }
  13216. Else
  13217. {
  13218. SMUD = SCA3 /* \_SB_.PCI0.LPC0.EC0_.HKEY.SCA3 */
  13219. }
  13220.  
  13221. ALIB (0x0C, XX11)
  13222. SMUF = 0x03
  13223. If ((VSTP == 0x01))
  13224. {
  13225. SMUD = TCL4 /* \_SB_.PCI0.LPC0.EC0_.HKEY.TCL4 */
  13226. }
  13227. Else
  13228. {
  13229. SMUD = TCL3 /* \_SB_.PCI0.LPC0.EC0_.HKEY.TCL3 */
  13230. }
  13231.  
  13232. ALIB (0x0C, XX11)
  13233. SMUF = 0x0B