Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Before adding
- Device (PS2K)
- {
- Name (_HID, EisaId ("PNP0303"))
- Name (_CID, EisaId ("PNP030B"))
- Method (_STA, 0, NotSerialized)
- {
- Return (0x0F)
- }
- Name (_CRS, 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 ()
- {1}
- })
- Name (_PRS, ResourceTemplate ()
- {
- StartDependentFn (0x00, 0x00)
- {
- FixedIO (
- 0x0060, // Address
- 0x01, // Length
- )
- FixedIO (
- 0x0064, // Address
- 0x01, // Length
- )
- IRQNoFlags ()
- {1}
- }
- EndDependentFn ()
- })
- }
- After Adding
- Device (PS2K)
- {
- Name (_HID, EisaId ("PNP0303"))
- Name (_CID, EisaId ("PNP030B"))
- Method (_DSM, 4, NotSerialized)
- {
- Store (Package ()
- {
- "AAPL,has-embedded-fn-keys",
- Buffer (0x04)
- {
- 0x01, 0x00, 0x00, 0x00
- }
- }, Local0)
- DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
- Return (Local0)
- }
- Method (_STA, 0, NotSerialized)
- {
- Return (0x0F)
- }
- Name (_CRS, 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 ()
- {1}
- })
- Name (_PRS, ResourceTemplate ()
- {
- StartDependentFn (0x00, 0x00)
- {
- FixedIO (
- 0x0060, // Address
- 0x01, // Length
- )
- FixedIO (
- 0x0064, // Address
- 0x01, // Length
- )
- IRQNoFlags ()
- {1}
- }
- EndDependentFn ()
- })
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement