User Tools

Site Tools


doc:appunti:hardware:qnap_ts-120

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
doc:appunti:hardware:qnap_ts-120 [2025/03/31 14:47] – [Cooling Fan] niccolodoc:appunti:hardware:qnap_ts-120 [2025/04/01 12:55] (current) – [Cooling Fan] niccolo
Line 193: Line 193:
  
 The **problem was solved** by powering off the QNAP, **unplugging the power** connector and removing the inside clock battery (this last operation may be not necessary). The **problem was solved** by powering off the QNAP, **unplugging the power** connector and removing the inside clock battery (this last operation may be not necessary).
 +
 +If the module is loaded and working, you can read the pseudofile **/proc/driver/rtc**:
 +
 +<code>
 +cat /proc/driver/rtc
 +rtc_time        : 12:55:51
 +rtc_date        : 2025-03-31
 +alrm_time       : 12:50:51
 +alrm_date       : 2025-04-01
 +alarm_IRQ       : no
 +alrm_pending    : no
 +update IRQ enabled      : no
 +periodic IRQ enabled    : no
 +periodic IRQ frequency  : 1
 +max user IRQ frequency  : 64
 +24hr            : yes
 +</code>
  
 **NOTICE**: There is a problem with poweroff which results into a reboot, which is eventually related to the RTC, which is working on the I2C bus. See the following thread for some insight: **[[https://groups.google.com/g/linux.debian.ports.arm/c/Vb-uE7Emj_k|Debian Jessie on QNAP TS-112P - Reboot instead of shutdown]]**. Check also the **qcontrol** tool, which does have an **rtc on** option. **NOTICE**: There is a problem with poweroff which results into a reboot, which is eventually related to the RTC, which is working on the I2C bus. See the following thread for some insight: **[[https://groups.google.com/g/linux.debian.ports.arm/c/Vb-uE7Emj_k|Debian Jessie on QNAP TS-112P - Reboot instead of shutdown]]**. Check also the **qcontrol** tool, which does have an **rtc on** option.
Line 387: Line 404:
 ===== Cooling Fan ===== ===== Cooling Fan =====
  
- CPU 4 pin Fan  ^^^+The original fan is **50x50x15 mm** and is marked as: 
 + 
 +  * **Y.S. TECH** 
 +  * **FD125015LB** 
 +  * **DC12V 0.085A** 
 + 
 +The pinout of the QNAP TS-120 fan is: 
 + 
 +PIN  Color  Function 
 +|  1 | Black   | Ground 
 +|  2 | Yellow  | +12 v DC  | 
 +|  3 | Green   | Tachometer (sense) signal 
 +|  4 | Blue    | PWM control signal 
 + 
 + 
 +This is the **standard pinout of a CPU fan** with PWM speed control an tachometer sensor: 
 ^ PIN  ^ Color   ^ Function          ^ ^ PIN  ^ Color   ^ Function          ^
 |    1 | Black   | Ground            | |    1 | Black   | Ground            |
 |    2 | Red     | +12 v DC          | |    2 | Red     | +12 v DC          |
-|    3 | Yellow  | Tachometer sense  |+|    3 | Yellow  | Tachometer Sense  |
 |    4 | Blue    | PWM Control       | |    4 | Blue    | PWM Control       |
  
 +
 +To control the fan speed you can use the **qcontrol** tool:
 +
 +<code>
 +qcontrol fanspeed {stop|silence|low|medium|high|full}
 +</code>
 +
 +===== Automatic power-on =====
 +
 +To enable automatic power-on when power is restored (if the device was not powered down correctly):
 +
 +<code>
 +qcontrol --direct autopower on
 +</code>
 +
 +===== Temperature sensor =====
 +
 +<code>
 +cat /sys/class/hwmon/hwmon0/temp1_input
 +</code>
  
doc/appunti/hardware/qnap_ts-120.1743425253.txt.gz · Last modified: 2025/03/31 14:47 by niccolo