notro / fbtft_tools

27 stars 17 forks source link

rpi_power_switch: No wakeup on RPi3 #10

Closed dl9sec closed 7 years ago

dl9sec commented 8 years ago

I've built the kernel object on a RPi3 for kernel 4.4.19 from Raspberry.org. The powerdown works perfect, but the RPi3 doesn't wake up by pressing the the low-active pushbutton GPIO26. Are there dependencies to be activated in the kernel configuration? Any ideas? Regards, Thorsten

notro commented 8 years ago

I think you need to ask in Adafruits forum. Maybe they have updated it to support Pi3. Pi2 support was added with this PR: https://github.com/notro/fbtft_tools/pull/8

I don't use this code myself anymore so I really can't help.

dl9sec commented 8 years ago

I tried to address this issue at the Adafruit forum and at the Raspberry Pi Forum, unfortunately with no success so far.

Additionally i found out, that the rpi_power_switch sources are broken since kernel 4.7 (4.7.2 from Raspberry Pi Git-repo). The symbol "platform_bus" is unknown...

notro commented 7 years ago

Adafruit has a version in it's tree: https://github.com/adafruit/adafruit-raspberrypi-linux/blob/rpi-4.9.y/drivers/power/reset/rpi_power_switch.c

notro commented 7 years ago

I have removed rpi_power_switch from fbtft_tools since it's outdated and I can't keep it up to date. And it's Adafruits module after all.