User Tools

Site Tools


mycnc:sbc

Odroid-C2

Asus Tinker Board

Login: operator
Password: operator

Root password: operator

How to add new screen resolution for Tinkerboard

Add New Screen Resolution TinkerBoard SBC

Screen resolution for Tinkerboard can be changed in Settings»Display configuration dialog.

Default resolution list in the dialog does not include popular resolutions like

  1. 1280×800
  2. 1368×768
  3. 1600×900

Utility CVT can be used add new resolution modes to the list

1. Open console window (konsole icon)

2. Type command

cvt 1368 768  [Enter]

The utility will print modesettings parameters that should be included in modesettings configuration

operator@tinkerboard:~$ cvt 1368 768
# 1368x768 59.88 Hz (CVT) hsync: 47.79 kHz; pclk: 85.25 MHz
Modeline "1368x768_60.00"   85.25  1368 1440 1576 1784  768 771 781 798 -hsync +vsync
operator@tinkerboard:~$ 

3. Open for edit modesettings configuraion file “/etc/X11/xorg.conf.d/20-modesettings.conf” with administrator permissions (sudo)

sudo  mcedit /etc/X11/xorg.conf.d/20-modesettings.conf

4. Add modesettings for 1368×768 resolution into “Monitor” Section. There can be several Modeline lines for different screen resolution you like to add. Add “PreferredMode” Option for resolution you like to have by default. Press “F2” button to save the changes.

20-modesettings.conf
  Section "Monitor".
 
    Identifier "HDMI-1".
 
    Modeline "1280x800_60.00"   83.50  1280 1352 1480 1680  800 803 809 831 -hsync +vsync
    Modeline "1368x768_60.00"   85.25  1368 1440 1576 1784  768 771 781 798 -hsync +vsync
    Modeline "1600x900_60.00"  118.25  1600 1696 1856 2112  900 903 908 934 -hsync +vsync
 
    Option "PreferredMode" "1368x768_60.00"
 
  EndSection

5. Reboot the computer and check if new resolutions appear in the Display settings

HDMI event handler for SBC Tinkerboard

Teamviewer Reset Config

Change IP Address for TinkerBoard SBC

Change IP address for TinkerBoard SBC

1. Open Konsole (Click on Konsole Desktop shortcut or select Menu → Application → Terminal Emulator)

2. Open Network settings in editor with Administrator permissions. Type in the konsole

sudo  mcedit  /etc/network/interfaces

and press Enter.

There are 2 IP addresses setup on the Tinkerbboard by default

192.168.1.50
192.168.4.50

Configuration sections are

iface eth0 inet static
#    address 192.168.0.50
    netmask 255.255.255.0
    address 192.168.1.50

iface eth0 inet static
    address 192.168.4.50
    netmask 255.255.255.0
    

Symbol “#” is used as a line comment.

3. Edit Address to fix LAN IP Address as you need. Press F2, Enter keys to save changes. Reboot computer.

We noticed that
the last address only is configured if LAN connector is disconnected from Network while computer boot.
All IP addresses in the interfaces configuration file should be set up correctly if LAN connector is connected to Network while booting. We don't know if this is a bug or “feature”, just share this information.

Touch Screen Calibration for TinkerBoard SBC

Touch Screen calibration for TinkerBoard, XFCE Window manager

1. Open Konsole (Click on Konsole Desktop shortcut or select Menu → Application → Terminal Emulator)

2. Run xinput_calibrator in the konsole. Type in the konsole

xinput_calibrator

and press Enter.

3. Follow instructions and Tap the red crosses to make calibration. After calibration done the xinput_calibrator will offer new calibration data to add to the system calibration settings

Calibration settings should be saved into file /usr/share/X11/xorg.conf.d/99-calibration.conf

4. Open new konsole window. Open file /usr/share/X11/xorg.conf.d/99-calibration.conf with administrator permissions from Editor.

sudo  mcedit /usr/share/X11/xorg.conf.d/99-calibration.conf

5. Copy Calibration settings from xinput_calibrator output to the Editor window.

5. Press F2, Enter to save the settings. Reboot computer to aplly the changes.

mycnc/sbc.txt · Last modified: 2018/03/31 16:29 by skirillov