Welcome! Log In Create A New Profile

Advanced

Utility to control A10 displays

Posted by Jeff 
Utility to control A10 displays
July 27, 2012 12:10PM
I've created a very simple utility to turn on/off the various displays. Source here, binary here.

Usage
a10_display <hdmi|vga|tv|lcd> <on|off|mode> [mode_number]

Modes

HDMI has no settable modes that I could find in the header. This utility will not prevent you from setting HDMI modes, but you do so at your own risk.

VGA Modes:
0 = 1680x1050
1 = 1440x900
2 = 1360x768
3 = 1280x1024
4 = 1024x768
5 = 800x600
6 = 640x480
7 = 1440x900 RB (not yet supported, according to header comments)
8 = 1680x1050 RB (not yet supported, according to header comments)
9 = 1920x1080 RB
10 = 1920x1080
11 = 1280x720

LCD Modes
0-15 (brightness control)

TV Modes (according to the header, anyhow. I'm pretty sure analog component out can't push 1080p)
0 = 480i
1 = 576i
2 = 480p
3 = 576p
4 = 720p x 50hz
5 = 720p x 60hz
6 = 1080i x 50hz
7 = 1080i x 60hz
8 = 1080p x 24hz
9 = 1080p x 50hz
10 = 1080p x 60hz
11 = PAL
12 = PAL SVIDEO
14 = NTSC
15 = NTSC SVIDEO
17 = PAL M
18 = PAL M SVIDEO
20 = PAL NC
21 = PAL NC SVIDEO
23 = 1080P x 24HZ x 3D
24 = 720P x 50HZ x 3D
25 = 720P x 60HZ x 3D



Edited 2 time(s). Last edit at 07/27/2012 12:41PM by Jeff.
Re: Utility to control A10 displays
July 27, 2012 12:47PM
Quote

I'm pretty sure analog component out can't push 1080p

Actually it can do that just fine. The only issue I have noticed is a bit of jitter in the display similar to an old CRT at a low refresh. But that may be an issue with my particular monitor.

The monitor output settings have no issues. You can use 1920 x 1080 just fine with HDMI and VGA. We can't do 1080p video or games in Linux until we get X userspace drivers for the Mali and the Cedar device. But normal desktop apps work just fine.
Andrew
Thanks
July 27, 2012 09:11PM
@Jeff
I am going to compile a statically linked version and try it on both Linux and Android!
Thanks!
Re: Thanks
July 28, 2012 06:34AM
Quote

and try it on both Linux and Android!

Huh? Android already has a built-in utility for that.
Andrew
Android built-in utility
July 28, 2012 10:39AM
gnexus Wrote:
-------------------------------------------------------
>
Quote

and try it on both Linux and
> Android!
>
> Huh? Android already has a built-in utility for
> that.

Oh, I didn't know that.
Is the built-in utility in the Android Settings?

For Linux, this utility is very useful, I guess one can use it before launching X by adding it to rc.local.
Re: Android built-in utility
July 29, 2012 05:25AM
Quote

Is the built-in utility in the Android Settings?
the Mele has a resolution settings page in Android settings. I don't remember seeing that on my tablet. That would not be practical for the tablet LCD. But most likely you could use the Mele Android app there to control the HDMI on a tablet. You might need to copy files from a Mele or recompile the tablet Android to get it to work. There will probably be an app for tablets eventually if there is not already.

I have not tried Jeff's utility. But I'm certain such a utility could be created for userspace Linux if nothing currently available works. In the meantime Jeff's utility is valuable for those that have an old crappy monitor that won't auto adjust. I think the mele script.bin on ICS is 1080p or close. That should be adequate for most people with a decent monitor or TV.
Cyk
Re: Utility to control A10 displays
October 04, 2012 02:58AM
>You can use 1920 x 1080 just fine with HDMI and VGA.

What parameters exactly do I have to use for that?
I have a DVI-D monitor connected to HDMI via adapter plug, but the monitor barely syncs to 720p (and nothing else).
So I'd like to have VGA resolutions on HDMI.

What parameters should I use?

-- cyk
Re: Utility to control A10 displays
June 15, 2013 05:55PM
Hello Jeff, this utility is not working properly for me (Ainol Novo 7 Elf).
Irrespective to whether it is inherent to lcd, any parameter I use sets lcd to full white, while I am interested in turning down brightness.

I use a 3.0.42 kernel (more precisely, this one: http://tinycorelinux.net/4.x/armv7/src/).
God Emperor
Re: Utility to control A10 displays
August 13, 2013 07:44PM
Thank a lot Jeff !!!!!!!

I live in Argentina an here the tv support only PAL-NC and NTSC but so far devices like cameras, phones and my mele a3700 only support PAL-N (i see it without color) and NTSC (with color but with borders cropped) now i was able to set it to PAL-NC and now i see the full image in colors !!!!! Thanks.
donluca
Re: Utility to control A10 displays
August 31, 2017 11:58AM
Hi Jeff,

is it possible to set a custom resolution?
I'd like to use this in a Pandora's Box loaded with Retroarch to switch resolutions on the fly to have games' video output at pixel perfect resolution and refresh.

Thanks!
Author:

Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: