I am having a very difficult time resolving this issue and hoping to get some help. The USB Incus/Lxd hot plugging device I believe works great as far as I can tell. I think I have narrowed down the problem based on cat of /proc/bus/input/devices which I did after installing steam natively in debian 12. You can see that my Xbox controller gets a physical and virtual xbox controller on the native install. However, in my container I am only getting the physical device. Without the virtual device, the controller is not being recognized in games.
It looks like Steam has some custom udev rules that may be needed to create the virtual device 28de Product (see below). I have been mainly been using the unix-hotplug and uinput devices (see below). I have also played around with adding hidraw0, hidraw1 and hidraw2 devices, but nothing seems to work.
What is needed to create the virtual device in my container? Do I somehow need to incorporate the udev rules into my container?
Thanks. I very much appreciate your support.
************************************** Container Config files I added
xbox:
gid: “1000”
mode: “0777”
productid: “0719”
type: unix-hotplug
uid: “1000”
vendorid: 045e
uinput:
gid: “1000”
mode: “0777”
path: /dev/uinput
type: unix-char
uid: “1000”
**********************************Steam Custom Udev rules related to Product 28DE
This rule is necessary for gamepad emulation; make sure you replace ‘pgriffais’ with a group that the user that runs Steam belongs to
KERNEL==“uinput”, MODE=“0660”, GROUP=“pgriffais”, OPTIONS+=“static_node=uinput”
Valve HID devices over USB hidraw
KERNEL==“hidraw*”, ATTRS{idVendor}==“28de”, MODE=“0666”
Valve HID devices over bluetooth hidraw
KERNEL==“hidraw*”, KERNELS==“28DE:”, MODE=“0666”
***********************************cat /proc/bus/input/devices from native install on Steam on host
: Bus=0003 Vendor=045e Product=02a1 Version=0100
N: Name=“Xbox 360 Wireless Receiver”
P: Phys=usb-0000:00:14.0-7/input0
S: Sysfs=/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/input/input14
U: Uniq=
H: Handlers=event14 js0
B: PROP=0
B: EV=20000b
B: KEY=f 0 0 0 0 0 0 7cdb000000000000 0 0 0 0
B: ABS=3003f
B: FF=107030000 0
I: Bus=0003 Vendor=28de Product=11ff Version=0001
N: Name=“Microsoft X-Box 360 pad 0”
P: Phys=
S: Sysfs=/devices/virtual/input/input16
U: Uniq=
H: Handlers=event15 js1
B: PROP=0
B: EV=20000b
B: KEY=7cdb000000000000 0 0 0 0
B: ABS=3003f