Bug#845559: micro-evtd: service start failed since kernel 4.8

2016-12-01 Thread Roger Shimizu
Dear Ryan, Thanks for your patch! On Thu, Dec 1, 2016 at 2:36 PM, Ryan Tandy wrote: > > Actually, the fallback code to poll the microcontroller for button presses > seems to work just fine as well. > > Roger, would you be willing to try the attached patch on your devices? I can

Bug#845559: micro-evtd: service start failed since kernel 4.8

2016-11-30 Thread Ryan Tandy
On Wed, Nov 30, 2016 at 09:02:26PM -0800, Ryan Tandy wrote: It looks like micro-evtd just uses the GPIO to watch for the power button being pressed. The feature is optional (guarded by #define). If we could get the kernel to do that instead, we could omit the GPIO monitoring. Actually, the

Bug#845559: micro-evtd: service start failed since kernel 4.8

2016-11-30 Thread Ryan Tandy
It looks like micro-evtd just uses the GPIO to watch for the power button being pressed. The feature is optional (guarded by #define). If we could get the kernel to do that instead, we could omit the GPIO monitoring. Something like

Bug#845559: micro-evtd: service start failed since kernel 4.8

2016-11-26 Thread Ryan Tandy
Looks like I might want /dev/gpiochip0 rather than /dev/mem? $ cat /sys/class/gpio/gpiochip0/label f1010100.gpio

Bug#845559: micro-evtd: service start failed since kernel 4.8

2016-11-26 Thread Ryan Tandy
Control: tag -1 confirmed upstream help strace micro-evtd: open("/dev/mem", O_RDWR|O_SYNC) = 4 mmap2(NULL, 4095, PROT_READ|PROT_WRITE, MAP_SHARED, 4, 0xf101) = -1 EPERM (Operation not permitted) --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x10b} --- +++ killed by

Bug#845559: micro-evtd: service start failed since kernel 4.8

2016-11-24 Thread Ryan Tandy
Thanks for the report. In debian-installer it looks like micro-evtd does indeed exit immediately on startup, as you said. But /dev/ttyS1 is there, and surprisingly, microapl commands seem to work. Unfortunately I'm having trouble getting any further right now, because the 4.8 and 4.6

Bug#845559: micro-evtd: service start failed since kernel 4.8

2016-11-24 Thread Roger Shimizu
Package: micro-evtd Version: 3.4-3 Severity: important X-Debbugs-Cc: rogershim...@gmail.com Dear Maintainer, micro-evtd service can be started under kernel 4.7 (or prior), but failed since 4.8. The log is like the following. # /etc/init.d/micro-evtd status ● micro-evtd.service - LSB: