Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 8th, 2012  |  syntax: None  |  size: 1.99 KB  |  hits: 13  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Device (EUSB)
  2.             {
  3.                 Name (_ADR, 0x001D0007)
  4.                 Method (_PRW, 0, NotSerialized)
  5.                 {
  6.                     Return (GPRW (0x0D, 0x04))
  7.                 }
  8.  
  9.                                 Method (_DSM, 4, NotSerialized)
  10.                                 {
  11.                                         Store (Package (0x0f)
  12.                                         {
  13.                                                 "device-id",
  14.                                                 Buffer (0x04)
  15.                                                 {
  16.                                                         0x3a, 0x3A, 0x00, 0x00 //the values below
  17.                                                 },
  18.                                                 "AAPL,clock-id", // property needed for sleep support
  19.                                                 Buffer (One)
  20.                                                 {
  21.                                                 0x0a
  22.                                                 },
  23.  
  24.                                                 "built-in",
  25.                                                 Buffer ()
  26.                                                 {
  27.                                                 0x00
  28.                                                 },
  29.                                                 "device_type", //not sure it is useful
  30.                                                 Buffer (0x05)
  31.                                                 {
  32.                                                 "EHCI"
  33.                                                 },
  34.  
  35.                                                 "AAPL,current-available",
  36.                                                 0x04B0,
  37.                                                 "AAPL,current-extra",
  38.                                                 0x02BC,
  39.                                                 "AAPL,current-in-sleep", // to solve a problem with sleep $
  40.                                                 0x03E8,
  41.  
  42.                                                 Buffer (0x01)
  43.                                                 {
  44.                                                         0x00
  45.                                                 }
  46.                                         }, Local0)
  47.                                 DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
  48.                                 Return (Local0)
  49.             }
  50.  
  51.  
  52.  
  53.             Device (USBE)
  54.             {
  55.                 Name (_ADR, 0x001A0007)
  56.                 Method (_PRW, 0, NotSerialized)
  57.                 {
  58.                     Return (GPRW (0x0D, 0x04))
  59.                 }
  60.                                 Method (_DSM, 4, NotSerialized)
  61.                                 {
  62.                                         Store (Package (0x0f)
  63.                                         {
  64.                                                 "device-id",
  65.                                                 Buffer (0x04)
  66.                                                 {
  67.                                                         0x3c, 0x3A, 0x00, 0x00 //the values below
  68.                                                 },
  69.                                                 "AAPL,clock-id", // property needed for sleep support
  70.                                                 Buffer (One)
  71.                                                 {
  72.                                                 0x0a
  73.                                                 },
  74.  
  75.                                                 "built-in",
  76.                                                 Buffer ()
  77.                                                 {
  78.                                                 0x00
  79.                                                 },
  80.                                                 "device_type", //not sure it is useful
  81.                                                 Buffer (0x05)
  82.                                                 {
  83.                                                 "EHCI"
  84.                                                 },
  85.  
  86.                                                 "AAPL,current-available",
  87.                                                 0x04B0,
  88.                                                 "AAPL,current-extra",
  89.                                                 0x02BC,
  90.                                                 "AAPL,current-in-sleep", // to solve a problem with sleep $
  91.                                                 0x03E8,
  92.  
  93.                                                 Buffer (0x01)
  94.                                                 {
  95.                                                         0x00
  96.                                                 }
  97.                                         }, Local0)
  98.                                 DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
  99.                                 Return (Local0)
  100.             }