ioctl

オープン
#1 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
c, linux, wasm

調査の方向性

ディスカッション #124、fbset.c、Linux fb.h の定義、および参照されている cmem_helpers プロジェクトから始めます。WASI 上で fbset をコンパイルして実行するために必要な最小限の ioctl サーフェスを定義し、制限された framebuffer および sound 設定に対する権限拒否時の動作と、色深度の変更を無視する動作を含めます。

索引モデルが issue の本文から書いたものです。

説明

This started as a discussion over at #124.

Users will need some way to control the settings for framebuffer/sound (resolution, etc.) For null0, I don't want them to have control of these things (fixed sound output, and window-size) so I recommend a permission-denied style error, if a config-flag is set to not allow making changes. I think some options should still be ignored, like color-depth (since this will greatly complicate the rendering.)

Some reference:

  • fbset is a util that uses ioctl to get/set framebuffer settings. I think a minimal implementation should support compiling this to WASI, and running it with various options.
  • linux fb where this is all defined

I think my cmem_helpers might be very helpful for managing the structs that are passed back & forth.

主要言語
C
スター
3
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

konsumer/web-zen-dev のほかの issue

konsumer/web-zen-dev の issue をすべて見る

似ている issue

C の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。