Re: qcontrol/ttyS1 on QNAP TS-421

2014-02-18 Thread Ian Campbell
On Tue, 2014-02-18 at 09:59 +, Gordan Bobic wrote: > pic_raw takes opcodes in decimal. The ones I have established > the meaning off by grepping the init scripts and trial and > error are as follows: Thanks. I haven't checked but I expect these correspond to the definitions in include/qnap/pic

Re: qcontrol/ttyS1 on QNAP TS-421

2014-02-18 Thread Gordan Bobic
On 2014-02-16 20:31, Ian Campbell wrote: On Sun, 2014-02-16 at 20:12 +, Gordan Bobic wrote: So how does the stock firmware disable the watchdog during the boot? Via the kernel driver perhaps? Maybe via a custom ioctl. You'll have to use the (kernel) source I'm afraid. OK - I have figured

Re: qcontrol/ttyS1 on QNAP TS-421

2014-02-16 Thread Ian Campbell
On Sun, 2014-02-16 at 20:12 +, Gordan Bobic wrote: > So how does the stock firmware disable the watchdog during the boot? Via the kernel driver perhaps? Maybe via a custom ioctl. You'll have to use the (kernel) source I'm afraid. Ian. -- To UNSUBSCRIBE, email to debian-arm-requ...@lists.de

Re: qcontrol/ttyS1 on QNAP TS-421

2014-02-16 Thread Gordan Bobic
So how does the stock firmware disable the watchdog during the boot? Ian Campbell wrote: >On Fri, 2014-02-14 at 23:46 +, Gordan Bobic wrote: >> I'm trying to get qcontrol / ttyS1 to work with the default QNAP kernel >> and I just cannot seem to get it to do anything. > >I think the stock Q

Re: qcontrol/ttyS1 on QNAP TS-421

2014-02-16 Thread Ian Campbell
On Fri, 2014-02-14 at 23:46 +, Gordan Bobic wrote: > I'm trying to get qcontrol / ttyS1 to work with the default QNAP kernel > and I just cannot seem to get it to do anything. I think the stock QNAP kernel has a built in driver for the PIC controller, which I expect means that the device is e

qcontrol/ttyS1 on QNAP TS-421

2014-02-14 Thread Gordan Bobic
I'm trying to get qcontrol / ttyS1 to work with the default QNAP kernel and I just cannot seem to get it to do anything. # echo -n g > /dev/ttyS1 -bash: echo: write error: Input/output error # qcontrol --direct watchdog off Failed to set attributes for /dev/ttyS1: Input/output error Normally I