Jump to content

[SOLVED] Dell Inspiron 15 7548 Sleep Issue


bonejoev

Recommended Posts

I was using gux_defer_usb2 at boot but now it sleeps w/o it. so you're saying that you applied two patches the [usb] USB3_PRW 0x6D (instant wake) and then used [usb] USB3_PRW 0x6D skylate (instant wake) or what do you mean by "So I combined it with his Skylake patch and use Method rather than Name for _PRW" 

Link to comment
Share on other sites

  • Moderators

Right, gux_defer_usb2 is use in conjunction with GenericUSBXHCI but this is for non Intel USB3.0 devices. So eliminate them.

Note: Older version works for Mavericks and Yosemite and does support Intel though, just not the current version on El Capitan and Sierra.

 

Not exactly combining as the addresses for Broadwell and Skylake are different.

This is from usb_prw_0d_xhc

# seems to work better if _PRW is present, but returns 0 (original was 3) for sleep state
into device name_adr 0x001D0000 insert begin Name(_PRW, Package() { 0x6D, 0 }) end;
into device name_adr 0x001A0000 insert begin Name(_PRW, Package() { 0x6D, 0 }) end;
into device name_adr 0x00140000 insert begin Name(_PRW, Package() { 0x6D, 0 }) end;
into device name_adr 0x001B0000 insert begin Name(_PRW, Package() { 0x6D, 0 }) end;
into device name_adr 0x00190000 insert begin Name(_PRW, Package() { 0x6D, 0 }) end;
and this from usb_prw_0x6d_xhc_skl
# Note: These are methods because some Skylake DSDT call _PRW as a method for no reason
into device name_adr 0x00140000 insert begin Method(_PRW) { Return(Package() { 0x6D, 0 }) } end;
into device name_adr 0x00140001 insert begin Method(_PRW) { Return(Package() { 0x6D, 0 }) } end;
into device name_adr 0x001F0003 insert begin Method(_PRW) { Return(Package() { 0x6D, 0 }) } end;
into device name_adr 0x00190000 insert begin Method(_PRW) { Return(Package() { 0x6D, 0 }) } end;
into device name_adr 0x001F0006 insert begin Method(_PRW) { Return(Package() { 0x6D, 0 }) } end;

By replacing

Name(_PRW, Package() { 0x6D, 0 }) end;

with

Method(_PRW) { Return(Package() { 0x6D, 0 }) } end;

not just the word Name -> Method

You get this

 

# seems to work better if _PRW is present, but returns 0 (original was 3) for sleep state

into device name_adr 0x001D0000 insert begin Method(_PRW) { Return(Package() { 0x6D, 0 }) } end;
into device name_adr 0x001A0000 insert begin Method(_PRW) { Return(Package() { 0x6D, 0 }) } end;
into device name_adr 0x00140000 insert begin Method(_PRW) { Return(Package() { 0x6D, 0 }) } end;
into device name_adr 0x001B0000 insert begin Method(_PRW) { Return(Package() { 0x6D, 0 }) } end;
into device name_adr 0x00190000 insert begin Method(_PRW) { Return(Package() { 0x6D, 0 }) } end;

Link to comment
Share on other sites

×
×
  • Create New...