[mythtv-users] Firewire channel changer for SA3250HD in Mythbuntu?

William Munson william_munson at comcast.net
Fri Mar 28 23:26:24 UTC 2008


Matt Emmott wrote:
> I finally pulled the trigger, formatting my FC8 box and loading 
> Mythbuntu 7.10 on it. I used Synaptic to update to .21 and had a fully 
> set up Myth FE/BE combo in under an hour. The issue that I'm running 
> into involves the F word I've had so much trouble with in the past - 
> Firewire.
>
> On the plus side, setting up Firewire and my SA3250 STB worked like a 
> charm. Viewing HD over Firewire (on the couple non-encrypted channels 
> I tried anyways) looks great. My problem, however, is when I try to 
> change the channel. It doesn't work. As it did in Fedora 8, trying to 
> tune to anything in Myth results in my cable box tuning to 133, then 
> 688, then stopping at 48.
>
> It seems that firewire on Myth, especially Ubuntu, is in a remarkable 
> state of flux. Virtually everything I found was either specific to 
> 0.20 or geared towards it. I attempted to compile the sa3250ch channel 
> changer script in /contrib/channel-changers and ended up with the 
> following:
>
> ------------------------
> matt at magic:/usr/share/doc/mythtv-backend/contrib/channel_changers$ 
> sudo cc -o sa3250ch sa3250ch.c -lrom1394 -lavc1394 -lraw1394
> sa3250ch.c:24:32: error: libavc1394/rom1394.h: No such file or directory
> sa3250ch.c:25:32: error: libavc1394/avc1394.h: No such file or directory
> sa3250ch.c:26:32: error: libraw1394/raw1394.h: No such file or directory
> sa3250ch.c:27:23: error: sys/types.h: No such file or directory
> sa3250ch.c:28:19: error: stdio.h: No such file or directory
> sa3250ch.c:29:19: error: errno.h: No such file or directory
> sa3250ch.c:30:20: error: stdlib.h: No such file or directory
> sa3250ch.c:31:20: error: string.h: No such file or directory
> sa3250ch.c: In function âusageâ:
> sa3250ch.c:59: warning: incompatible implicit declaration of built-in 
> function âfprintfâ
> sa3250ch.c:59: error: âstderrâ undeclared (first use in this function)
> sa3250ch.c:59: error: (Each undeclared identifier is reported only once
> sa3250ch.c:59: error: for each function it appears in.)
> sa3250ch.c:63: warning: incompatible implicit declaration of built-in 
> function âexitâ
> sa3250ch.c: In function âmainâ:
> sa3250ch.c:68: error: ârom1394_directoryâ undeclared (first use in 
> this function)
> sa3250ch.c:68: error: expected â;â before âdirâ
> sa3250ch.c:73: error: âquadlet_tâ undeclared (first use in this function)
> sa3250ch.c:73: error: expected â;â before âcmdâ
> sa3250ch.c:81: warning: incompatible implicit declaration of built-in 
> function âstrlenâ
> sa3250ch.c:90: warning: incompatible implicit declaration of built-in 
> function âfprintfâ
> sa3250ch.c:90: error: âstderrâ undeclared (first use in this function)
> sa3250ch.c:101: error: âraw1394handle_tâ undeclared (first use in this 
> function)
> sa3250ch.c:101: error: expected â;â before âhandleâ
> sa3250ch.c:104: error: âhandleâ undeclared (first use in this function)
> sa3250ch.c:105: error: âerrnoâ undeclared (first use in this function)
> sa3250ch.c:106: warning: incompatible implicit declaration of built-in 
> function âfprintfâ
> sa3250ch.c:109: warning: incompatible implicit declaration of built-in 
> function âfprintfâ
> sa3250ch.c:111: warning: incompatible implicit declaration of built-in 
> function âexitâ
> sa3250ch.c:117: warning: incompatible implicit declaration of built-in 
> function âexitâ
> sa3250ch.c:122: error: âdirâ undeclared (first use in this function)
> sa3250ch.c:123: warning: incompatible implicit declaration of built-in 
> function âfprintfâ
> sa3250ch.c:125: warning: incompatible implicit declaration of built-in 
> function âexitâ
> sa3250ch.c:129: warning: incompatible implicit declaration of built-in 
> function âprintfâ
> sa3250ch.c:146: warning: incompatible implicit declaration of built-in 
> function âfprintfâ
> sa3250ch.c:159: warning: incompatible implicit declaration of built-in 
> function âfprintfâ
> sa3250ch.c:163: warning: incompatible implicit declaration of built-in 
> function âexitâ
> sa3250ch.c:169: warning: incompatible implicit declaration of built-in 
> function âprintfâ
> sa3250ch.c:171: error: âcmdâ undeclared (first use in this function)
> sa3250ch.c:171: error: âAVC1394_CTYPE_CONTROLâ undeclared (first use 
> in this function)
> sa3250ch.c:171: error: âAVC1394_SUBUNIT_TYPE_PANELâ undeclared (first 
> use in this function)
> sa3250ch.c:171: error: âAVC1394_SUBUNIT_ID_0â undeclared (first use in 
> this function)
> sa3250ch.c:190: warning: incompatible implicit declaration of built-in 
> function âprintfâ
> sa3250ch.c:207: warning: incompatible implicit declaration of built-in 
> function âexitâ
> ----------------------------------------
>
> Should I try getting this script to compile, or is there a better 
> solution in Mythbuntu? Like I said, viewing HD right now isn't the 
> problem, it's the changing of the channels. I look forward to any 
> suggestions, I'm excited to be this close to a working system after 
> trying for so long!

You are missing some libraries. Try searching for "IEEE" in synaptic and 
install the ones you are missing. Dont forget to install the -dev 
packages too. I have it working on ubuntu and its proven to be pretty 
stable as long as you do not try to tune a channel with disabled 
firewire output. That seems to lock things up pretty good.




More information about the mythtv-users mailing list