kaikeraut wrote: jamesh wrote:
kaikeraut wrote:If i want to explicitly enable the camera module in raspian linux, how can i do it..
Form the kernel point of view which version of kernel should i use and how i can enable camera by "menuconfig"
I don't want to do sudo apt-get update and raspi-config.
How manually i can achieve it.
sudo apt-get update will get the latest version of the camera firmware and raspistill/vid.
sudo raspi-config will be a quick way of enabling the camera.
They are the best options. Is there any reason why you cannot do those?
Manually i can check the camera working, because i guess the raspistill/vid are internally using v4l2 api to test camera,
and i am little familiar with v4l2 api. so i just what to know what are the things i have to do to make camera work without using those commands, hope i am clear.
In case its not clear from the posts above, the raspistill and vid apps do NOT use v4l2 API. They use MMAL, as described above. The camera apps and interface are not part of the Linux kernel, and therefor menuconfig is not applicable.
You can either use the MMAL API as used by raspistill, or you can use the V4L2 driver which is also available. MMAL has more features than V4L2, but is specific to the Raspi. The V4L2 API is an open API so is used b y many more Linux apps.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
"My grief counseller just died, luckily, he was so good, I didn't care."