Jump to content


Photo

DM800 LCD (OLED) Flip Display


  • Please log in to reply
41 replies to this topic

#1 fcs001fcs

  • Senior Member
  • 244 posts

+2
Neutral

Posted 8 February 2012 - 20:45

I have mounted my DM800 upside down and now the display (LCD, OLED ?) on the front panel of the DM800 is also upside down; time, text etc...

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 WanWizard

  • PLi® Core member
  • 70,340 posts

+1,803
Excellent

Posted 8 February 2012 - 21:16

I hope you thought about cooling and airflow...

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 fcs001fcs

  • Senior Member
  • 244 posts

+2
Neutral

Posted 8 February 2012 - 21:39

I hope you thought about cooling and airflow...

yes, lots of space around the complete box but I do plan to check it to see if it gets too hot.

Any ideas on how I can flip the display?

Re: DM800 LCD (OLED) Flip Display #4 MiLo

  • PLi® Core member
  • 14,055 posts

+298
Excellent

Posted 9 February 2012 - 08:25

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.
Real musicians never die - they just decompose

Re: DM800 LCD (OLED) Flip Display #5 fcs001fcs

  • Senior Member
  • 244 posts

+2
Neutral

Posted 9 February 2012 - 21:19

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.

No, cannot be done mechanically since it is built on to a small circuit board that has the power swich and led on it.

I am a newbie in linux, how do I alter the lcd.cpp code?

Re: DM800 LCD (OLED) Flip Display #6 mrbeam

  • Senior Member
  • 300 posts

+6
Neutral

Posted 9 February 2012 - 22:28

Love 2 see the pics how it's mounted :) .

Wavefrontier T90, Vu+ Duo 4k SE (DVB-S2x FBC, DVB-T2, DVB-C USB), Octagon SF4008 (dual DVB-S2, DVB-T2 & DVB-C USB), Mutant HD51 (DVB-S2 & DVB-T2), TBS6920 & TBS6925


Re: DM800 LCD (OLED) Flip Display #7 fcs001fcs

  • Senior Member
  • 244 posts

+2
Neutral

Posted 10 February 2012 - 13:24

Love 2 see the pics how it's mounted :) .

The JVC TV is mounted to the wall with a moveable wall mount bracket.

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.

Attached File  IMG_20120210_121743.jpg   1.29MB   84 downloads Attached File  IMG_20120210_121753.jpg   1.39MB   90 downloads Attached File  IMG_20120210_121823.jpg   974.42KB   77 downloads Attached File  IMG_20120210_121845.jpg   1.23MB   73 downloads Attached File  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 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 10 February 2012 - 13:49

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?

Re: DM800 LCD (OLED) Flip Display #9 fcs001fcs

  • Senior Member
  • 244 posts

+2
Neutral

Posted 10 February 2012 - 13:59

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?

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.

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 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 10 February 2012 - 14:45

clone the e2 repository

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 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 10 February 2012 - 14:46

Oh, and after that cross-build a new e2 binary, from your local repository.
Use
bitbake -b <path_to_e2_git_clone>/enigma2.bb

Re: DM800 LCD (OLED) Flip Display #12 fcs001fcs

  • Senior Member
  • 244 posts

+2
Neutral

Posted 10 February 2012 - 17:54

clone the e2 repository

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.

Is there a way to make a simple script or plugin to make the flip?

Re: DM800 LCD (OLED) Flip Display #13 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 10 February 2012 - 18:24

I'll make you a flip setting... (I won't put it in the menu, you'd have to manually make the setting in the config file)

Re: DM800 LCD (OLED) Flip Display #14 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 10 February 2012 - 18:41

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.

Re: DM800 LCD (OLED) Flip Display #15 fcs001fcs

  • Senior Member
  • 244 posts

+2
Neutral

Posted 11 February 2012 - 00:17

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.

@pieterg

Thanks a lot for all you help and I will try it tomorrow.

Re: DM800 LCD (OLED) Flip Display #16 fcs001fcs

  • Senior Member
  • 244 posts

+2
Neutral

Posted 11 February 2012 - 11:42


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.

@pieterg

Thanks a lot for all you help and I will try it tomorrow.

Tried it today but it did not work.

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 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 11 February 2012 - 13:54

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
?

Re: DM800 LCD (OLED) Flip Display #18 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 11 February 2012 - 14:08

in tomorrows build, 'is_oled' type 3 should have flip and invert support as well (untested)

Re: DM800 LCD (OLED) Flip Display #19 fcs001fcs

  • Senior Member
  • 244 posts

+2
Neutral

Posted 11 February 2012 - 18:57

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
?

I do not have those entries just "oled_brightness" is in "/proc/stb/lcd/"

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 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 11 February 2012 - 19:05

If you don't have those proc entries, you do not have a 'type 3' oled.
So I would have expected flip (and invert) to just work with todays version.
Tomorrows fix will only be for type 3, so that won't help in your case.


4 user(s) are reading this topic

0 members, 4 guests, 0 anonymous users