| 1 | = VESA driver (GSOC 2014) = |
| 2 | |
| 3 | * Student: Wolf Ramovsky |
| 4 | * Mentor: Martin Děcký |
| 5 | * [http://www.google-melange.com/gsoc/project/details/google/gsoc2014/wolfram/5639274879778816 Project description] |
| 6 | * Repository: [https://code.launchpad.net/~wolf-ramovsky/helenos/vesafb lp:~wolf-ramovsky/helenos/vesafb] |
| 7 | |
| 8 | == Mailing-list reports == |
| 9 | [http://lists.modry.cz/private/helenos-devel/2014-April/007142.html Report #1], |
| 10 | [http://lists.modry.cz/private/helenos-devel/2014-June/007210.html Report #2], |
| 11 | [http://lists.modry.cz/private/helenos-devel/2014-July/007262.html Report #3], |
| 12 | [http://lists.modry.cz/private/helenos-devel/2014-July/007321.html Report #4] |
| 13 | |
| 14 | == `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. |
| 19 | |
| 20 | === Example === |
| 21 | List viewports in given compositor. |
| 22 | {{{ |
| 23 | / # compctl comp/:0 l vp |
| 24 | id: 27 name: devices/\hw\vesafb\vsl0 |
| 25 | }}} |
| 26 | |
| 27 | List viewport modes. |
| 28 | {{{ |
| 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 |
| 37 | }}} |
| 38 | |
| 39 | Switch to a different mode. |
| 40 | {{{ |
| 41 | / # compctl comp/:0 vp 27 set 0x11a |
| 42 | }}} |