上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 77 下一页
摘要: 答: ghostview,官网在这里 阅读全文
posted @ 2019-07-22 12:00 Jello 阅读(744) 评论(0) 推荐(0)
摘要: 答: dvips,此工具能将由Latex或Tex生成的DVI文件转换成PostScript文件,官网在此 阅读全文
posted @ 2019-07-22 11:55 Jello 阅读(287) 评论(0) 推荐(0)
摘要: 仓库地址: git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git 阅读全文
posted @ 2019-07-22 11:11 Jello 阅读(354) 评论(1) 推荐(0)
摘要: 1. 有哪些接口? 1.1 devm_rtc_device_register 1.2 devm_rtc_allocate_device和 rtc_register_device 2. 1.1与1.2有何相同点? 都是一样的功能,分配内存然后注册rtc设备 3. 1.1与1.2有何异同? 1.1是直接 阅读全文
posted @ 2019-07-19 12:57 Jello 阅读(1157) 评论(0) 推荐(1)
摘要: 答:笔者通过重新编译内核和根文件系统解决了此问题 (笔者使用的是openwrt系统) 分析: 1. ’Failed to find the folder holding the modules‘这句log从哪里来? 要知道从哪里来,那么扒一扒insmod这个工具的源码吧 1.1 注意:在openwr 阅读全文
posted @ 2019-07-18 18:40 Jello 阅读(1093) 评论(0) 推荐(0)
摘要: 1. 原型 #define wait_event_interruptible_timeout(wq_head, condition, timeout) \ ({ \ long __ret = timeout; \ might_sleep(); \ if (!___wait_cond_timeout( 阅读全文
posted @ 2019-07-18 12:08 Jello 阅读(3602) 评论(0) 推荐(0)
摘要: 1. 使用clock_gettime接口即可 2. clock_gettime的使用方法: 2.1 定义一个结构体 struct timespec ts; 2.2 调用clock_gettime获取当前时间戳 clock_gettime(CLOCK_MONOTONIC, &ts); 2.3 打印时间 阅读全文
posted @ 2019-07-17 14:28 Jello 阅读(2800) 评论(0) 推荐(0)
摘要: 1. 废弃的接口 rtc_tm_to_time 2. 替换废弃接口的新接口 rtc_tm_sub 阅读全文
posted @ 2019-07-16 12:42 Jello 阅读(397) 评论(0) 推荐(0)
摘要: 答: 使用git stash -p进行交互式操作,y表示压栈,n表示不压栈 阅读全文
posted @ 2019-07-15 15:56 Jello 阅读(294) 评论(0) 推荐(0)
摘要: 答: 通过设备树中的aliases节点来指定即可; 如某rtc设备的节点名为rtc@68,那么想让系统为该设备生成指定的设备文件/dev/rtc1,那么就在设备树的根节点中增加aliases节点,示例如下: / { ... aliases { rtc1 = rtc@68; ... }; ... }; 阅读全文
posted @ 2019-07-15 15:35 Jello 阅读(1686) 评论(0) 推荐(0)
上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 77 下一页