Re: SoC Camera driver and TV decoder

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



include/linux/errno.h:#define ENOIOCTLCMD 515 /* No ioctl command */

What did I forget below?
static const struct v4l2_subdev_video_ops tvp5150_video_ops = {
       .s_routing = tvp5150_s_routing,

       /* SoC camera: */
       .s_stream       = tvp5150_s_stream,
       .g_mbus_fmt     = tvp5150_g_fmt,
       .s_mbus_fmt     = tvp5150_s_fmt,
       .try_mbus_fmt   = tvp5150_try_fmt,
       .enum_mbus_fmt  = tvp5150_enum_fmt,
/*      .cropcap        = tw9910_cropcap,
       .g_crop         = tw9910_g_crop,
       .s_crop         = tw9910_s_crop,*/
};

cropcap/g_crop/s_cros are necessary? why and when?

thanks
Janusz


On Thu, 27 Jan 2011, Janusz Uzycki wrote:

Hello Guennadi again.

I patched tvp5150.c according to tw9910 driver (without real cropping
support yet).
Unfortunately I got the messages:
camera 0-0: Probing 0-0
sh_mobile_ceu sh_mobile_ceu.0: SuperH Mobile CEU driver attached to camera 0
tvp5150 0-005d: chip found @ 0xba (i2c-sh_mobile)
tvp5150 0-005d: tvp5150am1 detected.

This looks good - i2c to the chip works!

sh_mobile_ceu sh_mobile_ceu.0: SuperH Mobile CEU driver detached from camera 0
camera: probe of 0-0 failed with error -515

This is strange, however - error code 515... Can you try to find out where
it is coming from?

Thanks
Guennadi


--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux