Package Details: ds4drv 0.5.1-5

Git Clone URL: https://aur.archlinux.org/ds4drv.git (read-only, click to copy)
Package Base: ds4drv
Description: Sony DualShock 4 Userspace Driver
Upstream URL: https://github.com/chrippa/ds4drv
Licenses: MIT
Conflicts: ds4drv-git
Submitter: Ape
Maintainer: daizhirui
Last Packager: daizhirui
Votes: 13
Popularity: 1.00
First Submitted: 2015-08-31 15:49 (UTC)
Last Updated: 2024-11-05 18:21 (UTC)

Latest Comments

1 2 Next › Last »

daizhirui commented on 2024-11-05 18:23 (UTC)

@Deaver @mumblyomod Thanks for proposing a fix and verifying it.

mumblyomod commented on 2024-11-01 02:09 (UTC)

@Deaver thanks! Your fix worked for me too!

Deaver commented on 2024-10-07 02:10 (UTC)

@fell I was able to fix that error by changing the instances of SafeConfigParser to just ConfigParser in /usr/lib/python3.12/site-packages/ds4drv/config.py at lines 72 and 99

daizhirui commented on 2024-08-16 20:23 (UTC)

@Fell, could you try again? I cannot reproduce the error you got.

Fell commented on 2024-07-21 21:04 (UTC)

This package seems to be broken as of Python 3.12:

Traceback (most recent call last):
  File "/usr/bin/ds4drv", line 33, in <module>
    sys.exit(load_entry_point('ds4drv==0.5.1', 'console_scripts', 'ds4drv')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/bin/ds4drv", line 25, in importlib_load_entry_point
    return next(matches).load()
           ^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 205, in load
    module = import_module(match.group('module'))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 995, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/usr/lib/python3.12/site-packages/ds4drv/__main__.py", line 5, in <module>
    from .actions import ActionRegistry
  File "/usr/lib/python3.12/site-packages/ds4drv/actions/__init__.py", line 1, in <module>
    from ..action import ActionRegistry
  File "/usr/lib/python3.12/site-packages/ds4drv/action.py", line 1, in <module>
    from .config import add_controller_option
  File "/usr/lib/python3.12/site-packages/ds4drv/config.py", line 72, in <module>
    class Config(configparser.SafeConfigParser):
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?

vagner995 commented on 2022-06-03 14:29 (UTC)

FYI: Had to comment lines (# before line) 118 and 119 in etc/ds4drv.conf for the program to work. These lines are mapping the same input twice with the ones above it and the config parser errors out.

gkun commented on 2019-06-22 10:08 (UTC)

I don't understand why a fix replacing a package in extra with an aur package which has an unsolved compile problem (see latest comment in https://aur.archlinux.org/packages/bluez-utils-compat/) can actually be considered a fix...

evgfilim1 commented on 2019-06-08 14:27 (UTC) (edited on 2019-06-08 14:28 (UTC) by evgfilim1)

There is an issue with this tool as it uses 'hcitool', which is deprecated upstream (https://wiki.archlinux.org/index.php/Bluetooth#Installation, see Note).

Fix: Replace bluez-utils with bluez-utils-compat in depends= section

codemonkey commented on 2018-03-06 19:24 (UTC)

In the source for 0.5.1 backends/hidraw.py has three entries for HID_DEVICES https://github.com/chrippa/ds4drv/blob/master/ds4drv/backends/hidraw.py#L106 However this package, there are only two.

The PKGBUILD is getting 0.5.1 which is the latest version, so why is there a discrepancy?