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

Rework device and host MAC address discovery and pairing #321

Open
nefarius opened this issue Sep 25, 2023 · 4 comments
Open

Rework device and host MAC address discovery and pairing #321

nefarius opened this issue Sep 25, 2023 · 4 comments
Assignees
Labels
Core Core/Common Driver Topic enhancement New feature or request
Milestone

Comments

@nefarius
Copy link
Owner

nefarius commented Sep 25, 2023

Currently the host (if any) and device MAC addresses are requested on device boot and fails it entirely, if they do not succeed.

This should be converted from a hard error to a "warning" with fallback actions. This would improve the following situations:

Fallback actions might be like just generating a random MAC or using a fake static default-MAC and report 00:00:00:00:00:00 for the host address.

@nefarius nefarius added the enhancement New feature or request label Sep 25, 2023
@nefarius nefarius added this to the Version 3 milestone Sep 25, 2023
@nefarius nefarius self-assigned this Sep 25, 2023
@nefarius nefarius added the Core Core/Common Driver Topic label Sep 25, 2023
@nefarius
Copy link
Owner Author

One more discovery thanks to ps3 packet captures.

It looks like the console sends the initial output report with the led state over the control endpoint. Subsequent output reports, like rumble, are sent via interrupt out. We should make the driver do exactly that as well, plus cross check with the captures, how much time passes between each request between ps3 and DS3.

@nefarius
Copy link
Owner Author

The Ep0 report is also slightly shorter and doesn't use a report id.

@3asba-3asba

This comment was marked as off-topic.

@3asba-3asba

This comment was marked as off-topic.

Repository owner locked as spam and limited conversation to collaborators Jul 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Core Core/Common Driver Topic enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants