Re: linux camera drivers

2012-03-06 Thread Chetan Nanda
Hi,
AFAIK imx036 is a raw bayer camera, and would be outputting data on mipi
data line.
So one needs a dedicated hardware such as mipi rx and then Isp etc.. And i
dont think drivers for these would be available in linux. I might be wrong
...
On Mar 5, 2012 2:18 PM, Prabhakar Lad prab

 Mayank,


 On Sat, Mar 3, 2012 at 9:51 AM, Mayank Agarwal 
 mayank77fromin...@gmail.com wrote:



 On Fri, Mar 2, 2012 at 10:08 AM, Mayank Agarwal 
 mayank77fromin...@gmail.com wrote:

 1.I think the device supports i2c or spi protocol.I want to know how the
 i2c or spi is taking data
  from image sensor and giving it to video buffers.
 Most of the cameras support i2c or csi.



 2.I want to understand the whole data flow from image sensor to the
 display buffer and the role of linux kernel
 camera drivers in that.
 For this you need to understand the V4L2 Framework, Or later Media
 Controller Framework.



 3.Currently i am looking at Sony IMX036,Aptima MT9P031.

   You can find in directory source/drivers/media/video/
MT9p031 support is there in current kernel but no idea about
 imx036.

 Regards,
 ---Prabhakar Lad
 Mob: +91-9611756433
 http://in.linkedin.com/pub/prabhakar-lad/19/92b/955


 Thanks and Regards,
 Mayank


 On Thu, Mar 1, 2012 at 8:22 PM, Greg KH g...@kroah.com wrote:

 On Thu, Mar 01, 2012 at 05:57:52PM +0530, Mayank Agarwal wrote:
  Hi all,
 
  I have following questions regarding camera drivers in  linux kernel.
 
  1.which are the files/folder in kernel directory where camera drivers
 support
  is provided in linux kernel.

 It depends, which type of protocol does your device support?

  2.Are they customisable according to different SOC requirements.

 It depends on what the requirements are.  As it's software, it's always
 able to be changed :)

  3.Are there any tutorials/pdfs to understand camera drivers in linux
 kernel.

 What is wrong with the code itself?

  4.At present which sensor (i mean aptina/sony/omnivision) drivers are
 supported
  in linux kernel.

 What sensor are you looking for exactly?

 What device do you need to support, and what protocol does your camera
 use to talk to the hardware?

 greg k-h




 ___
 Kernelnewbies mailing list
 Kernelnewbies@kernelnewbies.org
 http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



 ___
 Kernelnewbies mailing list
 Kernelnewbies@kernelnewbies.org
 http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: linux camera drivers

2012-03-05 Thread Prabhakar Lad
Mayank,


On Sat, Mar 3, 2012 at 9:51 AM, Mayank Agarwal
mayank77fromin...@gmail.comwrote:



 On Fri, Mar 2, 2012 at 10:08 AM, Mayank Agarwal 
 mayank77fromin...@gmail.com wrote:

 1.I think the device supports i2c or spi protocol.I want to know how the
 i2c or spi is taking data
  from image sensor and giving it to video buffers.
 Most of the cameras support i2c or csi.



 2.I want to understand the whole data flow from image sensor to the
 display buffer and the role of linux kernel
 camera drivers in that.
 For this you need to understand the V4L2 Framework, Or later Media
 Controller Framework.



 3.Currently i am looking at Sony IMX036,Aptima MT9P031.

   You can find in directory source/drivers/media/video/
   MT9p031 support is there in current kernel but no idea about
imx036.

Regards,
---Prabhakar Lad
Mob: +91-9611756433
http://in.linkedin.com/pub/prabhakar-lad/19/92b/955


 Thanks and Regards,
 Mayank


 On Thu, Mar 1, 2012 at 8:22 PM, Greg KH g...@kroah.com wrote:

 On Thu, Mar 01, 2012 at 05:57:52PM +0530, Mayank Agarwal wrote:
  Hi all,
 
  I have following questions regarding camera drivers in  linux kernel.
 
  1.which are the files/folder in kernel directory where camera drivers
 support
  is provided in linux kernel.

 It depends, which type of protocol does your device support?

  2.Are they customisable according to different SOC requirements.

 It depends on what the requirements are.  As it's software, it's always
 able to be changed :)

  3.Are there any tutorials/pdfs to understand camera drivers in linux
 kernel.

 What is wrong with the code itself?

  4.At present which sensor (i mean aptina/sony/omnivision) drivers are
 supported
  in linux kernel.

 What sensor are you looking for exactly?

 What device do you need to support, and what protocol does your camera
 use to talk to the hardware?

 greg k-h




 ___
 Kernelnewbies mailing list
 Kernelnewbies@kernelnewbies.org
 http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: linux camera drivers

2012-03-02 Thread Mayank Agarwal
On Fri, Mar 2, 2012 at 10:08 AM, Mayank Agarwal mayank77fromin...@gmail.com
 wrote:

 1.I think the device supports i2c or spi protocol.I want to know how the
 i2c or spi is taking data
  from image sensor and giving it to video buffers.

 2.I want to understand the whole data flow from image sensor to the
 display buffer and the role of linux kernel
 camera drivers in that.

 3.Currently i am looking at Sony IMX036,Aptima MT9P031.

 Thanks and Regards,
 Mayank


 On Thu, Mar 1, 2012 at 8:22 PM, Greg KH g...@kroah.com wrote:

 On Thu, Mar 01, 2012 at 05:57:52PM +0530, Mayank Agarwal wrote:
  Hi all,
 
  I have following questions regarding camera drivers in  linux kernel.
 
  1.which are the files/folder in kernel directory where camera drivers
 support
  is provided in linux kernel.

 It depends, which type of protocol does your device support?

  2.Are they customisable according to different SOC requirements.

 It depends on what the requirements are.  As it's software, it's always
 able to be changed :)

  3.Are there any tutorials/pdfs to understand camera drivers in linux
 kernel.

 What is wrong with the code itself?

  4.At present which sensor (i mean aptina/sony/omnivision) drivers are
 supported
  in linux kernel.

 What sensor are you looking for exactly?

 What device do you need to support, and what protocol does your camera
 use to talk to the hardware?

 greg k-h



___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: linux camera drivers

2012-03-02 Thread Ricardo Fabbri
 3.Are there any tutorials/pdfs to understand camera drivers in linux kernel.

 What is wrong with the code itself?


Please provide a more thoughtful answer. At least say if that's your
tried-and-true approach or if it's a suggestion to look into the code.

Ricardo.

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: linux camera drivers

2012-03-02 Thread Greg KH
On Sat, Mar 03, 2012 at 09:51:27AM +0530, Mayank Agarwal wrote:
 On Fri, Mar 2, 2012 at 10:08 AM, Mayank Agarwal mayank77fromin...@gmail.com
  wrote:
 
  1.I think the device supports i2c or spi protocol.I want to know how the
  i2c or spi is taking data
   from image sensor and giving it to video buffers.

That depends on the i2c controller and the device itself.  You need to
know this before you can determine if Linux supports it or not.

  2.I want to understand the whole data flow from image sensor to the
  display buffer and the role of linux kernel
  camera drivers in that.

I suggest looking at how the v4l interface works, it's quite complex,
but there is documentation for it already.

If you have specific questions about it, please ask on the linux-media
mailing list.

good luck,

greg k-h

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: linux camera drivers

2012-03-02 Thread Greg KH
On Sat, Mar 03, 2012 at 01:51:31AM -0300, Ricardo Fabbri wrote:
  3.Are there any tutorials/pdfs to understand camera drivers in linux 
  kernel.
 
  What is wrong with the code itself?
 
 
 Please provide a more thoughtful answer. At least say if that's your
 tried-and-true approach or if it's a suggestion to look into the code.

It is always the best approach.

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


linux camera drivers

2012-03-01 Thread Mayank Agarwal
Hi all,

I have following questions regarding camera drivers in linux kernel.

1.which are the files/folder in kernel directory where camera drivers
support is provided in linux kernel.
2.Are they customisable according to different SOC requirements.
3.Are there any tutorials/pdfs to understand camera drivers in linux kernel.
4.At present which sensor (i mean aptina/sony/omnivision) drivers are
supported in linux kernel.

Thanks and Regards,
Mayank
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: linux camera drivers

2012-03-01 Thread Greg KH
On Thu, Mar 01, 2012 at 05:57:52PM +0530, Mayank Agarwal wrote:
 Hi all,
  
 I have following questions regarding camera drivers in linux kernel.
 
 1.which are the files/folder in kernel directory where camera drivers support
 is provided in linux kernel.

It depends, which type of protocol does your device support?

 2.Are they customisable according to different SOC requirements.

It depends on what the requirements are.  As it's software, it's always
able to be changed :)

 3.Are there any tutorials/pdfs to understand camera drivers in linux kernel.

What is wrong with the code itself?

 4.At present which sensor (i mean aptina/sony/omnivision) drivers are 
 supported
 in linux kernel.

What sensor are you looking for exactly?

What device do you need to support, and what protocol does your camera
use to talk to the hardware?

greg k-h

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies