驱动程序
yuannanhong
这个作者很懒,什么都没留下…
展开
-
解决VIDIOC_STREAMON: No space left on device
参考了网上方法,https://blog.csdn.net/weixin_38717571/article/details/84638023,没有解决我的问题。我是在ARMx6818,接了两个摄像头,使用uvcvideo驱动,只能识别一个摄像头,另外一个提示VIDIOC_STREAMON: No space left on device。打开/driver/media/video/uvc/uvc_driver.c在static int uvc_probe(struct usb_interface *原创 2020-07-03 17:08:41 · 1139 阅读 · 0 评论 -
在Android5.0的mma8653驱动程序中对加速度传感器的数据进行方向改变
在项目中遇到平板使用陀螺仪在横竖屏切换时,在竖屏的方向是反的。需要在竖屏方向上改变一下方向,查找内核,找到mma8653 驱动程序,driver/hwmon/mma8653.c ,找到mmac8653_work_func函数。 input_report_abs(mma8653->input,ABS_X, 0-acc.x);//在acc.x,accy.acc.z前面添加 正负号,即可改变加速度传感器方向。 input_report_abs(mma8653->inp...原创 2020-05-31 18:48:46 · 539 阅读 · 0 评论