Bug#1042941: xboxdrv: 1 minute delay before passing through events

cacatoes at tuxfamily.org cacatoes at tuxfamily.org
Wed Aug 2 17:35:42 BST 2023


Package: xboxdrv
Version: 0.8.8-3
Severity: normal
X-Debbugs-Cc: cacatoes at tuxfamily.org

Dear Maintainers,

I encounter a problem which has been described in a github issue[1], 
with a given patch[2] which hasn't been applied upstream since the 
project isn't very active.

[1]: https://github.com/xboxdrv/xboxdrv/issues/144
[2]: 
https://github.com/xboxdrv/xboxdrv/pull/214/files/7326421eeaadbc2aeb3828628c2e65bb7be323a9

With my device (Logitech rumblepad 2), I have to wait one minute after 
running xboxdrv before being able to use my gamepad.

I'm using this command to run it:

# xboxdrv --evdev 
/dev/input/by-id/usb-Logitech_Logitech_RumblePad_2_USB-event-joystick 
--evdev-absmap 
ABS_X=x1,ABS_Y=y1,ABS_HAT0X=dpad_x,ABS_HAT0Y=dpad_y,ABS_Z=y2,ABS_RZ=x2 
--evdev-keymap 
BTN_THUMB=a,BTN_THUMB2=b,BTN_TRIGGER=y,BTN_TOP=x,BTN_TOP2=lb,BTN_PINKIE=rb,BTN_BASE=lt,BTN_BASE2=rt,BTN_BASE3=Back,BTN_BASE4=Start 
--axismap -Y1=Y1,-Y2=Y2 --mimic-xpad

I confirm applying the small patch helps making my controller work right 
after running xboxdrv, and not having to wait.

I have no github account, but that could be nice to tell upstream this 
patch fixes it here.

Have a good day,

-- System Information:
Debian Release: 12.1
   APT prefers stable-updates
   APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-10-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE 
not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages xboxdrv depends on:
ii  libc6             2.36-9+deb12u1
ii  libdbus-1-3       1.14.8-2~deb12u1
ii  libdbus-glib-1-2  0.112-3
ii  libgcc-s1         12.2.0-14
ii  libglib2.0-0      2.74.6-2
ii  libstdc++6        12.2.0-14
ii  libudev1          252.12-1~deb12u1
ii  libusb-1.0-0      2:1.0.26-1
ii  libx11-6          2:1.8.4-2+deb12u1

Versions of packages xboxdrv recommends:
ii  python3       3.11.2-1+b1
ii  python3-dbus  1.3.2-4+b1

xboxdrv suggests no packages.

-- no debconf information
-------------- next part --------------

Bus 001 Device 004: ID 046d:c218 Logitech, Inc. F510 Gamepad [DirectInput Mode]
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x046d Logitech, Inc.
  idProduct          0xc218 F510 Gamepad [DirectInput Mode]
  bcdDevice            1.00
  iManufacturer           1 Logitech
  iProduct                2 Logitech RumblePad 2 USB
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0029
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.10
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength     119
         Report Descriptors: 
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval              10
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval              10


More information about the Pkg-games-devel mailing list