Piotr Michniewski wrote:
Well, I've modified your driver to compile using 2.6.17 (one liner)
OK. What did you have to change?
but it doesn't do anything. It loads fine, but there's no device or anything. Would your driver print anything if perhaps I broke my camera by plugging it wrong ? Or debug messages aren't implememted yet
I'm not using udev, so I created the device myself. crw-r--r-- 1 root root 81, 0 Apr 17 2006 /dev/video
I see the following dmesg output:
Linux video capture interface: v1.00 OMAP Camera driver initialzing omap1510cam_init cam_iobase FEFB6800 omap1510_cam_init omap1510cam_enable exit omap1510cam_enable exit omap1510cam_init omap1510cam_set_xclk requested=21000000 actual=24000000 OV6650 sensor chip 6650sensor_try_format sizeimage=202752 omap-camera: OMAP1510 Camera Parallel interface with OV6650 sensor ov6650sensor_calc_xclk ov6650sensor_calc_xclk returning 24000000 omap1510cam_init_dma omap-camera: registered device video0 [v4l2]
Are you sure you enabled the camera in the kernel config? The patch doesn't do it for you?
Matt