Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Device (PS2M)
- {
- Name (_HID, EisaId ("PNP0F03") /* Microsoft PS/2-style Mouse */) // _HID: Hardware ID
- Name (_UID, Zero) // _UID: Unique ID
- Name (LDN, 0x06)
- Name (_CID, EisaId ("PNP0F13") /* PS/2 Mouse */) // _CID: Compatible ID
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- If ((IOST & 0x4000))
- {
- Return (0x0F)
- }
- Else
- {
- If ((UEMU == 0x5A5A))
- {
- If ((OSYS >= 0x07DC))
- {
- Return (Zero)
- }
- Else
- {
- Return (0x0F)
- }
- }
- Return (Zero)
- }
- }
- Name (CRS1, ResourceTemplate ()
- {
- IRQNoFlags ()
- {12}
- })
- Name (CRS2, ResourceTemplate ()
- {
- IO (Decode16,
- 0x0060, // Range Minimum
- 0x0060, // Range Maximum
- 0x00, // Alignment
- 0x01, // Length
- )
- IO (Decode16,
- 0x0064, // Range Minimum
- 0x0064, // Range Maximum
- 0x00, // Alignment
- 0x01, // Length
- )
- IRQNoFlags ()
- {12}
- })
- Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
- {
- If ((IOST & 0x0400))
- {
- Return (CRS1) /* \_SB_.PCI0.LPCB.PS2M.CRS1 */
- }
- Else
- {
- Return (CRS2) /* \_SB_.PCI0.LPCB.PS2M.CRS2 */
- }
- }
- Name (_PRS, ResourceTemplate () // _PRS: Possible Resource Settings
- {
- StartDependentFn (0x00, 0x00)
- {
- IRQNoFlags ()
- {12}
- }
- EndDependentFn ()
- })
- Method (_PSW, 1, NotSerialized) // _PSW: Power State Wake
- {
- MSFG = Arg0
- }
- Scope (\)
- {
- Name (MSFG, One)
- }
- Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
- {
- Return (GPRW (0x1D, 0x03))
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement