server fix
This commit is contained in:
parent
9442430453
commit
a23081a070
@ -42,7 +42,7 @@ fn list_gc311_devices() -> anyhow::Result<Vec<String>> {
|
||||
async fn monitor_gc311_disconnect() -> anyhow::Result<()> {
|
||||
let mut mon = MonitorBuilder::new()?
|
||||
.match_subsystem("usb")?
|
||||
.match_attribute("PRODUCT", "7ca/3311/*")? // vendor: 0x07ca, device 0x3311
|
||||
.match_tag("PRODUCT", "7ca/3311/*")? // vendor: 0x07ca, device 0x3311
|
||||
.listen()?;
|
||||
|
||||
while let Some(ev) = mon.next() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user