|
发表于 2021-12-16 09:20:19
只看该作者
沙发
本帖最后由 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相关注册函数打印信息去跟踪一下 |
|