GithubHelp home page GithubHelp logo

camctl's Introduction

Unmaintained

This repository is unmaintained as I do not own a Kraken anymore. If this doesn't work for you or it doesn't fulfill your needs, it's best to look for other forks or solutions. though I may still answer questions.

camctl

Fan/pump speed control on Linux for NZXT Kraken X62 (possibly other editions)

DISCLAIMER

Use at your own risk, I take NO responsibility if anything crazy happens. Neither does NZXT as they are not involved.

With that said however, this is basic stuff - nothing crazy has happened in my testing, and I can't think of a reason why anything bad could happen.

Supported devices

  • NZXT Kraken X62

If you have an earlier version of the NZXT Kraken than those listed here, I recommend looking at https://github.com/jaksi/leviathan

Tested on

Fedora 25 x64 Kernel 4.10.10-200.fc25.x86_64

Dependencies

  • Python 3
  • pyusb sudo python3 -m pip install pyusb

Installation

sudo ./install.sh

Usage

sudo camctl --help

camctl's People

Contributors

leaty avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

camctl's Issues

Depencency missing: cam

Using Ubuntu 20.04 I am missing cam as dependency:

Traceback (most recent call last):
  File "/usr/bin/camctl", line 56, in <module>
    cam = CAM(vid, pid)
  File "/usr/bin/camctl", line 12, in __init__
    self._find()
  File "/usr/bin/camctl", line 16, in _find
    self.device = devices[0]
IndexError: list index out of range

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/camctl", line 64, in <module>
    cam.declaim()
NameError: name 'cam' is not defined

a sudo python3 -m pip install cam does not seem to install the right cam/does not solve the issue. What is cam?

Question

Hi, I bought a Kraken x62 for my next build and i was wondering if it is possible to control radiator fans with this tool if I connect them to the fan splitter included on the kraken kit or if instead I would have to connect radiator fans to my motherboard. Also I want to thank you for creating this tool as Linux support is very important for me. (Sorry for my bad english).

Header Bits

Hi, Just curious as I've never written a USB Driver before - how did you figure out which bits were for what, and the possible range of values? Thanks
def fan(self, speed):
print('Setting fan speed to {}..'.format(speed))
self.device.write(1, [2, 77, 0, 0, speed, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0])

def pump(self, speed):
	print('Setting pump speed to {}..'.format(speed))
	self.device.write(1, [2, 77, 64, 0, speed, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0])

Error on Ubuntu 16.04

After the installation, when I try to type
sudo camctl --help
I get the following error:

Traceback (most recent call last): File "/usr/bin/camctl", line 3, in <module> import usb.core ImportError: No module named 'usb'
Any ideas? :D

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.