Implementing Logical Simulation of I2C Bus Abstraction Based on Linux and RT-Thread Device Driver Model

Implementing Logical Simulation of I2C Bus Abstraction Based on Linux and RT-Thread Device Driver Model

Author | Acuity 1. Introduction The I2C bus is a simple, “bidirectional two-wire synchronous serial bus” developed by PHILIPS. The use of I2C is not unfamiliar; C51, ARM, MSP430, etc., generally integrate hardware I2C, or for those that do not integrate I2C, it is possible to simulate an I2C bus using ordinary IO ports based … Read more

How to Install Device Drivers on Linux

How to Install Device Drivers on Linux

Learn how Linux device drivers work and how to use them. — Bryant Son Useful original link Please visit the “original link” at the end for clickable in-text links, full-size original images, and related articles. Thanks Compiled from | https://opensource.com/article/18/11/how-install-device-driver-linux | Author | Bryant Son | Translator | Jamskr 🌟🌟 Total translated: 15.0 Contribution time: … Read more

Overview of Linux Device Drivers: Ethernet and PCI

Overview of Linux Device Drivers: Ethernet and PCI

Ethernet The Ethernet interface consists of MAC (Media Access Controller) and PHY (Physical Interface Transceiver). The Ethernet MAC is defined by the IEEE 802.3 Ethernet standard, implementing the data link layer. Common MACs support two rates of 10Mbit/s or 100Mbit/s. Gigabit Ethernet (also known as 1000Base-T) is the next generation technology of Fast Ethernet, increasing … Read more

A Brief Discussion on Linux PCI Device Drivers (Part 1)

A Brief Discussion on Linux PCI Device Drivers (Part 1)

Click on the top“Baiwen Technology”, select the top public account Embedded essentials delivered promptly —— Author | linuxdrivers Source | https://blog.csdn.net/linuxdrivers/article/details/5849698 A student suggested writing about PCI drivers, and today I found a long article that is one of the most detailed blogs on PCI available online. It is divided into two parts, and this … Read more

Deep Understanding of Linux Bus Device Driver Framework

Deep Understanding of Linux Bus Device Driver Framework

The development of Linux drivers is quite different from the development of application programs. These differences lead to the essential distinction between writing Linux device drivers and writing application programs. 1. User Mode and Kernel Mode The Linux operating system is divided into user mode and kernel mode. The kernel mode completes interactions with hardware, … Read more

Understanding Character Device Drivers and Their Relationships

Understanding Character Device Drivers and Their Relationships

In the process of developing Linux device drivers, one naturally encounters concepts and technologies related to character device drivers, platform device drivers, device driver models, and sysfs. This can be quite confusing for beginners, and even for engineers with a certain foundation in Linux, it is relatively commendable to have a good understanding of these … Read more

Analysis of USB Device Driver

Analysis of USB Device Driver

Click the above blue text to follow us! Introduction In previous articles, we have discussed the USB device driver framework. In this article, we will look at a specific device driver to further familiarize ourselves with these concepts. We will take the USB mouse as an example. Analysis of USB Device Driver Kernel Version: 4.20.12 … Read more

Developing PCI Device Drivers on Linux

Developing PCI Device Drivers on Linux

1. PCI Bus System Architecture PCI stands for Peripheral Component Interconnect, which is a universal bus interface standard that has been widely used in current computer systems. PCI provides a complete set of bus interface specifications aimed at describing how to connect peripheral devices in a structured and controlled manner, while also characterizing the electrical … Read more

Deep Understanding of Linux Bus Device Driver Framework

Deep Understanding of Linux Bus Device Driver Framework

Developing Linux drivers is significantly different from developing application programs. These differences lead to the essential distinction between writing Linux device drivers and writing application programs. 1. User Mode and Kernel Mode The Linux operating system is divided into user mode and kernel mode. The kernel mode handles interactions with hardware, such as reading and … Read more

Comparison of Device Driver Models in Linux and Windows

Comparison of Device Driver Models in Linux and Windows

This article navigation –1. Device Driver Architecture08% –1.1. Windows Driver Architecture09% –1.2. Linux Driver Architecture16% –2. Device Driver API22% –Driver I/O Models on Windows46% –Driver I/O Models on Linux51% –Registering Devices on Windows27% –Registering Devices on Linux33% –2.1. Initialization23% –2.2. Naming and Declaring Devices27% –2.3. Data Exchange42% –3. Device Driver Development Environment56% –Windows Driver Kit56% … Read more