树莓派创建空调红外遥控器按钮配置文件出现错误

lllllyf 2024-09-07466 次点击
报错如下
Please enter the name for the next button (press <ENTER> to finish recording)

Now hold down button "KEY_1".
Timeout (10 seconds), try again (29 retries left).

Now hold down button "KEY_1".
Something went wrong: Signal is too long.
Please try again. (27 retries left)

Now hold down button "KEY_1".
Something went wrong: Something went wrong.Please try again. (26 retries left)

Now hold down button "KEY_1".
Something went wrong: Signal length is 0
That's weird because the signal length must be odd!
Please try again. (25 retries left)

Now hold down button "KEY_1".
Something went wrong: Signal length is 0
That's weird because the signal length must be odd!
Please try again. (24 retries left)

Now hold down button "KEY_1".
Something went wrong: Signal length is 0
That's weird because the signal length must be odd!
Please try again. (23 retries left)

Now hold down button "KEY_1".
Something went wrong: Signal length is 0
That's weird because the signal length must be odd!
Please try again. (22 retries left)

Now hold down button "KEY_1".
Something went wrong: Signal length is 0
That's weird because the signal length must be odd!
Please try again. (21 retries left)

Now hold down button "KEY_1".
Timeout (10 seconds), try again (21 retries left).

Now hold down button "KEY_1".
Something went wrong: Signal is too long.
Please try again. (19 retries left)

Now hold down button "KEY_1".
Something went wrong: Something went wrong.Please try again. (18 retries left)

Now hold down button "KEY_1".
Something went wrong: Signal length is 0
That's weird because the signal length must be odd!
Please try again. (17 retries left)

Now hold down button "KEY_1".
Something went wrong: Something went wrong.Please try again. (16 retries left)

Now hold down button "KEY_1".
Something went wrong: Signal length is 0
That's weird because the signal length must be odd!
Please try again. (15 retries left)

Now hold down button "KEY_1".
Something went wrong: Signal length is 0
That's weird because the signal length must be odd!
Please try again. (14 retries left)

Now hold down button "KEY_1".
Something went wrong: Signal length is 0
That's weird because the signal length must be odd!
Please try again. (13 retries left)

Now hold down button "KEY_1".
Something went wrong: Signal length is 0
That's weird because the signal length must be odd!
Please try again. (12 retries left)

Now hold down button "KEY_1".
Something went wrong: Something went wrong.Please try again. (11 retries left)

Now hold down button "KEY_1".
Something went wrong: Signal length is 0
That's weird because the signal length must be odd!
Please try again. (10 retries left)

Now hold down button "KEY_1".
Something went wrong: Signal length is 0
That's weird because the signal length must be odd!
Please try again. (9 retries left)

Now hold down button "KEY_1".
Something went wrong: Signal length is 0
That's weird because the signal length must be odd!
Please try again. (8 retries left)

Now hold down button "KEY_1".
Timeout (10 seconds), try again (8 retries left).

Now hold down button "KEY_1".
Timeout (10 seconds), try again (7 retries left).

Now hold down button "KEY_1".
Timeout (10 seconds), try again (6 retries left).

Now hold down button "KEY_1".
Timeout (10 seconds), try again (5 retries left).

Now hold down button "KEY_1".
Timeout (10 seconds), try again (4 retries left).

Now hold down button "KEY_1".
Something went wrong: Signal is too long.
Please try again. (2 retries left)

Now hold down button "KEY_1".
Something went wrong: Something went wrong.Please try again. (1 retries left)

Now hold down button "KEY_1".
Something went wrong: Signal length is 0
That's weird because the signal length must be odd!
Please try again. (0 retries left)

Now hold down button "KEY_1".
Something went wrong: Signal length is 0
That's weird because the signal length must be odd!
Too many errors.
Check TROUBLESHOOTING in irrecord(1) manpage.
Unrecoverable error: Signal length is 0
That's weird because the signal length must be odd!

Giving up
Check TROUBLESHOOTING in irrecord manpage.
收藏 ♥ 感谢
Spoony 小组长 2024-09-08 
不推荐使用这个 rclib 工具,用起来感觉是挑遥控器。
编程实现会这个稳定,参考:https://shumeipai.nxez.com/2017/03/06/c-program-ir-for-hifibox-dac-runeaudio.html

登录注册 后可回复。

这里由以下店铺的技术人员在此免费提供能力范围内的技术支持。

NXEZ 创客商店(淘宝)

排障问题发帖注意事项:
1、请尽可能将故障说明清晰,列明例如使用环境和做了哪些操作和配置等。
2、排障中已经做了哪些尝试,如果能在问题中进行描述将极大提高解决问题的效率。
3、对于需要自身完成知识积累才能解决的问题,请自行通过搜索引擎寻找资料学习。