Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

“sixaxis-timeout” does not manage to correctly set the disconnection timeout for DS3 #13

Open
Drag0nFly opened this issue Oct 13, 2021 · 0 comments

Comments

@Drag0nFly
Copy link

Unsure if “sixaxis” is still needed in order to configure a DualShock 3 anymore (or if the repo is maintained), but since I've apparently sunk into a rabbit hole for two days trying to configure the – ridiculously low default timeout (10 mins) – I've installed & configured sixaxis as a systemd service which at least apparently tries to set this via “sixaxis-timeout /dev/input/event4 2700”.

However, nothing is actually changed – the controller still disconnects after 10 minutes on the dot.

OS info:

Distributor ID:	Raspbian
Description:	Raspbian GNU/Linux 10 (buster)
Release:	10
Codename:	buster

Log excerpt:

Oct 14 01:02:40 playbox4 kernel: input: Sony PLAYSTATION(R)3 Controller Motion Sensors as /devices/platform/soc/fe201000.serial/tty/ttyAMA0/hci0/hci0:12/0005:054C:0268.0024/input/input72
Oct 14 01:02:40 playbox4 kernel: input: Sony PLAYSTATION(R)3 Controller as /devices/platform/soc/fe201000.serial/tty/ttyAMA0/hci0/hci0:12/0005:054C:0268.0024/input/input71
Oct 14 01:02:40 playbox4 kernel: sony 0005:054C:0268.0024: input,hidraw4: BLUETOOTH HID v80.00 Joystick [Sony PLAYSTATION(R)3 Controller] on dc:a6:32:b1:44:d3
Oct 14 01:02:40 playbox4 systemd-udevd[4588]: Process '/usr/bin/jscal-restore /dev/input/js1' failed with exit code 1.
Oct 14 01:02:40 playbox4 systemd[1]: Started sixaxis helper (sys/devices/platform/soc/fe201000.serial/tty/ttyAMA0/hci0/hci0:12/0005:054C:0268.0024/input/input71).
Oct 14 01:02:40 playbox4 systemd[1]: sixaxis@sys-devices-platform-soc-fe201000.serial-tty-ttyAMA0-hci0-hci0:12-0005:054C:0268.0024-input-input71.service: Succeeded.
Oct 14 01:02:40 playbox4 systemd-udevd[4588]: Process '/usr/sbin/th-cmd --socket /var/run/thd.socket --passfd --udev' failed with exit code 1.
Oct 14 01:02:40 playbox4 systemd[1]: Invalid unit name "sixaxis@/dev/input/js1.service" was escaped as "[email protected]" (maybe you should use systemd-escape?)
Oct 14 01:02:40 playbox4 systemd[1]: Started sixaxis helper (/dev/input/js1).
Oct 14 01:02:40 playbox4 systemd[1]: [email protected]: Succeeded.
Oct 14 01:02:40 playbox4 systemd-udevd[4584]: Process '/usr/sbin/th-cmd --socket /var/run/thd.socket --passfd --udev' failed with exit code 1.
Oct 14 01:02:40 playbox4 systemd-udevd[4586]: Process '/usr/sbin/th-cmd --socket /var/run/thd.socket --passfd --udev' failed with exit code 1.
Oct 14 01:02:40 playbox4 systemd[1]: Invalid unit name "sixaxis@/dev/input/event4.service" was escaped as "[email protected]" (maybe you should use systemd-escape?)
Oct 14 01:02:40 playbox4 upowerd[31232]: treating change event as add on /sys/devices/platform/soc/fe201000.serial/tty/ttyAMA0/hci0/hci0:12/0005:054C:0268.0024/power_supply/sony_controller_battery_93:1a:c3:c3:7b:d5
Oct 14 01:02:40 playbox4 systemd[1]: Started sixaxis helper (/dev/input/event4).
Oct 14 01:02:40 playbox4 sixaxis-helper.sh[4608]: Calibrating: Sony PLAYSTATION(R)3 Controller (93:1A:C3:C3:7B:D5)
Oct 14 01:02:41 playbox4 sixaxis-helper.sh[4608]: Setting 2700 second timeout on: Sony PLAYSTATION(R)3 Controller (93:1A:C3:C3:7B:D5)

Any ideas welcome. (btw. the reference to “js1” above was not as a result of me, it is some standard S**emd crp.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant