[mythtv-users] Flakey HD-PVR

Richard Ferrara sicrb25 at bigpond.net.au
Thu Apr 12 09:43:05 UTC 2012


Update:

I have compiled and installed the latest v4l drivers:

"dmesg"
[  471.330099] usb 1-5: USB disconnect, device number 6
[  475.340013] usb 5-1: new full speed USB device number 6 using uhci_hcd
[  475.460015] usb 5-1: device descriptor read/64, error -71
[  475.684015] usb 5-1: device descriptor read/64, error -71
[  475.900015] usb 5-1: new full speed USB device number 7 using uhci_hcd
[  476.020016] usb 5-1: device descriptor read/64, error -71
[  476.244015] usb 5-1: device descriptor read/64, error -71
[  476.460016] usb 5-1: new full speed USB device number 8 using uhci_hcd
[  476.868014] usb 5-1: device not accepting address 8, error -71
[  476.924038] hub 5-0:1.0: unable to enumerate USB device on port 1
[  478.608020] usb 1-5: new high speed USB device number 8 using ehci_hcd
[  479.009514] hdpvr 1-5:1.0: firmware version 0x15 dated Jun 17 2010 09:26:53
[  479.196984] hdpvr 1-5:1.0: device now attached to video0
[  479.197325] usbcore: registered new interface driver hdpvr


"modinfo hdpvr"
filename:       /lib/modules/3.0.0-17-generic/kernel/drivers/media/video/hdpvr/hdpvr.ko
description:    Hauppauge HD PVR driver
author:         Janne Grunau
version:        0.2.1
license:        GPL
srcversion:     533BB7E5866E52F63B9ACCB
alias:          usb:v2040p4903d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v2040p4982d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v2040p4902d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v2040p4901d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v2040p4900d*dc*dsc*dp*ic*isc*ip*
depends:        videodev,v4l2-common
vermagic:       3.0.0-17-generic SMP mod_unload modversions 686 
parm:           video_nr:video device number (-1=Auto) (array of int)
parm:           hdpvr_debug:enable debugging output (int)
parm:           default_video_input:default video input: 0=Component / 1=S-Video / 2=Composite (uint)
parm:           default_audio_input:default audio input: 0=RCA back / 1=RCA front / 2=S/PDIF (uint)
parm:           boost_audio:boost the audio signal (bool)


"/etc/modprobe.d/hdpvr.conf"		(Yes, it is connected to composite and RCA Front)
options hdpvr default_video_input=2
options hdpvr default_audio_input=1

MythTV backend logs:
2012-04-12 19:37:51.372 MainServer::ANN Playback
2012-04-12 19:37:51.408 adding: mythtv as a client (events: 0)
2012-04-12 19:37:51.453 TVRec(1): Changing from None to WatchingLiveTV
2012-04-12 19:37:51.502 TVRec(1): HW Tuner: 1->1
2012-04-12 19:37:51.544 LoadFromScheduler(): Error, called from backend.
2012-04-12 19:37:51.546 AutoExpire: CalcParams(): Max required Free Space: 3.0 GB w/freq: 15 min
2012-04-12 19:37:52.006 AnalogSM(/dev/video0), Error: Start encoding failed
			eno: Resource temporarily unavailable (11)
2012-04-12 19:37:52.366 AnalogSM(/dev/video0), Error: Start encoding failed
			eno: Resource temporarily unavailable (11)
2012-04-12 19:37:52.714 AnalogSM(/dev/video0), Error: Start encoding failed
			eno: Resource temporarily unavailable (11)
2012-04-12 19:37:53.066 AnalogSM(/dev/video0), Error: Start encoding failed
			eno: Resource temporarily unavailable (11)
2012-04-12 19:37:53.414 AnalogSM(/dev/video0), Error: Start encoding failed
			eno: Resource temporarily unavailable (11)
2012-04-12 19:37:53.754 AnalogSM(/dev/video0), Error: Start encoding failed
			eno: Resource temporarily unavailable (11)
2012-04-12 19:37:54.098 AnalogSM(/dev/video0), Error: Start encoding failed
			eno: Resource temporarily unavailable (11)
2012-04-12 19:37:54.438 AnalogSM(/dev/video0), Error: Start encoding failed
			eno: Resource temporarily unavailable (11)

If, straight after doing this I run "cat /dev/video0 > /tmp/record"
cat: /dev/video0: Input/output error

If i rmmod hdpvr I need to run this command twice before it begins recording...
root at mythtv:/tmp# cat /dev/video0 > /tmp/record.avi
cat: /dev/video0: Input/output error
root at mythtv:/tmp# cat /dev/video0 > /tmp/record.avi

.... Any ideas?


On 12/04/2012, at 1:10 PM, Richard Ferrara wrote:

> Hi All,
> 
> I have recently purchased a HD-PVR and managed to get it working. The only problem is it's not working 100% of the time.
> 
> The main issue is that when I switch to the HD-PVR input (connected to a satellite STB via RCA front and composite), sometimes it will work (blue light turns on the device and streams), most of the time it will not. I have a workaround whereby a bash script runs the following command every three seconds "v4l2-ctl --device=/dev/video0 --set-input=2 --set-audio-input=1". This will get it working around 90% of the time. I do notice that when it does actually work, the blue record light turns on once, turns off, turns on again and begins streaming.
> 
> I have also set the kernel module options to reflect the correct inputs.
> 
> I have selected the correct inputs in mythtv-setup and without the script it has around a 10% chance of running.
> 
> The firmware on the device is updated to the latest 3rd party firmware from the manufacturers website.
> 
> I upgraded to the latest firmware on the device and upgraded the kernel to 3.3 which resolves the saturation issues, but not my problem.
> 
> Downgraded the firmware back to the latest supported and my kernel back to mythbuntu 11.10 base.
> 
> I have tested this with S-Video connectivity and still the same problems, I am about to test with component connections as well.
> 
> Does anyone have this device running without issue???
> 
> Thanks!



More information about the mythtv-users mailing list