You are not logged in.

#1 2020-12-04 00:21:28

tomsk
Member
Registered: 2016-12-17
Posts: 224

Evdev python sharing script doesnt work anymore

Hello,

I use this python script https://pastebin.com/iFQ5Hkha found here https://www.reddit.com/r/VFIO/comments/ … d_sharing/ it was working without problems, but I made system update (using pacman -Syu) and that script doesnt work anymore, can someone help me where can be problem? Im not python programmer sad

L_CTRL+R_CTRL for switching between guest and host doesnt work anymore, my mouse is stuck in guest and keyboard in host hmm


I use several linux distros like: Archlinux, Ubuntu, Fedora, Linux Mint

Offline

#2 2020-12-04 01:26:16

Xyne
Forum Fellow
Registered: 2008-08-03
Posts: 6,965
Website

Re: Evdev python sharing script doesnt work anymore

How are you running the script? Does it print any errors when run in a shell?


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#3 2020-12-04 03:29:46

loqs
Member
Registered: 2014-03-06
Posts: 19,037

Re: Evdev python sharing script doesnt work anymore

Was systemd 247.1-1 in the update after which the script no longer worked?

Offline

#4 2020-12-04 12:09:47

tomsk
Member
Registered: 2016-12-17
Posts: 224

Re: Evdev python sharing script doesnt work anymore

Xyne wrote:

How are you running the script? Does it print any errors when run in a shell?

I run script like:

sudo ./evdev /dev/input/by-id/usb-Razer_Razer_BlackWidow_Chroma_V2-if01-event-kbd &

and there is no errors, script runs just fine

loqs wrote:

Was systemd 247.1-1 in the update after which the script no longer worked?

I dont know I was updating whole system about 2GB of update

Last edited by tomsk (2020-12-04 12:10:10)


I use several linux distros like: Archlinux, Ubuntu, Fedora, Linux Mint

Offline

#5 2020-12-04 12:21:23

loqs
Member
Registered: 2014-03-06
Posts: 19,037

Re: Evdev python sharing script doesnt work anymore

You can check /var/log/pacman.log to see what was in the update.

Offline

#6 2020-12-04 13:28:52

tomsk
Member
Registered: 2016-12-17
Posts: 224

Re: Evdev python sharing script doesnt work anymore

This was in update: https://pastebin.com/agkJh5LJ

there was systemd too --> systemd (246.3-1 -> 246.6-1)


I use several linux distros like: Archlinux, Ubuntu, Fedora, Linux Mint

Offline

#7 2020-12-06 11:37:34

tomsk
Member
Registered: 2016-12-17
Posts: 224

Re: Evdev python sharing script doesnt work anymore

Fixed it by changing it from:

sudo ./evdev /dev/input/by-id/usb-Razer_Razer_BlackWidow_Chroma_V2-if01-event-kbd &

to

sudo ./evdev /dev/input/by-id/usb-Razer_Razer_BlackWidow_Chroma_V2-event-kbd &

I don't know why it stopped working because I was using usb-Razer_Razer_BlackWidow_Chroma_V2-if01-event-kbd over half of year without any issues, but usb-Razer_Razer_BlackWidow_Chroma_V2-event-kbd works just fine.


I use several linux distros like: Archlinux, Ubuntu, Fedora, Linux Mint

Offline

Board footer

Powered by FluxBB