From: Mauro Carvalho Chehab <mchehab@redhat.com>
To: Hans Verkuil <hverkuil@xs4all.nl>
Cc: linux-media@vger.kernel.org,
"Sri Deevi" <Srinivasa.Deevi@conexant.com>,
"Palash Bandyopadhyay" <Palash.Bandyopadhyay@conexant.com>
Subject: Re: [GIT PULL FOR v3.9] cx231xx: v4l2 compliance and big-endian fixes.
Date: Tue, 5 Mar 2013 12:19:52 -0300 [thread overview]
Message-ID: <20130305121952.75418052@redhat.com> (raw)
In-Reply-To: <201302150946.59696.hverkuil@xs4all.nl>
Em Fri, 15 Feb 2013 09:46:59 +0100
Hans Verkuil <hverkuil@xs4all.nl> escreveu:
> This patch series cleans up the cx231xx driver based on v4l2-compliance
> reports.
>
> It is identical to the RFCv2 patch series I posted a week ago:
>
> http://www.mail-archive.com/linux-media@vger.kernel.org/msg58508.html
>
> I have tested this on various cx231xx devices. However, I have no hardware
> that supports the radio tuner, so that's untested. To my knowledge, no such
> devices exist at the moment anyway.
>
> Also note that the MPEG encoder support does not seem to work. It didn't work
> before these patches are applied, and it doesn't work afterwards. At best it
> will stream for a bit and then hang the machine. While I did convert the 417
> code to have it pass the compliance tests, I also disable 417 support in the
> single card that supports it (gracefully provided by Conexant for which I
> want to thank them!) until someone can find the time to dig into it and
> figure out what is wrong. Note that that board is an evaluation board and not
> a consumer product.
>
> In addition the vbi support is flaky as well. It was flaky before this patch
> series, and it is equally flaky afterwards. I have managed to get something
> to work only on rare occasions and only for NTSC, never for PAL.
>
> Finally I have tested this on a big-endian machine so there are a bunch of
> patches fixing a lot of endianness problems.
>
> A general note regarding this driver: I've found this to be a particularly
> fragile driver. Things like changing formats/standards, unplugging at
> unexpected times and vbi support all seem very prone to errors. I have
> serious doubts about the disconnect handling: this code really should use the
> core support for handling such events (in particular the v4l2_device release
> callback).
>
> Regards,
>
> Hans
>
> The following changes since commit ed72d37a33fdf43dc47787fe220532cdec9da528:
>
> [media] media: Add 0x3009 USB PID to ttusb2 driver (fixed diff) (2013-02-13 18:05:29 -0200)
>
> are available in the git repository at:
>
> git://linuxtv.org/hverkuil/media_tree.git cx231xx
>
> for you to fetch changes up to bb047a3fd001f7de36f94058c9c296332c494f83:
>
> cx231xx: fix gpio big-endian problems (2013-02-15 09:42:39 +0100)
>
> ----------------------------------------------------------------
> Hans Verkuil (26):
> cx231xx: add device_caps support to QUERYCAP.
> cx231xx: add required VIDIOC_DBG_G_CHIP_IDENT support.
> cx231xx: clean up radio support.
> cx231xx: remove broken audio input support from the driver.
> cx231xx: fix tuner compliance issues.
> cx231xx: zero priv field and use right width in try_fmt
> cx231xx: fix frequency clamping.
> cx231xx: fix vbi compliance issues.
> cx231xx: convert to the control framework.
> cx231xx: add struct v4l2_fh to get prio and event support.
> cx231xx: remove current_norm usage.
> cx231xx: replace ioctl by unlocked_ioctl.
> cx231xx: get rid of a bunch of unused cx231xx_fh fields.
> cx231xx: improve std handling.
> cx231xx-417: remove empty functions.
> cx231xx-417: use one querycap for all device nodes.
> cx231xx-417: fix g/try_fmt compliance problems
> cx231xx-417: checkpatch cleanups.
> cx231xx-417: share ioctls with cx231xx-video.
> cx231xx-417: convert to the control framework.
> cx231xx: remove bogus driver prefix in log messages.
> cx231xx: disable 417 support from the Conexant video grabber
Since when it was broken?
Did you c/c those patch series to Sri/Palash? What they said about the
issues with 417?
Palash/Sri:
I remember Palash mentioned that he would be the "odd fixes"
maintainer for Conexant drivers. If you're willing to do so, could you
please send us a patch for MAINTAINERS, to avoid the risk of having a
series like this one without your review?
Regards,
Mauro
> cx231xx: don't reset width/height on first open.
> cx231xx: don't use port 3 on the Conexant video grabber.
> cx231xx: fix big-endian problems.
> cx231xx: fix gpio big-endian problems
>
> drivers/media/usb/cx231xx/cx231xx-417.c | 1178 +++++++++++++++++++++++++------------------------------------
> drivers/media/usb/cx231xx/cx231xx-audio.c | 8 +-
> drivers/media/usb/cx231xx/cx231xx-avcore.c | 83 ++---
> drivers/media/usb/cx231xx/cx231xx-cards.c | 24 +-
> drivers/media/usb/cx231xx/cx231xx-core.c | 2 +-
> drivers/media/usb/cx231xx/cx231xx-pcb-cfg.c | 2 +-
> drivers/media/usb/cx231xx/cx231xx-vbi.c | 25 +-
> drivers/media/usb/cx231xx/cx231xx-video.c | 589 ++++++++-----------------------
> drivers/media/usb/cx231xx/cx231xx.h | 54 ++-
> 9 files changed, 740 insertions(+), 1225 deletions(-)
> --
> To unsubscribe from this list: send the line "unsubscribe linux-media" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2013-03-05 15:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-15 8:46 [GIT PULL FOR v3.9] cx231xx: v4l2 compliance and big-endian fixes Hans Verkuil
2013-03-05 7:47 ` Hans Verkuil
2013-03-05 15:19 ` Mauro Carvalho Chehab [this message]
2013-03-05 15:39 ` Hans Verkuil
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130305121952.75418052@redhat.com \
--to=mchehab@redhat.com \
--cc=Palash.Bandyopadhyay@conexant.com \
--cc=Srinivasa.Deevi@conexant.com \
--cc=hverkuil@xs4all.nl \
--cc=linux-media@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.