# Camera driver load as a module issue

**URL:** <https://forums.developer.nvidia.com/t/camera-driver-load-as-a-module-issue/277061>\
**Category:** Jetson Nano\
**Tags:** driver, kernel, camera\
**Created:** [December 25, 2023, 10:25am UTC](https://forums.developer.nvidia.com/t/camera-driver-load-as-a-module-issue/277061 "2023-12-25T10:25:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![burakozbek](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@burakozbek](https://forums.developer.nvidia.com/u/burakozbek)\
**Post date:** [December 25, 2023, 10:25am UTC](https://forums.developer.nvidia.com/t/camera-driver-load-as-a-module-issue/277061/1 "2023-12-25T10:25:48Z")

</div>

Hello all,

I want to write more than one v4l2 camera driver separately as a module, include it in the device tree, and then install and use these drivers as modules. However, after removing all camera drivers from defconfig and adding my own drivers, when i run Jetson Nano and list the devices, I see a device called /dev/video0. When I type the _v4l2-ctl --all_ command, I see the driver named tegra-video. Later, when I install my own drivers as a module, a second video device cannot be created. That’s why I can’t install my own camera drivers as a module.

Does anyone have any suggestion?

Thanks,

---

<div class="post-metadata">

**Author:** ![ShaneCCC](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/shaneccc/32/14043_2.png) [@ShaneCCC](https://forums.developer.nvidia.com/u/ShaneCCC)\
**Post date:** [December 26, 2023, 7:58am UTC](https://forums.developer.nvidia.com/t/camera-driver-load-as-a-module-issue/277061/3 "2023-12-26T07:58:40Z")

</div>

Could be you didn’t apply the kernel build by you.  
Suppose you can disable the imx219/imx477 from the device tree to disable the default driver. Also the present video node shouldn’t the reason cause your driver failed.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/system/32/68080_2.png) [@system](https://forums.developer.nvidia.com/u/system)\
**Post date:** [January 17, 2024, 2:03am UTC](https://forums.developer.nvidia.com/t/camera-driver-load-as-a-module-issue/277061/5 "2024-01-17T02:03:56Z")

</div>

Closed on January 17, 2024, 2:03am UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
