Open Dreamer-4pda opened 3 years ago
If you have a look at arch/arm/configs/tegra3_android_defconfig those are already configured in that way. I suppose some other drivers / interfaces are missing. There is a thread on XDA (https://forum.xda-developers.com/t/mod-webcam-as-fully-functional-rear-cam.2100452/) which probably can help you to get the camera working.
There is a thread on XDA (https://forum.xda-developers.com/t/mod-webcam-as-fully-functional-rear-cam.2100452/) which probably can help you to get the camera working.
Unfortunately this metod not works... there is no /dev/video* interface DVR camera perfectly work with my android tv box and android car headunit. But not work with my Nexus7 and Pixel4a
Probably it's a matter of configuration ... but as I do not have the appropriate hardware it's difficult to give hints. Reading the thread above there is this post: https://forum.xda-developers.com/t/mod-webcam-as-fully-functional-rear-cam.2100452/post-43823556 which looks quite interesting. Did you already try to add the line
usb=/dev/video0
to /system/etc/nvcamera.conf ?
I use my N7 as car headunit and try to connect USB camera, but it's not working, because no drivers in kernel. Please add uvc and v4l drivers in kernel. As I know, need add these strings in config: