mythbuntu 8.04 alpha2: firewire capture (sa 4250hdc)
< mythbuntu 8.04: nxserver | mythtv: scientific atlanta 3250hd >
hrm. still not getting any love with firewire capture in mythtv. mythbuntu autoconfigured everything for me but i’m still unable to access my sa 4250hdc. one issue was that my mythtv user wasn’t part of the ‘disk’ group, and w/out that i’m not going to be able to access /dev/raw1394.
unfortunantly i’m still going to have to figure out what’s up with my serial ir blaster…. i just saw this pop up in /var/log/mythtv/mythbackend.log after i restarted the backend :
2008-02-22 20:32:54.401 FireDev(001BD7B3BACC0000): The Scientific Atlanta 4250 HDC is not supported by any MythTV Firewire channel changer.At the moment you must use an IR blaster.
2008-02-22 20:32:54.410 SetLastChannel(2): cleared: no
boo! ignore the rambling after the fold…..
atleast i’m starting from scratch with a clean system, so it should be a little easier to debug… right?) using the mythtv firewire howto and the ubuntu firewire howto.
see if we have all the modules loaded. (don’t need eth1394) #
$ lsmod | grep 1394
dv1394 20536 0
raw1394 29144 0
ohci1394 33584 1 dv1394
ieee1394 93752 4 sbp2,dv1394,raw1394,ohci1394
check the output of plugreport. (it helps if it’s installed) #
$ sudo plugreport
sudo: plugreport: command not found
$ sudo apt-get install libiec61883-dev
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following extra packages will be installed: libraw1394-dev
Suggested packages: libraw1394-doc
The following NEW packages will be installed:libiec61883-dev libraw1394-dev
…
$ sudo plugreport
Host Adapter 0
==============Node 0 GUID 0x00301bb100000e29
——————————
libiec61883 error: error reading oMPR
libiec61883 error: error reading iMPRNode 1 GUID 0x001bd7b3bacc0000
——————————
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
sweet! it’s connected. (most of this information was auto-filled in the mythbuntu setup) time to play with firewire_tester
$ cp /usr/share/doc/mythtv-backend/contrib/firewire_tester.c.gz . ; gzip -d firewire_tester.c.gz
$ gcc -Wall -o firewire_tester firewire_tester.c -liec61883 -lraw1394
The program ‘gcc’ can be found in the following packages:
* gcc
* pentium-builder
Try: sudo apt-get install <selected package>
-bash: gcc: command not found
MUAHAHAHAHAHAHAHAHAH…. boo (install some more stuff) #
$ sudo apt-get install build-essential libraw1394-dev libie61883-dev
$ gcc -Wall -o firewire_tester firewire_tester.c -liec61883 -lraw1394
$ sudo ./firewire_tester -p -P 0 -n 1 -r 5
Action: Test P2P connection 5 times, node 1, channel 1
P2P: Testing…Failed
P2P: Testing…Failed
P2P: Testing…Failed
P2P: Testing…Failed
P2P: Testing…Failed
$ sudo ./firewire_tester -b -P 0 -n 1 -r 5
Action: Test broadcast 5 times, node 1, channel 62
Broadcast: Testing…Failed
Broadcast: Testing…Failed
Broadcast: Testing…Failed
Broadcast: Testing…Failed
Broadcast: Testing…Failed
ARG! alright, this isn’t working… time to go debug some stuff
$ ls -l /dev/*1394*
crw-rw—- 1 root disk 171, 0 2008-02-22 15:14 /dev/raw1394/dev/dv1394:
total 0
crw-rw—- 1 root video 171, 32 2008-02-22 15:14 0
$ groups
adm dialout cdrom floppy audio dip video plugdev admin mythtv lpadmin
HA! there’s one major problem… need to add my mythtv user to the ‘disk‘ group.
-
0
