Saturday, April 20, 2024
 Popular · Latest · Hot · Upcoming
139
rated 0 times [  139] [ 0]  / answers: 1 / hits: 516861  / 2 Years ago, sun, april 24, 2022, 1:27:02

i want to write a device driver but not able to find the header file can someone please help me find them?Also if someone can point out some important site links that would be really appreciated


More From » kernel

 Answers
5

You should be able to install the kernel header files for the currently running kernel by running the following in a terminal:



sudo apt-get install linux-headers-$(uname -r)


In general, the kernel header packages are named linux-header-* where "*" indicates the version & variant (generic, server, etc.).


[#42284] Sunday, April 24, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
atchcommo

Total Points: 114
Total Questions: 130
Total Answers: 101

Location: Cook Islands
Member since Sat, Oct 16, 2021
3 Years ago
atchcommo questions
Fri, May 13, 22, 08:22, 2 Years ago
Wed, Mar 9, 22, 20:14, 2 Years ago
;