How do I write a simple device driver in Linux?

Alvin Le

Member
How do I write a simple device driver in Linux?
Answer
To build a driver, these are the steps to follow:
  1. Program the driver source files, giving special attention to the kernel interface.
  2. Integrate the driver into the kernel, including in the kernel source calls to the driver functions.
  3. Configure and compile the new kernel.
  4. Test the driver, writing a user program.
31 мар. 1998 г.
 

Tìm kiếm

Back
Top