server fix

This commit is contained in:
Brad Stein 2025-06-23 21:25:27 -05:00
parent 9442430453
commit a23081a070

View File

@ -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() {