This is an old revision of the document!


Session 5: Character Device Drivers

Tasks

Download and unzip the tasks archive sesiune-05 on the virtual machine.

  1. Simple character device driver
    • Use the code in the archive to implement a simple device that has a text buffer that can be read and written.
      • The module will use major 42 and minor 0. Make use of this information when creating device node file
      • sudo mknod /dev/mydev c 42 0
      • All the code is implemented by commented out. Take each TODO and analyse the commented code and then uncomment it step by step.
sesiuni/kernel/day-5.1372885103.txt.gz · Last modified: 2013/07/03 23:58 (external edit)