[Kernel-packages] [Bug 1973216] Re: No force-feedback for Saitek Cyborg Evo Force

2022-05-12 Thread Erich Eickmeyer 
** Package changed: linux (Ubuntu) => joystick (Ubuntu)

** Changed in: joystick (Ubuntu)
   Status: Confirmed => New

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1973216

Title:
  No force-feedback for Saitek Cyborg Evo Force

Status in joystick package in Ubuntu:
  New

Bug description:

  What I expected to happen:
  I plug in Saitek Cyborg Evo Force joystick, run ffmvforce or ffcfstress and 
can adjust the force-feedback.

  What happenend instead:
  No force-feedback at all.
  ffcfstress raises error "ERROR: device (or driver) has no constant force 
feedback support [ffcfstress.c:194]" although the joystick has constant force 
feedback support.

  --

  Hi,

  The joystick is recognized by the OS and can read axis and button
  information. However, no force-feedback can be apply e.g. via
  `ffmvforce` (will not complain but does nothing) or `ffcfstress`
  (complains, that hardware or driver do not support force-feedback).

  $ ffcfstress -d /dev/input/event8
  ERROR: device (or driver) has no constant force feedback support 
[ffcfstress.c:194]

  I tried to patch the iforce kernel module myself based on 
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/792937 and 
https://launchpadlibrarian.net/73006485/Linux-Force-Feedback-for-Saitek-Cyborg-Evo-Force%20%281%29.patch
 . My kernel module is working and loaded, however, the patch didn't enable 
force-feedback (probably I was missing something in the patch, since the linked 
patch is outdated).
  Since, I have absolutely no clue what else I could do, to get force-feedback 
working, I post this here since in an ideal world this should work plug

  What can I do to enable force-feedback for my joystick using ubuntu?

  Thanks a lot!

  
  ---

  $ cat /proc/version_signature
  Ubuntu 5.11.0-43.47~20.04.2-generic 5.11.22
  $ lsb_release -rd
  Description:  Ubuntu 20.04.4 LTS
  Release:  20.04

  --
  ubuntu-bug linux:

  ProblemType: Bug
  ApportVersion: 2.20.11-0ubuntu27.23
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: ubuntu:GNOME
  Date: Thu May 12 17:35:41 2022
  Dependencies:
   adduser 3.118ubuntu2
   apt 2.0.6
   apt-utils 2.0.6
   busybox-initramfs 1:1.30.1-4ubuntu6.4
   ca-certificates 20210119~20.04.2
   coreutils 8.30-3ubuntu2
   cpio 2.13+dfsg-2ubuntu0.3
   debconf 1.5.73
   debconf-i18n 1.5.73
   dmsetup 2:1.02.167-1ubuntu1
   dpkg 1.19.7ubuntu3
   gcc-10-base 10.3.0-1ubuntu1~20.04
   gettext-base 0.19.8.1-10build1
   gpgv 2.2.19-3ubuntu2.1
   grub-common 2.04-1ubuntu26.15
   grub-gfxpayload-lists 0.7
   grub-pc 2.04-1ubuntu26.15
   grub-pc-bin 2.04-1ubuntu26.15
   grub2-common 2.04-1ubuntu26.15
   initramfs-tools 0.136ubuntu6.7
   initramfs-tools-bin 0.136ubuntu6.7
   initramfs-tools-core 0.136ubuntu6.7
   klibc-utils 2.0.7-1ubuntu5.1
   kmod 27-1ubuntu2
   libacl1 2.2.53-6
   libapt-pkg6.0 2.0.6
   libattr1 1:2.4.48-5
   libaudit-common 1:2.8.5-2ubuntu6
   libaudit1 1:2.8.5-2ubuntu6
   libblkid1 2.34-0.1ubuntu9.3
   libbz2-1.0 1.0.8-2
   libc6 2.31-0ubuntu9.7
   libcap-ng0 0.7.9-2.1build1
   libcrypt1 1:4.4.10-10ubuntu4
   libdb5.3 5.3.28+dfsg1-0.6ubuntu2
   libdevmapper1.02.1 2:1.02.167-1ubuntu1
   libefiboot1 37-2ubuntu2.2
   libefivar1 37-2ubuntu2.2
   libffi7 3.3-4
   libfreetype6 2.10.1-2ubuntu0.1
   libfuse2 2.9.9-3
   libgcc-s1 10.3.0-1ubuntu1~20.04
   libgcrypt20 1.8.5-5ubuntu1.1
   libgmp10 2:6.2.0+dfsg-4
   libgnutls30 3.6.13-2ubuntu1.6
   libgpg-error0 1.37-1
   libhogweed5 3.5.1+really3.5.1-2ubuntu0.2
   libidn2-0 2.2.0-2
   libklibc 2.0.7-1ubuntu5.1
   libkmod2 27-1ubuntu2
   liblocale-gettext-perl 1.07-4
   liblz4-1 1.9.2-2ubuntu0.20.04.1
   liblzma5 5.2.4-1ubuntu1.1
   libmount1 2.34-0.1ubuntu9.3
   libnettle7 3.5.1+really3.5.1-2ubuntu0.2
   libp11-kit0 0.23.20-1ubuntu0.1
   libpam-modules 1.3.1-5ubuntu4.3
   libpam-modules-bin 1.3.1-5ubuntu4.3
   libpam-runtime 1.3.1-5ubuntu4.3
   libpam0g 1.3.1-5ubuntu4.3
   libpcre2-8-0 10.34-7
   libpng16-16 1.6.37-2
   libseccomp2 2.5.1-1ubuntu1~20.04.2
   libselinux1 3.0-1build2
   libsemanage-common 3.0-1build2
   libsemanage1 3.0-1build2
   libsepol1 3.0-1ubuntu0.1
   libsmartcols1 2.34-0.1ubuntu9.3
   libssl1.1 1.1.1f-1ubuntu2.13
   libstdc++6 10.3.0-1ubuntu1~20.04
   libsystemd0 245.4-4ubuntu3.17
   libtasn1-6 4.16.0-2
   libtext-charwidth-perl 0.04-10
   libtext-iconv-perl 1.7-7
   libtext-wrapi18n-perl 0.06-9
   libtinfo6 6.2-0ubuntu2
   libudev1 245.4-4ubuntu3.17
   libunistring2 0.9.10-2
   libuuid1 2.34-0.1ubuntu9.3
   libzstd1 1.4.4+dfsg-3ubuntu0.1
   linux-base 4.5ubuntu3.7
   linux-image-5.11.0-43-generic 5.11.0-43.47~20.04.2
   linux-modules-5.11.0-43-generic 5.11.0-43.47~20.04.2
   login 1:4.8.1-1ubuntu5.20.04.1
   logsave 1.45.5-2ubuntu1
   lsb-base 11.1.0ubuntu2
   lz4 1.9.2-2ubuntu0.20.04.1
   openssl 1.1.1f-1ubuntu2.13
   os-prober 1.74ubuntu2
   passwd 1:4.8.1-1ubuntu5.20.04.1
   perl-base 5.30.0-9ubuntu0.2
   sensible-utils 

[Kernel-packages] [Bug 1973216] Re: No force-feedback for Saitek Cyborg Evo Force

2022-05-12 Thread raspiberri
apport information

** Tags added: apport-collected focal

** Description changed:

  
  What I expected to happen:
  I plug in Saitek Cyborg Evo Force joystick, run ffmvforce or ffcfstress and 
can adjust the force-feedback.
  
  What happenend instead:
  No force-feedback at all.
  ffcfstress raises error "ERROR: device (or driver) has no constant force 
feedback support [ffcfstress.c:194]" although the joystick has constant force 
feedback support.
  
  --
  
  Hi,
  
  The joystick is recognized by the OS and can read axis and button
  information. However, no force-feedback can be apply e.g. via
  `ffmvforce` (will not complain but does nothing) or `ffcfstress`
  (complains, that hardware or driver do not support force-feedback).
  
  $ ffcfstress -d /dev/input/event8
  ERROR: device (or driver) has no constant force feedback support 
[ffcfstress.c:194]
  
  I tried to patch the iforce kernel module myself based on 
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/792937 and 
https://launchpadlibrarian.net/73006485/Linux-Force-Feedback-for-Saitek-Cyborg-Evo-Force%20%281%29.patch
 . My kernel module is working and loaded, however, the patch didn't enable 
force-feedback (probably I was missing something in the patch, since the linked 
patch is outdated).
  Since, I have absolutely no clue what else I could do, to get force-feedback 
working, I post this here since in an ideal world this should work plug
  
  What can I do to enable force-feedback for my joystick using ubuntu?
  
  Thanks a lot!
  
  
  ---
  
  $ cat /proc/version_signature
  Ubuntu 5.11.0-43.47~20.04.2-generic 5.11.22
  $ lsb_release -rd
  Description:  Ubuntu 20.04.4 LTS
  Release:  20.04
  
  --
  ubuntu-bug linux:
  
  ProblemType: Bug
  ApportVersion: 2.20.11-0ubuntu27.23
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: ubuntu:GNOME
  Date: Thu May 12 17:35:41 2022
  Dependencies:
   adduser 3.118ubuntu2
   apt 2.0.6
   apt-utils 2.0.6
   busybox-initramfs 1:1.30.1-4ubuntu6.4
   ca-certificates 20210119~20.04.2
   coreutils 8.30-3ubuntu2
   cpio 2.13+dfsg-2ubuntu0.3
   debconf 1.5.73
   debconf-i18n 1.5.73
   dmsetup 2:1.02.167-1ubuntu1
   dpkg 1.19.7ubuntu3
   gcc-10-base 10.3.0-1ubuntu1~20.04
   gettext-base 0.19.8.1-10build1
   gpgv 2.2.19-3ubuntu2.1
   grub-common 2.04-1ubuntu26.15
   grub-gfxpayload-lists 0.7
   grub-pc 2.04-1ubuntu26.15
   grub-pc-bin 2.04-1ubuntu26.15
   grub2-common 2.04-1ubuntu26.15
   initramfs-tools 0.136ubuntu6.7
   initramfs-tools-bin 0.136ubuntu6.7
   initramfs-tools-core 0.136ubuntu6.7
   klibc-utils 2.0.7-1ubuntu5.1
   kmod 27-1ubuntu2
   libacl1 2.2.53-6
   libapt-pkg6.0 2.0.6
   libattr1 1:2.4.48-5
   libaudit-common 1:2.8.5-2ubuntu6
   libaudit1 1:2.8.5-2ubuntu6
   libblkid1 2.34-0.1ubuntu9.3
   libbz2-1.0 1.0.8-2
   libc6 2.31-0ubuntu9.7
   libcap-ng0 0.7.9-2.1build1
   libcrypt1 1:4.4.10-10ubuntu4
   libdb5.3 5.3.28+dfsg1-0.6ubuntu2
   libdevmapper1.02.1 2:1.02.167-1ubuntu1
   libefiboot1 37-2ubuntu2.2
   libefivar1 37-2ubuntu2.2
   libffi7 3.3-4
   libfreetype6 2.10.1-2ubuntu0.1
   libfuse2 2.9.9-3
   libgcc-s1 10.3.0-1ubuntu1~20.04
   libgcrypt20 1.8.5-5ubuntu1.1
   libgmp10 2:6.2.0+dfsg-4
   libgnutls30 3.6.13-2ubuntu1.6
   libgpg-error0 1.37-1
   libhogweed5 3.5.1+really3.5.1-2ubuntu0.2
   libidn2-0 2.2.0-2
   libklibc 2.0.7-1ubuntu5.1
   libkmod2 27-1ubuntu2
   liblocale-gettext-perl 1.07-4
   liblz4-1 1.9.2-2ubuntu0.20.04.1
   liblzma5 5.2.4-1ubuntu1.1
   libmount1 2.34-0.1ubuntu9.3
   libnettle7 3.5.1+really3.5.1-2ubuntu0.2
   libp11-kit0 0.23.20-1ubuntu0.1
   libpam-modules 1.3.1-5ubuntu4.3
   libpam-modules-bin 1.3.1-5ubuntu4.3
   libpam-runtime 1.3.1-5ubuntu4.3
   libpam0g 1.3.1-5ubuntu4.3
   libpcre2-8-0 10.34-7
   libpng16-16 1.6.37-2
   libseccomp2 2.5.1-1ubuntu1~20.04.2
   libselinux1 3.0-1build2
   libsemanage-common 3.0-1build2
   libsemanage1 3.0-1build2
   libsepol1 3.0-1ubuntu0.1
   libsmartcols1 2.34-0.1ubuntu9.3
   libssl1.1 1.1.1f-1ubuntu2.13
   libstdc++6 10.3.0-1ubuntu1~20.04
   libsystemd0 245.4-4ubuntu3.17
   libtasn1-6 4.16.0-2
   libtext-charwidth-perl 0.04-10
   libtext-iconv-perl 1.7-7
   libtext-wrapi18n-perl 0.06-9
   libtinfo6 6.2-0ubuntu2
   libudev1 245.4-4ubuntu3.17
   libunistring2 0.9.10-2
   libuuid1 2.34-0.1ubuntu9.3
   libzstd1 1.4.4+dfsg-3ubuntu0.1
   linux-base 4.5ubuntu3.7
   linux-image-5.11.0-43-generic 5.11.0-43.47~20.04.2
   linux-modules-5.11.0-43-generic 5.11.0-43.47~20.04.2
   login 1:4.8.1-1ubuntu5.20.04.1
   logsave 1.45.5-2ubuntu1
   lsb-base 11.1.0ubuntu2
   lz4 1.9.2-2ubuntu0.20.04.1
   openssl 1.1.1f-1ubuntu2.13
   os-prober 1.74ubuntu2
   passwd 1:4.8.1-1ubuntu5.20.04.1
   perl-base 5.30.0-9ubuntu0.2
   sensible-utils 0.0.12+nmu1
   tar 1.30+dfsg-7ubuntu0.20.04.2
   ubuntu-keyring 2020.02.11.4
   ucf 3.0038+nmu1
   udev 245.4-4ubuntu3.17
   util-linux 2.34-0.1ubuntu9.3
   uuid-runtime 2.34-0.1ubuntu9.3
   zlib1g 1:1.2.11.dfsg-2ubuntu1.3
  DistroRelease: Ubuntu 20.04
  InstallationDate: Installed on