Solved

Using FireDTV card on Ubuntu 8.10

Posted on 2009-04-15
18
1,217 Views
Last Modified: 2013-12-16
Hi There,
I'm using a FireDTV decoder card in a HTPC running on Ubunto 8.10. I need someone to help me with installing this decodercard because the supplier doesn't responds on my request. The explaination is that it is no core bussiness to support his product on Linux.
Basicly I can't locate a driver. Though I can find many patches, I think you first need something to patch on. Second, how do I install those patches and how do I know what is the latest version/patch?
Hope someone can help me.
0
Comment
Question by:jkruijt
  • 11
  • 7
18 Comments
 
LVL 34

Expert Comment

by:Duncan Roe
ID: 24152810
Can you tell us what you've found? (i.e. URLs)
0
 

Author Comment

by:jkruijt
ID: 24155916
Hi Duncan,
I've received the following url www.firedtv.bbackx.com/index.php?q=node/2
At this url is a clear explanation of how to install. But the link http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/patches/bad/ldp/dvb-add-firesat-driver.patch gives me a 404. I've received a new link http://www.kernel.org/pub/linux/kernel/v2.6/patch-2.6.29.1.bz2, but now I'm unable (as a newbee) to integrate that in the how-to. I've have tried to execute the patch (using --dry-run) but that gives unexplainable errors.
John
0
 
LVL 34

Accepted Solution

by:
Duncan Roe earned 500 total points
ID: 24156152
The first post is almost a year old. I wouldn't bother with getting the latest source from the git repository - the latest released kernel will at least be known to work and will be well ahead of whatever git would have given you in May 2008. The 3rd URL is a patch for 2.6.29.1. To give yourself any chance, get that version rather than what's in git now. URL is ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.29.1.tar.bz2 - the very newest one in that directory.
Having fetched the bz2 archive, unpack it and apply the patch (no dry run). If there are errors, post them here. Also if there are errors, blow away the directory tree and unpack a fresh copy. Example commands below
cd /usr/src

tar -xjf /usr/gz/linux-2.6.29.1.tar.bz2

cd linux-2.6.29

bzcat /usr/gz/patch-2.6.29.1.bz2 | patch -p1

Open in new window

0
 

Author Comment

by:jkruijt
ID: 24156350
Duncan, I'll try this over appr. 5 hours when I'm at home. Thanks, I'll be back.
0
 

Author Comment

by:jkruijt
ID: 24160008
Hi Duncan, I've followed your instructions. Downloaded the new kernel, unpacked it and tried to applit the patch.
Below is the result of this. As you can see there is a dir with the new kernel. I have placed the downloaded patch in /usr/gz. When I run the last command in your example, I get the error messages at the and. I probably will have done something terrible wrong.

john@MediaCenter:/usr/src/linux-2.6.29.1$ dir
arch       CREDITS      drivers   include  Kbuild  MAINTAINERS      net            samples   sound
block       crypto            firmware  init         kernel  Makefile      README            scripts   usr
COPYING  Documentation      fs        ipc         lib         mm            REPORTING-BUGS      security  virt

john@MediaCenter:/usr/src/linux-2.6.29.1$ sudo bzcat /usr/gz/patch-2.6.29.1.bz2 | patch -p1
patching file Makefile
Reversed (or previously applied) patch detected!  Assume -R? [n] y
patch: **** Can't rename file Makefile to Makefile.orig : Permission denied
john@MediaCenter:/usr/src/linux-2.6.29.1$
0
 

Author Comment

by:jkruijt
ID: 24160112
O yeah, after I had made a root password, the permission denied is not an issue anymore :-)
Only now there is more to go wrong:

john@MediaCenter:/usr/src/linux-2.6.29.1$ su
Password:
root@MediaCenter:/usr/src/linux-2.6.29.1# bzcat /usr/gz/patch-2.6.29.1.bz2 | patch -p1
patching file Makefile
Reversed (or previously applied) patch detected!  Assume -R? [n]
Apply anyway? [n] y
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej
patching file arch/arm/include/asm/elf.h
Reversed (or previously applied) patch detected!  Assume -R? [n] ^C
root@MediaCenter:/usr/src/linux-2.6.29.1#
0
 
LVL 34

Expert Comment

by:Duncan Roe
ID: 24163429
Sorry patch-2.6.29.1.bz2 is completely unnecessary. It is the patch to make linux-2.6.29.1 from linux-2.6.29. You already fetched 2.6.29.1 so no need for the patch. rm -r the directory you have now, and re-unpack it from linux-2.6.29.1.tar.bz2.
However, there is no firesat directory in that release. I guess it's no mainline yet. Googling for "firesat driver patch" found lots of URLs. It looks like you are back to using git but it seems firesat is available.
I couldn't find a good link for 2.6.29 but for 2.6.28 there is http://user.in-berlin.de/~s5r6/linux1394/firedtv/2.6.28/. This assumes you have some base revision of firesat.
I'm out of time right now but it looks like you have to go back to git. Try that, and a bit more Googling, and post your results.
0
 

Author Comment

by:jkruijt
ID: 24164973
Hi Duncun,

Thanks for the info. I'll try it and come back to you.

Regards, John
0
 

Author Comment

by:jkruijt
ID: 24174611
Hi Duncun, I'm really a good part further. I even have a decoder in the scream and working TV.
But....
During step before the last step in the howto I received error message. In de file attached you can see the out coming of the last 2 steps.
And..when I was prompted for regular Ubuntu updates, the update also game with this error message.

E: linux-image-2.6.29.1-firesat: subprocess post-installation script returned error exit status 2

Furthermore it looks like I have lost the driver for my graphics card.
I will try to download the driver again and install it. Is it possible that you give me an advise what to do with the error message?
Regards, John
InstallError.txt
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

Author Comment

by:jkruijt
ID: 24174654
Hi Duncun, during installation of the ATI card I get:

DKMS part of installation failed.  Please refer to /usr/share/ati/fglrx-install.log for details

I've enclosed the logfile.

Hope you have the time to help me out with this,

regards,

john
fglrx-install.log
0
 

Author Comment

by:jkruijt
ID: 24174795
Hi Duncun, after updating the driver I had to reboot and that leaves me with a dead system. So I'm going to re-install the whole system (7th time).
Regards,  John
0
 
LVL 34

Expert Comment

by:Duncan Roe
ID: 24174844
I think you lost the driver because of the failure in processing nvidia-common.
You might see the actual error message if you manually issue the command "/etc/kernel/postinst.d/nvidia-common".
I am not familiar with DKMS, or any Debian stuff really. But I suggest you try:

cd /usr/src/fglrx-8.602
make

You might get more information about the failing command if instead you type:

make V=1

(Linux kernel make understands that flag)

If the error messages don't give you enough info to solve the problem, post them here. Also post the failing script or Makefile.

Good luck ... Duncan.
0
 
LVL 34

Expert Comment

by:Duncan Roe
ID: 24174851
Didn't see your last comment - was composing my post. You should keep a known backup kernel installed. Then if the new one is no good, select the old one from the GRUB menu. Again, I never use GRUB. I use LILO, as per /usr/src/linux/README
0
 
LVL 34

Expert Comment

by:Duncan Roe
ID: 24174856
I meant to type: a known *good* backup kernel - D
0
 

Author Comment

by:jkruijt
ID: 24175359
Hi Duncun, can you please say something about:

E: linux-image-2.6.29.1-firesat: subprocess post-installation script returned error exit status 2

This was the first of the last 3 post......
0
 
LVL 34

Expert Comment

by:Duncan Roe
ID: 24177281
I did comment on it - first para in http:#24174844 (first 2 lines, then I go on to deal with the 2nd error)
What you need to do is run the failing script by hand so we can tie down just what the error is.
run-parts is a standard utility (not a Debianism) which runs all executable files in a given directory. It reported /etc/kernel/postinst.d/nvidia-common failed, that's why I asked that it be run by hand.
0
 

Author Comment

by:jkruijt
ID: 24182237
Hi Duncun, I've installed the decoder. I have cable signal and can scan for channels. I've dobne the whole installation from scratch again. The only this I didn't do was the video card installation.
I use a ATI Radeon 4650. Do you have any experience with this card under linux? Is there a specific card that is better to use with Linux?
The only problem I have now is that the channels almost all are coded and for some reason not viewable for me. But that is an other case I will sort out on a more specific forum (unless you have an knoledge obout that issue :-))
Kind regards and thanks for now, John
0
 

Author Closing Comment

by:jkruijt
ID: 31570326
It was partially complete and acurate because there was more then only the issue of the broken (404) link.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now