From: Hans Verkuil <hverkuil@xs4all.nl>
To: linux-media@vger.kernel.org
Subject: Re: ATI TV Wonder regression since at least 3.19.6
Date: Tue, 12 May 2015 07:57:27 +0200 [thread overview]
Message-ID: <55519647.5010007@xs4all.nl> (raw)
In-Reply-To: <20150511161203.GG3206@ptaff.ca>
Hi Patrice,
On 05/11/2015 06:12 PM, Patrice Levesque wrote:
>
> Hi,
>
> my wonderfully old ATI TV Wonder (PCI ID 14f1:8800, module cx8800)
> does not behave properly since I upgraded from Linux-3.18.6 to
> Linux-3.19.6 (Gentoo builds).
>
> I usually spawn MPlayer to use that device; when I use it under
> 3.19.6, I get an image like the one that's attached and the usual
> sound loopback that goes from the TV card to my sound card does not
> seem to be functioning. Booting with 3.18.6 makes everything work
> again.
>
> After a cold boot, with 3.18.6, the first use of the TV card seems
> to provoke some kind of initialization (image takes like 0.5 seconds
> to settle), with 3.19.6, I immediately get the broken image.
>
> Nothing in `dmesg` would indicate something's horribly broken.
>
> What kind of debugging output would be useful to you guys so we can
> identify the issue?
Can you go back to kernel 3.18 and make a small change to the cx88 driver:
edit drivers/media/pci/cx88/cx88-video.c, search for the function restart_video_queue()
(around line 469) and add this line:
printk("restart_video_queue\n");
to the start of the function:
static int restart_video_queue(struct cx8800_dev *dev,
struct cx88_dmaqueue *q)
{
struct cx88_core *core = dev->core;
struct cx88_buffer *buf, *prev;
printk("restart_video_queue\n");
if (!list_empty(&q->active)) {
buf = list_entry(q->active.next, struct cx88_buffer, vb.queue);
Compile and test your card, and then mail the dmesg output.
I'd also like to know the exact model of your board. If the 'restart_video_queue'
message appears in the kernel log, then I want to see if I can find this card
on ebay so I can try to reproduce it myself.
Regards,
Hans
next prev parent reply other threads:[~2015-05-12 5:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-11 16:12 ATI TV Wonder regression since at least 3.19.6 Patrice Levesque
2015-05-12 5:57 ` Hans Verkuil [this message]
2015-05-14 12:56 ` Patrice Levesque
2015-05-14 16:05 ` Hans Verkuil
2015-05-15 15:12 ` Patrice Levesque
2015-05-20 18:34 ` 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=55519647.5010007@xs4all.nl \
--to=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.