[mythtv-commits] Ticket #1648: Firewire Recorder missing signal monitor (get's stuck)

MythTV mythtv at cvs.mythtv.org
Wed Jan 10 15:10:59 UTC 2007

#1648: Firewire Recorder missing signal monitor (get's stuck)
 Reporter:  xris    |        Owner:  jwestfall
     Type:  patch   |       Status:  new      
 Priority:  minor   |    Milestone:  0.21     
Component:  mythtv  |      Version:  head     
 Severity:  medium  |   Resolution:           
Comment (by danielk):

 (In [12471]) Refs #1648. Delays Firewire bus reset handling and fixes a
 bug resetting broadcast connections.

 The Scientific Atlanta HD4200 is a bus master, like a PC on the firewire
 bus, and it performs gapcount optimization. This results in extra bus
 resets whenever the bus is reset. If we try to reconnect the plugs while
 these resets are in flight the iec61883 library calls can get stuck. With
 this commit we only find the devices in the reset handler and start a 100
 ms timer whenever we see a reset. When the timer expires we reconnect the
 plugs. Since we have 1000 ms to do this according to the specs the
 streaming should resume properly.

 The other problem fixed was with resuming broadcast connections. Here we
 were just calling OpenBroadcastNode(), but this stops the A/V streaming,
 which we don't want to do on a reset.

Ticket URL: <http://cvs.mythtv.org/trac/ticket/1648#comment:18>
MythTV <http://www.mythtv.org/>

More information about the mythtv-commits mailing list