Linux Devices Driver
JasonLeaster
Doing is better than saying.
展开
-
<LDD3> 中文版 勘误+学习笔记 page 79
中文版 勘误+学习笔记 page 79 p原创 2014-08-31 01:04:06 · 1424 阅读 · 0 评论 -
Introduction the naive“scull” 《linux设备驱动》 学习笔记
All about the naive“scull”原创 2014-07-31 17:07:27 · 1738 阅读 · 0 评论 -
"《 Serial Drivers 》by Alessandro Rubini" 学习笔记
Introduction to "serial device driver" (My study note) 膜拜大神的作品.原创 2014-08-29 02:21:50 · 2441 阅读 · 0 评论 -
Introduction to "s3c6410 LED" driver
Introduction to "s3c6410 LED" driver原创 2014-08-25 21:57:56 · 1694 阅读 · 0 评论 -
关于<LDD3> "setconsole.c" Alesssandro Rubini 的邮件回复
关于 "setconsole.c" Alesssandro Rubini 的邮件回复 抱着试一试的心态给偶像写了一封求助e-mail,回复了!!!我的小心脏啊~呵呵~Rubini是谁不解释了...我的HELP原文主要的关于setconsole.c的问题,这个是LDD3的一个小程序setconsole.c/*原创 2014-08-31 17:31:16 · 2336 阅读 · 2 评论 -
<Debugging Techniques> LDD3 学习笔记
Debugging Techniques内核debug的挑战: Kernel programming brings its own, unique debugging challenges. Kernel code can not be easily executed under a debugger, nor can it be eas原创 2014-09-01 23:28:46 · 1636 阅读 · 0 评论 -
tiny_tty.c 在3.X 内核版本上不能运行 的解决办法 <LDD3 学习笔记>
'struct tty_struct' have no member named 'flip' 的解决办法原创 2014-08-29 22:38:05 · 1867 阅读 · 0 评论 -
<linux设备驱动程序>hello world 模块——不用main函数的hello world
linux环境下,hello world “模块”(而不是程序)的测试出现的错误如下:老是这么报错 ----> 一开始不知道makefile是什么意思,只大概知道make是个程序,但是后面发现在这个helloworld模块练习中,make的file文件名不能用别的,就是只能用Makefile这点在报错信息里面又体现(上图中的第五行“script/Makefile.build:4原创 2013-12-17 21:48:33 · 2674 阅读 · 0 评论 -
关于一直卡死的两段代码,望对LDD3有兴趣者戳开这个blog : )
想来都有点恨自己,前几个月遇到的"难题".还是没有解决.一直卡死,又找不出原因.吐个槽,那些只贴代码不附上运行结果的toturial, 我表示...我就不明白,既然有些bloger代码都给出来了让我这种渣渣看一下肿么用的会怎么样?看一下你运行结果会怎么样?------------------------------------------------问题代码一:/***原创 2014-12-30 01:42:57 · 1911 阅读 · 5 评论 -
Program for Linux USB-devices driver step by step (ONE)
Program for Linux USB-devices driver开始啃硬骨头~ 这里我打算一步步给出USB device driver 的demo,希望有心能能够共同交流学习. 希望认识更多对Linux有兴趣的geek.目前由于环境和自身能力方面原因还没能做实物的测试,篇章的最后打算给出一个在x86上模拟USB读写的driver,以后能够做实物测试之后再更新this blo原创 2014-08-18 03:11:28 · 1669 阅读 · 0 评论 -
LDD和scull相关各种结构体的故事(学习笔记 不定期更新)
LDD和各种结构体的故事struct scull_dev位置:scull/scull.h struct scull_dev { struct scull_qset *data; /* Pointer to first quantum set */ int quantum; /* the current quantum size */ i原创 2014-07-28 17:32:34 · 2013 阅读 · 0 评论 -
一步步写 CMOS 驱动模块 <ELDD 学习笔记>
一步步写 CMOS 驱动模块 Let's implement a char driver to access the system CMOS.首先仅仅是创建设备模块,最简单的,类似于前面hello world模块一样的东东,从最简单的框架慢慢搭/*************************************************原创 2014-08-15 11:23:05 · 3693 阅读 · 2 评论 -
linux tty driver 相关结构体 整理(tty driver 自己写出来之前保持更新)
/* * Port level information. Each device keeps its own port level information * so provide a common structure for those ports wanting to use common support * routines. * * The tty port has a原创 2014-08-27 22:57:29 · 3581 阅读 · 1 评论 -
s3c6410 RTC driver——读取实时时间信息 <LDD3 & ELDD 学习笔记>
s3c6410 RTC driver——读取实时时间信息原创 2014-08-27 17:19:11 · 1866 阅读 · 0 评论 -
Time, Delays, and Deferred Work <LDD3> 学习笔记 + jiffies.h 分析
Time, Delays, and Deferred Work Dealing with time involves the following tasks, in order of increasing complexity:• Measuring time lapses and comparing times• Knowing the cur原创 2014-08-11 23:45:31 · 2465 阅读 · 0 评论 -
Communicating with Hardware 《LDD3 学习笔记》
Communicating with HardwareUsing I/O PortsI/O ports are the means by which drivers communicate with many devices, at leastpart of the time. This section covers the various functions原创 2014-08-26 14:22:13 · 1477 阅读 · 0 评论 -
USB Drivers 相关结构体和宏定义记录 <LDD3 学习笔记>
USB Drivers 相关数据结构记录原创 2014-08-17 01:55:42 · 2096 阅读 · 0 评论 -
Unable to handle kernel paging request at virtual address 0x7e005070 解决办法
有点标题党的味道了~ 对于readl() 和 inl() 读取I/O端口报错的探究给s3c6410的RTC写demo driver的时候遇到这个问题...如图 这是虚拟内存技术导致的问题,不能直接使用物理地址(不过这里有个疑问,我上次给PC写的CMOS driver貌似用的是物理地址,布吉岛为嘛)原创 2014-08-27 16:16:24 · 7398 阅读 · 0 评论 -
Introduction to "procfs" ( proc file system)
Introduction to "procfs" Introduction from wiki: procfs (or the proc filesystem) is a special filesystem in UNIX-like operating systems that presents information about proces原创 2014-09-01 16:56:12 · 1649 阅读 · 0 评论 -
Data Types in the Kernel <LDD3 学习笔记>
Data Types in the Kernel原创 2014-08-16 02:47:12 · 1617 阅读 · 0 评论 -
s3c6410 Linux 驱动开发环境搭建
s3c6410 Linux 驱动开发环境搭建—— 既然你是做Linux开发的,你还用虚拟机? 很多人都在win下做开发,于是SD_writer.exe之类的烧写工具“大行其道”,多是用虚拟机Linux。完全转到Linux下学习开始蛮不爽的,开发板制作商送的教程都是些讲Win-CE的东东,感觉实质性的东西没什么。对于完全用Linux做开发的技术讲解非常少,连烧写SD卡都原创 2014-08-19 12:12:29 · 2498 阅读 · 2 评论