This document shows how to configure a Q.sceen monitor
Activate (PWM Mode)
On default bios a blind Setup via Keyboard is required before anything is visible on the Display.
- Press „DEL“ key a few seconds
- 1x Arrow Right
- 2x Arrow Down
- Enter
- 11x Arrow Down
- +
- F10
- Enter
Setup fixed Resolution (Display independent)
Congatec QA
On Default Bios for Q.Station 101 the Display Setup have to be done „Blind“ via Keyboard for the correct Resolution of 1024x768 also for correct resolution via VNC.
- Press „DEL“key a few Seconds
- 1x Arrow Right
- 2x Arrow Down
- Enter
- 6x Arrow Down
- Enter
- 6x Arrow Down
- Enter
- F10
- Enter
Congatec QA3
- Boot the module and repeatedly click „DEL“to start Bios
- In BIOS Setup the Post Code will be Ab
- If the Entry Point was missed, the Post Code will remain on AE
- In Bios Setup click 1x Arrow Right to go from Main Menu to Advanced Menu
- 1x Arrow Down to Graphics Menu
- Enter to open Graphics Menu
- 3x Arrow Down to Menu Local Flat Panel Type
- Enter
- 1x down to choose VGA 640*480 1*18
- Enter
- F10
Note: If you hit F9 Bios Default Settings can be loaded.
MSC Q7 BT (Q.Station X)
Settings for Display resolution on Q.Station X + Firmware >= V2.14
Setup the Resolution + LVDS on Bios:
For resolution lower or higher than 1024x768 the setup always must be done in Bios.
This is also required if display port is used.
- Connect USB-Keyboard (+ optional Display Port Cable)
- Power on Q.Station
- Press DEL for a few Seconds
- 2x Arrow Right
- Enter
Following Settings are required:
Q.Screen:
- eDP Color Depth: 18bit
- LVDS Panel Type: 800*480
- LVDS Mapping: 24Bit FPDI
- Number of LVDS Channel: Single Channel (1bpp)
- LVDS Spread spectrum: Disabled
- LVDS voltage Swing: 400mV
- Backlight control:
- BL_EN Control: Chipset
- BL_EN Polarity: High active
- PWM Control: Chipset
Display configuration:
Additional configurations on the Firmware are required:
- Wait until Q.Station is Booted (Note: Display Output may be false on this point)
- Connect to Q.Station via FTP (e.g. Total Commander) with User: 0 / pw: 0
- In the File self.ini change DisplayCFG to the correct Resolution (Note: at this point only 800*480 is supported!) -> Example below
- Save File and keep open the FTP Connection otherwise Q.Station will reboot
- Connect via GI.Monitor to the Q.Station (Port 1200 or 8090)
- In FirmwareUpdateAPI select „HandleUpdateTask“with the Action FinalizeUpdate and click send
- Station will now reboot with the correct Display Resolution
Self.ini example:
[GENERAL]
CaTy=0
CoTy=V3-32
DisplayCfg=800x480
HWInfoCount=0
ModTy=175
ProjectNameFull=
ProjectVendor=
SerialNumber=753257
SModTy=9
Setup Resolution via Linux Commands:
- In /etc/initramfs-tools/modules
- Change the uvesafb mode_option (for example mode_option=1024*768-8
- After update-initramfs -k all -u
- Reboot
Set Resolution direct
List all the available display modes for your board. This can be done with the following command:
# cat /sys/class/graphics/fb0/modes
This will give you an idea which resolution can be set.
Now, set the desired resolution with the following command:
# echo "V:1024x768p-60" > /sys/class/graphics/fb0/mode
Here I am assuming that you got the value V:1024x768p-60 from the list of modes you saw in the previous step.
Now, install the fbset tool. The command can be different depending on the distro you installed on Banana Pro. For instance, for Arch Linux use the following command:
# pacman -S fbset
Run fbset without parameters. It will produce some output like this: fbset output
Make sure that it matches the current resolution you set with the „echo“ command. Now run the following command:
# fbset >> /etc/fb.modes
This will add your current mode to the file /etc/fb.modes. fbset output to the file
Open the /etc/fb.modes file with any text editor (you can use something like nano).
Go to the end of the file.
There you will find the current mode.
Rename the section to something like „mymode“ and remove the rgba line.
Before: beforeAfter: after
Now, you can type the following command at any time to set the current resolution:
# fbset mymode
This will switch the display resolution for the console framebuffer.
Now, to change the Banana Pro display resolution automatically on every boot, you can do the following:
If your distro (Bananian, for example) does not come with the systemd init manager, add the fbset mymode command to the end of the /etc/rc.local file.
If you are using systemd (e.g. when you are using Arch Linux), create a new *.service file, i.e. display.service and put it in the following location:
/etc/systemd/system/display.service
Add the following content to the display.service file:
[Unit]Description=Display resolutionAfter=local-fs.targetDefaultDependencies=no [Service]Type=simpleExecStart=/usr/bin/fbset mymode [Install]WantedBy=multi-user.target
After that, you need to enable the unit:
# systemctl enable display.service
That's it. Now, at every boot, your Banana Pro board will set the required display resolution automatically.