Package: qcontrol Version: 0.4.1-3 Severity: wishlist qcontrol currently doesn't have support for the QNAP TS-409 but the TS-209 and TS-409 are similar enough to use the TS-209 support code for now. Can you please upload with the attached patch so qcontrol will also recognize the TS-409 and use the TS-209 support code. It would be good to get this into lenny.
Differences between the TS-209 and TS-409: - The TS-409 has no power LED, but the "powerled" command employed in the init script and udeb is harmless on the TS-409 since it simply does nothing. - The TS-409 has better temperature reporting, but this is only useful in daemon mode, which is currently not used in the .deb. diff -urN qcontrol-0.4.1~/debian/control qcontrol-0.4.1/debian/control --- qcontrol-0.4.1~/debian/control 2008-07-20 16:59:03.000000000 +0300 +++ qcontrol-0.4.1/debian/control 2008-07-20 17:01:07.000000000 +0300 @@ -9,7 +9,7 @@ Package: qcontrol Architecture: arm armel Depends: ${shlibs:Depends}, ${misc:Depends} -Description: hardware control for QNAP TS-109 and TS-209 +Description: hardware control for QNAP TS-109, TS-209 and TS-409 Allows to send commands to the microcontroller of supported devices, for example to change leds or sound a buzzer. . @@ -17,8 +17,9 @@ presses or temperature, with events triggering actions defined in the configuration file. . - Supported devices at this time are the QNAP TS-109 and TS-209 but the - code is extensible so more devices may be added in future releases. + Supported devices at this time are the QNAP TS-109, TS-209 and TS-409 + but the code is extensible so more devices may be added in future + releases. . Warning: the program is in alpha state, use at your own risk. @@ -27,5 +28,5 @@ Architecture: arm armel Depends: ${shlibs:Depends}, ${misc:Depends}, input-modules XC-Package-Type: udeb -Description: hardware control for QNAP TS-109 and TS-209 +Description: hardware control for QNAP TS-109, TS-209 and TS-409 Allows to change status leds or sound the buzzer of supported devices. diff -urN qcontrol-0.4.1~/debian/init.d qcontrol-0.4.1/debian/init.d --- qcontrol-0.4.1~/debian/init.d 2008-07-20 16:59:03.000000000 +0300 +++ qcontrol-0.4.1/debian/init.d 2008-07-20 17:00:06.000000000 +0300 @@ -8,7 +8,7 @@ # Should-Stop: # Default-Start: 2 3 4 5 # Default-Stop: 0 6 -# Short-Description: Change status leds for QNAP TS-109/TS-209 +# Short-Description: Change status leds for QNAP TS-109/TS-209 and TS-409 ### END INIT INFO PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin @@ -70,7 +70,7 @@ device=$(grep "Hardware[[:space:]]*:" /proc/cpuinfo 2>/dev/null | \ head -n1 | sed "s/^[^:]*: //") case $device in - "QNAP TS-109/TS-209") + "QNAP TS-109/TS-209" | "QNAP TS-409") test_event_dev || exit 0 if pid=$(qcontrol_start); then log_action_msg "System boot completed" @@ -96,7 +96,7 @@ device=$(grep "Hardware[[:space:]]*:" /proc/cpuinfo 2>/dev/null | \ head -n1 | sed "s/^[^:]*: //") case $device in - "QNAP TS-109/TS-209") + "QNAP TS-109/TS-209" | "QNAP TS-409") test_event_dev || exit 0 if pid=$(qcontrol_start); then log_action_msg "Preparing for shutdown" diff -urN qcontrol-0.4.1~/debian/qcontrol.1 qcontrol-0.4.1/debian/qcontrol.1 --- qcontrol-0.4.1~/debian/qcontrol.1 2008-07-20 16:59:03.000000000 +0300 +++ qcontrol-0.4.1/debian/qcontrol.1 2008-07-20 17:01:55.000000000 +0300 @@ -1,7 +1,7 @@ .TH QCONTROL 1 "2008-05-29" "Debian Project" "" .SH NAME -qcontrol \- Hardware control for QNAP TS-109 and TS-209 +qcontrol \- Hardware control for QNAP TS-109, TS-209 and TS-409 .SH SYNOPSIS \fBqcontrol\fB -d @@ -18,8 +18,8 @@ therefore advised when using qcontrol as a real daemon to monitor and control a device. .PP -Currently supported devices are the QNAP TS-109 and QNAP TS-209, but -support for additional devices may be added in future releases. +Currently supported devices are the QNAP TS-109, QNAP TS-209 and QNAP +TS-409, but support for additional devices may be added in future releases. .SH BASIC USAGE First a control process needs to be started that opens a socket through diff -urN qcontrol-0.4.1~/debian/udeb/qcommand qcontrol-0.4.1/debian/udeb/qcommand --- qcontrol-0.4.1~/debian/udeb/qcommand 2008-07-20 16:59:03.000000000 +0300 +++ qcontrol-0.4.1/debian/udeb/qcommand 2008-07-20 16:59:28.000000000 +0300 @@ -7,7 +7,7 @@ device=$(grep "Hardware[[:space:]]*:" /proc/cpuinfo 2>/dev/null | \ head -n1 | sed "s/^[^:]*: //") case $device in - "QNAP TS-109/TS-209") + "QNAP TS-109/TS-209" | "QNAP TS-409") # Success or continue [ "$1" = "-t" ] && exit 0 || true ;; *) -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]