Skip to contentSkip to conversation

ivtv / read() blocks for more than 2s sometimes

DISCUSSION Arne Wörner 1 participant 1 message Jul 3, 2008

lore
Share & tools
lore
#0 lore raw

Hi!

I use fedora core 8 x86_64 (athlon64 X2 5000+, 2gb ram, asrock mb) and update the packages whenever yum-updatesd notifies me...

About once a month
(i reboot about daily and record about 10-15 hrs of tv shows per day
(mostly from just one tv card at the same time))
one of my 2 hauppauge pvr 250 cards or their ivtv kernel module refuse to provide a read() call with data.
Whenever that happens my selfmade recording program closes the device issues "/usr/local/bin/ivtv-tune -t europe-west -d /dev/video0 -c E9" 4 times. Then it tries to read again from it. That repeats 5 minutes and then i reboot automatically, so that i loose about 7 minutes each time...

Is there an easier way?
Can I reset a single pci device
(e.g. by detaching the driver of a certain pci device and re-attaching it)?

Thx.

Bye
Arne