转自:http://blog.csdn.net/linuxmake/article/details/8208464

 

最近做摄像头驱动,发现没有 /dev/video0节点,经过查看发现是内核编译时没有注册设备
应该用 video_register_device 注册一个 video_device 设备就可以看到 /dev/videox

    int video_register_device(struct video_device *vdev, int type, int nr)  
    void video_unregister_device(struct video_device *vdev)  

 

相关文章:

  • 2022-12-23
  • 2022-01-12
  • 2022-12-23
  • 2022-12-23
  • 2021-11-30
  • 2021-04-07
  • 2021-08-24
  • 2021-08-22
猜你喜欢
  • 2022-03-09
  • 2022-12-23
  • 2021-05-26
  • 2021-07-28
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案