aPower (Actions on Power) for PBO

aPower (Actions on Power) for PBO

Postby pbodev » 13 Nov 2015, 18:29

Hello colleagues,

I have recently join moServices :D , I have installed the latest version amp 12, with the pohd skin on PBO the model is PCMPBO25. Now I am stuck on which setting I need to choose for the aPower (Actions on Power) ?
There is no options for this player :(

I have notice that the USB led is always on before it would only turn on only if a usbkey or usbdrive would be plugged in, is this also because I need to setup aPower?

Thank you for a great firmware :)
Nick
Patriot Box Office (amp_r12_vrtn)
pbodev
 
Posts: 7
Joined: 13 Nov 2015, 18:10

Re: aPower (Actions on Power) for PBO

Postby Pokrass » 13 Nov 2015, 19:16

First of all you can try all variants.
IconBIT HDS7L Fw: AMP_r12 GUI: VRT
iNeXT HD1 W Fw: X3D_Series_V4.0.2b160406
User avatar
Pokrass
 
Posts: 3104
Joined: 18 Mar 2012, 04:18
Location: Плюк. Планета № 215 в Тентуре галактики "Кин-дза-дза" в Спирали.

Re: aPower (Actions on Power) for PBO

Postby pbodev » 14 Nov 2015, 11:54

Hi Pokrass,

I have tried all the variants form the menu and rebooted my PBO. Can it be because the pohd skin?

Thanks again :)
Patriot Box Office (amp_r12_vrtn)
pbodev
 
Posts: 7
Joined: 13 Nov 2015, 18:10

Re: aPower (Actions on Power) for PBO

Postby FarVoice » 19 Nov 2015, 22:02

change skin to vrtn and then try any GPIOs via gpio utility. Or get a GPIO map on original FW and compare it with map on vrtn.
To get GPIO map run gpio without patameters:

/usr/local/etc/mos/bin/gpio

For change GPIO run gpio winth parameters:

/usr/local/etc/mos/bin/gpio <port> <value>
where port - a number of port 0-127
value - 0 or 1
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: 8573
Joined: 03 Sep 2010, 01:27
Location: Russia, Moscow

Re: aPower (Actions on Power) for PBO

Postby pbodev » 20 Nov 2015, 07:57

Hi FarVoice,

Thank you for the great tip :) I don't have the gpl firmware the patriot website doesn't show the player anymore :(

So I brute forced it :) I have found that the : gpio 93 is the HDD led
81 is the USB led
44 turn's off the player.
78 send the off command.

I have compared vrtn and the pohd skin. The pohd does not look at the aPower configuration for example if turn off the led ( $gpio 81 0 ) in the start section of aPower there is no changes the led are on even if the firmware detects no HDD or USB are plugged in. So I decided to use the vrtn skin instead. in section drive how can I turn on $gpio 81if I plug a USB stick?

I used the Asus O!Play R1/R3 as an example but the { if ["$ACTION" == 'add']; then $gpio 81 1...} does not work :( can you give more great tips ?

Thank you so much,
Pbodev
Patriot Box Office (amp_r12_vrtn)
pbodev
 
Posts: 7
Joined: 13 Nov 2015, 18:10

Re: aPower (Actions on Power) for PBO

Postby FarVoice » 20 Nov 2015, 11:16

And where is GPIOs on LAN and Power LEDs?

gpio 44 0 is power off? Or 1?
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: 8573
Joined: 03 Sep 2010, 01:27
Location: Russia, Moscow

Re: aPower (Actions on Power) for PBO

Postby FarVoice » 20 Nov 2015, 11:45

apower r16 - add Patriot Book Office . Please, test it.
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: 8573
Joined: 03 Sep 2010, 01:27
Location: Russia, Moscow

Re: aPower (Actions on Power) for PBO

Postby pbodev » 22 Nov 2015, 01:57

Hi FarVoice,

I have tested your new version and it works flawlessly :D :) I have tested with 2.5" drive and USB key both light up the LED perfectly :) I have also tested YOUTUBE :) I wish I had found the moServices before !!! :)

Thanks again for the help,
PboDev
Patriot Box Office (amp_r12_vrtn)
pbodev
 
Posts: 7
Joined: 13 Nov 2015, 18:10


Return to Patriot Box Office

Who is online

Users browsing this forum: No registered users and 1 guest