Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #50924

Bug#797881: QNAP TS-219P II: qcontrol no longer works after upgrading to linux-image-4.1.0-0.bpo.1-kirkwood

From Ben Hutchings <ben@decadent.org.uk>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#797881: QNAP TS-219P II: qcontrol no longer works after upgrading to linux-image-4.1.0-0.bpo.1-kirkwood
Date 2015-10-04 23:30 +0200
Message-ID <qfZ10-3QB-9@gated-at.bofh.it> (permalink)
References <qfZ10-3QB-11@gated-at.bofh.it> <q4zWh-NK-1@gated-at.bofh.it> <qfRd8-1dd-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Sun, 2015-10-04 at 14:04 +0100, Ian Campbell wrote:
> On Thu, 2015-09-03 at 12:20 +0200, Robert Schlabbach wrote:
> > Package: linux-image-4.1.0-0.bpo.1-kirkwood
> > Version: 4.1.3-1~bpo8+1
> >  
> > After installing this Linux kernel on my QNAP TS-219P II, qcontrol no
> > longer works:
> >  
> > 1. The status LED remains in red/green blink mode (as set by the boot
> > loader). It should be set to solid green when the kernel is loaded.
> > 2. The buzzer does not buzz. It should buzz when the kernel is loaded
> > and when the kernel is shutting down.
> >  
> > Removing and reinstalling the qcontrol package did not help.
> 
> I suspect this is due to the device path for the input node changing
> from /dev/input/by-path/platform-gpio_keys-event to /dev/input/by
> -path/platform-gpio-keys-event. With the version of qcontrol in Jessie
> it won't even start if it can't find the device, even though it can do
> many of its core things without it (the node is for button input only).

The change seems to have been in the other direction.

> This is fixed by qcontrol 0.5.4-4 in testing (both looking for old and
> new names, as well as not treating failure to find either as a
> catastrophe), but for Jessie you can just edit the path in
> /etc/qcontrol.conf.
> 
> If that works for you then it might be worth uploading an updated
> qcontrol to backports.

I think the name change in the kernel should be reverted (not just in
Debian, but upstream) since it broke existing userland.  Presumably
that would be:

--- a/arch/arm/boot/dts/kirkwood-ts219-6281.dts
+++ b/arch/arm/boot/dts/kirkwood-ts219-6281.dts
@@ -32,7 +32,7 @@
 		};
 	};
 
-	gpio_keys {
+	gpio-keys {
 		compatible = "gpio-keys";
 		#address-cells = <1>;
 		#size-cells = <0>;
--- a/arch/arm/boot/dts/kirkwood-ts219-6282.dts
+++ b/arch/arm/boot/dts/kirkwood-ts219-6282.dts
@@ -42,7 +42,7 @@
 		};
 	};
 
-	gpio_keys {
+	gpio-keys {
 		compatible = "gpio-keys";
 		#address-cells = <1>;
 		#size-cells = <0>;
--- END ---

Ben.

-- 
Ben Hutchings
Any smoothly functioning technology is indistinguishable from a rigged demo.

Back to linux.debian.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#797881: QNAP TS-219P II: qcontrol no longer works after upgrading to linux-image-4.1.0-0.bpo.1-kirkwood "Robert Schlabbach" <Robert.Schlabbach@gmx.net> - 2015-09-03 12:30 +0200
  Bug#797881: QNAP TS-219P II: qcontrol no longer works after upgrading to linux-image-4.1.0-0.bpo.1-kirkwood Ian Campbell <ijc@debian.org> - 2015-10-04 15:10 +0200
    Bug#797881: QNAP TS-219P II: qcontrol no longer works after upgrading to linux-image-4.1.0-0.bpo.1-kirkwood Ben Hutchings <ben@decadent.org.uk> - 2015-10-04 23:30 +0200
      Bug#797881: QNAP TS-219P II: qcontrol no longer works after upgrading to linux-image-4.1.0-0.bpo.1-kirkwood Ian Campbell <ijc@debian.org> - 2015-10-05 10:40 +0200
    Bug#797881: QNAP TS-219P II: qcontrol no longer works after upgrading to linux-image-4.1.0-0.bpo.1-kirkwood Martin Michlmayr <tbm@cyrius.com> - 2015-12-10 01:20 +0100
      Bug#797881: QNAP TS-219P II: qcontrol no longer works after upgrading to linux-image-4.1.0-0.bpo.1-kirkwood Ian Campbell <ijc@debian.org> - 2015-12-10 08:40 +0100
        Bug#797881: QNAP TS-219P II: qcontrol no longer works after upgrading to linux-image-4.1.0-0.bpo.1-kirkwood Ian Campbell <ijc@hellion.org.uk> - 2015-12-10 09:40 +0100

csiph-web