atar-axis / xpadneo

Advanced Linux Driver for Xbox One Wireless Controller (shipped with Xbox One S)
https://atar-axis.github.io/xpadneo/
GNU General Public License v3.0
1.87k stars 110 forks source link

Unknown symbol input_ff_create_memless #392

Closed edt-xx closed 1 year ago

edt-xx commented 1 year ago

Hi

On an up to date Arch install (kernel 6.0.7) using xpadneo-dkms-git the module produced will not load. I get the following message doing insmod as root:

3419.418610] hid_xpadneo: loading out-of-tree module taints kernel. [ 3419.418660] hid_xpadneo: module verification failed: signature and/or required key missing - tainting kernel [ 3419.418739] hid_xpadneo: Unknown symbol input_ff_create_memless (err -2) [ 3494.717227] hid_xpadneo: Unknown symbol input_ff_create_memless (err -2)

Ideas?

edt-xx commented 1 year ago

[root@grover ~]# mokutil --sb-state SecureBoot disabled Platform is in Setup Mode

edt-xx commented 1 year ago

[root@grover ~]# zcat /proc/config.gz | grep CONFIG_UHID CONFIG_UHID=m

edt-xx commented 1 year ago

reverting to kernel 6.0.2 lets the module load again (its still not working - digging to find out what is happening)

kakra commented 1 year ago

It seems the kernel does not include the ff-memless module. Does it work if you load it manually? We had a similar issue before with the uhid module, ff-memless is not meant for plug&play auto-loading and should be included statically in the kernel.

edt-xx commented 1 year ago

If I modprobe ff-memless and then hid-xpadneo it works. Did not realize that ff-memless was a module too.

edt-xx commented 1 year ago

looks like arch updated its mkinitcpio.conf, this left a .pacnew file here since I have modules and binaries that need to be in the initrd. Merging my stuff into the new conf file, and reinstalling linux seems to have fixed things here. Sorry for the noise