Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Unraid on QNAP NAS: My Experience (TS-853A)

Featured Replies

  • Replies 82
  • Views 49.5k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • LSI HBA are recommend, but those PCIe slot was Gen2x2 so 9200-8e already enough. It has a small fan at PCIe slot area so cooling shouldn't a issue. Low power SATA controller addon card also a goo

  • HellDiverUK
    HellDiverUK

    Adding to this thread, I've tested unRAID with the following two QNAP machines, both work perfectly.  No configuration required, just plug in the unRAID boot USB and off you go.   QNAP1:

  • Does this do anything with the screen?   stty -F /dev/ttyS0 1200 And then execute these commands to control the LCD (Switch on, Switch off, Set text in line 1, Set text in line 2):

Posted Images

Thanks for all the help so far, So for QNAP lcdproc will just need to have serial support, I will continue to research the driver/kernal modules required to support once I have the basis of a plugin ready.

6 minutes ago, SimonF said:

Thanks for all the help so far, So for QNAP lcdproc will just need to have serial support, I will continue to research the driver/kernal modules required to support once I have the basis of a plugin ready.

 

If you need any further information or testing i would be happy to assist. 

Yeah it says "System booting" in line1 and an endless cycle of filling chevrons in line2. 

1 hour ago, [email protected] said:

Yeah it says "System booting" in line1 and an endless cycle of filling chevrons in line2. 

I cannot think why your are not seeing S1 unless default s0 is no longer connected and S1 would become S0.

 

 

Did or could you try these commands to see if they have an effect?

 

stty -F /dev/ttyS0 1200

And then execute these commands to control the LCD (Switch on, Switch off, Set text in line 1, Set text in line 2):

 

echo -e "M^\x1" > /dev/ttyS0

echo -e "M^\x0" > /dev/ttyS0

echo -e "M\f\x0 HELLO WORLD 1234" > /dev/ttyS0

echo -e "M\f\x1 HELLO WORLD 1234" > /dev/ttyS0

Edited by SimonF

looks like LCDproc has support for the screens used in QNAP devices.

 

/** \file server/drivers/icp_a106.c

* LCDd \c icp_a106 for ICP Peripheral Communication Protocol devices

*/

/*

* This is the LCDproc driver for the ICP Peripheral Communication Protocol

* used by the ICP A106 and A125 LCD boards. The A125 is used in QNAP devices

*

* Both LCD and alarm functions are accessed via one serial port, using

* separate commands. Unfortunately, the device runs at slow 1200bps and the

* LCD does not allow user-defined characters, so the bargraphs do not look

* very nice.

*

* Copyright (C) 2002 Michael Schwingen <[email protected]>

*

* This program is free software; you can redistribute it and/or modify it

* under the terms of the GNU General Public License as published by the Free

* Software Foundation; either version 2 of the License, or any later version.

*

* This program is distributed in the hope that it will be useful, but WITHOUT

* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for

* more details.

*

* You should have received a copy of the GNU General Public License along

* with this program; if not, write to the Free Software Foundation, Inc., 51

* Franklin Street, Fifth Floor, Boston, MA 02110-1301

*

* This driver is mostly based on the HD44780 and the LCDM001 driver.

* (Hopefully I have NOT forgotten any file I have stolen code from. If so

* send me an e-mail or add your copyright here!)

*

* - changes to support A125 and buttons made by Sam Bingner <[email protected]>

*

*/

16 hours ago, SimonF said:

I cannot think why your are not seeing S1 unless default s0 is no longer connected and S1 would become S0.

 

 

Did or could you try these commands to see if they have an effect?

 

stty -F /dev/ttyS0 1200

And then execute these commands to control the LCD (Switch on, Switch off, Set text in line 1, Set text in line 2):

 

echo -e "M^\x1" > /dev/ttyS0

echo -e "M^\x0" > /dev/ttyS0

echo -e "M\f\x0 HELLO WORLD 1234" > /dev/ttyS0

echo -e "M\f\x1 HELLO WORLD 1234" > /dev/ttyS0

 

yes I tried that, multiple times :/ still only system booting. I have no idea why. 

  • 2 weeks later...
On 3/19/2023 at 8:13 AM, [email protected] said:

 

yes I tried that, multiple times :/ still only system booting. I have no idea why. 

Got a TS-859U-RP+ to use for testing. I can get the screen to work using a USB Serial to breakout cable plugged into the LCD Display with lcdproc. But waiting on some memory to see if I can load UnRaid as only as 1Gb at present which is not enough for Unraid.

 

 

image.thumb.png.20939b3307f1517094053b552c186578.png

image.thumb.png.bd585c946b86b6e204d12ce163de640e.png

 

image.thumb.png.628c9dbd60ec8e47e676dab81f92144e.png

I got my qnap device running really well and would like to get my lcd to run properly. What cable did you use?

thats with the qnap plugin installed, but the screen is disconnected

5 hours ago, ricostuart said:

thats with the qnap plugin installed, but the screen is disconnected

is that the QNAP EC pluging to allow fan control by ich777?

 

 

Here is a copy of the lcdproc package and a config for icp_a106 lcd used in QNAP.

 

I have the serial port set to /dev/ttyUSB0 your could try /dev/ttyS0

 

find this section in the config.

 

[icp_a106]
Device=/dev/ttyUSB0 change to /dev/ttyS0

# Display dimensions
Size=20x2

 

Port should be S1 but your dont have one so may not be correct so try S0.

 

put package in /tmp or somewhere

 

installpkg /tmp/lcdproc.txz

 

LCDd -c /tmp/LCDd.conf will start the background process. And text should be on the screen if it works.

 

lcdproc N will display a clock

 

 

 

lcdproc.txz LCDd.conf

Edited by SimonF

On 3/19/2023 at 8:13 AM, [email protected] said:

 

yes I tried that, multiple times :/ still only system booting. I have no idea why. 

@Lavoslav

 

Are you able to provide output of the following.

 

cat /proc/tty/driver/serial

udevadm info -q property -n /dev/ttyS*

 

 

I use a USB to serial adapter with a ch340 chip. I pluged it to the internal USB connector and make a UDEV-rule for safety connection to the right USB.
 

SUBSYSTEMS=="usb", KERNEL=="ttyUSB*", ATTRS{idVendor}=="1a86", SYMLINK+="LCD"

 

Then I use the User Scripts Plugin to display some informations:

 

At Startup of Array:
 

#!/bin/bash
hostname=$(hostname)
ip=$(hostname -I | cut -d' ' -f1)
stty -F /dev/LCD 1200
echo -e "M\x5E\x1" > /dev/LCD
echo -e "M\x0C\x0 $hostname                " > /dev/LCD
sleep 2
echo -e "M\x0C\x1 $ip                " > /dev/LCD

 

At Stopping of Array:
 

#!/bin/bash
stty -F /dev/LCD 1200
echo -e "M\x5E\x1" > /dev/LCD
echo -e "M\x0C\x1 reboot/shutdown " > /dev/LCD

 

It is a quick and dirty job, but it works. 

 

On 3/19/2023 at 8:13 AM, [email protected] said:

 

yes I tried that, multiple times :/ still only system booting. I have no idea why. 

We have found the number of UARTS is set to one, I have asked for it be increased in 6.12.

On 3/31/2023 at 12:08 PM, ricostuart said:

Screenshot 2023-03-31 120811.png

ttyS1 will show up in the next 6.12 release.

6.12rc3 addss in additional serial ports so lcd is accessable, 6,12 also has a smaller memory footprint. it will boot on a 1gb qnap.

With 6.12 RC3 i can confirm that not only ttyS0 but also ttyS1/ttyS2/ttyS3 show up on my Qnap TVS-882.

With the commands above i am able to control my display on ttyS1 (i.e. turn off, turn on, put a hello world text to the display)

6 hours ago, Funsh said:

With 6.12 RC3 i can confirm that not only ttyS0 but also ttyS1/ttyS2/ttyS3 show up on my Qnap TVS-882.

With the commands above i am able to control my display on ttyS1 (i.e. turn off, turn on, put a hello world text to the display)

I have started creating LCD_Manager which will have a specific Unraid Client but currently just support lcdproc options. You can install from CA.

 

image.png

 

 

Thanks.

Can confirm that it works.

 

With just the lcdproc option some options are not really usefull due to how it is displayed (i.e. the display has simply too less characters to display), but the "N C M" options work quite well.

 

Since the Qnap is anyway just my backup NAS, which is just on for a few hours every few weeks, i am perfectly fine with anything other on the display that is not "booting ..."

  • 2 months later...

I read through this entire thread with bated breath. I am excited to give this a whirl. I purchased a TVS-874 recently and migrated my environment to it from unraid. I moved to higher capacity drives and wanted more performance as well as stability. My unraid environment would randomly become non-responsive. After working with QNAP container station, I am annoyed and missing a unraid. I will copy my data to another Nas and so I can re-purpose the QNAP NAS as an unraid NAS. 

  • 3 months later...

I have a qnap 473 and I have added a tp link tx401 2.5gbe card but it's not recognised in unraid. I assume I have to disable the 1gbe ethernet ports but I have checked the bios and I cant find the settings to disable them. Does anyone know how to do this?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.