[mythtv-users] Firewire Problems, was working

Allan Wilson allanwilson at gmail.com
Fri Sep 22 08:57:11 EDT 2006


Output from plugreport:
Host Adapter 0
==============

Node 0 GUID 0x0016920e80ca0000
------------------------------
oMPR n_plugs=1, data_rate=2, bcast_channel=63
oPCR[0] online=1, bcast_connection=0, n_p2p_connections=0
        channel=0, data_rate=2, overhead_id=0, payload=146
iMPR n_plugs=0, data_rate=2

Node 1 GUID 0x00169205a0d00000
------------------------------
oMPR n_plugs=1, data_rate=2, bcast_channel=63
oPCR[0] online=1, bcast_connection=0, n_p2p_connections=0
        channel=0, data_rate=2, overhead_id=0, payload=146
iMPR n_plugs=0, data_rate=2

Node 2 GUID 0x00004c0100004195
------------------------------
libiec61883 error: error reading oMPR
libiec61883 error: error reading iMPR

Here is the plugctl commands that I have had to use in the past to get
firefire to work consistently:
#! /bin/sh
plugctl -n 0 oPCR[0].n_2p_connections=0
sleep 4
plugctl -n 0 oPCR[0].n_2p_connections=1
sleep 4
plugctl -n 0 oPCR[0].channel=63
sleep 4
plugctl -n 0 oPCR[0].bcast_connection=0
sleep 4
#plugctl -n 1 oPCR[0].n_2p_connections=0
#sleep 4
#plugctl -n 1 oPCR[0].n_2p_connections=1
#sleep 4
#plugctl -n 1 oPCR[0].channel=62
#sleep 4
#plugctl -n 1 oPCR[0].bcast_connection=0

I tried to compile and run the firewire_tester by running:
gcc -o firewire_tester firewire_test.c
and it doesn't compile. What is the proper command to compile the
firewire_tester?

Here is the output from running mythbackend -v channel,playback. I didn't go
in and setup the second firewire port in mythtv-setup because it seems to
break hidef just to have the second firewire box plugged in.
sh-3.00$ mythbackend -v channel,playback
2006-09-22 07:50:33.601 Using runtime prefix = /usr
2006-09-22 07:50:33.656 New DB connection, total: 1
2006-09-22 07:50:33.658 Connected to database 'mythconverg' at host:
localhost
2006-09-22 07:50:33.698 Current Schema Version: 1160
Starting up as the master server.
2006-09-22 07:50:33.741 New DB connection, total: 2
2006-09-22 07:50:33.741 Connected to database 'mythconverg' at host:
localhost
2006-09-22 07:50:33.756 EITHelper: localtime offset -5:00:00
2006-09-22 07:50:33.771 Channel(/dev/video0): Device name 'WinTV PVR 250'
driver 'ivtv'.
2006-09-22 07:50:33.772 New DB connection, total: 3
2006-09-22 07:50:33.784 Connected to database 'mythconverg' at host:
localhost
2006-09-22 07:50:33.828 ChannelBase(1): Input #1: 'Tuner 0' schan(7)
sourceid(1) ccid(1)
2006-09-22 07:50:33.828 ChannelBase(1): Current Input #1: 'Tuner 0'
2006-09-22 07:50:33.843 Global TVFormat Setting 'NTSC'
2006-09-22 07:50:33.875 Channel(/dev/video0): Input #1: 'Tuner 0' schan(7)
tun() v4l1(NTSC) v4l2(Unknown)
2006-09-22 07:50:33.875 Channel(/dev/video0): SetFormat(Default) fmt(NTSC)
input(1)
2006-09-22 07:50:33.875 Channel(/dev/video0): SetInputAndFormat(1, NTSC)
(v4l v2)
2006-09-22 07:50:33.888 Channel(/dev/video0): SetFormat(NTSC) fmt(NTSC)
input(1)2006-09-22 07:50:33.913 Channel(/dev/video0)::SwitchToI
nput(in 1, '')
2006-09-22 07:50:33.913 Channel(/dev/video0): SetInputAndFormat(1, NTSC)
(v4l v2)
2006-09-22 07:50:33.913 Channel(/dev/video0): SetChannelByString(7)
2006-09-22 07:50:33.914 ChannelBase(/dev/video0)::SetCachedATSCInfo(): 0--1
2006-09-22 07:50:33.926 Channel(/dev/video0): SetFormat(Default) fmt(NTSC)
input(1)
2006-09-22 07:50:33.927 Channel(/dev/video0)::Tune(175250000, , analog)
2006-09-22 07:50:34.096 Channel(/dev/video0)::Tune(): Frequency is now
1752500002006-09-22 07:50:34.096
ChannelBase(/dev/video0)::SetCachedATSCInfo(7_0):
7--1
2006-09-22 07:50:34.124 EITHelper: localtime offset -5:00:00
2006-09-22 07:50:34.155 Channel(/dev/video1): Device name 'WinTV PVR 500
(unit #1)' driver 'ivtv'.
2006-09-22 07:50:34.186 ChannelBase(2): Input #2: 'Tuner' schan(5)
sourceid(1) ccid(2)
2006-09-22 07:50:34.186 ChannelBase(2): Current Input #2: 'Tuner'
2006-09-22 07:50:34.186 Global TVFormat Setting 'NTSC'
2006-09-22 07:50:34.187 Channel(/dev/video1): Input #2: 'Tuner' schan(5)
tun() v4l1(NTSC) v4l2(Unknown)
2006-09-22 07:50:34.187 Channel(/dev/video1): SetFormat(Default) fmt(NTSC)
input(2)
2006-09-22 07:50:34.187 Channel(/dev/video1): SetInputAndFormat(2, NTSC)
(v4l v2)
2006-09-22 07:50:34.187 Channel(/dev/video1): SetFormat(NTSC) fmt(NTSC)
input(2)2006-09-22 07:50:34.199 Channel(/dev/video1)::SwitchToInput(in 2,
'')
2006-09-22 07:50:34.199 Channel(/dev/video1): SetInputAndFormat(2, NTSC)
(v4l v2)
2006-09-22 07:50:34.200 Channel(/dev/video1): SetChannelByString(5)
2006-09-22 07:50:34.201 ChannelBase(/dev/video1)::SetCachedATSCInfo(): 0--1
2006-09-22 07:50:34.232 Channel(/dev/video1): SetFormat(Default) fmt(NTSC)
input(2)
2006-09-22 07:50:34.233 Channel(/dev/video1)::Tune(77250000, , analog)
2006-09-22 07:50:34.401 Channel(/dev/video1)::Tune(): Frequency is now
77250000
2006-09-22 07:50:34.401 ChannelBase(/dev/video1)::SetCachedATSCInfo(5_0):
5--1
2006-09-22 07:50:34.402 EITHelper: localtime offset -5:00:00
2006-09-22 07:50:34.403 Channel(/dev/video2): Device name 'WinTV PVR 500
(unit #2)' driver 'ivtv'.
2006-09-22 07:50:34.447 ChannelBase(3): Input #3: 'Tuner' schan(5)
sourceid(1) ccid(3)
2006-09-22 07:50:34.447 ChannelBase(3): Current Input #3: 'Tuner'
2006-09-22 07:50:34.447 Global TVFormat Setting 'NTSC'
2006-09-22 07:50:34.447 Channel(/dev/video2): Input #3: 'Tuner' schan(5)
tun() v4l1(NTSC) v4l2(Unknown)
2006-09-22 07:50:34.447 Channel(/dev/video2): SetFormat(Default) fmt(NTSC)
input(3)
2006-09-22 07:50:34.448 Channel(/dev/video2): SetInputAndFormat(3, NTSC)
(v4l v2)
2006-09-22 07:50:34.448 Channel(/dev/video2): SetFormat(NTSC) fmt(NTSC)
input(3)2006-09-22 07:50:34.448 Channel(/dev/video2)::SwitchToInput(in 3,
'')
2006-09-22 07:50:34.465 Channel(/dev/video2): SetInputAndFormat(3, NTSC)
(v4l v2)
2006-09-22 07:50:34.465 Channel(/dev/video2): SetChannelByString(5)
2006-09-22 07:50:34.466 ChannelBase(/dev/video2)::SetCachedATSCInfo(): 0--1
2006-09-22 07:50:34.479 Channel(/dev/video2): SetFormat(Default) fmt(NTSC)
input(3)
2006-09-22 07:50:34.480 Channel(/dev/video2)::Tune(77250000, , analog)
2006-09-22 07:50:34.633 Channel(/dev/video2)::Tune(): Frequency is now
77250000
2006-09-22 07:50:34.634 ChannelBase(/dev/video2)::SetCachedATSCInfo(5_0):
5--1
2006-09-22 07:50:34.645 EITHelper: localtime offset -5:00:00
2006-09-22 07:50:34.672 ChannelBase(6): Input #6: 'MPEG2TS' schan(782)
sourceid(2) ccid(6)
2006-09-22 07:50:34.673 ChannelBase(6): Current Input #6: 'MPEG2TS'
2006-09-22 07:50:34.673 FireChan: Allocated raw1394 handle for port 0
2006-09-22 07:50:34.981 FireChan: Requesting STB Power State (cmd:
0x1ffb27f)
2006-09-22 07:50:35.002 FireChan: STB Power State: ON (0xcffb270)
2006-09-22 07:50:35.002 FireChan: SA4200Channel: 782 cmds: 0x487ce7
0x4030e00 0xff000000
2006-09-22 07:50:35.016 New DB scheduler connection
2006-09-22 07:50:35.016 Connected to database 'mythconverg' at host:
localhost
2006-09-22 07:50:35.042 Main::Starting HttpServer
2006-09-22 07:50:35.074 Main::Registering HttpStatus Extension
2006-09-22 07:50:35.102 mythbackend version: 0.20.20060915-1 www.mythtv.org
2006-09-22 07:50:35.103 Enabled verbose msgs:  important general channel
playback
2006-09-22 07:50:35.103 AutoExpire: Found 4 recorders w/max rate of 355
MiB/min
2006-09-22 07:50:35.133 AutoExpire: Required Free Space: 3.8 GB w/freq: 5
min
2006-09-22 07:50:37.152 Reschedule requested for id -1.
2006-09-22 07:50:38.526 Scheduled 324 items in 1.4 = 0.18 match + 1.20 place
2006-09-22 07:50:38.549 Recording starts soon, AUTO-Startup assumed
2006-09-22 07:51:34.913 MainServer::HandleAnnounce Monitor
2006-09-22 07:51:34.914 adding: mythtv as a client (events: 0)
2006-09-22 07:51:34.914 MainServer::HandleAnnounce Monitor
2006-09-22 07:51:34.915 adding: mythtv as a client (events: 1)
2006-09-22 07:51:34.923 MainServer::HandleAnnounce Playback
2006-09-22 07:51:34.924 adding: mythtv as a client (events: 0)
2006-09-22 07:51:34.926 TVRec(6): Changing from None to WatchingLiveTV
2006-09-22 07:51:34.928 TVRec(6): HW Tuner: 6->6
2006-09-22 07:51:34.931 ChannelBase(6): Input #6: 'MPEG2TS' schan(782)
sourceid(2) ccid(6)
2006-09-22 07:51:34.931 ChannelBase(6): Current Input #6: 'MPEG2TS'
2006-09-22 07:51:34.932 FireChan: SA4200Channel: 782 cmds: 0x487ce7
0x4030e00 0xff000000
2006-09-22 07:51:35.170 FireRec: Buffered packets 2000 (8000 KB)
2006-09-22 07:51:41.725 TVRec(6): Changing from WatchingLiveTV to None
2006-09-22 07:51:50.181 FireRec: No Input in 15 seconds [P:0 N:0] (select)
2006-09-22 07:51:50.196 Finished recording The Early Show: channel 2782
2006-09-22 07:51:50.202 FireChan: Releasing raw1394 handle
2006-09-22 07:51:50.216 MythSocket(82e96b0:-1): writeStringList: Error,
socket went unconnected.

Thanks, Allan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20060922/df49a307/attachment.htm 


More information about the mythtv-users mailing list