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
- Host: GitHub
- URL: https://github.com/gdonald/linux-kernel-powerball-module
- Owner: gdonald
- License: gpl-2.0
- Created: 2019-01-18T01:38:37.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-23T22:37:28.000Z (over 7 years ago)
- Last Synced: 2025-06-14T09:05:21.220Z (about 1 year ago)
- Topics: c, linux-kernel, module, power-ball
- Language: C
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```