KO
|
EN
gitlite — search
Search
#javascript
#python
#hacktoberfest
#react
#ai
#typescript
#llm
#go
#golang
#android
#machine-learning
#rust
#deep-learning
#linux
dev-hodor
★ 21
Open GitHub ↗
/dev/hodor
Download README (.md)
Explore Similar Repositories
Least
:
Least amount of effort to add multiple views in a recyclerview
YBImgPicker
:
使用ALASSET框架读取图片信息。支持多图选择,代理回调。调用简单
Morse_Encoding_Decoding
:
This project allows you to encode and decode Morse code using your device's flashlight and camera. For decoding was used augmented reality library OpenCV 2
weather-android
:
Example how to use dagger2
codename-generator
:
A codename generator meant for naming software releases.
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
dev-hodor
?
Download (.md)
# /dev/hodor This is a device that behaves like Hodor. It answers to your calls with nothing but `Hodor`. Really useful for, uh... Not much. Oh well. This repo contains code to build a Linux kernel module that creates a device, `/dev/hodor`. Has been tested on Ubuntu 14.04 and should work on Debian too. Largely based on http://www.linuxdevcenter.com/pub/a/linux/2007/07/05/devhelloworld-a-simple-introduction-to-device-drivers-under-linux.html. ## How to build/use First you need the module-assistant package, which installs packages and configures the system to build out-of-kernel modules. Install it with: ``` $ sudo apt-get install module-assistant ``` That should be enough to build the module. To build it, run: ``` $ make ``` Then, to install the module, use: ``` $ sudo insmod ./hodor_dev.ko ``` Now you should be able to read from `/dev/hodor`. Note that this requires root. ``` $ cat /dev/hodor ``` To uninstall the module again, use: ``` $ sudo rmmod hodor_dev ```