Print serial port path/name in output of ola_dev_info
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 52/100
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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.
- Langage dominant
- C++
- Étoiles
- 773
- Forks
- 233
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Aucun modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de OpenLightingProject/ola
-
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
OpenLightingProject/ola#2075 ·
-
Digital Enlightenment / FX5 not recognizedPeut-être pris Une pull request liée à cette issue est ouverte ou déjà fusionnée. Ouvertequestion Type-DeviceSupport
Difficulté 4/5 3-5 jours Accessibilité débutants 35/100
OpenLightingProject/ola#2056 · 2 commentaires ·
-
Difficulté 3/5 1-2 jours Accessibilité débutants 55/100
OpenLightingProject/ola#2055 ·
-
Difficulty-Medium Language-C++ Maintainability OpSys-All
Difficulté 4/5 3-5 jours Accessibilité débutants 45/100
OpenLightingProject/ola#2053 · 1 commentaire ·
-
v0.11.0Peut-être à nouveau libre @peternewman l’a pris il y a 227 jours, et aucune pull request n’est ouverte. Ouverte
OpenLightingProject/ola#2038 · 18 commentaires · 2 personnes assignées ·
Toutes les issues de OpenLightingProject/ola
Issues similaires
-
[内容勘误] STL常用模式章节实战演练中代码有问题Ouvertedocumentation
Difficulté 1/5 Moins d'une heure Accessibilité débutants 86/100
Awesome-Embedded-Learning-Studio/Tutorial_AwesomeModernCPP#335 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
deepseek-ai/DeepEP#830 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 66/100
google-ai-edge/LiteRT-LM#4701 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
HarperFast/rocksdb-js#1131 ·
Les mainteneurs répondent en général sous 1 jour
-
Swapped cache lookups in ScanModelAndDecideAllDiffExpansionPeut-être pris @Lian292213 l’a pris aujourd’hui. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
Les mainteneurs répondent en général sous 1 jour