TS-251 No Signal on Newer TVs

Printers, HDDs, USB/eSATA drives, 3rd-party programs
gasparirob
Starting out
Posts: 21
Joined: Sat Oct 17, 2015 2:53 am

Re: TS-251 No Signal on Newer TVs

Post by gasparirob »

How could I run a script with these 2 lines:

chroot /share/CACHEDEV1_DATA/.qpkg/HD_Station /bin/bash
xrandr --output HDMI1 --mode 1920x1080 --rate 60

Because If it is possible, then, maybe, would be possible to execute it when pressing the "One Touch Copy" button
User avatar
OneCD
Guru
Posts: 12163
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: TS-251 No Signal on Newer TVs

Post by OneCD »

gasparirob wrote:Because If it is possible, then, maybe, would be possible to execute it when pressing the "One Touch Copy" button
viewtopic.php?p=153363#p153363

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage
gasparirob
Starting out
Posts: 21
Joined: Sat Oct 17, 2015 2:53 am

Re: TS-251 No Signal on Newer TVs

Post by gasparirob »

Yes, I know that.

I don't know how to run this script:
chroot /share/CACHEDEV1_DATA/.qpkg/HD_Station /bin/bash
xrandr --output HDMI1 --mode 1920x1080 --rate 60
6.7LMegaCab
Starting out
Posts: 12
Joined: Sun Oct 25, 2015 1:48 am
Location: U.S.A.

Re: TS-251 No Signal on Newer TVs

Post by 6.7LMegaCab »

Go back to the beginning of the thread, there is a piece of software that I mentioned that you use to run that command through Windows.
TS-251
Firmware: 4.3.2.0026
8GB Memory (single slot)
2x4TB WD Red NAS drives
gasparirob
Starting out
Posts: 21
Joined: Sat Oct 17, 2015 2:53 am

Re: TS-251 No Signal on Newer TVs

Post by gasparirob »

You mean Putty.. Yeah, I know that, but I need to execute those two lines of command inside a script, so I can execute it when the One Touch Copy button is pressed

But I'm having problem to execute the xrandr command within the chroot bin/bash

(It works perfectly if I execute the two lines command manually)
6.7LMegaCab
Starting out
Posts: 12
Joined: Sun Oct 25, 2015 1:48 am
Location: U.S.A.

Re: TS-251 No Signal on Newer TVs

Post by 6.7LMegaCab »

Ah! I can't help you there.
TS-251
Firmware: 4.3.2.0026
8GB Memory (single slot)
2x4TB WD Red NAS drives
jcani2000
First post
Posts: 1
Joined: Thu May 28, 2015 1:27 am

Re: TS-251 No Signal on Newer TVs

Post by jcani2000 »

gasparirob wrote:I've same problem with my TS-251. It has always worked fine, till about a week ago, maybe when I upgraded to QTS 4.3.3

It works fine till HD Station has loaded, then I have to restart it everytime I turn off TV (or simply I change the input).
If I restart nas, I can turn off and on the tv or change the input, until HD Station is loaded.

I have QTS 4.3.3 and HD Station 3.1.A

2x4GB HyperX always worked correctly (from October 2015).

I am experiencing the same issue since QTS 4.3.3 and HD Station 3.1.A. Opened a ticket with QNAP's tech support but still
no resolution to the "no signal" after my Samsung Smart TV is turned off and on.

Tried all tech support suggestions like using different HDMI cables and ports. Also my brand new Onkyo A/V receiver exhibits
the same issue when connecting QNAP TS-451 to one of its HDMI ports.

Only two work arounds for restoring HDMI signal:

1.) Unplugging and plugging HDMI cable with the TV on.
2.) Opening the settings panel on the Hybrid Desk. (Have to use a laptop or my cellphone, since there is no other way when HDMI signal is lost.)

My TS-451 was working in perfect order until this firmware update.

Another suggestion from QNAP Tech support was to remove all drives and turn the unit ON. I did that, and waited for the boot sequence until the
missing disk screen was displayed on my TV.

Turned the TV off and on several times and never lost my HDMI signal, so it seems to me there has be an issue related to the Hybrid Desk and the new Firmware.

I am dealing with QNAP's LATAM Tech support and sill waiting for a resolution.

Ill keep you posted. :roll:
gasparirob
Starting out
Posts: 21
Joined: Sat Oct 17, 2015 2:53 am

Re: TS-251 No Signal on Newer TVs

Post by gasparirob »

jcani2000 wrote: Only two work arounds for restoring HDMI signal:

1.) Unplugging and plugging HDMI cable with the TV on.
2.) Opening the settings panel on the Hybrid Desk. (Have to use a laptop or my cellphone, since there is no other way when HDMI signal is lost.)
You could also hold remote power button for 6 seconds, so HD Station will restart
gasparirob
Starting out
Posts: 21
Joined: Sat Oct 17, 2015 2:53 am

Re: TS-251 No Signal on Newer TVs

Post by gasparirob »

jcani2000 wrote:
I am dealing with QNAP's LATAM Tech support and sill waiting for a resolution.

Ill keep you posted. :roll:

No news from QNAP?
gasparirob
Starting out
Posts: 21
Joined: Sat Oct 17, 2015 2:53 am

Re: TS-251 No Signal on Newer TVs

Post by gasparirob »

I've found the correct code to be executed in a single file script:

Code: Select all

#!/bin/bash
chroot /share/CE_CACHEDEV1_DATA/.qpkg/HD_Station bash -lic "xrandr --output HDMI1 --mode 1920x1080 --rate 60"
(CE_CACHEDEV1_DATA could be different)

Put it in a .sh file, give it execute rights (chmod a+x), and voila: tv now turns on when you execute the script.

Next step is to execute it when pressing the Copy Button (viewtopic.php?f=91&t=32668)
But, obviously, it works no more (gpiod related problem)

:cry: :cry: :cry:
Anonymous_
Starting out
Posts: 11
Joined: Fri Dec 30, 2016 12:02 am

Re: TS-251 No Signal on Newer TVs

Post by Anonymous_ »

+1 to this issue. :(

QTS 4.3.3, HD Station 3.1A and 4GB of Kingston RAM in single slot. Did not have this problem in previous QTS 4.2, previous HD Station and with 2x1GB of RAM... Unfortunately I've upgraded everything in almost in the same time, so can't confirm what exactly is causing it for sure.

xrandr works well. Maybe executing it in the cron may do the work? Or execute it in the kodi start script?
gasparirob
Starting out
Posts: 21
Joined: Sat Oct 17, 2015 2:53 am

Re: TS-251 No Signal on Newer TVs

Post by gasparirob »

Anonymous_ wrote: xrandr works well. Maybe executing it in the cron may do the work? Or execute it in the kodi start script?
Good ideas, I'm trying both... but:
- the min time of cron is 1 minute, too much to wait
- I haven't found a way to execute a script when kodi starts

I'm working on a background job executing the script every X seconds, but I always get errors (about TTY, SIGTTIN, etc...)
:(
Anonymous_
Starting out
Posts: 11
Joined: Fri Dec 30, 2016 12:02 am

Re: TS-251 No Signal on Newer TVs

Post by Anonymous_ »

gasparirob wrote: - I haven't found a way to execute a script when kodi starts
I've modified Kodi's startup script here /share/CACHEDEV1_DATA/.qpkg/mykodi17/startup_shell/startup_mykodi17.sh

so it looks like this

Code: Select all

...
rm -f /tmp/mykodi17_dbus_id
if [ ! -z "$DBUS_SESSION_BUS_PID" ] ; then
	echo $DBUS_SESSION_BUS_PID > /tmp/mykodi17_dbus_id
fi
xrandr --output HDMI1 --mode 1920x1080 --rate 60
$QPKG_DIR/bin/kodi &
echo $! > /tmp/${QPKG_CLASS}-${QPKG_NAME}.pid
xrandr --output HDMI1 --mode 1920x1080 --rate 60 # just for sure
wait $!
rm /tmp/${QPKG_CLASS}-${QPKG_NAME}.pid
if [ -e $QPKG_PATH/before_stop.sh ] ; then
	source $QPKG_PATH/before_stop.sh
fi
...
And apparently it works. Got "no signal" right now. Opened Qremote on phone, started mykodi and screen appeared :) Still a little bit annoying, maybe I will try to switch back RAMs to 2x1GB to see if it is caused by RAM upgrade.
gasparirob
Starting out
Posts: 21
Joined: Sat Oct 17, 2015 2:53 am

Re: TS-251 No Signal on Newer TVs

Post by gasparirob »

Top! I'll try as soon as possible!
gasparirob
Starting out
Posts: 21
Joined: Sat Oct 17, 2015 2:53 am

Re: TS-251 No Signal on Newer TVs

Post by gasparirob »

Ok, problem solved: startup_mykodi17.sh modified and now I can press the tv power-on button, nas power-on button (to come back to HD Station desktop) and "ok" to launch kodi that will power-on the tv!
Phone is not needed.

Thanks to 6.7LMegaCab and Anonymous_ 8) 8) 8)
Locked

Return to “Hardware & Software Compatibility”