Hi
I am sharing the GPU with a privileged lxd container (using CUDA).
It is my understanding that systemd launches acpid in the host to generate all the /dev/input/event*.
The nvidia driver uses acpid to find the mouse and keyboarded device. I share the /dev/input/event* and I enabled acpid in the guest. I am not getting the mouse and keyboard events. Any ideas how to fix that.
I have a workaround that I prefer not to use. I have to create entry for them in a file in /usr/share/X11/xorg.conf.d/
cd /dev/input for input in event* do cat >> /usr/share/X11/xorg.conf.d/10-lxc-input.conf <<_EOF_ Section "InputDevice" Identifier "$input" Option "Device" "/dev/input/$input" Option "AutoServerLayout" "true" Driver "evdev" EndSection _EOF_ done