Print serial port path/name in output of ola_dev_info
还没有人认领这个 Issue。
评估
调研方向
Start with the ola_dev_info command and the device-info output it produces, then trace how serial device details are obtained. Check the libserialport sp_get_port_name(port) API referenced in the issue and test with an ENTTEC device; done means the output includes its path or name, such as /dev/ttyUSB0 or COMx.
由索引模型根据 Issue 内容生成。
描述
In response to comment in https://github.com/OpenLightingProject/ola/issues/2000 :
Btw, is it possible to somehow get the corresponding device path of ENTTEC (for me, /det/ttyUSB0) from OLA? I know ola_dev_info output something like "Device 2: Enttec Usb Pro Device .... port 0, OUT, patched to universe 1, RDM supported", but there is no /dev/ttyUSB0 device path there (I have to look for startup messages in syslog like "olad: plugins/usbpro/WidgetDetectorThread.cpp:215: Found potential USB Serial device at /dev/ttyUSB0" to find the device path).
Not if you can't currently see it on ola_dev_info, and if you could it would probably still be down to parsing a string that might change. Do you want to open a new issue for this as maybe we should extend our device info stuff to have some sort of path (be that on the device or as an IP) as a specific separate piece of info:
It would be great if the OLA device info could be expanded to also print this information.
In support of this, I'd like to note that I've used the https://sigrok.org/gitweb/?p=libserialport.git;a=tree in an executable, and the command sp_get_port_name(port) returns /dev/ttyUSB0 on Raspberry Pi, and COMx on Windows.
- 主要语言
- C++
- 星标
- 771
- 派生
- 234
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
OpenLightingProject/ola 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 70/100
OpenLightingProject/ola#2075 ·
-
Digital Enlightenment / FX5 not recognized可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭question Type-DeviceSupport
难度 4/5 3-5 天 新手友好度 35/100
OpenLightingProject/ola#2056 · 2 条评论 ·
-
难度 3/5 1-2 天 新手友好度 55/100
OpenLightingProject/ola#2055 ·
-
Difficulty-Medium Language-C++ Maintainability OpSys-All
难度 4/5 3-5 天 新手友好度 45/100
OpenLightingProject/ola#2053 · 1 条评论 ·
-
v0.11.0可能重新可做 @peternewman 于 227 天前认领,目前没有进行中的 PR。 未关闭
OpenLightingProject/ola#2038 · 18 条评论 · 已指派 2 人 ·
查看 OpenLightingProject/ola 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 76/100
deepseek-ai/DeepEP#830 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 66/100
google-ai-edge/LiteRT-LM#4701 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
HarperFast/rocksdb-js#1131 ·
维护者通常 1 天内回复
-
Swapped cache lookups in ScanModelAndDecideAllDiffExpansion可能已有人在做 @Lian292213 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
area/daemon bug good first issue platform/linux priority/p2
难度 2/5 1-3 小时 新手友好度 72/100
ToshiNamura/Deimos#5 ·