“Operation not permitted” when trying to `modprobe xpad`












0















I'm trying to use a new PDP Xbox One controller ("Crimson Red"). As is, my Ubuntu 18.10 system doesn't seem to recognize it; its power light doesn't even turn on. Using some hints posted here, I got a copy of xpad.c for my kernel (4.18.0), edited xpad.c to add some lines for my controller's ID (0e6f:02c6), and compiled and installed the module. However, sudo modprobe xpad yields modprobe: ERROR: could not insert 'xpad': Operation not permitted. What gives? The output of sudo modprobe -vvv xpad is:



modprobe: INFO: ../libkmod/libkmod.c:364 kmod_set_log_fn() custom logging function 0x5605fa960ee0 registered
modprobe: DEBUG: ../libkmod/libkmod-index.c:755 index_mm_open() file=/lib/modules/4.18.0-13-generic/modules.dep.bin
modprobe: DEBUG: ../libkmod/libkmod-index.c:755 index_mm_open() file=/lib/modules/4.18.0-13-generic/modules.alias.bin
modprobe: DEBUG: ../libkmod/libkmod-index.c:755 index_mm_open() file=/lib/modules/4.18.0-13-generic/modules.symbols.bin
modprobe: DEBUG: ../libkmod/libkmod-index.c:755 index_mm_open() file=/lib/modules/4.18.0-13-generic/modules.builtin.bin
modprobe: DEBUG: ../libkmod/libkmod-module.c:556 kmod_module_new_from_lookup() input alias=xpad, normalized=xpad
modprobe: DEBUG: ../libkmod/libkmod-module.c:562 kmod_module_new_from_lookup() lookup modules.dep xpad
modprobe: DEBUG: ../libkmod/libkmod.c:574 kmod_search_moddep() use mmaped index 'modules.dep' modname=xpad
modprobe: DEBUG: ../libkmod/libkmod.c:402 kmod_pool_get_module() get module name='xpad' found=(nil)
modprobe: DEBUG: ../libkmod/libkmod.c:410 kmod_pool_add_module() add 0x5605fc28bff0 key='xpad'
modprobe: DEBUG: ../libkmod/libkmod.c:402 kmod_pool_get_module() get module name='ff_memless' found=(nil)
modprobe: DEBUG: ../libkmod/libkmod.c:402 kmod_pool_get_module() get module name='ff_memless' found=(nil)
modprobe: DEBUG: ../libkmod/libkmod.c:410 kmod_pool_add_module() add 0x5605fc28c100 key='ff_memless'
modprobe: DEBUG: ../libkmod/libkmod-module.c:196 kmod_module_parse_depline() add dep: /lib/modules/4.18.0-13-generic/kernel/drivers/input/ff-memless.ko
modprobe: DEBUG: ../libkmod/libkmod-module.c:202 kmod_module_parse_depline() 1 dependencies for xpad
modprobe: DEBUG: ../libkmod/libkmod-module.c:583 kmod_module_new_from_lookup() lookup xpad=0, list=0x5605fc28bc40
modprobe: DEBUG: ../libkmod/libkmod.c:501 lookup_builtin_file() use mmaped index 'modules.builtin' modname=xpad
modprobe: DEBUG: ../libkmod/libkmod-module.c:1750 kmod_module_get_initstate() could not open '/sys/module/xpad/initstate': No such file or directory
modprobe: DEBUG: ../libkmod/libkmod-module.c:1760 kmod_module_get_initstate() could not open '/sys/module/xpad': No such file or directory
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_pcsp mod->name=ff_memless mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_audio mod->name=ff_memless mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=cx88_alsa mod->name=ff_memless mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_atiixp_modem mod->name=ff_memless mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_intel8x0m mod->name=ff_memless mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_via82xx_modem mod->name=ff_memless mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=bt87x mod->name=ff_memless mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=cx88_alsa mod->name=ff_memless mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=saa7134_alsa mod->name=ff_memless mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_atiixp_modem mod->name=ff_memless mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_intel8x0m mod->name=ff_memless mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_via82xx_modem mod->name=ff_memless mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_audio mod->name=ff_memless mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_caiaq mod->name=ff_memless mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_ua101 mod->name=ff_memless mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_us122l mod->name=ff_memless mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_usx2y mod->name=ff_memless mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_cmipci mod->name=ff_memless mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_pcsp mod->name=ff_memless mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_audio mod->name=ff_memless mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=bonding mod->name=ff_memless mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=dummy mod->name=ff_memless mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=vmwgfx mod->name=ff_memless mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=vt mod->name=ff_memless mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod.c:501 lookup_builtin_file() use mmaped index 'modules.builtin' modname=ff_memless
modprobe: DEBUG: ../libkmod/libkmod-module.c:1306 kmod_module_probe_insert_module() Ignoring module 'ff_memless': already loaded
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_pcsp mod->name=xpad mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_audio mod->name=xpad mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=cx88_alsa mod->name=xpad mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_atiixp_modem mod->name=xpad mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_intel8x0m mod->name=xpad mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_via82xx_modem mod->name=xpad mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=bt87x mod->name=xpad mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=cx88_alsa mod->name=xpad mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=saa7134_alsa mod->name=xpad mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_atiixp_modem mod->name=xpad mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_intel8x0m mod->name=xpad mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_via82xx_modem mod->name=xpad mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_audio mod->name=xpad mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_caiaq mod->name=xpad mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_ua101 mod->name=xpad mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_us122l mod->name=xpad mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_usx2y mod->name=xpad mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_cmipci mod->name=xpad mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_pcsp mod->name=xpad mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_audio mod->name=xpad mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=bonding mod->name=xpad mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=dummy mod->name=xpad mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=vmwgfx mod->name=xpad mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=vt mod->name=xpad mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1750 kmod_module_get_initstate() could not open '/sys/module/xpad/initstate': No such file or directory
modprobe: DEBUG: ../libkmod/libkmod-module.c:1760 kmod_module_get_initstate() could not open '/sys/module/xpad': No such file or directory
modprobe: DEBUG: ../libkmod/libkmod-module.c:744 kmod_module_get_path() name='xpad' path='/lib/modules/4.18.0-13-generic/kernel/drivers/input/joystick/xpad.ko'
modprobe: DEBUG: ../libkmod/libkmod-module.c:744 kmod_module_get_path() name='xpad' path='/lib/modules/4.18.0-13-generic/kernel/drivers/input/joystick/xpad.ko'
insmod /lib/modules/4.18.0-13-generic/kernel/drivers/input/joystick/xpad.ko
modprobe: DEBUG: ../libkmod/libkmod-module.c:744 kmod_module_get_path() name='xpad' path='/lib/modules/4.18.0-13-generic/kernel/drivers/input/joystick/xpad.ko'
modprobe: INFO: ../libkmod/libkmod-module.c:886 kmod_module_insert_module() Failed to insert module '/lib/modules/4.18.0-13-generic/kernel/drivers/input/joystick/xpad.ko': Operation not permitted
modprobe: ERROR: could not insert 'xpad': Operation not permitted
modprobe: DEBUG: ../libkmod/libkmod-module.c:468 kmod_module_unref() kmod_module 0x5605fc28bff0 released
modprobe: DEBUG: ../libkmod/libkmod.c:418 kmod_pool_del_module() del 0x5605fc28bff0 key='xpad'
modprobe: DEBUG: ../libkmod/libkmod-module.c:468 kmod_module_unref() kmod_module 0x5605fc28c100 released
modprobe: DEBUG: ../libkmod/libkmod.c:418 kmod_pool_del_module() del 0x5605fc28c100 key='ff_memless'
modprobe: INFO: ../libkmod/libkmod.c:331 kmod_unref() context 0x5605fc284460 released









share|improve this question



























    0















    I'm trying to use a new PDP Xbox One controller ("Crimson Red"). As is, my Ubuntu 18.10 system doesn't seem to recognize it; its power light doesn't even turn on. Using some hints posted here, I got a copy of xpad.c for my kernel (4.18.0), edited xpad.c to add some lines for my controller's ID (0e6f:02c6), and compiled and installed the module. However, sudo modprobe xpad yields modprobe: ERROR: could not insert 'xpad': Operation not permitted. What gives? The output of sudo modprobe -vvv xpad is:



    modprobe: INFO: ../libkmod/libkmod.c:364 kmod_set_log_fn() custom logging function 0x5605fa960ee0 registered
    modprobe: DEBUG: ../libkmod/libkmod-index.c:755 index_mm_open() file=/lib/modules/4.18.0-13-generic/modules.dep.bin
    modprobe: DEBUG: ../libkmod/libkmod-index.c:755 index_mm_open() file=/lib/modules/4.18.0-13-generic/modules.alias.bin
    modprobe: DEBUG: ../libkmod/libkmod-index.c:755 index_mm_open() file=/lib/modules/4.18.0-13-generic/modules.symbols.bin
    modprobe: DEBUG: ../libkmod/libkmod-index.c:755 index_mm_open() file=/lib/modules/4.18.0-13-generic/modules.builtin.bin
    modprobe: DEBUG: ../libkmod/libkmod-module.c:556 kmod_module_new_from_lookup() input alias=xpad, normalized=xpad
    modprobe: DEBUG: ../libkmod/libkmod-module.c:562 kmod_module_new_from_lookup() lookup modules.dep xpad
    modprobe: DEBUG: ../libkmod/libkmod.c:574 kmod_search_moddep() use mmaped index 'modules.dep' modname=xpad
    modprobe: DEBUG: ../libkmod/libkmod.c:402 kmod_pool_get_module() get module name='xpad' found=(nil)
    modprobe: DEBUG: ../libkmod/libkmod.c:410 kmod_pool_add_module() add 0x5605fc28bff0 key='xpad'
    modprobe: DEBUG: ../libkmod/libkmod.c:402 kmod_pool_get_module() get module name='ff_memless' found=(nil)
    modprobe: DEBUG: ../libkmod/libkmod.c:402 kmod_pool_get_module() get module name='ff_memless' found=(nil)
    modprobe: DEBUG: ../libkmod/libkmod.c:410 kmod_pool_add_module() add 0x5605fc28c100 key='ff_memless'
    modprobe: DEBUG: ../libkmod/libkmod-module.c:196 kmod_module_parse_depline() add dep: /lib/modules/4.18.0-13-generic/kernel/drivers/input/ff-memless.ko
    modprobe: DEBUG: ../libkmod/libkmod-module.c:202 kmod_module_parse_depline() 1 dependencies for xpad
    modprobe: DEBUG: ../libkmod/libkmod-module.c:583 kmod_module_new_from_lookup() lookup xpad=0, list=0x5605fc28bc40
    modprobe: DEBUG: ../libkmod/libkmod.c:501 lookup_builtin_file() use mmaped index 'modules.builtin' modname=xpad
    modprobe: DEBUG: ../libkmod/libkmod-module.c:1750 kmod_module_get_initstate() could not open '/sys/module/xpad/initstate': No such file or directory
    modprobe: DEBUG: ../libkmod/libkmod-module.c:1760 kmod_module_get_initstate() could not open '/sys/module/xpad': No such file or directory
    modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_pcsp mod->name=ff_memless mod->alias=(null)
    modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_audio mod->name=ff_memless mod->alias=(null)
    modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=cx88_alsa mod->name=ff_memless mod->alias=(null)
    modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_atiixp_modem mod->name=ff_memless mod->alias=(null)
    modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_intel8x0m mod->name=ff_memless mod->alias=(null)
    modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_via82xx_modem mod->name=ff_memless mod->alias=(null)
    modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=bt87x mod->name=ff_memless mod->alias=(null)
    modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=cx88_alsa mod->name=ff_memless mod->alias=(null)
    modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=saa7134_alsa mod->name=ff_memless mod->alias=(null)
    modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_atiixp_modem mod->name=ff_memless mod->alias=(null)
    modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_intel8x0m mod->name=ff_memless mod->alias=(null)
    modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_via82xx_modem mod->name=ff_memless mod->alias=(null)
    modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_audio mod->name=ff_memless mod->alias=(null)
    modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_caiaq mod->name=ff_memless mod->alias=(null)
    modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_ua101 mod->name=ff_memless mod->alias=(null)
    modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_us122l mod->name=ff_memless mod->alias=(null)
    modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_usx2y mod->name=ff_memless mod->alias=(null)
    modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_cmipci mod->name=ff_memless mod->alias=(null)
    modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_pcsp mod->name=ff_memless mod->alias=(null)
    modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_audio mod->name=ff_memless mod->alias=(null)
    modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=bonding mod->name=ff_memless mod->alias=(null)
    modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=dummy mod->name=ff_memless mod->alias=(null)
    modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=vmwgfx mod->name=ff_memless mod->alias=(null)
    modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=vt mod->name=ff_memless mod->alias=(null)
    modprobe: DEBUG: ../libkmod/libkmod.c:501 lookup_builtin_file() use mmaped index 'modules.builtin' modname=ff_memless
    modprobe: DEBUG: ../libkmod/libkmod-module.c:1306 kmod_module_probe_insert_module() Ignoring module 'ff_memless': already loaded
    modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_pcsp mod->name=xpad mod->alias=(null)
    modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_audio mod->name=xpad mod->alias=(null)
    modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=cx88_alsa mod->name=xpad mod->alias=(null)
    modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_atiixp_modem mod->name=xpad mod->alias=(null)
    modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_intel8x0m mod->name=xpad mod->alias=(null)
    modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_via82xx_modem mod->name=xpad mod->alias=(null)
    modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=bt87x mod->name=xpad mod->alias=(null)
    modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=cx88_alsa mod->name=xpad mod->alias=(null)
    modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=saa7134_alsa mod->name=xpad mod->alias=(null)
    modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_atiixp_modem mod->name=xpad mod->alias=(null)
    modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_intel8x0m mod->name=xpad mod->alias=(null)
    modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_via82xx_modem mod->name=xpad mod->alias=(null)
    modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_audio mod->name=xpad mod->alias=(null)
    modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_caiaq mod->name=xpad mod->alias=(null)
    modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_ua101 mod->name=xpad mod->alias=(null)
    modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_us122l mod->name=xpad mod->alias=(null)
    modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_usx2y mod->name=xpad mod->alias=(null)
    modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_cmipci mod->name=xpad mod->alias=(null)
    modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_pcsp mod->name=xpad mod->alias=(null)
    modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_audio mod->name=xpad mod->alias=(null)
    modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=bonding mod->name=xpad mod->alias=(null)
    modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=dummy mod->name=xpad mod->alias=(null)
    modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=vmwgfx mod->name=xpad mod->alias=(null)
    modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=vt mod->name=xpad mod->alias=(null)
    modprobe: DEBUG: ../libkmod/libkmod-module.c:1750 kmod_module_get_initstate() could not open '/sys/module/xpad/initstate': No such file or directory
    modprobe: DEBUG: ../libkmod/libkmod-module.c:1760 kmod_module_get_initstate() could not open '/sys/module/xpad': No such file or directory
    modprobe: DEBUG: ../libkmod/libkmod-module.c:744 kmod_module_get_path() name='xpad' path='/lib/modules/4.18.0-13-generic/kernel/drivers/input/joystick/xpad.ko'
    modprobe: DEBUG: ../libkmod/libkmod-module.c:744 kmod_module_get_path() name='xpad' path='/lib/modules/4.18.0-13-generic/kernel/drivers/input/joystick/xpad.ko'
    insmod /lib/modules/4.18.0-13-generic/kernel/drivers/input/joystick/xpad.ko
    modprobe: DEBUG: ../libkmod/libkmod-module.c:744 kmod_module_get_path() name='xpad' path='/lib/modules/4.18.0-13-generic/kernel/drivers/input/joystick/xpad.ko'
    modprobe: INFO: ../libkmod/libkmod-module.c:886 kmod_module_insert_module() Failed to insert module '/lib/modules/4.18.0-13-generic/kernel/drivers/input/joystick/xpad.ko': Operation not permitted
    modprobe: ERROR: could not insert 'xpad': Operation not permitted
    modprobe: DEBUG: ../libkmod/libkmod-module.c:468 kmod_module_unref() kmod_module 0x5605fc28bff0 released
    modprobe: DEBUG: ../libkmod/libkmod.c:418 kmod_pool_del_module() del 0x5605fc28bff0 key='xpad'
    modprobe: DEBUG: ../libkmod/libkmod-module.c:468 kmod_module_unref() kmod_module 0x5605fc28c100 released
    modprobe: DEBUG: ../libkmod/libkmod.c:418 kmod_pool_del_module() del 0x5605fc28c100 key='ff_memless'
    modprobe: INFO: ../libkmod/libkmod.c:331 kmod_unref() context 0x5605fc284460 released









    share|improve this question

























      0












      0








      0








      I'm trying to use a new PDP Xbox One controller ("Crimson Red"). As is, my Ubuntu 18.10 system doesn't seem to recognize it; its power light doesn't even turn on. Using some hints posted here, I got a copy of xpad.c for my kernel (4.18.0), edited xpad.c to add some lines for my controller's ID (0e6f:02c6), and compiled and installed the module. However, sudo modprobe xpad yields modprobe: ERROR: could not insert 'xpad': Operation not permitted. What gives? The output of sudo modprobe -vvv xpad is:



      modprobe: INFO: ../libkmod/libkmod.c:364 kmod_set_log_fn() custom logging function 0x5605fa960ee0 registered
      modprobe: DEBUG: ../libkmod/libkmod-index.c:755 index_mm_open() file=/lib/modules/4.18.0-13-generic/modules.dep.bin
      modprobe: DEBUG: ../libkmod/libkmod-index.c:755 index_mm_open() file=/lib/modules/4.18.0-13-generic/modules.alias.bin
      modprobe: DEBUG: ../libkmod/libkmod-index.c:755 index_mm_open() file=/lib/modules/4.18.0-13-generic/modules.symbols.bin
      modprobe: DEBUG: ../libkmod/libkmod-index.c:755 index_mm_open() file=/lib/modules/4.18.0-13-generic/modules.builtin.bin
      modprobe: DEBUG: ../libkmod/libkmod-module.c:556 kmod_module_new_from_lookup() input alias=xpad, normalized=xpad
      modprobe: DEBUG: ../libkmod/libkmod-module.c:562 kmod_module_new_from_lookup() lookup modules.dep xpad
      modprobe: DEBUG: ../libkmod/libkmod.c:574 kmod_search_moddep() use mmaped index 'modules.dep' modname=xpad
      modprobe: DEBUG: ../libkmod/libkmod.c:402 kmod_pool_get_module() get module name='xpad' found=(nil)
      modprobe: DEBUG: ../libkmod/libkmod.c:410 kmod_pool_add_module() add 0x5605fc28bff0 key='xpad'
      modprobe: DEBUG: ../libkmod/libkmod.c:402 kmod_pool_get_module() get module name='ff_memless' found=(nil)
      modprobe: DEBUG: ../libkmod/libkmod.c:402 kmod_pool_get_module() get module name='ff_memless' found=(nil)
      modprobe: DEBUG: ../libkmod/libkmod.c:410 kmod_pool_add_module() add 0x5605fc28c100 key='ff_memless'
      modprobe: DEBUG: ../libkmod/libkmod-module.c:196 kmod_module_parse_depline() add dep: /lib/modules/4.18.0-13-generic/kernel/drivers/input/ff-memless.ko
      modprobe: DEBUG: ../libkmod/libkmod-module.c:202 kmod_module_parse_depline() 1 dependencies for xpad
      modprobe: DEBUG: ../libkmod/libkmod-module.c:583 kmod_module_new_from_lookup() lookup xpad=0, list=0x5605fc28bc40
      modprobe: DEBUG: ../libkmod/libkmod.c:501 lookup_builtin_file() use mmaped index 'modules.builtin' modname=xpad
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1750 kmod_module_get_initstate() could not open '/sys/module/xpad/initstate': No such file or directory
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1760 kmod_module_get_initstate() could not open '/sys/module/xpad': No such file or directory
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_pcsp mod->name=ff_memless mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_audio mod->name=ff_memless mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=cx88_alsa mod->name=ff_memless mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_atiixp_modem mod->name=ff_memless mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_intel8x0m mod->name=ff_memless mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_via82xx_modem mod->name=ff_memless mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=bt87x mod->name=ff_memless mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=cx88_alsa mod->name=ff_memless mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=saa7134_alsa mod->name=ff_memless mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_atiixp_modem mod->name=ff_memless mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_intel8x0m mod->name=ff_memless mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_via82xx_modem mod->name=ff_memless mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_audio mod->name=ff_memless mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_caiaq mod->name=ff_memless mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_ua101 mod->name=ff_memless mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_us122l mod->name=ff_memless mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_usx2y mod->name=ff_memless mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_cmipci mod->name=ff_memless mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_pcsp mod->name=ff_memless mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_audio mod->name=ff_memless mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=bonding mod->name=ff_memless mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=dummy mod->name=ff_memless mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=vmwgfx mod->name=ff_memless mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=vt mod->name=ff_memless mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod.c:501 lookup_builtin_file() use mmaped index 'modules.builtin' modname=ff_memless
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1306 kmod_module_probe_insert_module() Ignoring module 'ff_memless': already loaded
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_pcsp mod->name=xpad mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_audio mod->name=xpad mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=cx88_alsa mod->name=xpad mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_atiixp_modem mod->name=xpad mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_intel8x0m mod->name=xpad mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_via82xx_modem mod->name=xpad mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=bt87x mod->name=xpad mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=cx88_alsa mod->name=xpad mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=saa7134_alsa mod->name=xpad mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_atiixp_modem mod->name=xpad mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_intel8x0m mod->name=xpad mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_via82xx_modem mod->name=xpad mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_audio mod->name=xpad mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_caiaq mod->name=xpad mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_ua101 mod->name=xpad mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_us122l mod->name=xpad mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_usx2y mod->name=xpad mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_cmipci mod->name=xpad mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_pcsp mod->name=xpad mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_audio mod->name=xpad mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=bonding mod->name=xpad mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=dummy mod->name=xpad mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=vmwgfx mod->name=xpad mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=vt mod->name=xpad mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1750 kmod_module_get_initstate() could not open '/sys/module/xpad/initstate': No such file or directory
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1760 kmod_module_get_initstate() could not open '/sys/module/xpad': No such file or directory
      modprobe: DEBUG: ../libkmod/libkmod-module.c:744 kmod_module_get_path() name='xpad' path='/lib/modules/4.18.0-13-generic/kernel/drivers/input/joystick/xpad.ko'
      modprobe: DEBUG: ../libkmod/libkmod-module.c:744 kmod_module_get_path() name='xpad' path='/lib/modules/4.18.0-13-generic/kernel/drivers/input/joystick/xpad.ko'
      insmod /lib/modules/4.18.0-13-generic/kernel/drivers/input/joystick/xpad.ko
      modprobe: DEBUG: ../libkmod/libkmod-module.c:744 kmod_module_get_path() name='xpad' path='/lib/modules/4.18.0-13-generic/kernel/drivers/input/joystick/xpad.ko'
      modprobe: INFO: ../libkmod/libkmod-module.c:886 kmod_module_insert_module() Failed to insert module '/lib/modules/4.18.0-13-generic/kernel/drivers/input/joystick/xpad.ko': Operation not permitted
      modprobe: ERROR: could not insert 'xpad': Operation not permitted
      modprobe: DEBUG: ../libkmod/libkmod-module.c:468 kmod_module_unref() kmod_module 0x5605fc28bff0 released
      modprobe: DEBUG: ../libkmod/libkmod.c:418 kmod_pool_del_module() del 0x5605fc28bff0 key='xpad'
      modprobe: DEBUG: ../libkmod/libkmod-module.c:468 kmod_module_unref() kmod_module 0x5605fc28c100 released
      modprobe: DEBUG: ../libkmod/libkmod.c:418 kmod_pool_del_module() del 0x5605fc28c100 key='ff_memless'
      modprobe: INFO: ../libkmod/libkmod.c:331 kmod_unref() context 0x5605fc284460 released









      share|improve this question














      I'm trying to use a new PDP Xbox One controller ("Crimson Red"). As is, my Ubuntu 18.10 system doesn't seem to recognize it; its power light doesn't even turn on. Using some hints posted here, I got a copy of xpad.c for my kernel (4.18.0), edited xpad.c to add some lines for my controller's ID (0e6f:02c6), and compiled and installed the module. However, sudo modprobe xpad yields modprobe: ERROR: could not insert 'xpad': Operation not permitted. What gives? The output of sudo modprobe -vvv xpad is:



      modprobe: INFO: ../libkmod/libkmod.c:364 kmod_set_log_fn() custom logging function 0x5605fa960ee0 registered
      modprobe: DEBUG: ../libkmod/libkmod-index.c:755 index_mm_open() file=/lib/modules/4.18.0-13-generic/modules.dep.bin
      modprobe: DEBUG: ../libkmod/libkmod-index.c:755 index_mm_open() file=/lib/modules/4.18.0-13-generic/modules.alias.bin
      modprobe: DEBUG: ../libkmod/libkmod-index.c:755 index_mm_open() file=/lib/modules/4.18.0-13-generic/modules.symbols.bin
      modprobe: DEBUG: ../libkmod/libkmod-index.c:755 index_mm_open() file=/lib/modules/4.18.0-13-generic/modules.builtin.bin
      modprobe: DEBUG: ../libkmod/libkmod-module.c:556 kmod_module_new_from_lookup() input alias=xpad, normalized=xpad
      modprobe: DEBUG: ../libkmod/libkmod-module.c:562 kmod_module_new_from_lookup() lookup modules.dep xpad
      modprobe: DEBUG: ../libkmod/libkmod.c:574 kmod_search_moddep() use mmaped index 'modules.dep' modname=xpad
      modprobe: DEBUG: ../libkmod/libkmod.c:402 kmod_pool_get_module() get module name='xpad' found=(nil)
      modprobe: DEBUG: ../libkmod/libkmod.c:410 kmod_pool_add_module() add 0x5605fc28bff0 key='xpad'
      modprobe: DEBUG: ../libkmod/libkmod.c:402 kmod_pool_get_module() get module name='ff_memless' found=(nil)
      modprobe: DEBUG: ../libkmod/libkmod.c:402 kmod_pool_get_module() get module name='ff_memless' found=(nil)
      modprobe: DEBUG: ../libkmod/libkmod.c:410 kmod_pool_add_module() add 0x5605fc28c100 key='ff_memless'
      modprobe: DEBUG: ../libkmod/libkmod-module.c:196 kmod_module_parse_depline() add dep: /lib/modules/4.18.0-13-generic/kernel/drivers/input/ff-memless.ko
      modprobe: DEBUG: ../libkmod/libkmod-module.c:202 kmod_module_parse_depline() 1 dependencies for xpad
      modprobe: DEBUG: ../libkmod/libkmod-module.c:583 kmod_module_new_from_lookup() lookup xpad=0, list=0x5605fc28bc40
      modprobe: DEBUG: ../libkmod/libkmod.c:501 lookup_builtin_file() use mmaped index 'modules.builtin' modname=xpad
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1750 kmod_module_get_initstate() could not open '/sys/module/xpad/initstate': No such file or directory
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1760 kmod_module_get_initstate() could not open '/sys/module/xpad': No such file or directory
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_pcsp mod->name=ff_memless mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_audio mod->name=ff_memless mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=cx88_alsa mod->name=ff_memless mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_atiixp_modem mod->name=ff_memless mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_intel8x0m mod->name=ff_memless mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_via82xx_modem mod->name=ff_memless mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=bt87x mod->name=ff_memless mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=cx88_alsa mod->name=ff_memless mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=saa7134_alsa mod->name=ff_memless mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_atiixp_modem mod->name=ff_memless mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_intel8x0m mod->name=ff_memless mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_via82xx_modem mod->name=ff_memless mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_audio mod->name=ff_memless mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_caiaq mod->name=ff_memless mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_ua101 mod->name=ff_memless mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_us122l mod->name=ff_memless mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_usx2y mod->name=ff_memless mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_cmipci mod->name=ff_memless mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_pcsp mod->name=ff_memless mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_audio mod->name=ff_memless mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=bonding mod->name=ff_memless mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=dummy mod->name=ff_memless mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=vmwgfx mod->name=ff_memless mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=vt mod->name=ff_memless mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod.c:501 lookup_builtin_file() use mmaped index 'modules.builtin' modname=ff_memless
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1306 kmod_module_probe_insert_module() Ignoring module 'ff_memless': already loaded
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_pcsp mod->name=xpad mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_audio mod->name=xpad mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=cx88_alsa mod->name=xpad mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_atiixp_modem mod->name=xpad mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_intel8x0m mod->name=xpad mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_via82xx_modem mod->name=xpad mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=bt87x mod->name=xpad mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=cx88_alsa mod->name=xpad mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=saa7134_alsa mod->name=xpad mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_atiixp_modem mod->name=xpad mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_intel8x0m mod->name=xpad mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_via82xx_modem mod->name=xpad mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_audio mod->name=xpad mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_caiaq mod->name=xpad mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_ua101 mod->name=xpad mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_us122l mod->name=xpad mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_usx2y mod->name=xpad mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_cmipci mod->name=xpad mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_pcsp mod->name=xpad mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_audio mod->name=xpad mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=bonding mod->name=xpad mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=dummy mod->name=xpad mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=vmwgfx mod->name=xpad mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=vt mod->name=xpad mod->alias=(null)
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1750 kmod_module_get_initstate() could not open '/sys/module/xpad/initstate': No such file or directory
      modprobe: DEBUG: ../libkmod/libkmod-module.c:1760 kmod_module_get_initstate() could not open '/sys/module/xpad': No such file or directory
      modprobe: DEBUG: ../libkmod/libkmod-module.c:744 kmod_module_get_path() name='xpad' path='/lib/modules/4.18.0-13-generic/kernel/drivers/input/joystick/xpad.ko'
      modprobe: DEBUG: ../libkmod/libkmod-module.c:744 kmod_module_get_path() name='xpad' path='/lib/modules/4.18.0-13-generic/kernel/drivers/input/joystick/xpad.ko'
      insmod /lib/modules/4.18.0-13-generic/kernel/drivers/input/joystick/xpad.ko
      modprobe: DEBUG: ../libkmod/libkmod-module.c:744 kmod_module_get_path() name='xpad' path='/lib/modules/4.18.0-13-generic/kernel/drivers/input/joystick/xpad.ko'
      modprobe: INFO: ../libkmod/libkmod-module.c:886 kmod_module_insert_module() Failed to insert module '/lib/modules/4.18.0-13-generic/kernel/drivers/input/joystick/xpad.ko': Operation not permitted
      modprobe: ERROR: could not insert 'xpad': Operation not permitted
      modprobe: DEBUG: ../libkmod/libkmod-module.c:468 kmod_module_unref() kmod_module 0x5605fc28bff0 released
      modprobe: DEBUG: ../libkmod/libkmod.c:418 kmod_pool_del_module() del 0x5605fc28bff0 key='xpad'
      modprobe: DEBUG: ../libkmod/libkmod-module.c:468 kmod_module_unref() kmod_module 0x5605fc28c100 released
      modprobe: DEBUG: ../libkmod/libkmod.c:418 kmod_pool_del_module() del 0x5605fc28c100 key='ff_memless'
      modprobe: INFO: ../libkmod/libkmod.c:331 kmod_unref() context 0x5605fc284460 released






      kernel input-devices xbox-one






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Feb 1 at 23:35









      KodiologistKodiologist

      939




      939






















          1 Answer
          1






          active

          oldest

          votes


















          0














          Predictably, it was some dumb Secure Boot thing. Once I signed the module with



          sudo /usr/src/linux-headers-$(uname -r)/scripts/sign-file sha256 ./MOK.priv ./MOK.der $(modinfo -n xpad)


          I could modprobe it without issues, and the controller works well.



          The files MOK.priv and MOK.der are extracted Secure Boot keys, which I'd previously gotten from this answer to get VirtualBox working.






          share|improve this answer























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "89"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1114867%2foperation-not-permitted-when-trying-to-modprobe-xpad%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            Predictably, it was some dumb Secure Boot thing. Once I signed the module with



            sudo /usr/src/linux-headers-$(uname -r)/scripts/sign-file sha256 ./MOK.priv ./MOK.der $(modinfo -n xpad)


            I could modprobe it without issues, and the controller works well.



            The files MOK.priv and MOK.der are extracted Secure Boot keys, which I'd previously gotten from this answer to get VirtualBox working.






            share|improve this answer




























              0














              Predictably, it was some dumb Secure Boot thing. Once I signed the module with



              sudo /usr/src/linux-headers-$(uname -r)/scripts/sign-file sha256 ./MOK.priv ./MOK.der $(modinfo -n xpad)


              I could modprobe it without issues, and the controller works well.



              The files MOK.priv and MOK.der are extracted Secure Boot keys, which I'd previously gotten from this answer to get VirtualBox working.






              share|improve this answer


























                0












                0








                0







                Predictably, it was some dumb Secure Boot thing. Once I signed the module with



                sudo /usr/src/linux-headers-$(uname -r)/scripts/sign-file sha256 ./MOK.priv ./MOK.der $(modinfo -n xpad)


                I could modprobe it without issues, and the controller works well.



                The files MOK.priv and MOK.der are extracted Secure Boot keys, which I'd previously gotten from this answer to get VirtualBox working.






                share|improve this answer













                Predictably, it was some dumb Secure Boot thing. Once I signed the module with



                sudo /usr/src/linux-headers-$(uname -r)/scripts/sign-file sha256 ./MOK.priv ./MOK.der $(modinfo -n xpad)


                I could modprobe it without issues, and the controller works well.



                The files MOK.priv and MOK.der are extracted Secure Boot keys, which I'd previously gotten from this answer to get VirtualBox working.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Feb 2 at 2:26









                KodiologistKodiologist

                939




                939






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Ask Ubuntu!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1114867%2foperation-not-permitted-when-trying-to-modprobe-xpad%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

                    Mangá

                    Eduardo VII do Reino Unido