Cannot "vmc usb-attach" on Lenovo Chromebook Plus

15 views
Skip to first unread message

Adriano Di Luzio

unread,
Jul 27, 2025, 10:28:38 AMJul 27
to ChromiumOS Development
Hi ChromeOS devs!

I recently got a Lenovo Chromebook Plus. It is currently running: Version 138.0.7204.163 (Official Build) (64-bit).

On a previous Chromebook, I was able to attach USB devices to `termina` and then to containers using `vmc usb-attach`. On the new device, that does't work. 

Unfortunately, this completely breaks my workflow for this laptop: I used `usb-attach` to enable the use of a Yubikey within Crostini.

If useful, I can help debug / provide more information. Any help? 

Below are the relevant logs:

```
crosh> vmc usb-attach termina 2:19
Error: operation `usb_attach` failed: failed to request OpenPath /dev/bus/usb/002/019
ERROR - ERROR: command failed
```

```
2025-07-27T01:17:15.225959Z INFO permission_broker[2100]: Found claimed interface with driver: usbhid
2025-07-27T01:17:15.228623Z INFO permission_broker[2100]: Found claimed interface with driver: usbhid
2025-07-27T01:17:15.229316Z INFO permission_broker[2100]:   AllowConformingUsbDeviceRule: ALLOW_WITH_LOCKDOWN
2025-07-27T01:17:15.229404Z INFO permission_broker[2100]: Verdict for /dev/bus/usb/002/019: ALLOW_WITH_LOCKDOWN
2025-07-27T01:17:31.991233Z INFO permission_broker[2100]: ProcessPath(/dev/bus/usb/002/019)
2025-07-27T01:17:31.991814Z WARNING permission_broker[2100]: CROS_USB_LOCATION had a value but was not enough to determine permissibility, falling back to legacy logic.
2025-07-27T01:17:31.994864Z INFO permission_broker[2100]: Found claimed interface with driver: usbhid
2025-07-27T01:17:31.996540Z INFO permission_broker[2100]: Found claimed interface with driver: usbhid
2025-07-27T01:17:31.996695Z INFO permission_broker[2100]: Found claimed interface with driver: usbfs
2025-07-27T01:17:31.997137Z INFO permission_broker[2100]:   AllowConformingUsbDeviceRule: DENY
2025-07-27T01:17:31.997175Z INFO permission_broker[2100]: Verdict for /dev/bus/usb/002/019: DENY
2025-07-27T01:17:31.997214Z ERR permission_broker[2100]: OpenPathImpl(...): Domain=permission_broker, Code=permission_denied, Message=Permission to open '/dev/bus/usb/002/019' denied
2025-07-27T01:17:31.997843Z ERR crosh[92637]: ERROR: command failed
```

Checking on another, older Chromebook, the above permission broker returned `ALLOW_WITH_DETACH`.

Best,
A

Adriano Di Luzio

unread,
Jul 27, 2025, 12:39:51 PMJul 27
to ChromiumOS Development
For anyone bumping into this as well: I _think_ that the Smart Card Connector app was holding a lock on the device. Disabling it made the `usb-attach` command work. 

--
--
ChromiumOS Developers mailing list: chromiu...@chromium.org
View archives, change email options, or unsubscribe:
https://groups.google.com/a/chromium.org/group/chromium-os-dev
To unsubscribe from this topic, visit https://groups.google.com/a/chromium.org/d/topic/chromium-os-dev/2bVDprdrLOY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to chromium-os-d...@chromium.org.
Reply all
Reply to author
Forward
0 new messages