[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: QNAP TS219 poweroff problem



Martin Michlmayr <tbm@cyrius.com> writes:

> * Michael Stapelberg <stapelberg@debian.org> [2013-03-06 17:03]:
>> > power off works for me and Rolf was the only user who reported
>> > problems with it.  Does it not work for you?
>> I have had the same problem with my qnap TS-119P II: When running
>> poweroff, it would not power off entirely.
>> 
>> I then applied the following two patches to my linux 3.8 kernel:
>
> I only looked at the patch briefly but it seems to require Device Tree,
> which we don't use for QNAP in wheezy.

yes, theses patches are for the DT case. Before theses patches, when
using DT, it was not possible to poweroff the system as nothing was
sending the 'A' char to the PIC. So, with 3.8 and devicetree, no
poweroff is expected.

>
> Anyway, if power off doesn't work for you, please file a bug on the
> "linux" package.  Might be worth CCing arnaud.patard@rtp-net.org

The poweroff code added by theses patches is the same code as the
machine code found in tsx1x-common.c so when using the machine code
(option CONFIG_MACH_TS219 in the kernel and not CONFIG_MACH_TS219_DT),
it should already be working. It would be unexpected that the same code
is working only in the DT case.

Arnaud


Reply to: