-
Notifications
You must be signed in to change notification settings - Fork 25
Add power button support #12
Comments
If somebody creates good pull request or patch I will consider it. |
I found a solution: [gpio_power_key] Code screenshot: https://imgur.com/WErESa8 Kernel with option: |
sunxi IR RX is not strictly needed, only for turning it on/off with IR remote? I will port suspend/resume support to new IR driver in the future, I don't intent to go back to NEC only driver. |
I'm talking about the power button. If use this option, we can add support power button? |
I don't see logical connection between IR driver and power button. I also checked this IR driver code and still can't see the connection. |
Oh. Sorry. This method add solution power on from IR and button. |
Can you check if power button now works? Don't forget to clear u-boot first so script.bin gets recompiled. |
Oaky. I'll try and let you know. |
fix power button!? |
Sorry, no. I will fix this when I will have nothing else to do. I spent too much time for this already. |
Once solved this program is complete! |
@jernej thanks for everything To be honest i dont mind this power button/ir bug,if you can fox it great if no ill just leave it as a 0-24 working htpc/mysql library server :) |
I highly suspect that this bug resides somewhere in graphics stack, but I have no idea how to locate it. I will first try to fix some issues in Kodi and later try to fix it again. |
Hvala :) |
You fixed itttt :) Thank you soooo much jernej |
Are you pretty sure? It seems that it doesn't work on my OPi2. I need more reports... |
yes im sureee 👯 :) heres video : |
Good for you, but I won't close it until it works reliably for everyone. |
@galeots or anyone else, |
@jernejsk Tomorrow I try to compile if I have time I'll tell you |
@jernejsk The suspension goes without any connected USB devices. sata no longer working in the new version |
@jernejsk you can make sure that when goes in suspension turns off the fan !? |
FAN is not official addon, so I wouldn't put this in image. I can help you with that on the forum. This is a bit off topic. |
@jernejsk thx |
@jernejsk not work fix boot erase PG11 for sata |
@jernejsk how are the works for fix the power button? |
It works as long as you don't use USB hub with attached devices. This unfortunatelly means that you should not use USB devices on OPi2 and OPiPlus. You can use IR remote for a workaround. |
@jernejsk but the bug has what is due !? |
Sorry, I don't understand what you mean. Button works. The only issue is USB driver which hangs at suspend if there is hub with device connected. |
@jernejsk the bug is due because usb does not suspend !? |
Yes, I will close it once there will be no known problems with suspend / resume cycle. |
@jernejsk however if you do leave without USB peripherals work suspension! if you take away and put USB peripherals and suspend doesn't go |
That is what I'm saying. You have Plus. If you would have PC or One, you wouldn't have any of those problem. |
More info in threads
http://www.orangepi.org/orangepibbsen/forum.php?mod=viewthread&tid=940
and
http://www.orangepi.org/orangepibbsen/forum.php?mod=viewthread&tid=817
Regards !
The text was updated successfully, but these errors were encountered: