bundpard Posted February 6, 2015 Share Posted February 6, 2015 I have a webcam on my elitebook 8470p that works fine until I put the laptop to sleep. Once I wake it up there's nothing I can do but restart to make the cam work again. It disappears from the USB EHCI completely... Is there anything I can do to jump start it after sleep without restarting? Attached ioreg of before and after sleep ioreg.zip Link to comment Share on other sites More sharing options...
bundpard Posted February 7, 2015 Author Share Posted February 7, 2015 You probably need a DSDT patch for the USB ports. Can you attach your DSDT (whether existing patched file or an extracted raw one)? I used Probook Installer and selected patched DSDT, I see the device (CAM0) inside it, have tried tweaking stuff but to no luck, here it is extracted with MaciASL the original patched DSDT by the probook installer. Funny thing is, my Bluetooth (part of Wi-Fi card) also connects using USB EHCI, it takes it a few seconds to wake up also but after refreshing system profiler a few seconds after wake it always does wake up. Also the fingerprint scanner "Vendor Specific Device" in System Profiler (obviously doesn't work), but is detected on the same bus nontheless. The cam always appears to be on EHC2, and has never even once woken after sleep. Not sure if that's a clue to anything. DSDT.txt Link to comment Share on other sites More sharing options...
bundpard Posted February 8, 2015 Author Share Posted February 8, 2015 It appears to be a camera manufacturer/firmware issue... the same model laptop can come with a Sunplus (Windows calls it Liteon), Chicony, or Primax. Not sure about the Chicony but the Primax works just fine after sleep. Is this issue still resolvable via some dsdt edit or is it a bigger problem? Link to comment Share on other sites More sharing options...
bundpard Posted February 8, 2015 Author Share Posted February 8, 2015 Still no luck Disappears from the Hub once I wake it. I am seeing these in the dmesg related to USB after wake. This is with both "Wake on USB" enabled and disabled in BIOS, makes no difference. It's not the issue where usb devices are randomly bringing the laptop out of sleep, I've seen these error messages before a long time ago. It does say "Message Wake reason: power-button (User)" a few lines up, so not sure why it's saying usb devices are waking anything :\ USBF: 126.542 AppleUSBEHCI: setPowerState - PCI device still has PME status bit set. PMCSR is 0x8000 The USB device HubDevice (Port 1 of Hub at 0x1a000000) may have caused a wake by issuing a remote wakeup (2) USBF: 126.542 AppleUSBEHCI: setPowerState - PCI device still has PME status bit set. PMCSR is 0x8000 The USB device HubDevice (Port 1 of Hub at 0x1d000000) may have caused a wake by issuing a remote wakeup (2) An Unknown USB Device (Port 1 of Hub at 0x1a100000), may have caused a wake by being connected The USB device HP HD Webcam [Fixed] (Port 3 of Hub at 0x1a100000) may have caused a wake by being disconnected And this is what I see on the second wakeup USBF: 626.360 AppleUSBEHCI: setPowerState - PCI device still has PME status bit set. PMCSR is 0x8000 The USB device HubDevice (Port 1 of Hub at 0x1a000000) may have caused a wake by issuing a remote wakeup (2) USBF: 626.360 AppleUSBEHCI: setPowerState - PCI device still has PME status bit set. PMCSR is 0x8000 The USB device HubDevice (Port 1 of Hub at 0x1d000000) may have caused a wake by issuing a remote wakeup (2) Link to comment Share on other sites More sharing options...
bundpard Posted February 8, 2015 Author Share Posted February 8, 2015 'could be that the USB Camera device is not handled properly by the _WAK and possibly _PTS methods. That's what I'm thinking too... maybe those were written and tested with a Primax cam (which does work after sleep on this same model laptop) I don't have the advanced skills to do that type of dsdt edit successfully Link to comment Share on other sites More sharing options...
Recommended Posts