Log in Register FAQ Memberlist Search pcHDTV Forum Index
pcHDTV Forum

pcHDTV Forum Index -> Installation/Setup -> Problems installing 5500 with ubuntu dapper on AMD 64 X2
Post new topic  This topic is locked: you cannot edit posts or make replies. View previous topic :: View next topic 
Problems installing 5500 with ubuntu dapper on AMD 64 X2
PostPosted: Wed Jun 07, 2006 8:33 pm Reply with quote
cyrus7580
 
Joined: 07 Jun 2006
Posts: 10




SYSTEM: Ubuntu dapper, AMD64-generic (using dual core), K8 motherboard.

I'm in one of those situations where almost nothing has gone right, so I don't really even know where to start.

I guess I should start with small gripe about how there are no Ubuntu instructions; Ubuntu is 50% more popular than the next most popular distro (SUSE, see distrowatch.org). Seems logical to have Ubuntu instructions available.

The first thing I tried to do was download and compile the latest drivers from pchdtv.com. I moved the tarball to /usr/local/ unpacked and then BOOM, it didn't get 20 lines before crashing. Here is the output:

cyrus@mediacenter:/usr/local/v4l-dvb$ sudo make
make -C /usr/local/v4l-dvb/v4l
make[1]: Entering directory `/usr/local/v4l-dvb/v4l'
echo "No version yet."
No version yet.
uname -r|perl -ne 'if (/^([0-9]*)\.([0-9])*\.([0-9]*)(.*)$/) { printf ("VERSION=%s\nPATCHLEVEL:=%s\nSUBLEVEL:=%s\nKERNELRELEASE:=%s.%s.%s%s\n",$1,$2,$3,$1,$2,$3,$4); };' > ./.version
make[1]: Leaving directory `/usr/local/v4l-dvb/v4l'
make[1]: Entering directory `/usr/local/v4l-dvb/v4l'
scripts/make_makefile.pl
creating symbolic links...
make -C /lib/modules/2.6.15-23-amd64-generic/build SUBDIRS=/usr/local/v4l-dvb/v4l modules
make[2]: Entering directory `/lib/modules/2.6.15-23-amd64-generic/build'
make[2]: *** No rule to make target `modules'. Stop.
make[2]: Leaving directory `/lib/modules/2.6.15-23-amd64-generic/build'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/usr/local/v4l-dvb/v4l'
make: *** [all] Error 2

I believe I have the appropriate kernel headers installed. It appears that my distro uses some different directory structure than usual. There is no build directory there. Creating it manually did not help.

So then I tried to use the CD that came with the card. This time the compilation didn't get through 7 lines before crashing:

cyrus@mediacenter:~/hd5500_stuff/v4l-dvb$ sudo make
make -C /home/cyrus/hd5500_stuff/v4l-dvb/v4l
make[1]: Entering directory `/home/cyrus/hd5500_stuff/v4l-dvb/v4l'
scripts/make_makefile.pl
make[1]: execvp: scripts/make_makefile.pl: Permission denied
make[1]: Leaving directory `/home/cyrus/hd5500_stuff/v4l-dvb/v4l'
make: *** [all] Error 2

Then I thought... maybe my kernel is new enough to already have the drivers installed. I was encouraged by the lsmod output: (I also have a bttv card installed)

cyrus@mediacenter:~$ /sbin/lsmod | grep cx
cx88_blackbird 22960 0
cx88_dvb 13060 0
cx8802 14980 2 cx88_blackbird,cx88_dvb
mt352 8964 1 cx88_dvb
or51132 11908 1 cx88_dvb
video_buf_dvb 8580 1 cx88_dvb
cx8800 38412 1 cx88_blackbird
cx88xx 69792 4 cx88_blackbird,cx88_dvb,cx8802,cx8800
nxt200x 15620 1 cx88_dvb
lgdt330x 10268 1 cx88_dvb
cx22702 8196 1 cx88_dvb
dvb_pll 13572 4 cx88_dvb,or51132,nxt200x,cx22702
i2c_algo_bit 11144 2 cx88xx,bttv
video_buf 27012 7 cx88_blackbird,cx88_dvb,cx8802,video_buf_dvb,cx8800,cx88xx,bttv
ir_common 12164 1 cx88xx
tveeprom 19344 2 cx88xx,bttv
v4l1_compat 14980 1 cx8800
v4l2_common 9088 2 cx8800,bttv
i2c_core 26624 14 i2c_acpi_ec,tuner,cx88_dvb,mt352,or51132,cx88xx,bttv,nxt200x,lgdt330x,cx22702,i2c_algo_bit,nvidia,i2c_nforce2,tveeprom
btcx_risc 6792 4 cx8802,cx8800,cx88xx,bttv
videodev 13696 4 cx88_blackbird,cx8800,cx88xx,bttv

I read somewhere that the blackbird stuff shouldn't be there. But I'm not sure about that. Any thoughts?

Thinking that MAYBE the drivers are already installed and ready to go, I tried compiling the dvb tools. Lo and behold, it actually compiled. But dtvscan gave the following error:

cyrus@mediacenter:~/hd5500_stuff/tools/dvb-atsc-tools-1.0.2$ ./dtvscan
dtvscan ver 1.0.2 - by Jack Kelliher (c) 2002,2005,2006
Attempting to open /dev/dtv
/dev/dvb/adapter0/frontend0: No such file or directory
failed opening any device

... which put me back at square one. It doesn't seem the devices are installed. I tried the MAKEDEV command I read in another post , but it didn't seem to make any difference.

Also, I tried tvtime and got a weird almost-plaid pattern instead of a picture on composite1, blank on the other other inputs.

So, obviously some stuff is very out-of-whack. Can somebody help me out with these errors?
View user's profile Send private message AIM Address
PostPosted: Thu Jun 15, 2006 7:09 pm Reply with quote
pcHDTV_tech
 
Joined: 16 Dec 2004
Posts: 295




Given that distrowatch.org is only counting the hits per day, I wouldn't say that makes Ubuntu more popular, just more visited. Could be that half of those hits are people returning to the page to figure out what to do with the distro. Ubuntu is good, don't get me wrong, but I would never recommend it to a newbie that just wanted to watch TV and learn a little linux while they're at it. Too many ways to mess things up.

That said, do you know where your kernel source tree is located? (where you built your kernel?) That is the directory that /lib/modules/<kernel version>/build should be pointing to and where the driver makefile expects to find your kernel .config file. That should help you get further on your first problem. Your second problem (trying drivers from CD) is that you didn't change the permissions on the directory you copied from the CD so you could actually build there. Do ls -la and see who everything belongs to in that directory.

The soonest HD5500 support will be included in the kernel is kernel 2.6.18. That will be when the kernel developers grab the next version from linuxtv.org.

HTH,

Rusty
View user's profile Send private message Visit poster's website
Re: Problems installing 5500 with ubuntu dapper on AMD 64 X2
PostPosted: Fri Jun 16, 2006 3:41 am Reply with quote
xyzzy
 
Joined: 12 Feb 2006
Posts: 225




cyrus7580 wrote:

make -C /lib/modules/2.6.15-23-amd64-generic/build SUBDIRS=/usr/local/v4l-dvb/v4l modules
make[2]: Entering directory `/lib/modules/2.6.15-23-amd64-generic/build'
make[2]: *** No rule to make target `modules'. Stop.
make[2]: Leaving directory

Two problems. One, the driver source provided by pcHDTV doesn't compile on 2.6.15. Unless they've fixed it recently. See my post here, about why and how to easily fix this.

Secondly, you need the kernel source, or at least the part of it that makes up the kernel build system, to compile the drivers. What do you have in the directory /lib/modules/2.6.15-23-amd64-generic/build? Did it not even exist? There should be (among other stuff) a file named Makefile in that directory. If that directory didn't exist or doesn't have the Makefile and the rest of the stuff that's needed, you need to install the kernel source. I don't use Ubuntu, but there is probably a kernel source package you can install. All ther other distros I've used work that way.

I think if you look at the output of dmesg, you will see that you are loading the DVB drivers that came with your kernel. They don't support the HD-5500. You'll probably find some message from cx88 or DVB about an unknown card. That's why the /dev/dvb/adapter0 device doesn't exist.
View user's profile Send private message
Problems installing 5500 with ubuntu dapper on AMD 64 X2
  pcHDTV Forum Index -> Installation/Setup
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 7 Hours  
Page 1 of 1  

  
  
 Post new topic  This topic is locked: you cannot edit posts or make replies.  


Powered by phpBB © 2001-2003 phpBB Group
Theme created by Vjacheslav Trushkin