mbuesch / razer

Razer device library and tools
http://bues.ch/h/razercfg
GNU General Public License v2.0
253 stars 50 forks source link

DA Chroma logo LED color changing isn't working #67

Closed medicalwei closed 8 years ago

medicalwei commented 8 years ago

Hi,

I try to fiddle with the LEDs of the mouse. While the scroll wheel LED does change, the LED on the logo doesn't, along with an error message only when I try to set the color:

➜  razer git:(master) ✗ razercfg -c GlowingLogo:666666
Failed to set LED color (Errorcode 6: Failure)

What diagnose steps do I need to take? I can try to use another computer with Windows/Mac though.

z3ntu commented 8 years ago

I actually have the Deathadder Chroma and it worked for me some time ago...

mbuesch commented 8 years ago

I'm not aware of any issues here.

@medicalwei and @z3ntu What firmware versions do you have?

z3ntu commented 8 years ago

Just tested it with qrazercfg and everything works as expected. I have the Deathadder Chroma model no. RZ01-0121. Also using razercfg -c GlowingLogo:666666 in the terminal works. Firmware version 3.01

medicalwei commented 8 years ago

Same model no. (RZ01-0121) and firmware version (3.01) here.

medicalwei commented 8 years ago

Sorry but I am considering this problem of my mouse now. The error message does not come out, but the glowing logo does not glow. Trying on the Mac driver.

medicalwei commented 8 years ago

Seems that I turned the LED off using the official driver, and I cannot turn it on using razercfg. LED color changing works after turning the LED back on using synapse.

mbuesch commented 8 years ago

Ok, the only way to debug this is to look at the USB traffic and see what we are doing differently from the original driver. Wireshark can be used for this. I don't have the hardware, so I can't do that myself.

medicalwei commented 8 years ago

Sorry for the late update (as I need my Windows VM working for USBPcap). The captured traffics of the original driver is uploaded below: DAChroma-USBPcaps.zip

Please don't hesitate to ask me if you have further need of testing/capturing/etc.

medicalwei commented 8 years ago

And here's the USB traffic capture from razercfg. razercfg-dachroma.zip

kzemek commented 8 years ago

A bit of insight: when I wrote the Chroma driver, Synapse LED toggle (or indeed any other setting if I remember correctly) had no permanent effect on the mouse. It might be a capability added in a later firmware upgrade, with old opcodes preserved for compatibility but the permanent "off" state taking precedence over temporary states that razercfg sets.

john-2000 commented 8 years ago

Hi I have a DeathAdder Chroma USB lsusb: ID 1532:0043 Razer USA, Ltd Firmware version 5.02 and I am experiencing the same thing -- ie I can set LED from the qrazercfg tool but not from CLI razercfg. Is there anything I can do to help to get this fixed?

kzemek commented 8 years ago

@john-2000 This seems like a different issue, unless @medicalwei can change the LED color from qrazercfg?

john-2000 commented 8 years ago

Ok, this is odd it now works from the command line - I added a razer.conf file by hand and now: razercfg -c GlowingLogo:ffff77 razercfg -m ScrollWheel:spectrum razercfg -c ScrollWheel:ff0000

all work just fine -- thanks for the great tool !! (and thanks for the fast response)

mbuesch commented 8 years ago

I'm closing this, because there doesn't seem to be a way to find the cause of the original issue. If the problem re-appears, please re-open this issue. Thanks!