Changes between Version 1 and Version 2 of VESA


Ignore:
Timestamp:
2014-08-15T23:06:07Z (10 years ago)
Author:
Wolf Ramovsky
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • VESA

    v1 v2  
    1313
    1414== `compctl` utility ==
    15 The first parameter should be a compositor name, in form it registered to location server, `comp/:0` at this time.
    16 Then you can either list viewports using `l[ist] <vp|viewports>` arguments or select viewport by id (as it listed by listing viewport command), using `<vp|viewport> {numeric id}` to perform viewport-specific operations.
    17 If you selected viewport you can either list its modes using `l[ist] m[odes]` or set mode using `set {mode number}` arguments.
    18 Use mode numbers from viewports list.
     15
     16=== Usage ===
     17compctl [comp/ctl node] <command> [<arguments...>]
     18
     19If the first optional parameter -- compositor control node -- is omitted, comp:0/ctl is used
     20
     21Commands:
     22
     23* list-vp -- Enumerate viewports attached to compositor
     24
     25* list-modes <viewport id> -- Enumerate modes of selectet viewport
     26
     27* set-mode <viewport id> <mode index> -- Set mode on viewport
    1928
    2029=== Example ===
    2130List viewports in given compositor.
    2231{{{
    23 / # compctl comp/:0 l vp
    24 id: 27        name: devices/\hw\vesafb\vsl0
     32/ # compctl list-vp
     33id        name
     3454        devices/\virt\fb\vsl0
    2535}}}
    2636
    27 List viewport modes.
     37List viewport modes. Output is truncated. Сurrent mode marked by asterisk, default mode -- by [default].
    2838{{{
    29 / # compctl comp/:0 vp 27 l m
    30 mode 0x111: 640x480
    31 mode 0x112: 640x480
    32 mode 0x114: 800x600
    33 mode 0x117: 1024x768
    34 mode 0x115: 800x600
    35 mode 0x118: 1024x768
    36 mode 0x11a: 1280x1024
     39/ # compctl list-modes 54
     40index     properties
     411         640x480 0.00 Hz
     42...
     4314        1024x768 0.00 Hz
     44...
     4537        1920x1080 0.00 Hz *     [default]
     46...
    3747}}}
    3848
    3949Switch to a different mode.
    4050{{{
    41 / # compctl comp/:0 vp 27 set 0x11a
     51/ # compctl set-mode 54 14
    4252}}}