03. Making a simple character device

Check Google for some inspiration on Linux kernel sample character device modules.

Simply take the code, try to build it / fix it (if required, since newer kernel versions may break old APIs).

Also make sure to put some printk() calls for debugging (if they're not already in the sample code).

After a successful compilation, test it on your board using insmod! Check dmesg for the (hopefully) successful messages.

ass/laboratoare/04/tasks/03.txt ยท Last modified: 2023/07/22 08:43 by florin.stancu
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0