[redring] Show red LED ring when recording in standby + other options...

@af123, out of interest, and if it isn't too technical, what was the cause of the RR fail-to-wake ?
Redring intercepts all commands sent from the Humax software to the front panel and modifies or augments them according to the configuration. When a recording finishes in standby, the Humax firmware sets the next wakeup timer from one thread and turns off the recording icon on the display in another. Redring intercepts the command to turn the record icon off and adds in commands to change the ring from red to blue or orange (depending on configuration) and to set the brightness of the LED ring and VFD (again depending on configuration). As these actions are being performed in different threads, there is a race condition which can cause the commands to be garbled on the way to the front panel. The solution was to add more synchronisation primitives to the code sections to avoid this.

The difficulty in diagnosing it stems from the fact that the behaviour isn't completely consistent and that I can do at most one test run every hour.
 
The new version seems to be working fine so I've just published it in the main package repository.
 
I have seen it fail to set the ring colour to orange when entering standby mode. I have not yet been able to repeat it though.

This is the log from the failed run:

Code:
[RR] Thu Sep 13 08:25:48 2012: -> SetClock(0x3) 50 51 98 8c
[RR] Thu Sep 13 08:25:48 2012:    [ Thu Sep 13 08:25:48 2012 ]  ( 1347524748 )
[RR] Thu Sep 13 08:25:48 2012: +> SetClock(0x3) 50 51 98 8c
[RR] Thu Sep 13 08:25:48 2012:    [ Thu Sep 13 08:25:48 2012 ]  ( 1347524748 )
[RR] Thu Sep 13 08:25:48 2012: !> SetClock(0x3) 50 51 98 8c
[RR] Thu Sep 13 08:25:48 2012:    [ Thu Sep 13 08:25:48 2012 ]  ( 1347524748 )
[RR] Thu Sep 13 08:25:48 2012: -> SetWakeup(0x5) 01 50 52 73 44
[RR] Thu Sep 13 08:25:48 2012:    [ Thu Sep 13 23:59:00 2012 ]  ( 1347580740 )
[RR] Thu Sep 13 08:25:48 2012: -> SetWakeup(0x5) 01 00 00 00 00
[RR] Thu Sep 13 08:25:48 2012: -> RingBrightness(0x1a) 1d
[RR] Thu Sep 13 08:25:48 2012: Standby ring dim detected.
[RR] Thu Sep 13 08:25:48 2012: +> RingBrightness(0x1a) 1d
[RR] Thu Sep 13 08:25:48 2012: !> RingBrightness(0x1a) 1d
[RR] Thu Sep 13 08:26:05 2012: -> SetClock(0x3) 50 51 98 9d
[RR] Thu Sep 13 08:26:05 2012:    [ Thu Sep 13 08:26:05 2012 ]  ( 1347524765 )
[RR] Thu Sep 13 08:26:05 2012: +> SetClock(0x3) 50 51 98 9d
[RR] Thu Sep 13 08:26:05 2012:    [ Thu Sep 13 08:26:05 2012 ]  ( 1347524765 )
[RR] Thu Sep 13 08:26:05 2012: !> SetClock(0x3) 50 51 98 9d
[RR] Thu Sep 13 08:26:05 2012:    [ Thu Sep 13 08:26:05 2012 ]  ( 1347524765 )
[RR] Thu Sep 13 08:26:05 2012: -> SetWakeup(0x5) 01 50 52 73 44
[RR] Thu Sep 13 08:26:05 2012:    [ Thu Sep 13 23:59:00 2012 ]  ( 1347580740 )
+++++++++++++++++++++++++++++++++++++++++++++++++++++++

Here is a good run:
Code:
[RR] Thu Sep 13 20:53:43 2012: !> RingBrightness(0x1a) 1d
[RR] Thu Sep 13 20:54:00 2012: -> SetClock(0x3) 50 52 47 e8
[RR] Thu Sep 13 20:54:00 2012:    [ Thu Sep 13 20:54:00 2012 ]  ( 1347569640 )
[RR] Thu Sep 13 20:54:00 2012: +> SetClock(0x3) 50 52 47 e8
[RR] Thu Sep 13 20:54:00 2012:    [ Thu Sep 13 20:54:00 2012 ]  ( 1347569640 )
[RR] Thu Sep 13 20:54:00 2012: !> SetClock(0x3) 50 52 47 e8
[RR] Thu Sep 13 20:54:00 2012:    [ Thu Sep 13 20:54:00 2012 ]  ( 1347569640 )
[RR] Thu Sep 13 20:54:00 2012: -> SetWakeup(0x5) 01 50 52 73 44
[RR] Thu Sep 13 20:54:00 2012:    [ Thu Sep 13 23:59:00 2012 ]  ( 1347580740 )
[RR] Thu Sep 13 20:54:00 2012: -> ???(0x14) 01
[RR] Thu Sep 13 20:54:00 2012: +> ???(0x14) 01
[RR] Thu Sep 13 20:54:00 2012: !> ???(0x14) 01
[RR] Thu Sep 13 20:54:00 2012: -> ???(0x14) 01
[RR] Thu Sep 13 20:54:00 2012: +> ???(0x14) 01
[RR] Thu Sep 13 20:54:00 2012: !> ???(0x14) 01
[RR] Thu Sep 13 20:54:00 2012: -> PowerOff(0x6) 00
[RR] Thu Sep 13 20:54:00 2012: Power-off detected.
[RR] Thu Sep 13 20:54:00 2012:  Changing to amber.
[RR] Thu Sep 13 20:54:00 2012: +> RingBrightness(0x1a) 1d
[RR] Thu Sep 13 20:54:00 2012: !> RingBrightness(0x1a) 1d
[RR] Thu Sep 13 20:54:01 2012: +> RingColour(0xe) 00
[RR] Thu Sep 13 20:54:01 2012: !> RingColour(0xe) 00
+++++++++++++++++++++++++++++++++++++++++++++++++++++++

Edit: This is of course the beta version (if there is any difference). The settings are both standby overrides off, half awake both on, fully awake all off except show elapsed time during playback. General settings show purple for dual recording on.
 
Have we lost the ability to turn off the Red Ring?

I have Half Awake and Standby Red Ring set to OFF except for when recording.
 
Have we lost the ability to turn off the Red Ring? - I have Half Awake and Standby Red Ring set to OFF except for when recording.

It may-be worth toggling the settings, e.g. Set to On >> re-Boot >> Set back to Off >> re-boot again, to make sure that the New Redring version has picked up the existing settings storred on your Humax
 
I had uninstalled RedRing some months ago as I was having problems.

I reinstalled the new version and now cannot seem to turn of the red ring when in standby which is all I originally needed. I have tried that trick you suggest.
 
I reinstalled the new version and now cannot seem to turn of the red ring when in standby which is all I originally needed.

It is no longer a discrete option. You just need to set the standby LED ring brightness to zero, which is what the old option did in the background.

PS: It's an amber ring in standby. Red ring in standby refers to changing the colour if recording in standby.
 


I think I (and possibly af123) was misinterpreting what you was saying, If you replace the word 'Red' with the word 'Centre' both times in #266 and the second time in #268 then it becomes clearer. e.g. 'red ring' can mean both 1) The complete package and 2) the centre ring when it is Red
 
When the settings are as shown in the attachment the, what we call 'Red Ring' is amber in standby.

When i say Red Ring I am referring to the package, not the fact that the ring can be red.

I need red when recording one program as shown in the file, purple for two, blue when fully awake not recording and no colour when in standby not recording.

I seem to remember that was possible. I have been away a long time and the Humax has not been used.
 

Attachments

  • Capture.JPG
    Capture.JPG
    43 KB · Views: 8
You need Stand-by >> Override Led Ring Brightness = On

Thanks for that.

I was thinking the On/Off referred to Brightness so to be sure, turned both off! If it had said, "Override LED ring", I would have got it right. Can't see the wood for the trees sorry.
 
Thats O.K., it is has got quite complex because of all the options. I have re-grouped the Tables in the WiKi HERE to show that the sliders are dependant on the switches above
 
What I find confusing is that to me 'switchable' means to switch between 2 or more states. As in When Half Awake - Switchable Blue means switch between amber and blue. Having made the choice you can vary the brightness.

In When In Standby - Switchable Amber has no other state so one assumes On/Off means Amber is On or Off. If Off then the ring does not have colour. However if I interpret that way I then wonder if Amber is Off, what effect does the Brightness have. I think it must have no effect.

If Override LED Brightness said With Redring - Switchable; Redring Setting - On/Off, then I would see that with it in the On position, the brightness can be adjusted from zero (off) to 100% Amber. In the Off position the brightness is 11% Amber.

Maybe I am just reading it differently, quite probably, from all other people.
 
Has anyone else noticed the box is slower to respond to a button press on the remote, in that if i change channels via the P+ P- button, the box changes after a second or so, so you can jump to the wrong channel?

Sorry if I haven't explained myself very clearly, but I have only noticed this happening this week, so I can't work out what has changed, apart from the new Red Ring package, I will remove Red Ring and see if it solves the issue or not, but I also wanted to see if anyone else has seen this?

EDIT: Having removed Red Ring, the box responds instantly to the remote, so I am not sure what has changed in the latest version of Red Ring to make the box sower!

Sorry I should have tested before posting:oops: , and that way I could have added this post to the Red Ring topic, can a Mod please move for me?:D

Cheers

Andrew
 
Has anyone else noticed the box is slower to respond to a button press on the remote
Some things are definitely slower with certain redring options enabled (Pausing while using the show clock and show elapsed time on playback options for example) but I can't think why P+/P- would be. I will investigate!
 
Just made an AR recording which was recording whilst watching another channel and noticed the red ring was red long after it should have stopped so thought it was another I had set up. Checked the media and found nothing recording but the ring was still red. Needed to reboot to get it to turn off.

Not really a problem for me but thought it may be worth mentioning.
 
Back
Top