Re: Fwd: Re: [PATCH 2/2] ARM: mvebu: dts: Add dts file for DLink DNS-327L

From: Andrew
Date: Sun May 03 2015 - 07:38:22 EST


Sebastian Hesselbarth ÐÐÑÐÐ 03.05.2015 13:58:
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


If life was that simple ;-)
Unfortunately that's not the issue.
dns320l-daemon ( http://www.aboehler.at/hg/dns320l-daemon ) uses correct 115200 baud and
doesn't work either.
Since I can transmit, but can't receive, I will be first checking out mpp settings
If that doesn't help, I guess it's git-bisect time.


--
Regards,
Andrew
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/