doc:appunti:hardware:qnap_ts-120
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
doc:appunti:hardware:qnap_ts-120 [2025/03/21 16:50] – [Problem with i2c bus] niccolo | doc:appunti:hardware:qnap_ts-120 [2025/04/01 12:55] (current) – [Cooling Fan] niccolo | ||
---|---|---|---|
Line 158: | Line 158: | ||
</ | </ | ||
- | ===== Problem with i2c bus ===== | + | ===== Problem with the I2C bus locked |
Booting the **4.9.0-17** kernel, the '' | Booting the **4.9.0-17** kernel, the '' | ||
Line 169: | Line 169: | ||
</ | </ | ||
- | This means that the I2C bus is locked and the RTC kernel module cannot load: | + | Booting the **4.19.0-21** kernel, the error message is slightly different: |
+ | |||
+ | < | ||
+ | i2c /dev entries driver | ||
+ | i2c i2c-0: mv64xxx: I2C bus locked, block: 1, time_left: 0 | ||
+ | rtc-s35390a 0-0030: error resetting chip | ||
+ | rtc-s35390a: | ||
+ | </ | ||
+ | |||
+ | This means that the I2C bus is locked and the RTC kernel module cannot load properly: | ||
< | < | ||
Line 183: | Line 192: | ||
</ | </ | ||
+ | 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 **/ | ||
+ | |||
+ | < | ||
+ | cat / | ||
+ | rtc_time | ||
+ | rtc_date | ||
+ | alrm_time | ||
+ | alrm_date | ||
+ | alarm_IRQ | ||
+ | alrm_pending | ||
+ | update IRQ enabled | ||
+ | periodic IRQ enabled | ||
+ | periodic IRQ frequency | ||
+ | max user IRQ frequency | ||
+ | 24hr : yes | ||
+ | </ | ||
+ | |||
+ | **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:// | ||
- | * **[[https:// | ||
===== Upgrading to 4 Tb Hard Disk ===== | ===== Upgrading to 4 Tb Hard Disk ===== | ||
Line 372: | Line 400: | ||
Flashing kernel (using 2067802/ | Flashing kernel (using 2067802/ | ||
Flashing initramfs (using 6101378/ | Flashing initramfs (using 6101378/ | ||
+ | </ | ||
+ | |||
+ | ===== Cooling 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 | ||
+ | | 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 | ||
+ | | 1 | Black | Ground | ||
+ | | 2 | Red | +12 v DC | | ||
+ | | 3 | Yellow | ||
+ | | 4 | Blue | PWM Control | ||
+ | |||
+ | |||
+ | To control the fan speed you can use the **qcontrol** tool: | ||
+ | |||
+ | < | ||
+ | qcontrol fanspeed {stop|silence|low|medium|high|full} | ||
+ | </ | ||
+ | |||
+ | ===== Automatic power-on ===== | ||
+ | |||
+ | To enable automatic power-on when power is restored (if the device was not powered down correctly): | ||
+ | |||
+ | < | ||
+ | qcontrol --direct autopower on | ||
+ | </ | ||
+ | |||
+ | ===== Temperature sensor ===== | ||
+ | |||
+ | < | ||
+ | cat / | ||
</ | </ | ||
doc/appunti/hardware/qnap_ts-120.1742572254.txt.gz · Last modified: 2025/03/21 16:50 by niccolo