In which folder are the linux driver files located?

WBOY
Release: 2022-08-11 16:33:09
Original
11313 people have browsed it

The location of the Linux driver file: 1. The key driver is in the "kernal\drivers\input\keyboard" and "kernal\drivers\char" folders; 2. The network card driver is in "kernal\drivers\net\ " folder; 3. The serial port driver is in the "kernal\drivers\serial\" folder; 4. The real-time clock RTC driver is in the "kernal\drivers\rtc\" folder.

In which folder are the linux driver files located?

#The operating environment of this tutorial: linux7.3 system, Dell G3 computer.

Which folder is the Linux driver file in?

Common directories that need to be checked after the driver is loaded:

  • /proc/devices: Check the character device device number

  • /sys/class/gpio: export/unexport gpio

  • /sys/bus/i2c/devices: View all i2c bus Device

Linux’s own driver is stored in the kernel source code directory. The specific directory is as follows

  • Button Driver

kernal\drivers\input\keyboard

kernal\drivers\char

  • LED driver

##kernal\drivers\char\led.c

kernal\drivers\leds

  • Network card driver

kernal\drivers\net\

  • Serial driver

kernal\drivers\serial\

  • Real-time clock RTC driver

kernal\drivers\rtc\

  • Touch screen driver

##kernal\drivers\input \touchscreen\

    YAFFS file system source code directory
kernal\fs\yaffs2

    USB mouse and keyboard driver
kernal\drivers\hid

    SD /MMC card driver directory
kernal\drivers\mmc\

    Nand flash driver
kernal\drivers\mtd\nand

    Audio driver directory
kernal\sound\oss\ud

##kernal\drivers\

LCD driver
  • kernal\drivers\video\

U disk support driver
  • kernal\drivers\usb \storage

Vimicro USB Camera Driver
  • ##kernal\drivers\media\gspca

Recommended learning: Linux video tutorial

The above is the detailed content of In which folder are the linux driver files located?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!