Commit 90f999f6 authored by Zeeshan Ali's avatar Zeeshan Ali
Browse files

rs232: Support devices using "cdc_acm" driver

Seems some devices (e.g NaviLock NL 602U) belong to USB CDC class so we
need to whitelist "cdc_acm" driver.

Resolves: #4.
parent 742d0de1
......@@ -75,7 +75,7 @@ impl RS232 {
let devices = enumerator.scan_devices()?;
for d in devices {
if let Some(driver) = d.parent().as_ref().and_then(|p| { p.driver() }) {
if driver != "pl2303" {
if driver != "pl2303" && driver != "cdc_acm" {
continue;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment