[mythtv-users] Recording stopped working - IVTV?

Doug Haber doug at fawnanddoug.com
Mon Feb 12 02:33:44 UTC 2007


Hi All,

It turns out that the DB had my PVR 350 inputname as "Tuner 0" instead 
of "Tuner 1" in the card input table.  I had removed it using 
mythtv-setup, and replaced it, but somehow the db ended up with two 
rows.  I updated the old one to "Tuner 1", and it successfully recorded 
a show, but now I'm nervous that something will get confused since there 
are more rows than there are actual tuners.

Any ideas?

Thanks,
Doug

p.s. I figured it out by turning on the CHANNEL logging which displayed 
this:
2007-02-11 20:51:33.829 MainServer::HandleAnnounce Monitor
2007-02-11 20:51:33.832 adding: freshtv as a client (events: 1)
2007-02-11 20:51:52.710 Reschedule requested for id 911.
2007-02-11 20:52:00.171 Scheduled 1268 items in 7.5 = 0.19 match + 7.27 
place
2007-02-11 20:52:00.180 scheduler: Scheduled items: Scheduled 1268 items 
in 7.5 = 0.19 match + 7.27 place
2007-02-11 20:52:00.223 TVRec(1): Changing from None to RecordingOnly
2007-02-11 20:52:00.228 TVRec(1): HW Tuner: 1->1
2007-02-11 20:52:00.228 Channel(/dev/v4l/video0): Device name 'Hauppauge 
WinTV PVR-350' driver 'ivtv'.
2007-02-11 20:52:00.435 ChannelBase(1): Input #1: 'Tuner 0' schan(47) 
sourceid(1) ccid(1)
2007-02-11 20:52:00.436 ChannelBase(1): Input #3: 'Tuner 1' schan(2) 
sourceid(1) ccid(1)
2007-02-11 20:52:00.437 ChannelBase(1): Current Input #1: 'Tuner 0'
2007-02-11 20:52:00.437 Global TVFormat Setting 'NTSC'
2007-02-11 20:52:00.438 Channel(/dev/v4l/video0): Input #1: 'Tuner 0' 
schan(47) tun(3) v4l1(PAL) v4l2(Unknown)
2007-02-11 20:52:00.438 Channel(/dev/v4l/video0): Input #3: 'Tuner 1' 
schan(2) tun(3) v4l1(NTSC) v4l2(Unknown)
2007-02-11 20:52:00.439 Channel(/dev/v4l/video0): SetFormat(Default) 
fmt(Unknown) input(1)
2007-02-11 20:52:00.439 Channel(/dev/v4l/video0)::SwitchToInput(in 1, '')
2007-02-11 20:52:00.439 Channel(/dev/v4l/video0): SetInputAndFormat() failed
2007-02-11 20:52:00.440 TVRec(1) Error: Failed to set channel to 1. 
Reverting to kState_None
2007-02-11 20:52:00.440 TVRec(1): Changing from RecordingOnly to None
2007-02-11 20:52:00.444 Finished recording 1 COD - 8:00 PM (Manual 
Record) "Sun Feb 11 20:00:00 2007": channel 1001
2007-02-11 20:52:00.448 scheduler: Finished recording: 1 COD - 8:00 PM 
(Manual Record) "Sun Feb 11 20:00:00 2007": channel 1001
2007-02-11 20:52:00.475 Started recording: 1 COD - 8:00 PM (Manual 
Record) "Sun Feb 11 20:00:00 2007": channel 1001 on cardid 1, sourceid 1
2007-02-11 20:52:00.489 scheduler: Started recording: 1 COD - 8:00 PM 
(Manual Record) "Sun Feb 11 20:00:00 2007": channel 1001 on cardid 1, 
sourceid
1
2007-02-11 20:52:01.497 Reschedule requested for id 0.



Brad Fuller wrote:
> Doug Haber wrote:
>   
>> Hi All,
>>
>> I just upgraded to IVTV 0.9.1 (I also upgraded the kernel to 
>> 2.6.19-gentoo-r5), and now when I tune in to live tv or try to record 
>> something I get the below error.  If it's live tv, myth seems to ignore 
>> it and everything works, but if it's a recording then no file is created 
>> at all. 
>>
>> Any ideas?
>>
>> Here's a live tv error:
>> 2007-02-11 20:29:41.928 MainServer::HandleAnnounce Playback
>> 2007-02-11 20:29:41.931 adding: freshtv as a client (events: 0)
>> 2007-02-11 20:29:41.933 TVRec(1): Changing from None to WatchingLiveTV
>> 2007-02-11 20:29:41.937 TVRec(1): HW Tuner: 1->1
>> 2007-02-11 20:29:43.168 ret_pid(0) child(9245) status(0x0)
>> 2007-02-11 20:29:44.176 ret_pid(0) child(9245) status(0x0)
>> 2007-02-11 20:29:45.180 ret_pid(9245) child(9245) status(0x0)
>> 2007-02-11 20:29:45.181 External Tuning program exited with no error
>> 2007-02-11 20:29:45.273 MPEGRec(/dev/v4l/video0) Error: Error getting 
>> codec params using old IVTV ioctl
>>                         eno: Bad address (14)
>>   
>>     
> you might try mplayer on video1 and see if you get a picture. I had this 
> problem once.
>
>   
>> Here's a recording error:
>> 007-02-11 20:44:31.792 TVRec(1): Changing from None to RecordingOnly
>> 2007-02-11 20:44:31.801 TVRec(1): HW Tuner: 1->1
>> 2007-02-11 20:44:32.028 Channel(/dev/v4l/video0): SetInputAndFormat() failed
>> 2007-02-11 20:44:32.029 TVRec(1) Error: Failed to set channel to 2. 
>> Reverting to kState_None
>> 2007-02-11 20:44:32.030 TVRec(1): Changing from RecordingOnly to None
>> 2007-02-11 20:44:32.034 Finished recording 2 WCBS - 8:45 PM (Manual 
>> Record) "Sun Feb 11 20:45:00 2007": channel 1002
>> 2007-02-11 20:44:32.037 scheduler: Finished recording: 2 WCBS - 8:45 PM 
>> (Manual Record) "Sun Feb 11 20:45:00 2007": channel 1002
>> 2007-02-11 20:44:32.064 Started recording: 2 WCBS - 8:45 PM (Manual 
>> Record) "Sun Feb 11 20:45:00 2007": channel 1002 on cardid 1, sourceid 1
>> 2007-02-11 20:44:32.071 scheduler: Started recording: 2 WCBS - 8:45 PM 
>> (Manual Record) "Sun Feb 11 20:45:00 2007": channel 1002 on cardid 1, 
>> sourceid 1
>>
>>
>> Thanks,
>> Doug
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users at mythtv.org
>> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>>
>>   
>>     
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>   



More information about the mythtv-users mailing list