摘要: 作者:wowo 发布于:2014-4-15 19:21 分类:统一设备模型 原创文章,转发请注明出处。蜗窝科技,www.wowotech.net。 概述 在Linux设备模型中,Bus(总线)是一类特殊的设备,它是连接处理器和其它设备之间的通道(channel)。为了方便设备模型的实现,内核规定,系 阅读全文
posted @ 2020-12-27 22:54 schips 阅读(465) 评论(0) 推荐(0)
摘要: 作者:wowo 发布于:2014-4-2 19:28 分类:统一设备模型 http://www.wowotech.net/device_model/device_and_driver.html 前言 device和device driver是Linux驱动开发的基本概念。 Linux kernel的 阅读全文
posted @ 2020-12-27 22:43 schips 阅读(574) 评论(0) 推荐(0)
摘要: 作者:wowo 发布于:2014-3-14 18:31 分类:统一设备模型 http://www.wowotech.net/device_model/dm_sysfs.html 前言 sysfs是一个基于RAM的文件系统,它和Kobject一起,可以将Kernel的数据结构导出到用户空间,以文件目录 阅读全文
posted @ 2020-12-27 22:32 schips 阅读(373) 评论(0) 推荐(0)
摘要: 作者:wowo 发布于:2014-3-10 20:39 分类:统一设备模型 http://www.wowotech.net/device_model/uevent.html Uevent Uevent是Kobject的一部分,用于在Kobject状态发生改变时,例如增加、移除等,通知用户空间程序。用 阅读全文
posted @ 2020-12-27 22:10 schips 阅读(429) 评论(0) 推荐(0)
摘要: 原文:http://www.wowotech.net/device_model/kobject.html 作者:wowo 发布于:2014-3-7 0:25 分类:统一设备模型 前言 Kobject是Linux设备模型的基础,也是设备模型中最难理解的一部分(可参考Documentation/kobj 阅读全文
posted @ 2020-12-27 22:00 schips 阅读(563) 评论(0) 推荐(0)
摘要: 背景 搞Linux搞这么久,一直在调试各种各样的驱动。却发现对Linux驱动有太多不够了解的地方。因此转载了 蜗窝科技 的有关文章,作为学习。 内容有少量纠正,样式有做调整。 作者:wowo 发布于:2014-2-27 17:01 分类:统一设备模型 原文:http://www.wowotech.n 阅读全文
posted @ 2020-12-27 21:19 schips 阅读(397) 评论(0) 推荐(0)
摘要: 背景 朋友分享的一份i2c器件地址清单,我觉得还不错。 reference:https://learn.adafruit.com/i2c-addresses/the-list Special cases PCA9685 can be used by any address between 0x40 阅读全文
posted @ 2020-12-27 11:45 schips 阅读(7967) 评论(0) 推荐(1)