Coder Social home page Coder Social logo

Comments (5)

LoLei avatar LoLei commented on June 8, 2024

Hi, thanks for reporting. I didn't even know a Razer RGB mousepad was a thing, that's cool.

Can you show me the output of commands along the lines of:

$ razer-cli -ll
# and
$ razer-cli --verbose -e reactive # or whatever command you're running to achieve the desired effect, but with --verbose

Anyway, it also seems like openrazer (the driver backend) itself might not support the device yet:
openrazer/openrazer#946

Would be good if the output of razer-cli reflected that though...

from razer-cli.

 avatar commented on June 8, 2024
$ razer-cli -ll
Found 3 Razer device(s)
[...]
Razer Firefly:
   type: mousemat
   generic zone:
      effects available:
         breath_dual
         breath_random
         breath_single
         none
         reactive
         spectrum
         static
         wave
         multicolor
   serial: [...]
   firmware version: v1.0
   driver version: 2.9.0
   supported capabilities:
      name
      type
      firmware_version
      serial
      brightness
      lighting
      lighting_breath_single
      lighting_breath_dual
      lighting_breath_random
      lighting_wave
      lighting_reactive
      lighting_none
      lighting_spectrum
      lighting_static
      lighting_led_matrix

and

$ razer-cli --sync -a -e reactive -v # or razer-cli -a -e reactive -v etc.
Using [76, 18, 183] for X Color
[...]
Setting effects for Razer Firefly:
   generic:
      Setting reactive to: 76 18 183 @ timing level 2
   logo:
      logo is not supported
   scroll_wheel:
      scroll_wheel is not supported
   left:
      left is not supported
   right:
      right is not supported
   backlight:
      backlight is not supported

The effect output is the same as with my Razer keyboard, only the timing level differs (4 vs 2).
The mousepad stays black no matter what I do.
The issue you referenced is about the Razer Firefly V2 mousemat, however I own the first version (Razer Firefly Chroma).

from razer-cli.

LoLei avatar LoLei commented on June 8, 2024

Thanks!

Hmm… It looks like the effect is applied:

Setting reactive to: 76 18 183 @ timing level 2

Do any of the more basic effects work or even just static color? E.g. razer-cli -v -c ff0000. I assume no.

Could you also try an older version of razer-cli? There's been some major changes recently which may have broken something. Try version 1.3.2.

It's hard for me to look into this as I do not have the hardware. You could however debug the code yourself.
You can uninstall razer-cli, clone the repo and execute pip install -e . --user in it. Then you can edit the code and the script will have your changes automatically. You could add a few debug print statements or even use a debugger (e.g. Pycharm) to find out what's different to your other devices. (Presumably they work?) You may have to start it via a test case then, to attach the debugger to the process, as opposed to running the script via the command line.

from razer-cli.

 avatar commented on June 8, 2024

@LoLei

Do any of the more basic effects work or even just static color? E.g. razer-cli -v -c ff0000. I assume no.

All the other effects work, only reactive doesn't. I'm just using a different effect now, sorry but I don't have the time to diagnose the issue.
Thank you for looking into it!

from razer-cli.

LoLei avatar LoLei commented on June 8, 2024

If it's only reactive that doesn't work that's strange indeed. If you ever have time in the future to look into this I'd appreciate it!

from razer-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.