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

Add support for Razer BlackWidow V3 Pro (Wireless) #2231

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lissyx
Copy link

@lissyx lissyx commented Apr 4, 2024

@z3ntu Rebased against current master and looks to be working for me (aside from ripple?)

Fixes #1279

'set_custom_effect', 'set_key_row', 'get_game_mode', 'set_game_mode', 'get_macro_mode', 'set_macro_mode',
'get_macro_effect', 'set_macro_effect', 'get_macros', 'delete_macro', 'add_macro',
'set_starlight_random_effect', 'set_starlight_single_effect', 'set_starlight_dual_effect',
'set_ripple_effect', 'set_ripple_effect_random_colour',
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So as commented in the previous PR, I've added it and:

  • ripple does not work on wireless OR when I plug the keyboard
  • same for reactive effect, I see nothing happening in both cases

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So you're saying both ripple and reactive effects also don't work in Wired mode? If it doesn't maybe we should remove it from both Wireless and Wired?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That was at least my experience when I tested the latest PPA version available (3.7.0 I think), on my laptop (ubuntu 23.10). All other effects were doing something, except those two. I am unsure whether it is supposed to be working or not, though.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(also reproduced when using current driver and daemon from git master, with polychromatic-controller, the effect was selectable but nothing would happen and no error reported anywhere as much as I can tell)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd say you should add a commit to remove those effects from the Wired version, and not add them in the Wireless version in the first place.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok but which timeout? I dont see anything obvious in razer_attr_write_matrix_effect_custom

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Those?

+    case USB_DEVICE_ID_RAZER_BLACKWIDOW_V3_PRO_WIRELESS:
+        *report_index = 0x02;
+        *response_index = 0x02;
+        *wait_min = RAZER_BLACKWIDOW_V3_WIRELESS_WAIT_MIN_US;
+        *wait_max = RAZER_BLACKWIDOW_V3_WIRELESS_WAIT_MAX_US;
+        break;

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, wait_min / wait_max there. Update both values to be e.g. 10 times as high as they are right now

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the delay, I'll try things

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately, it does not help. I tried hacking a few things, but I dont really have much time to investigate more. Happy to test any suggestion though.

FTR, when I toggle "Ripple" in Polychromatic UI, not only it does not work on the keyboard, but the next effect I select is also not working ; I have to select again a different one before all effects (except Ripple) works.

@z3ntu
Copy link
Member

z3ntu commented Apr 6, 2024

If you rebase on git master then the CI shouldn't be broken anymore.

@lissyx lissyx force-pushed the add_blackwidow_v3_pro_wireless branch 2 times, most recently from fd21635 to 7d12e88 Compare April 6, 2024 10:20
driver/razerkbd_driver.c Outdated Show resolved Hide resolved
@lissyx lissyx force-pushed the add_blackwidow_v3_pro_wireless branch from 7d12e88 to a445cd6 Compare April 8, 2024 03:50
@lissyx lissyx force-pushed the add_blackwidow_v3_pro_wireless branch from a445cd6 to e912287 Compare April 18, 2024 13:36
Co-authored-by: YoMamasNerd <jonas@thiele-eisele.de>
@lissyx lissyx force-pushed the add_blackwidow_v3_pro_wireless branch from e912287 to 704fbed Compare May 13, 2024 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

Support for BlackWidow V3 Pro [1532:025c]
3 participants