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

PCI serial devices missing from available_ports() on Linux without libudev #221

Open
sirhcel opened this issue Oct 14, 2024 · 0 comments
Open

Comments

@sirhcel
Copy link
Contributor

sirhcel commented Oct 14, 2024

When checking #220, I noticed that the two ports from a PCI serial card are missing. With libudev, there are two more PCI serial ports reported than without:

$ cargo run --features usbportinfo-interface --example list_ports
[...]
Found 10 ports:
    /dev/ttyS0
        Type: Unknown
    /dev/ttyS4
        Type: PCI
    /dev/ttyS5
        Type: PCI
    /dev/ttyUSB0
        Type: USB
$ cargo run --no-default-features --features usbportinfo-interface --example list_ports
[...]
Found 8 ports:
    /dev/ttyS0
        Type: Unknown
    /dev/ttyUSB0
        Type: USB

Checked with 944fe82.

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

1 participant