i am working on a project and after some time i stumble upon the next error:
Unable to get name for joystick /dev/input/js0
Failed to get vendor ID of joystick /dev/input/js0
Failed to get product ID of joystick /dev/input/js0
Unable to get name for joystick /dev/input/js1
Failed to get vendor ID of joystick /dev/input/js1
Failed to get product ID of joystick /dev/input/js1
Unable to get name for joystick /dev/input/js2
Failed to get vendor ID of joystick /dev/input/js2
Failed to get product ID of joystick /dev/input/js2
Unable to get name for joystick /dev/input/js3
Failed to get vendor ID of joystick /dev/input/js3
Failed to get product ID of joystick /dev/input/js3
(its from SFML, but its not that important)
and i want to remove the devices js0-3 but don't know how, i found the devices file in /proc/bus/input and i found this:
...
I: Bus=0003 Vendor=045e Product=0719 Version=0100
N: Name="Xbox 360 Wireless Receiver"
P: Phys=
S: Sysfs=/devices/virtual/input/input26
U: Uniq=
H: Handlers=event15 js0
B: PROP=0
B: EV=b
B: KEY=f 0 0 0 0 0 0 7fdb000000000000 0 0 0 0
B: ABS=1b
I: Bus=0003 Vendor=045e Product=0719 Version=0100
N: Name="Xbox 360 Wireless Receiver"
P: Phys=
S: Sysfs=/devices/virtual/input/input27
U: Uniq=
H: Handlers=event16 js1
B: PROP=0
B: EV=b
B: KEY=f 0 0 0 0 0 0 7fdb000000000000 0 0 0 0
B: ABS=1b
I: Bus=0003 Vendor=045e Product=0719 Version=0100
N: Name="Xbox 360 Wireless Receiver"
P: Phys=
S: Sysfs=/devices/virtual/input/input28
U: Uniq=
H: Handlers=event17 js2
B: PROP=0
B: EV=b
B: KEY=f 0 0 0 0 0 0 7fdb000000000000 0 0 0 0
B: ABS=1b
I: Bus=0003 Vendor=045e Product=0719 Version=0100
N: Name="Xbox 360 Wireless Receiver"
P: Phys=
S: Sysfs=/devices/virtual/input/input29
U: Uniq=
H: Handlers=event18 js3
B: PROP=0
B: EV=b
B: KEY=f 0 0 0 0 0 0 7fdb000000000000 0 0 0 0
B: ABS=1b
...
and can't edit it because its rom, so what should i do?
please help me
i tried deleting the js0-3 files from /dev/input and that didn't solve the problem (and now i lack the original files, so i made some empty files names js0-3) so i then tried to edit the /proc/bus/input/devices file but didn't succed
I'm using Ubuntu 22.04.1 LTS