Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
add uinput module to kernel
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
tckosvic
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2023
Posts: 140

PostPosted: Wed Nov 20, 2024 2:45 pm    Post subject: add uinput module to kernel Reply with quote

I am trying to implement copy/paste from host openSUSE to guest Gentoo VM. I have installed spice-vdagent on the host and the guest. vdagent will not start on the Gentoo guest as error messages say "uinput" kernel module is needed to start vdagent.

Cannot find detailed instructions needed to install uinput either as builtin to kernel or as a separate accessible module.

Any advice?
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22692

PostPosted: Wed Nov 20, 2024 3:06 pm    Post subject: Reply with quote

Per a search of the Linux kernel source:
Code:
linux.git$ git grep uinput '*Kconfig*'
drivers/input/misc/Kconfig:517:   subsystem accessible under char device 10:223 - /dev/input/uinput.
drivers/input/misc/Kconfig:520:   module will be called uinput.
That file looks promising. Its contents show:
drivers/input/misc/Kconfig:
config INPUT_UINPUT
   tristate "User level driver support"
   help
     Say Y here if you want to support user level drivers for input
     subsystem accessible under char device 10:223 - /dev/input/uinput.

     To compile this driver as a module, choose M here: the
     module will be called uinput.
From that, I suggest you enable INPUT_UINPUT in your Gentoo kernel configuration, rebuild, reboot, and retry.
Back to top
View user's profile Send private message
tckosvic
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2023
Posts: 140

PostPosted: Wed Nov 20, 2024 4:16 pm    Post subject: Reply with quote

As a novice with configuring kernels, how do I enable INPUT_UINPUT in my Gentoo kernel configuration. Do I use "make menuconfig"? Where in kernel structure do I find INPUT_UINPUT enable option?

thanks, tom kosvic
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum