Перейти к содержанию

Навигация

Consumer IR/en: различия между версиями

Новая страница: «== Troubleshooting == = = = = Not working reception === * Make sure the driver "sees" pulses from the receiver. ** Stop service '''lirc''' (command "service lirc…»
(Новая страница: «To send a button press, you should publish the message in the format '''<button name>:<button name>''' in the topic "/devices/wb-lirc/controls/Key/on"»)
(Новая страница: «== Troubleshooting == = = = = Not working reception === * Make sure the driver "sees" pulses from the receiver. ** Stop service '''lirc''' (command "service lirc…»)
Строка 75: Строка 75:
To send a button press, you should publish the message in the format '''<button name>:<button name>''' in the topic "/devices/wb-lirc/controls/Key/on"
To send a button press, you should publish the message in the format '''<button name>:<button name>''' in the topic "/devices/wb-lirc/controls/Key/on"


== Устранение неисправностей ==
== Troubleshooting ==
=== Не работает прием ===
= = = = Not working reception ===
* Убедиться что драйвер "видит" импульсы от приемника.
* Make sure the driver "sees" pulses from the receiver.
** Остановить сервис '''lirc''' (командой ''service lirc stop'')
** Stop service '''lirc''' (command "service lirc stop")
** <pre>root@wirenboard:~# mode2 -d /dev/lirc1</pre>
** <pre>root@wirenboard:~# mode2 -d /dev/lirc1</pre>
**: Должны бежать цифры при нажатии кнопок на пульте, если нет - проблема в "железе" или в несоответствии несущей пульта и приемника. Следует попробовать использовать другой приемник.
**: The numbers should run when you press the buttons on the remote, if not - the problem is in the "hardware" or in the mismatch of the carrier of the remote and the receiver. You should try using a different receiver.
* Убедиться что '''lirc''' может декодировать последовательности импульсов согласно конфигу пульта:
* Make sure that '''lirc''' can decode pulse sequences according to the configuration of the remote control:
** Запустить обратно '''lirc''' (''service lirc start'')
** Run back '''lirc''' ('service lirc start')
** <pre>root@wirenboard:~# irw</pre>
** <pre>root@wirenboard:~# irw</pre>
**: Должные бежать строчки при нажатии кнопок на пульте. Если '''mode2''' работает, а '''irw''' - нет, то проблема с конфигом пульта. Стоит попробовать использовать другой конфиг, либо создать новый.
**: Due to run lines when you press the buttons on the remote. If '''mode2''' works and '''irw''' doesn't, there is a problem with the remote config. It is worth trying to use another config, or create a new one.


=== Не работает передача ===
=== Не работает передача ===
12 063

правки