11 個のボタンのデータ取りをする。
kup:/usr/local/src/KURO-RS# ./rec BUTTON_POWER BUTTON_POWER - /dev/ttyUSB0 kup:/usr/local/src/KURO-RS# ./rec BUTTON_POWER BUTTON_POWER - /dev/ttyUSB0 rec code waiting......... kup:/usr/local/src/KURO-RS# ./rec BUTTON_POWER BUTTON_POWER - /dev/ttyUSB0 rec code waiting......... Create Rec File : [BUTTON_POWER] kup:/usr/local/src/KURO-RS#いまいち動作が不安定。3回目でようやくデータが取れた。
発光部を BS デジタルチューナに向け、動作させてみる。
kup:/usr/local/src/KURO-RS# ./send BUTTON_POWER BUTTON_POWER - 1 - /dev/ttyUSB0 Send File : [BUTTON_POWER] kup:/usr/local/src/KURO-RS# ./send BUTTON_POWER BUTTON_POWER - 1 - /dev/ttyUSB0 Send File : [BUTTON_POWER] kup:/usr/local/src/KURO-RS#1回目で電源ON、2回目で電源 OFF できた。
kup:/usr/local/src/KURO-RS# ./rec BUTTON_1 BUTTON_1 - /dev/ttyUSB0 rec code waiting......... Create Rec File : [BUTTON_1] kup:/usr/local/src/KURO-RS# ./rec BUTTON_2 BUTTON_2 - /dev/ttyUSB0 rec code waiting......... Create Rec File : [BUTTON_2] kup:/usr/local/src/KURO-RS# ./rec BUTTON_3 BUTTON_3 - /dev/ttyUSB0 rec code waiting......... Create Rec File : [BUTTON_3] kup:/usr/local/src/KURO-RS# ./rec BUTTON_4 BUTTON_4 - /dev/ttyUSB0 rec code waiting......... Create Rec File : [BUTTON_4] kup:/usr/local/src/KURO-RS# ./rec BUTTON_5 BUTTON_5 - /dev/ttyUSB0 rec code waiting......... Create Rec File : [BUTTON_5] kup:/usr/local/src/KURO-RS# ./rec BUTTON_6 BUTTON_6 - /dev/ttyUSB0 rec code waiting......... Create Rec File : [BUTTON_6] kup:/usr/local/src/KURO-RS# ./rec BUTTON_7 BUTTON_7 - /dev/ttyUSB0 rec code waiting......... Create Rec File : [BUTTON_7] kup:/usr/local/src/KURO-RS# ./rec BUTTON_8 BUTTON_8 - /dev/ttyUSB0 rec code waiting......... Create Rec File : [BUTTON_8] kup:/usr/local/src/KURO-RS# ./rec BUTTON_9 BUTTON_9 - /dev/ttyUSB0 rec code waiting......... Create Rec File : [BUTTON_9] kup:/usr/local/src/KURO-RS# ./rec BUTTON_10 BUTTON_10 - /dev/ttyUSB0 rec code waiting......... Create Rec File : [BUTTON_10] kup:/usr/local/src/KURO-RS# ./rec BUTTON_11 BUTTON_11 - /dev/ttyUSB0 rec code waiting......... Create Rec File : [BUTTON_11] kup:/usr/local/src/KURO-RS# ./rec BUTTON_12 BUTTON_12 - /dev/ttyUSB0 rec code waiting......... Create Rec File : [BUTTON_12] kup:/usr/local/src/KURO-RS#
kup:/usr/local/src/KURO-RS# ./send BUTTON_1 BUTTON_1 - 1 - /dev/ttyUSB0 Send File : [BUTTON_1] kup:/usr/local/src/KURO-RS# ./send BUTTON_2 BUTTON_2 - 1 - /dev/ttyUSB0 Send File : [BUTTON_2] kup:/usr/local/src/KURO-RS# ./send BUTTON_3 BUTTON_3 - 1 - /dev/ttyUSB0 Send File : [BUTTON_3] kup:/usr/local/src/KURO-RS# ./send BUTTON_4 BUTTON_4 - 1 - /dev/ttyUSB0 Send File : [BUTTON_4] kup:/usr/local/src/KURO-RS# ./send BUTTON_5 BUTTON_5 - 1 - /dev/ttyUSB0 Send File : [BUTTON_5] kup:/usr/local/src/KURO-RS# ./send BUTTON_6 BUTTON_6 - 1 - /dev/ttyUSB0 Send File : [BUTTON_6] kup:/usr/local/src/KURO-RS# ./send BUTTON_7 BUTTON_7 - 1 - /dev/ttyUSB0 Send File : [BUTTON_7] kup:/usr/local/src/KURO-RS# ./send BUTTON_8 BUTTON_8 - 1 - /dev/ttyUSB0 Send File : [BUTTON_8] kup:/usr/local/src/KURO-RS# ./send BUTTON_9 BUTTON_9 - 1 - /dev/ttyUSB0 Send File : [BUTTON_9] kup:/usr/local/src/KURO-RS# ./send BUTTON_10 BUTTON_10 - 1 - /dev/ttyUSB0 Send File : [BUTTON_10] kup:/usr/local/src/KURO-RS# ./send BUTTON_11 BUTTON_11 - 1 - /dev/ttyUSB0 Send File : [BUTTON_11] kup:/usr/local/src/KURO-RS# ./send BUTTON_12 BUTTON_12 - 1 - /dev/ttyUSB0 Send File : [BUTTON_12] kup:/usr/local/src/KURO-RS#それぞれチャンネルが切り替わることを確認。
|
← KURO-RS 録画構想 |
ハックの記録 LinkStation/玄箱 をハックしよう |
→ 開発環境のインストール |