this post was submitted on 21 Oct 2024
1 points (100.0% liked)

PCGaming

1 readers
11 users here now

Gaming, on PC

Rules

Rules:

Treat everyone with respect. All people are created equal and should be treated as such. It is natural that people have different opinions, however, please stick to basic discussion etiquette; disagreement is fine, insulting or harassing others is not.

All submissions should be primarily relevant to the Mag. Posts that primarily reference other topics will be moderated on a case-by-case basis. Comments are not subject to this rule.

Prohibited Content: Exposed or Accentuated Genitalia (including if covered by clothing), Excessively Exposed Breasts, Express or Strongly Implied Sexual Activity, Posing or Context (Including text), Cropped/Censored versions of any of the above content or any other pornographic material.

Do not include spoilers in the title. Submissions that involve spoilers (storylines etc.) should be marked as such. This includes comments, please use proper precautions when mentioning spoiler material.

Low quality/effort posts are subject to removal. The quality of a post is primarily judged by how much it contributes to a constructive discussion. Posts with repetitive content or certain generic topics may be removed to help maintain mag quality; Others determined on a case-by-case basis.

Self-promotion is not prohibited but may subject to removal.

founded 1 year ago
MODERATORS
 

Anyone with a #DualSense could update #Bluez to 5.77 or 5.78 and confirm if it also breaks connection to DualSense for you?

#Linux #Gaming #LinuxGaming

#PCGaming

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 0 points 3 weeks ago (1 children)
[–] [email protected] 0 points 3 weeks ago (1 children)

@[email protected] still works on kernel 6.11.4-gentoo-dist w/ bluez 5.78

[85482.786691] playstation 0005:054C:0CE6.000A: hidraw9: BLUETOOTH HID v1.00 Gamepad [DualSense Wireless Controller]
[85482.843132] input: DualSense Wireless Controller as /devices/virtual/misc/uhid/0005:054C:0CE6.000A/input/input31
[85482.843203] input: DualSense Wireless Controller Motion Sensors as /devices/virtual/misc/uhid/0005:054C:0CE6.000A/input/input32
[85482.843258] input: DualSense Wireless Controller Touchpad as /devices/virtual/misc/uhid/0005:054C:0CE6.000A/input/input33
[85482.843401] playstation 0005:054C:0CE6.000A: Registered DualSense controller hw_version=0x00000313 fw_version=0x010f0000

hid report also is still valid when processing through my own lib

hid { product_id = 0x0ce6, vendor_id = 0x054c, mac = ___, paired_mac = __, is_bluetooth = Y, is_edge = N, is_access = N }
bt { has_hid = Y, unknown = N, unknown2 = N, unknown3 = N, seq = 10 }
firmware { type = 0x0003, series = 0x0004, hardware { generation = 3, variation = 0, revision = 19, reserved = 0 }, update = 0520 (1312.0.0), firmware = 0.0.271, firmware2 = 42.0.1, firmware3 = 10.0.2, device = 65.9.0, device2 = 0.0.0, device3 = 0.0.0, mcu_firmware = 6.0.0 }

might be controller firmware dependent or bt firmware.

[–] [email protected] 1 points 3 weeks ago (1 children)

@[email protected] On kernel 6.10.11, where bluez (5.78) works fine:

[ 1274.165188] playstation 0005:054C:0CE6.000D: unknown main item tag 0x0<br></br>[ 1274.165266] playstation 0005:054C:0CE6.000D: hidraw11: BLUETOOTH HID v1.00 Gamepad [DualSense Wireless Controller] on 00:91:9e:55:4e:ce<br></br>[ 1274.189954] input: DualSense Wireless Controller as /devices/virtual/misc/uhid/0005:054C:0CE6.000D/input/input30<br></br>[ 1274.190095] input: DualSense Wireless Controller Motion Sensors as /devices/virtual/misc/uhid/0005:054C:0CE6.000D/input/input31<br></br>[ 1274.190454] input: DualSense Wireless Controller Touchpad as /devices/virtual/misc/uhid/0005:054C:0CE6.000D/input/input32<br></br>[ 1274.190643] playstation 0005:054C:0CE6.000D: Registered DualSense controller hw_version=0x00000514 fw_version=0x010c000a<br></br>

How do you get the hid report?

Maybe I should try booting my PS5 and see if there are any controller firmware updates? (I haven't updated it in a while, that's for sure)

[–] [email protected] 0 points 3 weeks ago (1 children)

@[email protected] the hid report thing is a utility I made while I was reverse engineering the controller. https://git.sr.ht/~chronovore/titania idk how much use it'll be for diagnosing as it's mainly intended for library usage.

titaniactl without any args will pick up on any DS controller and print it's HID output.

[–] [email protected] 0 points 3 weeks ago

@ada I'm gonna need some help if I wanna compile this tomorrow, I'm stuck at not figuring out this "json" depedency, cant find the correct one on nixpkgs

{ lib, stdenv, fetchFromSourcehut, meson, ninja, pkg-config, hidapi, pandoc, cmake, json_c, jsoncpp, nlohmann_json, yyjson }:stdenv.mkDerivation rec {  pname = "titania";  version = "2.2.3";  src = fetchFromSourcehut {    owner = "~chronovore";    repo = "titania";    rev = "v${version}";    hash = "sha256-X8fvVPeyulD1OyOV/oFfH4OkQ0niyYFRf26YfeUABtc=";  };  nativeBuildInputs = [ meson cmake ninja pkg-config ];  buildInputs = [ hidapi pandoc json_c jsoncpp nlohmann_json yyjson ];}

Gives this:

       > Run-time dependency json found: NO (tried pkgconfig and cmake)       > Looking for a fallback subproject for the dependency json       >       > meson.build:117:8: ERROR: Automatic wrap-based subproject downloading is disabled