Skip to content

captain-pool/Character_Device_Driver

Repository files navigation

First Linux Character Device Driver

With Mutex Lock

Read/Write into Pseudo Character Device Driver. to check the output of write run:

    sudo dmesg

or keep this running on another terminal

tail -f /var/log/kern.log

To run the module,

    python3 test.py

This will make/change permissions/open a terminal to send data to device to read the data

    cat /dev/chardev01