R3 (oPlay Air) keeps turning off when operating as NAS

R3 (oPlay Air) keeps turning off when operating as NAS

Postby zehawk » 25 Apr 2013, 15:12

Hi,

I'm using moServices on my Asus HDP-R3. While actively using it as a NAS, i.e. connected from Win PC via Samba, looking through the web interface, copying files, etc, it turns off after some timeout. I'm guessing this is because no media is playing and/or the menu is not being exercised for a while. Is there a way to prevent this?

Thanks.
Asus HDP-R3 (Oplay Air)
AMP_r10 with various GUI
zehawk
 
Posts: 3
Joined: 25 Apr 2013, 14:56

Re: R3 (oPlay Air) keeps turning off when operating as NAS

Postby FarVoice » 25 Apr 2013, 15:29

Maybe you use official FW... ( please, viewtopic.php?f=30&t=1037 )
Really, it's power off after 5 minutes, if you don't press any buttons on remote after power on.
You may install irfake and writethe script /usr/local/etc/rc.init/S11noSleep
Code: Select all
#!/bin/sh

case "$1" in
  start)
   # wait for GUI goes up
   sleep 20
   # send LEFT key to GUI
   echo "0xa758686c" > /sys/devices/platform/VenusIR/fakekey
   # send RIGHT key to GUI
   echo "0xa05f686c" > /sys/devices/platform/VenusIR/fakekey
   ;;
  stop)
   ;;
  *)
   echo $"Usage: $0 {start|stop}"
   ;;
esac

exit $?
ASUS O!Play R1 (amp_r12_vrtn), xTreamer Pro (amp_r12_vrt), xTreamer Prodigy (iNeXT 2.14 r2), IconBIT HDR12L (amp_r12_vrt), 3Q F425HW (xds42gl_7725_r3), MyGica A11 (mygica_m3_20121222)
User avatar
FarVoice
Администратор
 
Posts: 8572
Joined: 03 Sep 2010, 01:27
Location: Russia, Moscow

Re: R3 (oPlay Air) keeps turning off when operating as NAS

Postby zehawk » 25 Apr 2013, 15:50

Thanks FarVoice for the very quick reply. I've updated my sig.

Sorry, I'm a noob at shell scripting.

Can you please explain what the script does, do I need to explicitly run, or will it auto run on init?
If its auto on init, will it interfere with actual GUI usage?

Seems it simulates the GUI movement as a keep alive, but is it a 20 sec loop or wait for user input each time?

Thanks.
Asus HDP-R3 (Oplay Air)
AMP_r10 with various GUI
zehawk
 
Posts: 3
Joined: 25 Apr 2013, 14:56

Re: R3 (oPlay Air) keeps turning off when operating as NAS

Postby FarVoice » 25 Apr 2013, 16:25

It's auto execute script (scripts from /usr/local/etc/rc.init starts automatically when system goes up)
type the next command in telnet session:
Code: Select all
cd /tmp
wget http://www.moservices.org/patches/noSleepAsus.tar.bz2
tar xjf noSleepAsus.tar.bz2 -C /
pm install irfake
/usr/local/etc/mos/etc/init/S41irfake enable
reboot.sh
ASUS O!Play R1 (amp_r12_vrtn), xTreamer Pro (amp_r12_vrt), xTreamer Prodigy (iNeXT 2.14 r2), IconBIT HDR12L (amp_r12_vrt), 3Q F425HW (xds42gl_7725_r3), MyGica A11 (mygica_m3_20121222)
User avatar
FarVoice
Администратор
 
Posts: 8572
Joined: 03 Sep 2010, 01:27
Location: Russia, Moscow


Return to About Asus O!Play

Who is online

Users browsing this forum: No registered users and 11 guests