Linux Workshop Adventure: Exploring the Secrets of Buses, Devices, and Drivers

Linux Workshop Adventure: Exploring the Secrets of Buses, Devices, and Drivers

Click the blue text above to follow me and read beautiful articles The Linux operating system’s kernel manages various hardware devices in the system, including buses, devices, and drivers. This article will introduce the basic concepts of buses, devices, and drivers in the Linux system, as well as their relationships. By combining the relevant /sys … Read more

FreeBSD 13.5 Released with Device Driver Updates and Fixes

FreeBSD 13.5 Released with Device Driver Updates and Fixes

FreeBSD 13.5 was released on March 10, as the final update of the FreeBSD 13 series. Users should start planning to upgrade to the current FreeBSD 14 stable series or look forward to the upcoming FreeBSD 15.0 release. FreeBSD 13.5-RELEASE brings many minor software updates, such as updates for XZ, SQLite3, OpenSSH, and other applications. … Read more

Operating System in C: Device Drivers

Operating System in C: Device Drivers

Operating System in C: Device Drivers Introduction Device drivers are a crucial component of an operating system, acting as a bridge between hardware and software. Through device drivers, the operating system can control and manage hardware devices such as printers, graphics cards, and network adapters. In this article, we will delve into how to write … Read more

Detailed Explanation of VxWorks Device Drivers

Detailed Explanation of VxWorks Device Drivers

University of Science and Technology of China (Anhui, Hefei) Department of Modern Physics Fast Electronics Laboratory Author: Cao Guiping Click “Read the original text” to download the high-definition e-book For learning reference only VxWorks is a commonly used embedded real-time operating system, with applications in many fields. However, due to the lack of public source … Read more

A Simple Analysis of the Linux SPI Control Layer

A Simple Analysis of the Linux SPI Control Layer

Introduction I previously shared the control layer for I2C and mentioned that I would update the SPI section shortly. However, I was too tired and didn’t get around to it, so I apologize for the delay, haha. The SPI protocol is much simpler than I2C, but I find the software handling to be more complex … Read more

Embedded Linux: From Beginner to Abandonment (24)

Embedded Linux: From Beginner to Abandonment (24)

Four Ways for APP to Access Hardware References: Four Ways for APP to Access Hardware (64~67) Four Ways for APP to Access Hardware For example, how does a mother know if her baby has woken up while sleeping? How does a mother know if the child in the bedroom has woken up? 1. Occasionally going … Read more

How to Learn Embedded Linux for Beginners

How to Learn Embedded Linux for Beginners

Low-Level Systems Application Development If you want to do application development, then you should learn C, data structures, JAVA, and so on. There is nothing particularly different about embedded application development compared to PC application development. You might say that optimization is necessary in embedded systems, and yes, optimization is required, but an unoptimized program … Read more

Embedded Linux Driver Development: Starting with Character Devices

Embedded Linux Driver Development: Starting with Character Devices

1. What is a Character Device? First, we need to understand what a character device is. A character device is, simply put, a device that reads and writes data byte by byte, like keyboards, mice, and serial ports. Unlike block devices (like hard drives), character devices do not support random access; data must be read … Read more

Virtual Serial Port Driver in Linux (Part 1)

Virtual Serial Port Driver in Linux (Part 1)

Introduction Recently, I prepared to implement a virtual serial port driver in Linux; however, since graduation, I have been engaged in bare-metal driver development, and thus I have gradually forgotten about device drivers in Linux. To achieve this functionality, I have searched for a lot of information online, but most of it only explains the … Read more

Installing PnP Device Drivers: A Step-by-Step Guide

Installing PnP Device Drivers: A Step-by-Step Guide

This article is an excellent contribution from the Kanxue forum. Author ID on Kanxue Forum: Suifengxing Environment Preparation VMware Workstation 14 Pro Windows 10 Pro x64 Virtual Machine VS2019 Installation in the virtual machine: VS Remote Debugger msvsmon x64dbg Windows Driver Sample /devcon (Source Code) https://github.com/microsoft/Windows-driver-samples/tree/master/setup/devcon After downloading, open it in VS. If you encounter … Read more