Skip to content

A Node.js example for controll ioctl based device driver

License

Notifications You must be signed in to change notification settings

NoHomey/nodejs-ioctl-example

Repository files navigation

nodejs-ioctl-example

A Node.js example for controll ioctl based device driver

Install

To install all dependencies: npm install

Generate all required files

To generate all required files: make

Load device driver in the kernel

To load device driver in the kernel: sudo make load device

See it in action

To see it in action: node index.js

Unload device driver from the kernel

To unload device driver from the kernel: sudo make unload

Clean all generated files

To clean all generated files: make clean

Reset repository state

To reset repository state: make reset