Advertisement
Guest User

Untitled

a guest
Jun 24th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.36 KB | None | 0 0
  1. Zotac ION example:
  2.  
  3. Device (IGPU)
  4. {
  5. Name (_ADR, Zero)
  6. Method (_DSM, 4, NotSerialized)
  7. {
  8. Store (Package ()
  9. {
  10. "@0,can,hot-plug", Buffer (Zero) {},
  11. "@0,compatible", Buffer () {"NVDA,NVMac"},
  12. "@0,device_type", Buffer () {"display"},
  13. "@0,audio-codec-index", Buffer () {0x03, 0x00, 0x00, 0x00},
  14. "@0,NVDA,UnderscanMin", Buffer () {0x55, 0x00, 0x00, 0x00},
  15. "@0,name", Buffer () {"NVDA,Display-A"},
  16. "@1,AAPL,boot-display", Buffer (Zero) {},
  17. "@1,can,hot-plug", Buffer (Zero) {},
  18. "@1,compatible", Buffer () {"NVDA,NVMac"},
  19. "@1,device_type", Buffer () {"display"},
  20. "@1,name", Buffer () {"NVDA,Display-B"},
  21. "@1,NVDA,UnderscanMin", Buffer () {0x55, 0x00, 0x00, 0x00},
  22. "graphic-options", Buffer () {0x04, 0x00, 0x00, 0x00},
  23. "hda-gfx", Buffer () {"onboard-1"},
  24. "AAPL,aux-power-connected", Buffer () {0x01, 0x00, 0x00, 0x00},
  25. "AAPL,backlight-control", Buffer () {0x00, 0x00, 0x00, 0x00},
  26. "AAPL00,blackscreen-preferences", Buffer () {0x00, 0x00, 0x00, 0x08},
  27. "AAPL01,blackscreen-preferences", Buffer () {0x00, 0x00, 0x00, 0x08},
  28. "AAPL01,Coherency", Buffer () {0x02, 0x00, 0x00, 0x00},
  29. "device-id", Buffer () {0x61, 0x08, 0x00, 0x00},
  30. "device_type", Buffer () {"NVDA,Parent"},
  31. "model", Buffer () {"NVIDIA GeForce 9400"},
  32. "NVCAP", Buffer () {0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0B, 0x00, 0x00, 0x00, 0x00},
  33. "NVDA,Features", Buffer () {0xFF, 0x06, 0xAE, 0x00},
  34. "rom-revision", Buffer () {0x33, 0x33, 0x36, 0x32},
  35. "subsystem-id", Buffer () {0xAE, 0x00, 0x00, 0x00},
  36. "VRAM,totalsize", Buffer () {0x00, 0x00, 0x00, 0x20}
  37. }, Local0)
  38. DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
  39. Return (Local0)
  40. }
  41. }
  42.  
  43. ....................
  44.  
  45. Device (HDEF)
  46. {
  47. Name (_ADR, 0x00080000)
  48. Method (_DSM, 4, NotSerialized)
  49. {
  50. Store (Package ()
  51. {
  52. "layout-id", Buffer () {0x0C, 0x00, 0x00, 0x00},
  53. "hda-gfx", Buffer () {"onboard-1"},
  54. "PinConfigurations", Buffer (Zero) {}
  55. }, Local0)
  56. DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
  57. Return (Local0)
  58. }
  59. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement