From mboxrd@z Thu Jan 1 00:00:00 1970 From: andrew@ncrmnt.org (Andrew) Date: Sun, 03 May 2015 14:37:59 +0300 Subject: Fwd: Re: [PATCH 2/2] ARM: mvebu: dts: Add dts file for DLink DNS-327L In-Reply-To: <5545FF6D.9040205@gmail.com> References: <552A6209.9040903@gmail.com> <20150412145857.GA14038@lunn.ch> <20150412194735.GA27921@lunn.ch> <552BCFAA.2020109@free-electrons.com> <1ec8906f00468ca5a9fa227f8c83fe69@mail.ncrmnt.org> <55351569.7000307@free-electrons.com> <55351898.60604@free-electrons.com> <4e7e91562aac6a260885bf2d12174060@mail.ncrmnt.org> <5545FF6D.9040205@gmail.com> Message-ID: <072d4c1171194abcb0bf753ce5a2e776@mail.ncrmnt.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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