Hi Paul_123
agreed inbuilt on TC for usbcore. On TC if I boot up....I have alsa which loads input-joystick-KERNEL and dmesg does not show up my gamepad, that is why I plan to rebuild our kernel and generate the usbcore as a module. Here is the relevant line for dmesg for my gamepad on other distro.....after I insert usb cable
[ 711.916395] usbcore: registered new interface driver xpad
I agree, it could be a udev rule so here is the other distro rule
70-joystick.rules
# do not edit this file, it will be overwritten on update
ACTION=="remove", GOTO="joystick_end"
ENV{ID_INPUT_JOYSTICK}=="", GOTO="joystick_end"
KERNEL!="event*", GOTO="joystick_end"
# joystick:<bustype>:v<vid>p<pid>:name:<name>:*
KERNELS=="input*", ENV{ID_BUS}!="", \
IMPORT{builtin}="hwdb 'joystick:$env{ID_BUS}:v$attr{id/vendor}p$attr{id/product}:name:$attr{name}:'", \
GOTO="joystick_end"
LABEL="joystick_end"
Notice it mentions hwdb in this rule?
This appears to come from a kind of udev that this distro uses called eudev
https://github.com/void-linux/void-packages/blob/master/srcpkgs/eudev/templateTo save you clicking link, this IMHO relevant lines
configure_args="--enable-hwdb --enable-manpages"
https://github.com/eudev-project/eudev
I have no idea if this type of udev could work with a BSD type.
It seems that this joystick rule depending on hwdb and so its man page is visible here
https://www.man7.org/linux/man-pages/man7/hwdb.7.htmlI want to make it clear....I am not asking any dev member to convert to eudev.
and ....voidlinux does not use systemd....it uses runit
I find /lib/udev/hwdb.d/70-joystick.hwdb which is a text file and instead of posting full contents this seems relevant
Note: The format of the "joystick:" prefix match key is a contract between the rules file and the hardware data
and so I have
file /etc/udev/hwdb.bin
/etc/udev/hwdb.bin: dataMy plan is...with luck today.....rebuild the kernel to not inbuild usbcore and generate usbcore as a module
I am happy to be regarded as an idiot as I have made numerous mistakes in the past.
But my goal is try and get my gamepad working on TC....knowing it works on another distro
Thanks for reading ...I will report back if I succeed or fail