writing linux driver
来源:互联网 发布:长虹电视软件下载 编辑:程序博客网 时间:2024/05/02 01:38
1. Set up build environment
>aptitude install build-essential
>aptitude install linux-kernel-headers
2. Write sample code
3. Makefile
4. After excute command make, the files will looks like this:
5. Then install/remove this module,you will look the message output by the driver.
>insmod mydrv.ko
>Mydrv init ok!
>rmmod mydrv.ko
>Mydrv exit ok!
If you can not see it, please use this method:
>dmesg | tail
#END
- writing linux driver
- Writing a Linux device driver
- Writing a Linux device driver
- Linux Framebuffer Driver writing HOWTO
- Linux Framebuffer Driver writing HOWTO
- Writing a Network Driver
- Writing Solaris Device Driver: Driver Autoconfiguration
- Writing Solaris Device Driver: Layered Driver Interface
- Writing a SCSI Device Driver
- Writing Solaris Device Driver: DMA
- Writing Solaris Device Driver: Basic
- Writing Solaris Device Driver: Multithreading
- Writing Solaris Device Driver: Properties
- Writing a Simple USB Driver
- Writing a Simple USB Driver
- writing an alsa driver 中文
- writing an alsa driver 中文
- Writing a Linux device driver module for kernels 3.0 or 2.6 with udev
- jsoup 1.5.2 发布,超棒的 HTML 解析器
- 省赛了
- C语言 末尾的getch()和return 0
- Windows服务程序编程入门
- 读书笔记:think in java
- writing linux driver
- xdebug代码覆盖率原理
- 观影有感
- 【软件测试】操作系统篇:第四章 存储管理
- Mac OS X: Launchd in Depth
- C语言 变量前面有个"&"
- Mac OS X: Running items at login
- rett
- 去年公司带的新人都跳槽了