Commit Graph

19 Commits

Author SHA1 Message Date
ithink.chan a52eb313f6 修改参数名称为 position.
Signed-off-by: ithink.chan <chenyang@autoai.com>
2020-04-28 15:48:32 +08:00
ithink.chan 8d435d912e misc 示例与 char 示例搞混了.
Signed-off-by: ithink.chan <chenyang@autoai.com>
2020-04-28 14:46:23 +08:00
ithink.chan 27fabf3542 增加 Linux 下获取当前时间(精确到毫秒/微妙)例子.
Signed-off-by: ithink.chan <chenyang@autoai.com>
2020-04-28 14:05:21 +08:00
ithink.chan 2e4d588d92 删除多余的头文件.
Signed-off-by: ithink.chan <chenyang@autoai.com>
2020-04-28 11:39:27 +08:00
ithink.chan ca1c3a6a63 为读操作增加测试代码.Signed-off-by: ithink.chan <chenyang@autoai.com> 2020-04-28 10:59:05 +08:00
ithink.chan 9ac7295276 字符设备支持单驱动多设备.
Signed-off-by: ithink.chan <chenyang@autoai.com>
2020-04-27 18:15:28 +08:00
ithink.chan 7263d9ebd4 完善字符设备驱动参考.
Signed-off-by: ithink.chan <chenyang@autoai.com>
2020-04-27 17:08:39 +08:00
ithink.chan fd2e512a16 消除 file_operations 编译错误.
Signed-off-by: ithink.chan <chenyang@autoai.com>
2020-04-27 14:51:40 +08:00
ithink.chan 682f84b828 移动文件位置.
Signed-off-by: ithink.chan <chenyang@autoai.com>
2020-04-27 14:18:20 +08:00
ithink.chan 92d8cb3339 按内核版本划分 Kernel Driver Demo 程序.
Signed-off-by: ithink.chan <chenyang@autoai.com>
2020-04-27 11:46:39 +08:00
ithink.chan cdd4e95da0 增加字符设备参考(未完成).
Signed-off-by: ithink.chan <chenyang@autoai.com>
2020-04-27 11:45:57 +08:00
ithink.chan 80093e080e 增加和调整内容,包括:
增加注释;
修改宏名;
检测 IOCTL cmd 的合法性.

Signed-off-by: ithink.chan <chenyang@autoai.com>
2020-04-27 11:12:46 +08:00
ithink.chan 49f7904b6f 增加示例代码.Signed-off-by: ithink.chan <chenyang@autoai.com> 2020-04-14 16:47:10 +08:00
ithink.chan 619dc98f44 SndDelay 升级到 1.1.
Signed-off-by: ithink.chan <chenyang@autoai.com>
2020-04-14 16:43:13 +08:00
ithink.chan 7ce3071adb 修正 SndVolume 的 Makefile.
Signed-off-by: ithink.chan <chenyang@autoai.com>
2020-04-08 18:09:29 +08:00
ithink.chan ad7d203d04 添加一些 ALSA 开发的参考程序.
Signed-off-by: ithink.chan <chenyang@autoai.com>
2020-04-08 18:07:11 +08:00
ithink.chan d465a6c805 修改 Readme.
Signed-off-by: ithink.chan <chenyang@autoai.com>
2020-04-08 17:11:04 +08:00
ithink.chan 8bb7a867e9 增加 misc driver demo.
Signed-off-by: ithink.chan <chenyang@autoai.com>
2020-04-08 17:00:51 +08:00
lion187 5c94da1395 Initial commit 2020-04-09 00:40:01 +08:00