New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Intel-build can't wake from suspend/sleep on USB #2487
Comments
|
please follow https://github.com/OpenELEC/OpenELEC.tv/blob/master/CONTRIBUTING.md closing this as it is not an accurate bug report |
|
reopened... @sirholm please paste |
|
OpenELEC:~ # udevadm info --attribute-walk --name=/dev/ttyACM0 |
|
I have the same/similar problem. I have a zbox id83 (Intel HM76, i3-3225, Intel HD4000). Tested with usb ir receiver and (wireless bluetooth) keyboard. Same results in Intel x64 build and generic x86 build, logs below are for intel x64: Output for A) device info: Output for B) device info: |
|
BTW More people with similar issues are on the forum: http://openelec.tv/forum/107-suspend-and-wakeup/63257-standby-zbox-id-82. Also zbox, but the suspend/resume works fine under windows 7 & 8. |
|
More info: To verify sleep and resume under general/other linux I tried both Ubuntu 13.04 and xbmcbuntu 12. |
|
Not really relevant. Ubuntu 13.04 uses kernel 3.8 and xbmcbuntu 12 uses 3.2 or 3.5 - we are currently shipping 3.10.10 - can you please post the output of dmesg? |
|
Kernel.log: http://pastebin.com/dGyDVEkP |
|
we need a dmesg | pastebinit AFTER unsuccessful suspend/resume cycle ( case "B" ?) |
|
The 4 pastebins are from that case. Logfiles retrieved from the zip autogenerated by OE. |
|
I see no attempt to suspend / resume at all there. |
|
Same for me - looks like a dmesg directly after boot up. |
|
You're right, forgot that I switched the shutdown function back to shutdown. Here's the dmesg for option B, verified to contain sleep/resume cycle. http://pastebin.com/wMgLgL0x |
|
thanks. |
|
Tried that already :-) USB3.0 support By default all of them are 'enabled'. When set to 'disabled', I get the same result regarding suspend/resume. |
|
and there is no "legacy usb support" option ? |
|
There is. I tried that already with enabled/disabled. No difference. |
|
what about "case A)" with legacy support enabled. do this (only ONCE) before you try confirm USB* is enabled by /proc/acpi/wakeup EDIT: nevermind, no need to try. not related to legacy mode. sorry for wasting your time. |
|
@opperpanter could you test please with OpenELEC 3.1.7 again? |
|
a wild guess, but try: |
|
Switched to 3.1.7, same results. I tried this, but the USB devices just stay at disabled in /proc/acpi/wakeup. |
|
Tried (with 3.1.7) as well: No luck. |
|
Just tried with openelec 2.0.0, same results :-( (scenario A and B). |
|
try: for i in /sys/bus/usb/devices/*/power/wakeup ;do echo enabled > $i ;done also make sure the wakeup devices are inserted in a USB2 port... |
|
thanks @jenkins101. With Scenario A turns into scenario B. So the box is waking up without touching the (wired) keyboard. |
|
not sure if this could be in help. but on my board (asrock ion 330) there is a jumper called PS2_USB_PWR1 (+5V +5VSB) . if NOT set to +5VSB - I have exactly the same issue - immediate wakeup after resume. you said it works under ubuntu but imo it's worth checking ;) |
|
Thanks. Turns out the id83 only has 1 jumper: clear cmos. |
|
BTW To be sure, be aware this not only happens on the Intel build, but on the generic build as well. |
|
I think we need a build with every acpi debug option enabled as possible. We don't have that hardware and therefore can only step through the fog :-) |
|
Those two links could help: |
|
Interestings links (first one I've read before). Seems like at build time only the CONFIG_ACPI_DEBUG=y is needed. |
|
I think it is a bug in the USB driver... have you checked USB2 vs USB3 @opperpanter ? |
|
I did, no difference. Disabled usb3 in BIOS, etc. |
|
thats not the same... you need to use a pure USB2 port to test. and no usb hub :-) |
|
That's what I did. |
|
I've got the same problem, but i believe this is not an openelec issue per-se, but the h/w itself. Some motherboards do not provide power in s3 to the USB bus. My GIGABYTE GA-B75TN is one of these boards. 2 things to check/test:
If both of these fail, i believe there is no standby power in S3. You will notice it easily in sleep if your ethernet lights are blinking. For me both the above fail, so either a BIOS/FW upgrade for your MB will fix it, or replacing the MB itself. |
|
read above, it's not the hardware. both linux and win8 work. |
|
Ok, sorry missed that line. So may not necessarily be the case for you, but surely it is for me and possibly others. As mentioned even with booted off a ubuntu install disk, i can suspend to s3 and wakeup from power button, but no power to USB to wake up from my remote control (with USB ir dongle). Seems here S3 doesn't give me power to USB bus. |
|
then it is probably something driver related... we have to wait for a kernel update... |
|
please test 3.2.1 |
|
Doesn't work for me (my hardware that is). Also no luck with the more recent 3.2.2 |
|
Have same problem with Gigabyte Brix. Only have USB 3.0 ports, no USB 2.0. /sys/bus/usb/devices/.../power/wakeup is enabled there is nothing under sysfs node for all USB devices (1-7) when i look in /proc/acpi/wakeup, but controllers ECH1 and ECH2 are enabled for wake from S4. |
|
I have the same problem with Zotac id83. I have tried the latest Openelec Intel and Generic builds, also nightly builds. I have tested with most settings in bios without success. In Xbmcbuntu suspend and hibernate works fine. |
|
Yup.. works fine with XBMCbuntu... (at least suspend does) |
|
Hello, I'm new to GitHub (and bug reporting in general), so apologies if I miss any points of etiquette. I believe I have the same issue as sirholm; I have an Asus H81i-Plus (not the H87) paired with a 4130T CPU. Using an R6 USB receiver I can suspend the computer, but not wake it. Neither the USB keyboard or mouse are able to wake the computer either. Only the power button works. Waking with IR/keyboard/mouse does work under Windows, so it does appear to be a software issue, not hardware. The IR receiver has an LED that flashes when a command is received. When OpenELEC is suspended, this does not flash. Does this imply that USB devices are being powered-down? lsusb cat /proc/acpi/wakeup Neither of the solutions suggested by stefansaraev or jenkins101 have an effect. I'm happy to provide any extra information I can if it will help. |
|
I have the same mobo and cpu setup as Tinlad and I too am experiencing a wake up on USB problem. I have tried two different USB K/B's lsusb Bus 001 Device 002: ID 8087:8000 Intel Corp. cat /proc/acpi/wakeup Device S-state Status Sysfs node grep 2024 /sys/bus/usb/devices/*/idProduct /sys/bus/usb/devices/4-2/idProduct:2024 cat /sys/bus/usb/devices/4-2/power/wakeup enabled As far as openelec is concerned the K/B USB port is "enabled" for wakeup yet no wake up event occurs. The info above was utilised from here: Using OPENELEC 64bit 3.2.4 It does appear to me that the USB port(s) are receiving no power..no caps/scroll/num lock lights |
|
An update on this issue: I'm guessing that this is something to do with how the system handles the mix of USB 2.0 and 3.0 ports? (The remote receiver is plugged into a 2.0 port, however) Before trying this, I updated to the Gotham beta (3.95.1), so unfortunately I can't tell whether changing the BIOS setting would work on 3.2.4 as well. All I can say is that the problem wasn't fixed solely by 3.95.1. (EDIT: final paragraph for clarity) |
|
Tinlad |
|
Thinking back, once I upgraded to 3.95.1 I did notice that the IR receiver LED was blinking whilst the PC was suspended (even if it wasn't waking it up) - this wasn't happening in 3.2.4. So I think it must be a combination of 3.95.1 and the BIOS setting that enables this to work. dat0ad - good luck! |
|
I'm experiencing this issue with a new zotac ID91. No usb device i've tried is able to wake it. It is supplying power though in suspend mode as a usb infrared receiver I connect to it, lights up when remote buttons are pressed. Zotac support say the device does support wake from usb (they have nothing though in the bios giving an option to enable/disable it). Disabling Intel xHC in the bios makes no difference unfortunately. I'm using OpenELEC Beta - Generic x86_64 Version:3.95.5 |
|
Any news or success/fail stories regarding id83 or id91 on getting successfull resume/sleep ? |
|
Same here. |
|
This problem was solved for me in 4.2 BETA 2. The problem was that in earlier versions the XHCI module was unloaded before suspend. Fixed by this commit: 2a82c67 |
Hi
I've been using fusion build wirh pulse-eight's hdmi-cec usb adapter for 1 year and worked flawlessly.
Now I've upgraded my system to a Asus H87i-PLUS with 4570S and I can still put my system to sleep, but I can't wale it up again.
I was told to see which usb port there were set to wake-on-lan, but I don't know how to do so. And afterwards open more usb ports to wake on lan or find the one that is currenty activated.
Running latest stable build.
Thanks in advance.
The text was updated successfully, but these errors were encountered: