[mythtv] sa3250 tester

John P Poet jppoet at gmail.com
Thu Sep 21 05:02:34 UTC 2006


On 9/17/06, Jim Westfall <jwestfall at surrealistic.net> wrote:
> John P Poet <jppoet at gmail.com> wrote [09.16.06]:
> >
> > Worked perfectly, for me on a SA3250HD:
> >
> > $ ./firewire -n 0
> > Requesting Power Status
> >   Sending Command: 0x01FFB27F
> >   Success, Response: 0x0CFFB270
> > Powering OFF STB
> >   Sending Command: 0x00FFB260
> >   Success, Response: 0x09FFB260
> > Requesting Power Status
> >   Sending Command: 0x01FFB27F
> >   Success, Response: 0x0CFFB260
> > Powering ON STB
> >   Sending Command: 0x00FFB270
> >   Success, Response: 0x09FFB270
> > Requesting Power Status
> >   Sending Command: 0x01FFB27F
> >   Success, Response: 0x0CFFB270
>
> awesome, thanks.
>
> >
> > $ firewire_tester -n 0 -p -v
> > raw1394: Allocating handle, port 0.
> > Action: Test P2P connection 1 times, node 0, channel 0
> > P2P: Creating, node 0, channel 0
> > P2P: Testing...Success, 58 packets received
> > P2P: Disconnecting.
> > raw1394: Releasing handle.
> >
> >
> > As a side note, I have added a script to my rc.d which runs the
> > following just before mythbackend is started up:
> >
> > firewire_tester -n 0 -p -v
> > 1394reset
> > firewire_tester -n 0 -p -v
>
> The bus reset is kinda weird.  What kinda output do you get from
> 'firewire_tester -n 0 -B -v'?

Here is what I get if I try that command after rebooting (power-cycle)
the sa3250hd:

# firewire_tester -n 0 -B -v
raw1394: Allocating handle, port 0.
Action: Attempt to fix broadcast connection 1 times, node 0
Broadcast: Creating, node 0, channel 63
Broadcast: Testing...Failed
Broadcast: Disconnecting.
P2P: Creating, node 0, channel 0
P2P: Testing...Failed
P2P: Disconnecting.
P2P: Creating, node 0, channel 0
P2P: Testing...Failed
P2P: Disconnecting.
P2P: Creating, node 0, channel 0
P2P: Testing...Failed
P2P: Disconnecting.
P2P: Creating, node 0, channel 0
P2P: Testing...Failed
P2P: Disconnecting.
P2P: Creating, node 0, channel 0
P2P: Testing...Failed
P2P: Disconnecting.
P2P: Creating, node 0, channel 0
P2P: Testing...Failed
P2P: Disconnecting.
P2P: Creating, node 0, channel 0
P2P: Testing...Failed
P2P: Disconnecting.
P2P: Creating, node 0, channel 0
P2P: Testing...Failed
P2P: Disconnecting.
P2P: Creating, node 0, channel 0
P2P: Testing...Failed
P2P: Disconnecting.
P2P: Creating, node 0, channel 0
P2P: Testing...Failed
P2P: Disconnecting.
Broadcast Fix: Failed
raw1394: Releasing handle.

If I reset the bus then try it again:

# 1394reset
successfully got handle
current generation number (driver): 1
1 card(s) found
  nodes on bus:  2, card name: ohci1394
using adapter 0
found: 2 nodes on bus, local ID is 1, IRM is 1
current generation number (adapter): 11
successfully reset the bus (long bus reset)
found: 2 nodes on bus, local ID is 1, IRM is 1
current generation number (adapter): 11

# firewire_tester -n 0 -B -v
raw1394: Allocating handle, port 0.
Action: Attempt to fix broadcast connection 1 times, node 0
Broadcast: Creating, node 0, channel 63
Broadcast: Testing...Failed
Broadcast: Disconnecting.
P2P: Creating, node 0, channel 0
P2P: Testing...Success, 68 packets received
P2P: Disconnecting.
Broadcast: Creating, node 0, channel 63
Broadcast: Testing...Failed
Broadcast: Disconnecting.
P2P: Creating, node 0, channel 0
P2P: Testing...Success, 74 packets received
P2P: Disconnecting.
Broadcast: Creating, node 0, channel 63
Broadcast: Testing...Failed
Broadcast: Disconnecting.
P2P: Creating, node 0, channel 0
P2P: Testing...Success, 52 packets received
P2P: Disconnecting.
Broadcast: Creating, node 0, channel 63
Broadcast: Testing...Failed
Broadcast: Disconnecting.
P2P: Creating, node 0, channel 0
P2P: Testing...Success, 57 packets received
P2P: Disconnecting.
Broadcast: Creating, node 0, channel 63
Broadcast: Testing...Failed
Broadcast: Disconnecting.
P2P: Creating, node 0, channel 0
P2P: Testing...Success, 63 packets received
P2P: Disconnecting.
Broadcast: Creating, node 0, channel 63
Broadcast: Testing...Failed
Broadcast: Disconnecting.
P2P: Creating, node 0, channel 0
P2P: Testing...Success, 80 packets received
P2P: Disconnecting.
Broadcast: Creating, node 0, channel 63
Broadcast: Testing...Failed
Broadcast: Disconnecting.
P2P: Creating, node 0, channel 0
P2P: Testing...Success, 63 packets received
P2P: Disconnecting.
Broadcast: Creating, node 0, channel 63
Broadcast: Testing...Failed
Broadcast: Disconnecting.
P2P: Creating, node 0, channel 0
P2P: Testing...Success, 58 packets received
P2P: Disconnecting.
Broadcast: Creating, node 0, channel 63
Broadcast: Testing...Failed
Broadcast: Disconnecting.
P2P: Creating, node 0, channel 0
P2P: Testing...Success, 68 packets received
P2P: Disconnecting.
Broadcast: Creating, node 0, channel 63
Broadcast: Testing...Failed
Broadcast: Disconnecting.
P2P: Creating, node 0, channel 0
P2P: Testing...Success, 88 packets received
P2P: Disconnecting.
Broadcast: Creating, node 0, channel 63
Broadcast: Testing...Failed
Broadcast: Disconnecting.
Broadcast Fix: Failed
raw1394: Releasing handle.

John


More information about the mythtv-dev mailing list