Skip to content

Instantly share code, notes, and snippets.

View jonasmalacofilho's full-sized avatar

Jonas Malaco jonasmalacofilho

View GitHub Profile
@jonasmalacofilho
jonasmalacofilho / README.txt
Created July 15, 2019 14:37
21 months of speedtest data for Vivo Fibra in São Paulo
Logged with [speedtest-archive](https://github.com/jonasmalacofilho/speedtest-archive).
TEST: Build with clang and -Wformat.
From: Benjamin Tissoires
Subject: Re: [PATCH v2] HID: quirks: use correct format chars in dbg_hid
INVESTIGATE: Possible issue with userspace calling hid_debug_rdesc_show when the device is suspended
From: He, Bo
Subject: must hold the driver_input_lock in hid_debug_rdesc_show
FOLLOW: goto err_mem_free and other error/bail out conventions
From: Hans de Goede
project: robrt
library: yaml
position: /home/jonas/Code/robrt/.haxelib/yaml/git/src/yaml/util/Dates.hx:57: characters 19-26
message: Warning : __new__ is deprecated, use js.Syntax.construct instead
project: stout
library: tink_template
symptom: fails to compile a second time with the compilation server
project: sout
@jonasmalacofilho
jonasmalacofilho / liquidcfg-kraken.bat
Last active January 22, 2019 18:43
Example: configure a liquidctl device on Windows
rem Configure a Kraken X62
rem
rem This batch script can be started manually or used in a Windows scheduled
rem task, for automatic configuration of the cooler during boot.
rem
rem Besides propagating error codes, uses the LEDs to convey progression and
rem eventual failures to the user in a visual way.
rem
rem Note that settings listed here are for reference only (if that), and assume
rem a very particular scenario:
@jonasmalacofilho
jonasmalacofilho / README.txt
Last active January 7, 2019 22:28
Building Haxe from the sources (Linux)
# clean everything
> make clean
> git clean -fdx
# update the code base
> git pull
> git submodule update
# update and upgrade the opam database
> opam update

Adding support for second generation Krakens to liquidctl

NZXT Kraken X31, X41 and X61

Feature request: issue #3
Development: pull request #7

Work in progress:

  • initialization
# Spark L v1.2.1 (AVX -3, opt. memory, 1.380 V @ LLC4 & 300 kHz)
# Standard VRM power phase control not fully stress tested, though it passed serveral loading and unloading cycles
# Board settings
Tuner: XMP DDR4-3333, but don't optimize
MCE: disable
BLCK: 100 Hz
# CPU settings
Core ratio: 50 # yay, 5 GHz : )

How the NZXT Hue+ works

Also applies to the NZXT Smart Device

TL; DR

Hue+ accessories use WS2812B integrated LED and controllers. Pinout is:

  • +5V (marked with arrow; corresponding wire with white stripe)
  • IN (data in)
@jonasmalacofilho
jonasmalacofilho / NZXT Smart Device: USB protocol.md
Last active September 7, 2018 02:57
NZXT Smart Device: USB protocol

The NZXT Smart Device

Mostly just data, all conclusions are only documented in the form of code: liquidctl.

vid=1e71
pid=1714
rev=0200
@jonasmalacofilho
jonasmalacofilho / NZXT Kraken X62: USB protocol.md
Last active July 20, 2019 20:15
NZXT Kraken X62: USB protocol

The NZXT Kraken X62

USB analysis and revised protocol for devices with firmware v4.0.2