Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
rc-service cannot start spice-vdagent without "uinput"module
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: 138

PostPosted: Tue Jun 11, 2024 4:52 am    Post subject: rc-service canno start spice-vdagent without uinput module Reply with quote

I am using Gentoo as guest vm with openSUSE host. Wish to get copy/paste between host/guest going. Installed needed spice-vdagent.
In trying to get spice-vdagent to start I get missing kernel module message below.

Code:

gentooVM ~ # rc-service spice-vdagent start
 * Checking for required modules and devices ...
 * Module 'uinput' not loaded or not enabled in the kernel                                                     
 * ERROR: spice-vdagent failed to start
gentooVM ~ #
 


I assume message is referring to "uinput" to be a kernel module. I cannot find "uinput" in module list as installed or available for my current 6.9.3 kernel. I cannot find any references on how to obtain "uinput" module.
I did put "uinput" into a newly built /etc/modules-load.d/networking.conf as suggested in the docs related to kernel and did a reboot but to no avail.

Perhaps, I think I need to build a new kernel that incorporates "uinput". I need some idea of where to look for "uinput" options [/code]in kernel configuration.

Not a critical issue as I can copy/paste to gentoo through ssh but this is something I'd like to master.
Back to top
View user's profile Send private message
netfab
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1957
Location: 127.0.0.1

PostPosted: Tue Jun 11, 2024 10:00 am    Post subject: Reply with quote

Yes, you need this option built-in or built as module :
Code:

$ zgrep UINPUT /proc/config.gz
CONFIG_INPUT_UINPUT=m

Code:

Symbol: INPUT_UINPUT [=m]
  │ Type  : tristate
  │ Defined at drivers/input/misc/Kconfig:513
  │   Prompt: User level driver support
  │   Depends on: INPUT [=y] && INPUT_MISC [=y]
  │   Location:
  │     -> Device Drivers
  │       -> Input device support
  │         -> Generic input layer (needed for keyboard, mouse, ...) (INPUT [=y])
  │           -> Miscellaneous devices (INPUT_MISC [=y])
  │ (1)         -> User level driver support (INPUT_UINPUT [=m])
Back to top
View user's profile Send private message
tckosvic
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2023
Posts: 138

PostPosted: Tue Jun 11, 2024 2:37 pm    Post subject: Reply with quote

Rebuilt kernel using 'add module' instructions provided. Now I can copy/paste directly from openSUSE host to gentoo guest w/o ssh to guest.

I also added module to generate /proc/config.gz as I didn't have that before.

thanks
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