public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Rob Davis <rob@davis-family.info>
To: linux-media@vger.kernel.org
Subject: HDPVR Woes
Date: Sat, 29 Jan 2011 11:31:44 -0600	[thread overview]
Message-ID: <1296322304.1732.40.camel@eeepc> (raw)

I am using a Hauppauge HDPVR unit with vdr and the pvrinput plugin. This
normally works really well, however every now and then thing stops
streaming, the big blue light goes off and pvrinput doesn't notice.  I
am trying to diagnose this with Lars Hanisch, one of the authors of
pvrinput.

The part of pvrinput it's failing on is:

else if (FD_ISSET(parent->v4l2_fd, &selSet)) {
log(pvrDEBUG1, "read");
r = read(parent->v4l2_fd, buffer, bufferSize);
log(pvrDEBUG1, "done read");


So, it never returns from r = read(parent->v4l2_fd, buffer, bufferSize);

If I do a cat /dev/video0 >/tmp/test.ts, and change the resolution of 
the cable box, the cat command never finishes, but the blue light goes 
out and test.ts stops increasing in size. (This simulates the same kind 
of behaviour, so I'm guessing it's a TS error of some sort).

I am compiling the latest dev tree of v4l at the moment but don't think 
much development has happened in this driver.

The problem compounds on VDR as if there is no signal while recording, 
VDR assumes its a driver lockup and restarts itself, breaking any 
concurrent recordings on other input devices.

Rob


                 reply	other threads:[~2011-01-29 17:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1296322304.1732.40.camel@eeepc \
    --to=rob@davis-family.info \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox