上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 64 下一页
摘要: 在Linux驱动中使用输入子系统 参考: https://www.cnblogs.com/lifexy/p/7553861.html https://www.cnblogs.com/linux-37ge/articles/10212377.html 介绍 什么是input输入子系统? Linux系统 阅读全文
posted @ 2021-04-22 16:46 schips 阅读(2578) 评论(0) 推荐(0)
摘要: 高通UEFI中的I2C的方式读取TP的id 原文:https://blog.csdn.net/mengluoxixiang/article/details/100103347 老规矩,先说要实现的功能:用I2C的方式读取TP的ID,然后通过TP的ID不同来做LCD兼容。 文件路径:BOOT.XF.1 阅读全文
posted @ 2021-04-22 16:00 schips 阅读(1477) 评论(0) 推荐(0)
摘要: # 高通Andriod开机流程与镜像说明 Android镜像说明 Android设备刷机时都需要ROM包,ROM包下面有很多的.img和其他的相关镜像文件,其中这里面包含了Android很多的分区,Android镜像文件是通过源码编译生成的,下面是ROM包各个镜像的作用: 镜像文件 说明 boot. 阅读全文
posted @ 2021-04-22 15:54 schips 阅读(4274) 评论(0) 推荐(2)
摘要: 在Linux驱动中使用timer定时器 原文(有删改): https://www.cnblogs.com/chen-farsight/p/6226562.html 介绍 内核定时器是内核用来控制在未来某个时间点(基于jiffies)调度执行某个函数的一种机制,其实现位于kernel/linux/ti 阅读全文
posted @ 2021-04-22 15:14 schips 阅读(5178) 评论(0) 推荐(1)
摘要: Linux驱动中的等待队列与休眠 原文:https://blog.csdn.net/mengluoxixiang/article/details/46239523?spm=1001.2014.3001.5501 背景 在Linux内核驱动中常常会存在这种情况:进程A若想继续执行需要满足某个条件con 阅读全文
posted @ 2021-04-22 14:35 schips 阅读(678) 评论(0) 推荐(0)
摘要: Android/SELinux 添加 AVC 权限 背景 在Android应用层中编写c/c++应用时,发现接口调用出现问题,logcat才知道是因为:权限不够。 type=1400 audit(0.0:4): avc: denied { create } for scontext=u:r:boot 阅读全文
posted @ 2021-04-22 11:33 schips 阅读(11566) 评论(1) 推荐(2)
摘要: Android 中的property_get/property_set 背景 在安卓中调试Linux驱动层以及应用层之间的一些功能时,需要获取一些属性。 参考: https://blog.csdn.net/mike8825/article/details/50345163 https://blog. 阅读全文
posted @ 2021-04-22 10:37 schips 阅读(9032) 评论(0) 推荐(0)
摘要: 安卓内核编译:关闭error, forbidden warning 背景 最近在编译Android kernel时,遇到error, forbidden warning, 导致编译中断,大大降低了debug效率。 做法 关闭方法:在kernel/scripts/gcc-wrapper.py中注释掉i 阅读全文
posted @ 2021-04-13 11:58 schips 阅读(1023) 评论(0) 推荐(0)
摘要: Linux gpio子系统:gpio_direction_output 与 gpio_set_value的区别 背景 最近改驱动程序,看到驱动代码中既有gpio_direction_output也有gpio_set_value。 结论 作用相同,但有差别: gpio_direction_output 阅读全文
posted @ 2021-04-08 10:16 schips 阅读(5073) 评论(0) 推荐(0)
摘要: android系统中log机制 背景 习惯了Linux开发的我,转到安卓以后,对于安卓开发的很多问题没有经验。看到同事解决问题都会看logcat,因此有必要了解一下这些东西。 介绍 Android提供了用户级轻量的LOG机制,它的实现贯穿了Java,JNI,本地c/c++实现以及LINUX内核驱动等 阅读全文
posted @ 2021-04-06 11:30 schips 阅读(2369) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 64 下一页