Qubesd[2701]: WARNING: protocol error for call b'admin.vm.device.webcam.Attached'+b'' (b'dom0' → b'ccc566') with payload of 0 bytes

Hi,

Every time I start a VM, I notice similar messages in dom0’s journal:

qubesd[2701]: WARNING: protocol error for call b'admin.vm.device.webcam.Attached'+b'' (b'dom0' → b'ccc566') with payload of 0 bytes

Why is dom0 dealing with “webcam”?
What is that protocol error due to?
What is that call?

*I don’t even have a webcam.

At the first glance it seems like the call is going from dom0 to ccc556. Something in dom0 is asking to attach a device of class webcam to ccc556, but doesn’t actually send the device id.

I’m not 100% certain on deciphering the warning though, may be wrong here

The call is documented here:

Thanks for the link. Unfortunately, it is still unclear.

It’s log spam caused by the Qubes Devices widget, which is checking if a webcam is forwarded to a VM (here: ccc566) from any other VM. I think if the qubes-video-companion-dom0 package isn’t installed in dom0 (and so the admin.vm.device.webcam.Attached RPC does not exist) then it’s normal to see this message, and it can be ignored.

1 Like

@rustybird

Thanks for the feedback.

I have been trying to check that and I found another weird thing - ‘dnf list installed’ doesn’t show anything:

user@dom0:~ > dnf list installed | grep video
Updating and loading repositories:
 Qubes OS Repository for Dom0           100% |   0.0   B/s |   1.5 KiB |  00m00s
Loading system state TOML file /usr/lib/sysimage/libdnf5/packages.toml failed (see dnf5-system-state(7)): toml::parse: error opening file "/usr/lib/sysimage/libdnf5/packages.toml"
user@dom0:~ > sudo su -
root@dom0:~ # dnf list installed
Updating and loading repositories:
 Qubes OS Repository for Dom0           100% |   0.0   B/s |   1.5 KiB |  00m00s
Repositories loaded.
No matching packages to list

Only dnf repoquery --installed works and qubes-video-companion-dom0 is not installed.

That’s looking for a package with the name “installed”. Use dnf list --installed

Thanks. Works as root.