How to Create Device Node in Kernel Module

Device node is a file-like abstraction in Linux for user to interact with devices. It could map the operations (read, write, fasync etc.) performed on the file to the associated device. Otherwise, user application needs to be executed with privilege to do memory map before using the device, and programer needs to know the physical address.

After reinstall OS, the SD card reader on my laptop stops work again. Because this time I use Linux Mint, which is based on higher version kernel, I encountered more troubles to drive the SD card reader.

Three steps, five errors and solutions are recorded.

Read More

Driver for RTS5227/RTS5229

After reinstall OS, the SD card reader on my laptop stops work again. Because this time I use Linux Mint, which is based on higher version kernel, I encountered more troubles to drive the SD card reader.

Three steps, five errors and solutions are recorded.

Read More