Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

USBGuard blocks ipu6 webcam on raptor lake #641

Open
ManoftheSea opened this issue Nov 14, 2024 · 1 comment
Open

USBGuard blocks ipu6 webcam on raptor lake #641

ManoftheSea opened this issue Nov 14, 2024 · 1 comment

Comments

@ManoftheSea
Copy link

Linux kernel 6.11.6, intel iVSC firmware from 20240614, IPU6-camera-bins from 20240927, ipu6ep-camera-hal from 20240929, NixOS 24.11 distribution, Dell Precision 5680 with i7-13800H (Raptor Lake). With USBGuard enabled, the system is never able to detect supported sensor OVTI02C1, and the device at /sys/bus/i2c/devices/i2c-OVTI02C1:00 never appears. No webcam. With USBGuard turned off, the webcam works.

When USBGuard is enabled and all devices are allowed, there does not appear any device in the output of usbguard list-devices | grep block. Still, no webcam, no line in dmesg about detecting the sensor.

Please inform me how to gather any necessary debugging information, I regretfully don't know how the I2C is related to USB to be able to investigate.

@ManoftheSea
Copy link
Author

In testing around this issue, it was pointed out that there exist two USB devices on this system: 8086:0b63 "USB Bridge", and 25a4:9411 "USB C Video Adaptor". I believe there is a difference in allowing the USB Bridge device as part of the rules, vs allowing it manually. I cannot find a combination of usbguard allow-device commands that will allow the webcam to work, but when both devices are allowed according to either the default target or the rules.conf file, the webcam will begin to function.

To correct my original report, I believe the USB C Video Adaptor device only appeared in the USB device list on kernel 6.11. I did not recognize that the USB Bridge was related.

Should the webcam be able to function if these devices are enabled "late"?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant