Contribute
Register

[Guide] Mavericks Lenovo G580

Status
Not open for further replies.
Hi,
I noticed that GenericUSBXHCI.kext will enable usb3 ports, but the computer does not go to sleep if some device is attached on the usb3 port. Or, better, it goes, but immediately wake from sleep. Is it possible to fix this problem?

ps: if I do not install that kext, all ports work as usb2 but sleep works regular.

Thanks
 
Hi,
I noticed that GenericUSBXHCI.kext will enable usb3 ports, but the computer does not go to sleep if some device is attached on the usb3 port. Or, better, it goes, but immediately wake from sleep. Is it possible to fix this problem?

ps: if I do not install that kext, all ports work as usb2 but sleep works regular.

Thanks

Try with -gux_defer_usb2 if you haven't already...

Also, DSDT patches: https://github.com/RehabMan/Laptop-DSDT-Patch
Apply: "7-series USB"
 
Try with -gux_defer_usb2 if you haven't already...

Also, DSDT patches: https://github.com/RehabMan/Laptop-DSDT-Patch
Apply: "7-series USB"

It works, but partially. If I connect a card reader or midi keyboard (usb2 compliant) to usb3 ports, now it works and stay sleep. If I connect an external HDD (usb3 compliant) to usb3 ports, it wake up again. Is there any reason?

UPDATE: if power supply is connected, sleep works also with hdd on usb3. If I use battery only, I have the same above problem.

PS: I'm using -gux_defer_usb2 and patched DSDT as you suggested
 
It works, but partially. If I connect a card reader or midi keyboard (usb2 compliant) to usb3 ports, now it works and stay sleep. If I connect an external HDD (usb3 compliant) to usb3 ports, it wake up again. Is there any reason?

UPDATE: if power supply is connected, sleep works also with hdd on usb3. If I use battery only, I have the same above problem.

PS: I'm using -gux_defer_usb2 and patched DSDT as you suggested

Look for 'Wake Reason' in system.log.
 
Here there is the log

Code:
28/04/14 19:27:08,000 kernel[0]: *** kernel exceeded 500 log message per second limit  -  remaining messages this second discarded ***
28/04/14 19:27:08,847 airportd[81]: _handleLinkEvent: WiFi is not powered. Resetting state variables.
28/04/14 19:27:12,000 kernel[0]: Wake reason: XHC
28/04/14 19:27:12,000 kernel[0]: No interval found for . Using 8000000
28/04/14 19:27:12,000 kernel[0]: Previous Sleep Cause: 5
28/04/14 19:27:12,000 kernel[0]: USBF:    100.919    AppleUSBEHCI: setPowerState - PCI device still has PME status bit set. PMCSR is 0x8000
28/04/14 19:27:12,000 kernel[0]: The USB device HubDevice (Port 1 of Hub at 0x1a000000) may have caused a wake by issuing a remote wakeup (2)
28/04/14 19:27:12,000 kernel[0]: USBF:    100.919    AppleUSBEHCI: setPowerState - PCI device still has PME status bit set. PMCSR is 0x8000
28/04/14 19:27:12,000 kernel[0]: RestoreControllerStateFromSleep(XHCI Root Hub SS Simulation): Port 3 on bus 0xa disconnected: portSC(0xe4202c0)
28/04/14 19:27:12,000 kernel[0]: The USB device HubDevice (Port 1 of Hub at 0x1d000000) may have caused a wake by issuing a remote wakeup (2)
28/04/14 19:27:12,000 kernel[0]: An Unknown USB Device (Port 3 of Hub at 0x15000000), may have caused a wake by being connected
28/04/14 19:27:12,000 kernel[0]: ApplePS2SynapticsTouchPad: Unexpected byte0 data (00) from PS/2 controller
28/04/14 19:27:12,000 kernel[0]: 100.943825: ATHR: unknown locale: 60
28/04/14 19:27:12,000 kernel[0]: 101.697395: ATHR: unknown locale: 60
28/04/14 19:27:12,000 kernel[0]: en1: BSSID changed to 00:03.......
28/04/14 19:27:12,000 kernel[0]: en1::IO80211Interface::postMessage bssid changed
28/04/14 19:27:12,000 kernel[0]: AirPort: Link Up on en1
28/04/14 19:27:12,000 kernel[0]: 101.765694: apple80211Request[10514] Unsupported ioctl 181 
28/04/14 19:27:12,000 kernel[0]: en1: BSSID changed to 00:03....
28/04/14 19:27:12,000 kernel[0]: en1::IO80211Interface::postMessage bssid changed
28/04/14 19:27:12,850 configd[18]: LINKLOCAL en1: parent has no IP
28/04/14 19:27:12,858 UserEventAgent[11]: Captive: CNPluginHandler en1: Inactive
28/04/14 19:27:12,859 configd[18]: network changed: v4(en1-:192.168.0.21) DNS- Proxy-
28/04/14 19:27:12,864 netbiosd[253]: network_reachability_changed : network is not reachable, netbiosd is shutting down
28/04/14 19:27:15,000 kernel[0]: full wake (reason 1) 3345 ms

Is it possible to fix it?
It only happens when I connect a usb3 HDD


Thanks
 
Here there is the log

Code:
28/04/14 19:27:08,000 kernel[0]: *** kernel exceeded 500 log message per second limit  -  remaining messages this second discarded ***
28/04/14 19:27:08,847 airportd[81]: _handleLinkEvent: WiFi is not powered. Resetting state variables.
28/04/14 19:27:12,000 kernel[0]: Wake reason: XHC
28/04/14 19:27:12,000 kernel[0]: No interval found for . Using 8000000
28/04/14 19:27:12,000 kernel[0]: Previous Sleep Cause: 5
28/04/14 19:27:12,000 kernel[0]: USBF:    100.919    AppleUSBEHCI: setPowerState - PCI device still has PME status bit set. PMCSR is 0x8000
28/04/14 19:27:12,000 kernel[0]: The USB device HubDevice (Port 1 of Hub at 0x1a000000) may have caused a wake by issuing a remote wakeup (2)
28/04/14 19:27:12,000 kernel[0]: USBF:    100.919    AppleUSBEHCI: setPowerState - PCI device still has PME status bit set. PMCSR is 0x8000
28/04/14 19:27:12,000 kernel[0]: RestoreControllerStateFromSleep(XHCI Root Hub SS Simulation): Port 3 on bus 0xa disconnected: portSC(0xe4202c0)
28/04/14 19:27:12,000 kernel[0]: The USB device HubDevice (Port 1 of Hub at 0x1d000000) may have caused a wake by issuing a remote wakeup (2)
28/04/14 19:27:12,000 kernel[0]: An Unknown USB Device (Port 3 of Hub at 0x15000000), may have caused a wake by being connected
28/04/14 19:27:12,000 kernel[0]: ApplePS2SynapticsTouchPad: Unexpected byte0 data (00) from PS/2 controller
28/04/14 19:27:12,000 kernel[0]: 100.943825: ATHR: unknown locale: 60
28/04/14 19:27:12,000 kernel[0]: 101.697395: ATHR: unknown locale: 60
28/04/14 19:27:12,000 kernel[0]: en1: BSSID changed to 00:03.......
28/04/14 19:27:12,000 kernel[0]: en1::IO80211Interface::postMessage bssid changed
28/04/14 19:27:12,000 kernel[0]: AirPort: Link Up on en1
28/04/14 19:27:12,000 kernel[0]: 101.765694: apple80211Request[10514] Unsupported ioctl 181 
28/04/14 19:27:12,000 kernel[0]: en1: BSSID changed to 00:03....
28/04/14 19:27:12,000 kernel[0]: en1::IO80211Interface::postMessage bssid changed
28/04/14 19:27:12,850 configd[18]: LINKLOCAL en1: parent has no IP
28/04/14 19:27:12,858 UserEventAgent[11]: Captive: CNPluginHandler en1: Inactive
28/04/14 19:27:12,859 configd[18]: network changed: v4(en1-:192.168.0.21) DNS- Proxy-
28/04/14 19:27:12,864 netbiosd[253]: network_reachability_changed : network is not reachable, netbiosd is shutting down
28/04/14 19:27:15,000 kernel[0]: full wake (reason 1) 3345 ms

Is it possible to fix it?
It only happens when I connect a usb3 HDD


Thanks

Are you using latest GenericUSBXHCI.kext?
 
It is v1.2.7
 
Tried with 1.2.8d7. Same problem
 
Tried with 1.2.8d7. Same problem

Maybe it is specific to the device you're using. Try a different USB3 device...

It should be applied automatically, but you could also try -gux_no_idle.

Also,


Please provide complete details in your profile.

System: manufacturer/model
CPU: detailed CPU model + motherboard chipset
Graphics: all graphics devices + laptop internal screen resolution

For example, typical Ivy laptop:
System: HP ProBook 4540s
CPU: i5-3320m/HM76
Graphics: HD4000, 1366x768

Use CPU-Z on Windows to find CPU (Core iX-xxx) and motherboard chipset (HMxx). For a laptop, these details are important and affect critical installation procedures.
 
Status
Not open for further replies.
Back
Top