On 03.05.2015 12:18, Andrew wrote:
[...]
Sorry for the long delay with testing, but here come the results.
I've rebased everything to 4.1-rc1
1. WFI + DeepIdle => freeze after approx:
* 1 hours and 30 minutes, first test
* 3 hours and 40 minutes, second test
2. WFI only (DeepIdle disabled via sysfs) => Still alive after 13 hours
and counting
The proper patchset will follow as soon as I figure out what change broke
dns320l-daemon (The utility that speaks to weltrend mcu on ttyS1)
It was working on 3.18.6, on 3.19 and up - it writes data to the port
(and mcu acks it),
but can't read any responses.
Same thing happens to the python (pyserial inside) implementation of the
fan-daemon:
https://github.com/martignlo/DNS-320L
Andrew,
did you realize that you request a non-standard UART baudrate in your
python code above:
port = serial.Serial("/dev/ttyS1", 115600, 8, "N", 1, 0.1)
s/115600/115200/
Does that fix your communication issues?
Sebastian