Unable to rmmod camera driver

Dear Community,

nvp6188 is camera chip,camera is work,but unable to uninstall nvp6188.So nvp6188 is in use, Can you know who used it?

  1. ~$ lsmod
    Module Size Used by
    nvp6188 40919 1

  2. ~$ sudo rmmod nvp6188
    rmmod: ERROR: Module nvp6188 is in use

hello shaorui,

I don’t think this is default supported camera driver.
please review your device tree settings, you should also modify the kernel layer for your use-case.
thanks

hello JerryChang,

I has not development board,please Please try rmmod cmaera driver,Thanks

hello shaorui,

what’s the platform you’re using, is it a customize board instead of Xavier NX DevKit?
the default supported camera drivers for Xavier NX are… imx219, and imx477. however, it’s another story if you’re using a customize board.

Dear JerryChang,

I using a customize board,but the camera do work,only donot rmmod camera driver, why the problem is ?

hello shaorui,

this command, rmmod remove the kernel module, did you compile the driver as module, such as *.ko?

Dear JerryChang,

I compile the driver as module,(nvp6188.ko).

hello shaorui,

you should review the driver implementation, did you shutdown the camera device completely before remove the kernel module? what’s the kernel messages reported while running rmmod?
please also check developer guide for reference, Loadable Kernel Module (LKM).
thanks

Dear JerryChang,

I check developer guide for reference,Thanks

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