Martin Michlmayr has extensive documentation for Debian on ARM based QNAP devices:

Qontrol can be used to drive the various embedded peripherals such as fans, buzzers, buttons etc on these devices.

Iacchi has written detailed instructions on recovering a non-booting QNAP TS-11x device