[mythtv-commits] Ticket #5278: Firewire Uses Bad Port Number and Fails

MythTV mythtv at cvs.mythtv.org
Thu May 1 04:21:16 UTC 2008


#5278: Firewire Uses Bad Port Number and Fails
---------------------------------+------------------------------------------
 Reporter:  scottadmi at gmail.com  |       Owner:  ijr    
     Type:  defect               |      Status:  new    
 Priority:  minor                |   Milestone:  unknown
Component:  mythtv               |     Version:  0.21   
 Severity:  medium               |     Mlocked:  0      
---------------------------------+------------------------------------------
 This occurs when using mythtv with a firewire connected HD cable box.
 Specifically Motorola DCH3200.

 Occasionally (often after performing a channel change), the backend will
 no longer record or stream any channel via firewire - this condition
 persists until the mythbackend is restarted at which point it works again.
 Further, no error is displayed, rather (if in live tv mode) the screen
 will simply remain blank for half a minute then return to the menu.

 The issue is not related to channel changing or stable broadcast as it
 will successfully change channels on the digital box and firewire_tester
 indicates a stable connection. Rather, it seems like the firewire node or
 port number is reverting to -1 for some reason (which presumably gets
 cleared out when restarting the backend and corrects the problem).

 Below are the relevant log entries from such an occurence:

 TVRec(4): Changing from None to WatchingLiveTV
 TVRec(4): HW Tuner: 4->4
 LAVCInfo(), Error: Unable to get handle for port: -1
                         eno: Invalid argument (22)
 ret_pid(0) child(9135) status(0x0)
 ret_pid(9135) child(9135) status(0x0)
 External Tuning program exited with no error
 LAVCInfo(), Error: Unable to get handle for port: -1
                         eno: Invalid argument (22)
 ...
 Preview Error: Previewer file
 '/mnt/store/recordings/2212_20080430235337.mpg' is not valid.
 Preview Error: Run() file not local:
 '/mnt/store/recordings/2212_20080430235337.mpg'
 Preview Error: Preview process not ok.
         fileinfo(/mnt/store/recordings/2212_20080430235337.mpg.png)
 exists: 0 readable: 0 size: 0

 From reference after stopping and starting the mythbackend, the same
 operation performs correctly and results in this log:

 TVRec(4): Changing from None to WatchingLiveTV
 TVRec(4): HW Tuner: 4->4
 ret_pid(0) child(9471) status(0x0)
 ret_pid(9471) child(9471) status(0x0)
 External Tuning program exited with no error
 AutoExpire: CalcParams(): Max required Free Space: 4.0 GB w/freq: 15 min
 LFireDev(001C11FFFEA14FC5): Buffered packets 2000 (8000 KB)

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/5278>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list