DM800 LCD (OLED) Flip Display
#1
Posted 8 February 2012 - 20:45
Is there a way to flip (180 degrees) the text/gaphics in this display?
I looked for config files for the LCD and found some but no indication as to how to change this to fit my use.
Re: DM800 LCD (OLED) Flip Display #2
Posted 8 February 2012 - 21:16
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
Re: DM800 LCD (OLED) Flip Display #3
Re: DM800 LCD (OLED) Flip Display #4
Posted 9 February 2012 - 08:25
Otherwise, you'd have to alter the lcd.cpp code and do a "double flip" before the screen gets rendered to the LCD.
Re: DM800 LCD (OLED) Flip Display #5
Posted 9 February 2012 - 21:19
No, cannot be done mechanically since it is built on to a small circuit board that has the power swich and led on it.Can't it be done mechanically, by rotating the stuff that's behind it? (dunno the inside of the box, but usually the display isn't attached to the mainboard.
Otherwise, you'd have to alter the lcd.cpp code and do a "double flip" before the screen gets rendered to the LCD.
I am a newbie in linux, how do I alter the lcd.cpp code?
Re: DM800 LCD (OLED) Flip Display #6
Re: DM800 LCD (OLED) Flip Display #7
Posted 10 February 2012 - 13:24
The JVC TV is mounted to the wall with a moveable wall mount bracket.Love 2 see the pics how it's mounted .
I used the table stand of the TV and removed the bottom plate which allowed me to use 2 of the mounting holes of the bracket to mount the DM800 on the bracket plate that is normally connected to the table stand base. I disassembled the DM800 and drilled 2 holes in the bottom of the case then installed 2 machine screws with plastic spacers on outside of case and installed onto the table mount bracket plate. Then reassembled the DM800 and mounted the DM and table mount bracket on to base of TV. Pics attached.
Seems to be cooling OK and I know that the DM800 runs very warm but there seems to be lots of air flow, so OK so far. I will of course keep an eye on it for the next while.
IMG_20120210_121743.jpg 1.29MB 84 downloads IMG_20120210_121753.jpg 1.39MB 90 downloads IMG_20120210_121823.jpg 974.42KB 77 downloads IMG_20120210_121845.jpg 1.23MB 73 downloads IMG_20120210_121926.jpg 1.22MB 51 downloads
I still need some help on the original issue of flipping the display 180 degrees so the time etc... is the correct orientation. Any ideas anyone?
Re: DM800 LCD (OLED) Flip Display #8
Re: DM800 LCD (OLED) Flip Display #9
Posted 10 February 2012 - 13:59
Good idea but I like the look of the all black case when viewed. If I set it up the right side up then the silver metal bottom will be very visible.patching lcd.cpp would mean you have to keep patching and recompiling after each e2 update.
How about drilling some holes in the top cover of the dm800, and mounting it from there?
Can you tell me how to change the lcd.cpp as I do not update that often and I can manually set it each time?
Re: DM800 LCD (OLED) Flip Display #10
Posted 10 February 2012 - 14:45
open the lib/gdi/lcd.cpp file in a text editor
see:
http://openpli.git.s...e49ca8dcaad433e
Have a look at
void eDBoxLCD::update()
find out which 'is_oled' type the dm800 has (I guess '1')
and modify the corresponding for loop.
I expect something like:
raw[(63 - y) * 64 + (127 - x)] = pix;
on line 232 would flip the lcd contents.
Re: DM800 LCD (OLED) Flip Display #11
Re: DM800 LCD (OLED) Flip Display #12
Posted 10 February 2012 - 17:54
I have no idea what you mean by "clone the e2 repository" except if you mean that I sould compile a new image. If this is correct, then it is probally beyond my skill at the moment.clone the e2 repository
Is there a way to make a simple script or plugin to make the flip?
Re: DM800 LCD (OLED) Flip Display #13
Re: DM800 LCD (OLED) Flip Display #14
Re: DM800 LCD (OLED) Flip Display #15
Posted 11 February 2012 - 00:17
@pietergwith tomorrows build:
init 4
open /etc/enigma2/settings in an editor (make sure to use unix line endings)
add the line
config.lcd.invert=True
save the settings file
init 3
and hopefully your lcd should be flipped.
Thanks a lot for all you help and I will try it tomorrow.
Re: DM800 LCD (OLED) Flip Display #16
Posted 11 February 2012 - 11:42
Tried it today but it did not work.@pieterg
with tomorrows build:
init 4
open /etc/enigma2/settings in an editor (make sure to use unix line endings)
add the line
config.lcd.invert=True
save the settings file
init 3
and hopefully your lcd should be flipped.
Thanks a lot for all you help and I will try it tomorrow.
I updated OpenPli today, added the LCD config to the settings file as instructed, restarted the DM800 and confirmed that the settings file still had the new config listed; it did.
The LCD display is not flipped.
The LCD brightness and standby settings are working since I can see this change during restart but the INVERT is not. The settings LCD entries are now:
config.lcd.invert=True
config.lcd.standby=0
config.lcd.bright=0
@pieterg: Should I wait until tomorrow to see if the change will be implemented tomorrow?
Re: DM800 LCD (OLED) Flip Display #17
Posted 11 February 2012 - 13:54
The invert setting has been around for a long time, the flip setting is new.
BTW, invert should have inverted the display (black<-->white).
If both flip and invert do not do anything, it could be that your oled is detected as 'is_oled' = 3.
Do you have the entries
/proc/stb/lcd/xres
/proc/stb/lcd/yres
/proc/stb/lcd/bpp
?
Re: DM800 LCD (OLED) Flip Display #18
Re: DM800 LCD (OLED) Flip Display #19
Posted 11 February 2012 - 18:57
I do not have those entries just "oled_brightness" is in "/proc/stb/lcd/"sorry, I meant 'flip', not 'invert'.
The invert setting has been around for a long time, the flip setting is new.
BTW, invert should have inverted the display (black<-->white).
If both flip and invert do not do anything, it could be that your oled is detected as 'is_oled' = 3.
Do you have the entries
/proc/stb/lcd/xres
/proc/stb/lcd/yres
/proc/stb/lcd/bpp
?
Invert did not do anything.
Should I add the entry "config.lcd.flip=True" in order to flip the display and try again tomorrow?
Re: DM800 LCD (OLED) Flip Display #20
4 user(s) are reading this topic
0 members, 4 guests, 0 anonymous users