Bug#689912: qcontrol: wrong tamplate used for qcontrol.conf

2012-11-12 Thread Michele Cane
Hi Ian, On Sun, 2012-11-11 at 23:19 +, Ian Campbell wrote: > Took a bit longer than expected but I've been playing with consolidating > the various configuration files into a single one which automatically > detects and enables the various hardware features. > > Please can you try installing

Bug#689912: qcontrol: wrong tamplate used for qcontrol.conf

2012-11-11 Thread Ian Campbell
On Tue, 2012-10-16 at 11:34 +0100, Ian Campbell wrote: > I'm AFK this weekend but I'll see if I can prototype something soon. Took a bit longer than expected but I've been playing with consolidating the various configuration files into a single one which automatically detects and enables the vario

Bug#689912: qcontrol: wrong tamplate used for qcontrol.conf

2012-10-16 Thread Ian Campbell
On Tue, 2012-10-16 at 10:48 +0200, Michele Cane wrote: > On Mon, Oct 15, 2012 at 3:06 PM, Ian Campbell wrote: > > On Mon, 2012-10-15 at 14:51 +0200, Michele Cane wrote: > >> > Great, can you share your qcontrol.conf please? > >> > > >> > >> I used the default ts-419p.lua config file > > > > AH, OK

Bug#689912: qcontrol: wrong tamplate used for qcontrol.conf

2012-10-16 Thread Michele Cane
On Mon, Oct 15, 2012 at 3:06 PM, Ian Campbell wrote: > On Mon, 2012-10-15 at 14:51 +0200, Michele Cane wrote: >> > Great, can you share your qcontrol.conf please? >> > >> >> I used the default ts-419p.lua config file > > AH, OK. I was hoping you had written and debugged the lua code to read > the

Bug#689912: qcontrol: wrong tamplate used for qcontrol.conf

2012-10-15 Thread Ian Campbell
On Mon, 2012-10-15 at 14:51 +0200, Michele Cane wrote: > > Great, can you share your qcontrol.conf please? > > > > I used the default ts-419p.lua config file AH, OK. I was hoping you had written and debugged the lua code to read the GPIO settings. Not to worry. > >> Moreover I was wondering if q

Bug#689912: qcontrol: wrong tamplate used for qcontrol.conf

2012-10-15 Thread Michele Cane
Hi, On Thu, Oct 11, 2012 at 9:57 PM, Ian Campbell wrote: > On Thu, 2012-10-11 at 20:10 +0200, Michele Cane wrote: >> Hi, >> >> On Wed, Oct 10, 2012 at 12:52 PM, Ian Campbell wrote: >> > On Wed, 2012-10-10 at 12:45 +0200, Michele Cane wrote: >> >> > Based on what you said about being able to use

Bug#689912: qcontrol: wrong tamplate used for qcontrol.conf

2012-10-11 Thread Martin Michlmayr
* Ian Campbell [2012-10-09 10:22]: > Looking at ts219-setup.c "QNAP TS-119/TS-219": > MPP44_GPIO, /* Board ID: 0: TS-11x, 1: TS-21x */ > But I'm not sure if x is always "9" or if this board file also supports > 110, 112 etc. I suspect it does support the others. yes, yhe board

Bug#689912: qcontrol: wrong tamplate used for qcontrol.conf

2012-10-11 Thread Ian Campbell
On Thu, 2012-10-11 at 20:10 +0200, Michele Cane wrote: > Hi, > > On Wed, Oct 10, 2012 at 12:52 PM, Ian Campbell wrote: > > On Wed, 2012-10-10 at 12:45 +0200, Michele Cane wrote: > >> > Based on what you said about being able to use the /sys file to detect > >> > the LCD, I guess you're not using

Bug#689912: qcontrol: wrong tamplate used for qcontrol.conf

2012-10-11 Thread Michele Cane
Hi, On Wed, Oct 10, 2012 at 12:52 PM, Ian Campbell wrote: > On Wed, 2012-10-10 at 12:45 +0200, Michele Cane wrote: >> > Based on what you said about being able to use the /sys file to detect >> > the LCD, I guess you're not using a serial console... not sure what's >> > wrong. a125 support in qc

Bug#689912: qcontrol: wrong tamplate used for qcontrol.conf

2012-10-10 Thread Ian Campbell
On Wed, 2012-10-10 at 12:45 +0200, Michele Cane wrote: > > Based on what you said about being able to use the /sys file to detect > > the LCD, I guess you're not using a serial console... not sure what's > > wrong. a125 support in qcontrol used to work. > > Just to be sure. the a125 should turn o

Bug#689912: qcontrol: wrong tamplate used for qcontrol.conf

2012-10-10 Thread Michele Cane
> Based on what you said about being able to use the /sys file to detect > the LCD, I guess you're not using a serial console... not sure what's > wrong. a125 support in qcontrol used to work. Just to be sure. the a125 should turn of when I simultaneously press the two LCD buttons, right? What is

Bug#689912: qcontrol: wrong tamplate used for qcontrol.conf

2012-10-10 Thread Michele Cane
Hi Martin On Wed, Oct 10, 2012 at 1:26 AM, Martin Michlmayr wrote: > * Michele Cane [2012-10-09 18:13]: >> The problem now is that I still cannot control the LCD if I use the >> appropriate .lua > > Are you using a serial console on your QNAP? Did you change jumper JP1? > > The LCD and a serial

Bug#689912: qcontrol: wrong tamplate used for qcontrol.conf

2012-10-09 Thread Martin Michlmayr
* Michele Cane [2012-10-09 18:13]: > The problem now is that I still cannot control the LCD if I use the > appropriate .lua Are you using a serial console on your QNAP? Did you change jumper JP1? The LCD and a serial console are mutually exclusive on the TS-419P and regulated by jumper JP1. Ba

Bug#689912: qcontrol: wrong tamplate used for qcontrol.conf

2012-10-09 Thread Michele Cane
On Tue, Oct 9, 2012 at 11:22 AM, Ian Campbell wrote: > On Tue, 2012-10-09 at 09:59 +0100, Martin Michlmayr wrote: >> * Ian Campbell [2012-10-09 09:26]: >> > Can someone have a look in e.g. /sys/devices/virtual/gpio or some of the >> > other directories in "find /sys/ -name \*gpio\*" and see if th

Bug#689912: qcontrol: wrong tamplate used for qcontrol.conf

2012-10-09 Thread Bernhard R. Link
* Martin Michlmayr [121009 11:00]: > I looked through my email archives and the problem appears to be > different to what I recalled. It seems the problem is that not all > QNAP devices have a fan; if you enable the fan on those devices, > you'll get period error messages in the log file saying t

Bug#689912: qcontrol: wrong tamplate used for qcontrol.conf

2012-10-09 Thread Ian Campbell
On Tue, 2012-10-09 at 09:59 +0100, Martin Michlmayr wrote: > * Ian Campbell [2012-10-09 09:26]: > > Can someone have a look in e.g. /sys/devices/virtual/gpio or some of the > > other directories in "find /sys/ -name \*gpio\*" and see if they can > > find it? > > Attached is a script I developed i

Bug#689912: qcontrol: wrong tamplate used for qcontrol.conf

2012-10-09 Thread Martin Michlmayr
* Ian Campbell [2012-10-09 09:26]: > Can someone have a look in e.g. /sys/devices/virtual/gpio or some of the > other directories in "find /sys/ -name \*gpio\*" and see if they can > find it? Attached is a script I developed in 2010 which will look at the GPIOs. > Looking at the qcontrol source

Bug#689912: qcontrol: wrong tamplate used for qcontrol.conf

2012-10-09 Thread Michele Cane
Hi, > Judging from the kernel; source it looks like it should appear in /sys > somewhere, perhaps under the name "JP1": > if (gpio_request(QNAP_TS41X_JUMPER_JP1, "JP1") == 0) > gpio_export(QNAP_TS41X_JUMPER_JP1, 0); > > Can someone have a look in e.g. /sys/devices/virtual/g

Bug#689912: qcontrol: wrong tamplate used for qcontrol.conf

2012-10-09 Thread Ian Campbell
On Mon, 2012-10-08 at 16:51 +0100, Martin Michlmayr wrote: > * Ian Campbell [2012-10-08 15:53]: > > I've CC'd Bernhard and Martin since they appear to have implemented > > 419p and 41x respectively support upstream so perhaps they have some > > insight on how to distinguish the two. > > There are

Bug#689912: qcontrol: wrong tamplate used for qcontrol.conf

2012-10-08 Thread Martin Michlmayr
* Ian Campbell [2012-10-08 15:53]: > I've CC'd Bernhard and Martin since they appear to have implemented > 419p and 41x respectively support upstream so perhaps they have some > insight on how to distinguish the two. There are GPIOs which tell you something about the device. I think you can pret

Bug#689912: qcontrol: wrong tamplate used for qcontrol.conf

2012-10-08 Thread Ian Campbell
On Mon, 2012-10-08 at 16:28 +0200, Michele Cane wrote: > Hi, > > On Mon, Oct 8, 2012 at 4:06 PM, Ian Campbell wrote: > > On Mon, 2012-10-08 at 15:55 +0200, Michele Cane wrote: > >> Hi Ian, > >> > >> the output is: "QNAP TS-41x" > >> > >> Now the problem is that is the same output for models witho

Bug#689912: qcontrol: wrong tamplate used for qcontrol.conf

2012-10-08 Thread Michele Cane
Hi, On Mon, Oct 8, 2012 at 4:06 PM, Ian Campbell wrote: > On Mon, 2012-10-08 at 15:55 +0200, Michele Cane wrote: >> Hi Ian, >> >> the output is: "QNAP TS-41x" >> >> Now the problem is that is the same output for models without LCD. > > Yes :-( > >> We need to find another way to discriminate mode

Bug#689912: qcontrol: wrong tamplate used for qcontrol.conf

2012-10-08 Thread Ian Campbell
On Mon, 2012-10-08 at 15:55 +0200, Michele Cane wrote: > Hi Ian, > > the output is: "QNAP TS-41x" > > Now the problem is that is the same output for models without LCD. Yes :-( > We need to find another way to discriminate models. I'm afraid I don't have an 41x devices at all, just 21x. I sup

Bug#689912: qcontrol: wrong tamplate used for qcontrol.conf

2012-10-08 Thread Michele Cane
Hi Ian, the output is: "QNAP TS-41x" Now the problem is that is the same output for models without LCD. We need to find another way to discriminate models. Cheers Mike On Mon, Oct 8, 2012 at 1:46 PM, Ian Campbell wrote: > On Sun, 2012-10-07 at 18:33 +0200, Michele Cane wrote: >> Package:

Bug#689912: qcontrol: wrong tamplate used for qcontrol.conf

2012-10-08 Thread Ian Campbell
On Sun, 2012-10-07 at 18:33 +0200, Michele Cane wrote: > Package: qcontrol > Version: 0.4.2+svn-r40-1 > Severity: normal > > Dear Maintainer, > > I am running wheezy on a TS-419P II. > I think that in postinst you should add a line for "QNAP TS-419p" and copy > the 419p.lua file which is in /exa

Bug#689912: qcontrol: wrong tamplate used for qcontrol.conf

2012-10-07 Thread Michele Cane
Package: qcontrol Version: 0.4.2+svn-r40-1 Severity: normal Dear Maintainer, I am running wheezy on a TS-419P II. I think that in postinst you should add a line for "QNAP TS-419p" and copy the 419p.lua file which is in /examples. Cheers Mike -- To UNSUBSCRIBE, email to debian-bugs-dist-requ