rk3566 9个video 设备是如何产生的
如题,谢谢! 本帖最后由 zyk 于 2021-12-16 09:25 编辑一般是内核注册
lrwxrwxrwx 1 root root 0 2021-12-16 09:17 /sys/class/video4linux/video0 -> ../../devices/platform/rkisp-vir0/video4linux/video0
lrwxrwxrwx 1 root root 0 2021-12-16 09:17 /sys/class/video4linux/video1 -> ../../devices/platform/rkisp-vir0/video4linux/video1
lrwxrwxrwx 1 root root 0 2021-12-16 09:17 /sys/class/video4linux/video2 -> ../../devices/platform/rkisp-vir0/video4linux/video2
lrwxrwxrwx 1 root root 0 2021-12-16 09:17 /sys/class/video4linux/video3 -> ../../devices/platform/rkisp-vir0/video4linux/video3
lrwxrwxrwx 1 root root 0 2021-12-16 09:17 /sys/class/video4linux/video4 -> ../../devices/platform/rkisp-vir0/video4linux/video4
lrwxrwxrwx 1 root root 0 2021-12-16 09:17 /sys/class/video4linux/video5 -> ../../devices/platform/rkisp-vir0/video4linux/video5
lrwxrwxrwx 1 root root 0 2021-12-16 09:17 /sys/class/video4linux/video6 -> ../../devices/platform/rkisp-vir0/video4linux/video6
lrwxrwxrwx 1 root root 0 2021-12-16 09:17 /sys/class/video4linux/video7 -> ../../devices/platform/rkisp-vir0/video4linux/video7
lrwxrwxrwx 1 root root 0 2021-12-16 09:17 /sys/class/video4linux/video8 -> ../../devices/platform/rkisp-vir0/video4linux/video8
,上层去创建/dev下的节点,感兴趣可以在v4l2_device_register相关注册函数打印信息去跟踪一下 设备树里面rkisp节点开启之后,v4l2框架驱动就会去注册video设备 谢谢! 请问 两位大神 , 它这几个video设备的作用是什么呢? 谢谢!! 可以了解一下v4l2的框架,感兴趣可以跟一下驱动
页:
[1]