Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration with usb serial in linux #7

Open
kilel opened this issue May 2, 2015 · 2 comments
Open

Integration with usb serial in linux #7

kilel opened this issue May 2, 2015 · 2 comments

Comments

@kilel
Copy link

kilel commented May 2, 2015

In Kubuntu 14.10 (linux kernel 3.16.x) there are serial USB devices
For example, arduino serial usb is located in "/dev/serial/by-id/usb-Arduino......."
To access serial usb from qmodbus, I had to create soft link "sudo ln -fs /dev/serial/by-id/usb-Arduino.... /dev/ttyS13"

The question is: could you add an ability to define RTU device path manually over linux?
Current hardcoded implementation "ttySX" is not flexible enough.

Thank you in advance!

@tobydox
Copy link
Contributor

tobydox commented May 27, 2015

After QModBus porting from QextSerialPort to QSerialPort in Qt5 this could probably work. Until then, there are no plans to fix this, I'm sorry. Anyways feel free to contribute patches for this :-)

@dirtycold
Copy link

strange...
USB serial devices should appear as /dev/ttyUSB0 or /dev/ttyACM0 or some other.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants