man page of pamusb-conf

pamusb-conf(1)                      PAM_USB                     pamusb-conf(1)



名前
       pamusb-conf - pam_usb 構成ツール

要項
       pamusb-conf [--help] [--verbose] [--config=path] [--add-user=name | --add-device=name]

説明
       pamusb-conf は pamusb.conf 構成ファイル生成を助けるよう設計されたツールです。

オプション
       --help, -h
              オプションのサマリーを表示する。

       --verbose, -v
              詳細なアウトプット

       --config, -c
              与えられた構成ファイルを使う (デフォルトは /etc/pamusb.conf).

       --add-device, -d
              デバイスを追加する。

       --add-user, -u
              ユーザーを追加する。

バグ
       バグレポートを pam_usb メーリングリストへお寄せ下さい。

著者
       Andrea Luzzardi <scox@sig11.org>



                              9月 12日, 2007 年                pamusb-conf(1)

alsa-utils レシピの configure タスクが失敗する

詳細

ログに次のメッセージが出力される。

checking for new_panel in -lpanelw... no
configure: error: panelw library not found

原因

不明

対処

alsa-tools と ncurses をリビルドする。

$ bitbake alsa-tools -c cleansstate
$ bitbake ncurses -c cleansstate
$ bitbake alsa-tools

参考

yocto - Cannot configure alsa-utils on TI am335x - Stack Overflow

Linux Input / evdev イベントを確認する方法

evtest コマンドを使う。

# evtest
No device specified, trying to scan all of /dev/input/event*
Available devices:
/dev/input/event0:  Power Button
/dev/input/event1:  Sleep Button
/dev/input/event2:  AT Translated Set 2 keyboard
/dev/input/event3:  ImExPS/2 Generic Explorer Mouse
/dev/input/event4:  VirtualBox USB Tablet
/dev/input/event5:  Video Bus
/dev/input/event6:  VirtualBox mouse integration
Select the device event number [0-6]: 6
Input driver version is 1.0.1
Input device ID: bus 0x1 vendor 0x80ee product 0xcafe version 0x501
Input device name: "VirtualBox mouse integration"
Supported events:
  Event type 0 (EV_SYN)
  Event type 1 (EV_KEY)
    Event code 272 (BTN_LEFT)
  Event type 3 (EV_ABS)
    Event code 0 (ABS_X)
      Value  41138
      Min        0
      Max    65535
    Event code 1 (ABS_Y)
      Value  46799
      Min        0
      Max    65535
Properties:
Testing ... (interrupt to exit)
Event: time 1522805653.320397, type 3 (EV_ABS), code 1 (ABS_Y), value 46557
Event: time 1522805653.320397, -------------- SYN_REPORT ------------
Event: time 1522805653.328192, type 3 (EV_ABS), code 1 (ABS_Y), value 46071
Event: time 1522805653.328192, -------------- SYN_REPORT ------------

extern が undefined reference エラーになる

コード

a.cpp:

const char * const Hello = "Hello.";

b.cpp:

extern const char * const Hello;
エラー
b.cpp:001: エラー: undefined reference to `Hello'
原因

C++ では const は、暗黙 static になるため。

解決方法

定義行に "extern" を付加する。

a.cpp:

extern const char * const Hello = "Hello.";
参考

c++ - extern const char* const SOME_CONSTANT giving me linker errors - Stack Overflow

Microsoft Network Adapter Multiplexor Protocol を再インストールできない

問題

ネットワークアダプターのプロパティーで Microsoft Network Adapter Multiplexor Protocol をインストールしようとすると「必要なモジュールが見つかりません。」といった旨のエラーが表示され再インストールできない。

環境

  • Windows 10 Enterprise 2016 LTSB (Ver. 1607)

影響

  • ネットワークアダプターのブリッジ接続時にブリッジアダプターが表示されない。
    • ブリッジアダプターのプロパティーを変更できない。
    • ブリッジ接続を解除できない。

原因

バグと思われる。

解決方法

[設定]>[更新とセキュリティ]>[このPCを初期状態に戻す]を実行する。

/etc/mysql/mariadb.conf.d/50-server.cnf の bind-address で複数の IP アドレスにバインドする

できない。

この項目は、1つか全てかで考えるようだ。

環境

参考

https://serverfault.com/questions/139323/how-to-bind-mysql-server-to-more-than-one-ip-address