raelgc / ubuntu_xboxdrv

Ubuntu xboxdrv Integration
https://launchpad.net/~rael-gc/+archive/ubuntu-xboxdrv
GNU General Public License v3.0
165 stars 16 forks source link

wsl2 lack of systemd. #76

Open atticusrussell opened 1 year ago

atticusrussell commented 1 year ago

Hi there. I am trying to get my MadCatz Xbox360 controller working on WSL2 Ubuntu 20.04, and I run into an issue due to the fact that WSL2 doesn't use systemd. Are there any things I can do to work around this, or am I SOL?

$ sudo apt-get install ubuntu-xboxdrv
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  evemu-tools evtest inputattach joystick jstest-gtk libatkmm-1.6-1v5 libcairomm-1.0-1v5 libevemu3 libglibmm-2.4-1v5
  libgtkmm-2.4-1v5 libpangomm-1.4-1v5 libsigc++-2.0-0v5 xboxdrv
The following NEW packages will be installed:
  evemu-tools evtest inputattach joystick jstest-gtk libatkmm-1.6-1v5 libcairomm-1.0-1v5 libevemu3 libglibmm-2.4-1v5
  libgtkmm-2.4-1v5 libpangomm-1.4-1v5 libsigc++-2.0-0v5 ubuntu-xboxdrv xboxdrv
0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/2,167 kB of archives.
After this operation, 11.3 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Selecting previously unselected package libevemu3:amd64.
(Reading database ... 400083 files and directories currently installed.)
Preparing to unpack .../00-libevemu3_2.7.0-2_amd64.deb ...
Unpacking libevemu3:amd64 (2.7.0-2) ...
Selecting previously unselected package evemu-tools.
Preparing to unpack .../01-evemu-tools_2.7.0-2_amd64.deb ...
Unpacking evemu-tools (2.7.0-2) ...
Selecting previously unselected package libsigc++-2.0-0v5:amd64.
Preparing to unpack .../02-libsigc++-2.0-0v5_2.10.2-1build1_amd64.deb ...
Unpacking libsigc++-2.0-0v5:amd64 (2.10.2-1build1) ...
Selecting previously unselected package libglibmm-2.4-1v5:amd64.
Preparing to unpack .../03-libglibmm-2.4-1v5_2.64.2-1_amd64.deb ...
Unpacking libglibmm-2.4-1v5:amd64 (2.64.2-1) ...
Selecting previously unselected package libatkmm-1.6-1v5:amd64.
Preparing to unpack .../04-libatkmm-1.6-1v5_2.28.0-2build1_amd64.deb ...
Unpacking libatkmm-1.6-1v5:amd64 (2.28.0-2build1) ...
Selecting previously unselected package libcairomm-1.0-1v5:amd64.
Preparing to unpack .../05-libcairomm-1.0-1v5_1.12.2-4build1_amd64.deb ...
Unpacking libcairomm-1.0-1v5:amd64 (1.12.2-4build1) ...
Selecting previously unselected package libpangomm-1.4-1v5:amd64.
Preparing to unpack .../06-libpangomm-1.4-1v5_2.42.0-2build1_amd64.deb ...
Unpacking libpangomm-1.4-1v5:amd64 (2.42.0-2build1) ...
Selecting previously unselected package libgtkmm-2.4-1v5:amd64.
Preparing to unpack .../07-libgtkmm-2.4-1v5_1%3a2.24.5-4ubuntu2_amd64.deb ...
Unpacking libgtkmm-2.4-1v5:amd64 (1:2.24.5-4ubuntu2) ...
Selecting previously unselected package jstest-gtk.
Preparing to unpack .../08-jstest-gtk_0.1.1~git20160825-3build1_amd64.deb ...
Unpacking jstest-gtk (0.1.1~git20160825-3build1) ...
Selecting previously unselected package xboxdrv.
Preparing to unpack .../09-xboxdrv_0.8.8-2_amd64.deb ...
Unpacking xboxdrv (0.8.8-2) ...
Selecting previously unselected package ubuntu-xboxdrv.
Preparing to unpack .../10-ubuntu-xboxdrv_20161201-1_all.deb ...
Unpacking ubuntu-xboxdrv (20161201-1) ...
Selecting previously unselected package evtest.
Preparing to unpack .../11-evtest_1%3a1.34-1_amd64.deb ...
Unpacking evtest (1:1.34-1) ...
Selecting previously unselected package inputattach.
Preparing to unpack .../12-inputattach_1%3a1.7.0-1_amd64.deb ...
Unpacking inputattach (1:1.7.0-1) ...
Selecting previously unselected package joystick.
Preparing to unpack .../13-joystick_1%3a1.7.0-1_amd64.deb ...
Unpacking joystick (1:1.7.0-1) ...
Setting up libevemu3:amd64 (2.7.0-2) ...
Setting up joystick (1:1.7.0-1) ...
Setting up xboxdrv (0.8.8-2) ...
Setting up inputattach (1:1.7.0-1) ...
Setting up libsigc++-2.0-0v5:amd64 (2.10.2-1build1) ...
Setting up evtest (1:1.34-1) ...
Setting up evemu-tools (2.7.0-2) ...
Setting up libglibmm-2.4-1v5:amd64 (2.64.2-1) ...
Setting up libcairomm-1.0-1v5:amd64 (1.12.2-4build1) ...
Setting up libpangomm-1.4-1v5:amd64 (2.42.0-2build1) ...
Setting up libatkmm-1.6-1v5:amd64 (2.28.0-2build1) ...
Setting up libgtkmm-2.4-1v5:amd64 (1:2.24.5-4ubuntu2) ...
Setting up jstest-gtk (0.1.1~git20160825-3build1) ...
Setting up ubuntu-xboxdrv (20161201-1) ...
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
dpkg: error processing package ubuntu-xboxdrv (--configure):
 installed ubuntu-xboxdrv package post-installation script subprocess returned error exit status 1
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.9) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for dbus (1.12.16-2ubuntu2.3) ...
Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...
Errors were encountered while processing:
 ubuntu-xboxdrv
E: Sub-process /usr/bin/dpkg returned an error code (1)
raelgc commented 1 year ago

Yes, so you don't need this PPA. You can just install xboxdrv and running with xboxdrv <options>, replacing <options> with the ones you get from the documentation.