Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Mar 2025 02:29:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 285083] emulators/wine-proton: request for port config option --with-udev for DualShock4 support
Message-ID:  <bug-285083-7788-To0F2ihJ01@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-285083-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-285083-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D285083

--- Comment #9 from Kevin Reinholz <kreinholz@gmail.com> ---
(In reply to Stefan Schlosser from comment #8)

Well I'll be! I never thought to check the source code of the ps4dshock dri=
ver
to see whether it only recognized V2 DualShock4 controllers! I just assumed=
 it
supported any DualShock4.

After replacing the 4 occurrences of '0x9cc' with '0x5c4' and rebuilding, t=
he
ps4dshock driver now picks up my V1 DualShock4 controller:

ugen0.7: <Sony Computer Entertainment Wireless Controller> at usbus0
usbhid4 numa-domain 0 on uhub4
usbhid4: <Sony Computer Entertainment Wireless Controller, class 0/0, rev
2.00/1.00, addr 6> on usbus0
hidbus4: <HID bus> numa-domain 0 on usbhid4
ps4dshock0: <Sony Computer Entertainment Wireless Controller> numa-domain 0=
 on
hidbus4
ps4dsacc0: <Sony Computer Entertainment Wireless Controller Sensors>
numa-domain 0 on hidbus4
ps4dshead0: <Sony Computer Entertainment Wireless Controller Headset>
numa-domain 0 on hidbus4
ps4dsmtp0: <Sony Computer Entertainment Wireless Controller Touchpad>
numa-domain 0 on hidbus4

The driver seems to work fine, and both touchpad and rumble now work for
me--those features were not supported by the generic hgame driver. I can't
think of a game to test gyro with, but based on the driver sources I suspect
that now works as well. I don't think the headset connection works, because=
 I
don't see a uaudio device attaching when I connect my controller. (I know I
have usb audio properly configured because I do get a uaudio device for my
webcam and video capture dongles. I think it's a limitation with the V1
DualShock4).

Thanks for helping me up my DualShock game! I'll file a bug against the
ps4dshock driver requesting support for all 3 versions of the DualShock4
controller: 0x05c4, 0x0ba0, and 0x09cc.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-285083-7788-To0F2ihJ01>