An open API service indexing awesome lists of open source software.

https://github.com/gdonald/linux-kernel-powerball-module

Linux Kernel Powerball Module
https://github.com/gdonald/linux-kernel-powerball-module

c linux-kernel module power-ball

Last synced: 3 months ago
JSON representation

Linux Kernel Powerball Module

Awesome Lists containing this project

README

          

Linux Kernel Powerball Module
=============================

A simple Linux Kernel module for getting a [Powerball](http://www.powerball.com/)TM Lottery "quick pick".

PREREQUISITES
-------------

Install Linux Kernel headers and source or a [custom Linux Kernel](http://gregdonald.com/articles/how-to-build-latest-linux-kernel-from-linus-git-repo-on-debian).

INSTALL
-------

```bash
make
```

```bash
insmod powerball.ko
```

USAGE
-----

```bash
cat /dev/powerball
```
> 12 23 34 45 56 17

TROUBLESHOOTING
---------------

This sort of error means you need to install Linux Kernel headers:

```
> make
make -C /lib/modules/6.15.4/build M=/home/gd/workspace/linux-kernel-powerball-module modules
make[1]: *** /lib/modules/6.15.4/build: No such file or directory. Stop.
make: *** [Makefile:6: all] Error 2
```