Hi batoub,

  Make sure the gumstix flex cable connectivity is good.
 Try your luck with i2c controller 3 speed with 100 Khz by adding i2c_bus=3,100 in u-boot boot args.

Thanks and regards,
Ananth.


batoub wrote:
Hi,

Well, everything was working well but today, I got this strange bug:

root@overo:~# insmod v4l2_driver.ko                                             
                                                                                
Driver Module info : V4l2 driver module                                         
Version info : 3.0                                                              
                                                                                
Using Reserved memory for V4l2 driver module                                    
                                                                                
>From Start address - 0x87a00000                                                 
 To End address - 0x87ffffff                                                    
ov3640_i2c_client_xfer:i2c transfer error:-5                                    
ov3640_read_reg:read reg error: reg=300a, val=0                                 
insmod: error inserting 'v4l2_driver.ko': -1 Operation not permitted

Damm :/



Ananthu86 wrote:
  
Hi batoub,

    We are the e-CAM product developers.
You can get answers to any question regarding to e-con e-CAM camera from
us.

Thanks and regards,
Ananth.

batoub wrote:
    
Well, everything is ok with this patch!

Thank you, but where have you found this patch?

2010/6/16 batoub <batoub@gmail.com <mailto:batoub@gmail.com>>

    Hi,

    Thank for your quick answer!
    I will try with the new patch :) and I send a feedback later!

    Thank you!

    2010/6/16 Ananthapadmanaban <gapadmanaban@e-consystems.com
    <mailto:gapadmanaban@e-consystems.com>>

        Hi batoub,

            What kernel version you wish to work with e-CAM driver ?

            Please find the 2.6.33 patch file in the attachment. And
        the error you got is due to not availability of lm355 led
        flash chip in e-cam board.
         But your camera related features will work correctly. Please
        test the driver with the provided sample application
        *capture.elf*.

        Thanks and regards,
        Ananth.


        batoub wrote:
      
        Hi,

        First econ provide only a patch for kernel 2.6.30 so I need to
use this
        kernel :/ then I have a strange bug using when I load the
driver. It seem
        like i2c is not working at all?

        root@overo:~# insmod v4l2_driver.ko 

        Driver Module info : V4l2 driver module
        Version info : 3.0

        Using Reserved memory for V4l2 driver module<6>
        >From Start address - 0x87a00000 
         To End address - 0x87ffffff 
        ov3640 found: product id is 0x36 
        flash_i2c_client_xfer:i2c transfer error:-121
        ERROR!
        File            :
       
/home/bastien/These/cam_gumstix/software/OMAP_gumstix_cam_Software_VER_3/Source/driver/lm3553_flash.c<7><7>
        Function        : flash_i2c_client_xfer<7><7>
        Line number     : 147<7><7>
        Reason          : An unidentified error is happening.. please
report to code
        developer!<7><7>
       
------------------------------------------------------------------------------
        Flash write failed :lm3553_write: reg=c0<7><7>
       
-------------------------------------------------------------------------------<7><7>
        ERROR!
        File            :
       
/home/bastien/These/cam_gumstix/software/OMAP_gumstix_cam_Software_VER_3/Source/driver/lm3553_flash.c<7><7>
        Function        : lm3553_write<7><7>
        Line number     : 169<7><7>
        Error name      : 1. PORT_OPEN_ERROR 2. FAIL 3.EPERM<7><7>
        Error number Dec: -1 Hex: 0xFFFFFFFF <7><7>
        Reason          : 1. unknown cause of failure											
        		 2. Failed to open the port may be driver is not properly
inserted or file
        not found				
        		 3. Operation not permitted<7><7>
       
------------------------------------------------------------------------------


        Is there any solution ?

        Thank you,

        Bastien
          
        
       
------------------------------------------------------------------------------
        ThinkGeek and WIRED's GeekDad team up for the Ultimate
        GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
        lucky parental unit.  See the prize list and enter to win:
        http://p.sf.net/sfu/thinkgeek-promo
        _______________________________________________
        gumstix-users mailing list
        gumstix-users@lists.sourceforge.net
        <mailto:gumstix-users@lists.sourceforge.net>
        https://lists.sourceforge.net/lists/listinfo/gumstix-users



------------------------------------------------------------------------

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
------------------------------------------------------------------------

_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users
  
      
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users