[mythtv-users] Firewire Channel Changing not working with sa3250ch

Daniel Arfsten darfsten at hotmail.com
Thu Sep 6 12:39:06 UTC 2007


I can't seem to get my sa3250hd stb to change channels when I try the 
command from the command line. Here's the output from many commands you may 
ask me to check:

Host Adapter 0
==============

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

Node 1 GUID 0x00506256000010be
------------------------------
libiec61883 error: error reading oMPR
libiec61883 error: error reading iMPR

here are some "dmesg | grep iee" results after starting up with everything 
hooked up:

ieee1394: unsolicited response packet received - no tlabel match
[ 5.006696] ieee1394: Speed probe of node 0-00:1023 yields S400
[ 5.014482] ieee1394: Node added: ID:BUS[0-00:1023] GUID[00194739706a0000]
[ 5.014904] ieee1394: Host added: ID:BUS[0-01:1023] GUID[00506256000010be]
[ 16.875675] ieee1394: raw1394: /dev/raw1394 device initialized

sudo firewire_tester -p -n 0 -v 5
Testing P2P connection, node 0, channel 0
p2p: success, 369 packets received
daniel at UBUNTU:~/Desktop/libiec61883-1.1.0/examples$ sudo firewire_tester -p 
-n 0 -v 5
Testing P2P connection, node 0, channel 0
p2p: success, 323 packets received
daniel at UBUNTU:~/Desktop/libiec61883-1.1.0/examples$ sudo firewire_tester -p 
-n 0 -v 5
Testing P2P connection, node 0, channel 0
p2p: success, 417 packets received

As you can see I believe everything is working correctly. I just can't for 
the life of me get the channel change script to work.

I checked /dev/raw1394
ls -la /dev/ | grep raw
crwxrwxrwx 1 root disk 171, 0 2007-09-05 10:22 raw1394
so I added mythtv to the disk group.

I tested test-mpeg2 again and I got a file with some size to it!!!! This was 
the error despite the file having some size this time:

test.mpg
libiec61883 warning: Overlayed connection on channel 0.
You may need to manually set the channel on the receiving node.
Starting to receive
done.

So I guess I just need to figure out how to change the channel. So what I 
did was ensure that sa3250ch had my vendor_id etc etc, it didn't. So I added 
it and recompiled sa3250ch.c. THen when I run it when logged in as root, 
this is the output:
# ./sa3250ch 24 -v
node 0: vendor_id = 0x00001947 model_id = 0x00000be0
AV/C Command: 024 = cmd0=0x00487ce7 cmd2=0x04343230 cmd3=0xff000000
AV/C Command: 024 = cmd0=0x00487c67 cmd2=0x04303234 cmd3=0xff000000

but the channel on the cable box doesn't change, isn't it suppose to?

Can you provide any help?

Daniel




More information about the mythtv-users mailing list