Giter Club home page Giter Club logo

Comments (5)

rnd-ash avatar rnd-ash commented on July 28, 2024 2

right so basically you'll need to install USBPCAP in windows, unplug everything USB related from your device, turn OFF RGB effects in synapse, then begin doing a series of captures.

for each capture, go to synapse and change a setting (say enable or disable boost mode) about 5 times. then stop capturing and label th packet capture file as to what you did

do this many times for each new feature (for example the CPU boost seems to be a slider), so have one capture with moving it from the lowest setting to the next setting and back again and again

then throw all those into a zip and upload them here so I can take a look as well

from razer-laptop-control.

phush0 avatar phush0 commented on July 28, 2024

If I know how to capture packets I can implement in other tree and make pull request

from razer-laptop-control.

phush0 avatar phush0 commented on July 28, 2024

One interesting fact I have found is that if I use virtual machine to record packets and than turn it off, light effect programmed in Razer Synapse will stick, and keyboard will continue to animate by itself even after reboot, but power option is back to default - balanced. If I force remove USB device from virtual machine - effect will not play and will stick to color it is currently set, but power option will remain until I reboot.

from razer-laptop-control.

phush0 avatar phush0 commented on July 28, 2024

here capture of the two custom sliders in Synapse
CPU - low->medium->high->boost
GPU - low->medium->high
synapse3-custom-sliders.zip

from razer-laptop-control.

phush0 avatar phush0 commented on July 28, 2024

Actually this is incomplete, custom mode is 0x04.

            buffer[5] = 0x03;
            buffer[6] = 0x0d;
            buffer[7] = 0x87;
            buffer[8] = 0x00;
            buffer[9] = 0x02;
            buffer[10] = 0x00;
            buffer[11] = 0x00;
            send_payload(laptop->usb_dev, buffer, 3400, 3800);

            buffer[5] = 0x03;
            buffer[6] = 0x0d;
            buffer[7] = 0x07;
            buffer[8] = 0x00;
            buffer[9] = 0x02;
            buffer[10] = 0x02;
            buffer[11] = 0x00;
            send_payload(laptop->usb_dev, buffer, 3400, 3800);

I don't know why you have to call it with byte 7 set once on 0x87 and one time 0x07 - maybe 0x80 is clear/set bit ? This is for GPU boost. So basically I have made it work. Now it have to be added custom mode - 4 and set cpu boost/gpu boost. Both in driver and in daemon/cli.

from razer-laptop-control.

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.