原创 linux下grep命令使用說明

原文鏈接:https://www.cnblogs.com/otaku-lip/p/4764996.html grep -- print lines matching a pattern (將符合

原创 VIN Capture ARGB8888保存爲BMP圖片格式(demo程序)

#include <stdio.h> #include <stdlib.h> #include <string.h> #include <assert.h> #include <getopt.h> #include <fcntl.h

原创 linux 內核讀寫寄存器操作demo實例

void __iomem *mmio; mmio = ioremap_nocache(0xFEB00000, 0x4); if (mmio) { printk("[%s] -------------0xFEB00000 = 0x

原创 linux 上層應用 i2c讀寫demo程序

/* This software uses a BSD license. Copyright (c) 2010, Sean Cross / chumby industries All rights reserved. Redistri

原创 linux系統下,在用戶空間應用程序中模擬發送系統鍵盤事件

原文鏈接:https://www.cnblogs.com/butterflybay/p/10347924.html 轉自:https://www.cnblogs.com/butterflybay

原创 使用/dev/uinput模擬鍵盤發送數據demo程序

    #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <fcntl.h> #include

原创 Linux音頻驅動-PCM設備

本文轉自:https://blog.csdn.net/longwang155069/article/details/53321464 概述 1.  什麼是pcm? pcm(Pulse-code modulation)脈衝編碼調製,是將模擬

原创 asla-lib庫函數snd_pcm_open打開流程

本文轉自:http://blog.chinaunix.net/uid-20564848-id-74356.html 《alsa聲卡/dev/snd /pcmC0D0p的open打開流程》 雜記asla-lib庫函數snd_pcm_open

原创 Linux I2C設備驅動註冊(通過板級信息文件註冊)

本文轉自:https://blog.csdn.net/airk000/article/details/21345457 在Linux驅動中I2C系統中主要包含以下幾個成員:     I2C adapter 即I2C適配器     I2C

原创 Linux 音頻設備驅動之Linux ALSA 音頻設備驅動(一)

請跳轉:https://blog.csdn.net/xiezhi123456/article/details/80721052    

原创 Renesas R-Car sound 驅動說明

本文參考:https://www.kernel.org/doc/Documentation/devicetree/bindings/sound/renesas%2Crsnd.txt Renesas R-Car sound ======

原创 DT_MACHINE_START 板級信息初始化匹配調用機制實現

本文轉自:https://www.cnblogs.com/targethero/p/5086085.html 一個最簡單的設備樹必須包含根節點,cpus節點,memory節點。根節點的名字及全路徑都是“/”,至少需要包含model和com

原创 LVDS,接口,時序講解

1.1.1           LVDS接口分類 1.1.1.1              單路6bit LVDS 這種接口電路中,採用單路方式傳輸,每個基色信號採用6位數據,共18位RGB數據,因此,也稱18位或18bit LVDS接

原创 linux i2c 的通信函數i2c_transfer出錯碼

參考errno-base.h  #define EPERM  1 /* Operation not permitted */ #define ENOENT  2 /* No such file or directory */ #defin

原创 Linux內核配置、編譯及Makefile簡述

本文轉自:https://www.cnblogs.com/CrazyCatJack/p/6121231.html 1.解壓縮打補丁   首先是解壓縮你獲取到的Linux內核。這裏我用到的是linux.2.22.6版本的內核。在Linux下