Code Monkey home page Code Monkey logo

usb-badge's Introduction

In order to build/run the utility, please do:

$ cd src ; make all
$ ./usb-badge-gui
(To run the CLI utility, simply run ./usb-badge-cli -h after building.)

To install, simply 'make install'. This will even install a .desktop file, so that the utility may be run from the Applications -> Accessories menu.

To uninstall, just do a simple 'make uninstall'.

This package requires GTK+ >= 2.14.0, libusb >= 0.1 (not 1.x), and libhid >= 2.6.15.

I wrote this for the fun and convenience of people who might have/use this product, and for those who might be interested in how it works.

Installation of binary packages:

Debian:
	* Add the following apt source:
		deb http://hentenaar.com/packages/deb ARCH/
	  (replacing ARCH with your architecture (e.g. amd64)
	* apt-get update
	* apt-get install usb-badge

		OR
	* Download the package from: http://hentenaar.com/packages/deb/ARCH
	* Install with dpkg, gdebi, etc.

Rpm:
	* Download the package from http://hentenaar.com/packages/rpm
	* Install the package with: rpm -ivh --force usb-badge-*.rpm
	
If you have issues running this as a non-root user, be sure to double-check your usbfs permissions. By default, a set of udev rules (contributed by Jeff Jahr) will be installed to /etc/udev/rules.d that should satisfy this issue, and allow the badge to display the selected message while still attached via USB. Assuming the kernel supports the "autosuspend" feature, and that the badge isn't claimed by any other device (i.e. hidraw/hiddev).

usb-badge's People

Contributors

thentenaar avatar codeman38 avatar

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.