Author Topic: Pinnacle Hybrid TV Tuner PCTV 330e in Ubuntu 10.10 Maverick  (Read 57581 times)

0 Members and 1 Guest are viewing this topic.

Offline Mark Greaves (PCNetSpec)

  • Hero Member
  • *****
  • Posts: 18277
  • Karma: 479
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • Awards
Pinnacle Hybrid TV Tuner PCTV 330e in Ubuntu 10.10 Maverick
« on: March 01, 2011, 12:01:25 am »
How to istall the drivers and firmware for a Pinnacle Hybrid TV Tuner PCTV 330e (aka. WinTV-HVR 900 (R2)) in Ubuntu 10.10 Maverick Meerkat (and probably other versions).

You're going to use Kaffiene and/or VLC as the DVB-TV player(s).

First make sure the "Universe" and "Multiverse" repositories are enabled... Follow the instructions in this post:
http://linuxforums.org.uk/frequently-asked-questions/install-flashplayer-java-and-mp3-support-in-ubuntu/msg38852/#msg38852

Now make sure Synaptic, Ubuntu Software Centre, and the system Updater are all closed...

Then you'll need to install some other packages, so in a terminal enter:
Code: [Select]
sudo apt-get install mercurial build-essential linux-image-$(uname -r) linux-headers-$(uname -r)
then:
Code: [Select]
sudo apt-get install linux-firmware-nonfree dvb-apps libncurses5-dev
then:
Code: [Select]
sudo apt-get install vlc kaffeine libxine1 libxine1-all-plugins phonon-backend-xine

Next you need to download, patch, edit, build and install the driver, so enter these commands hitting enter after each line...

Code: [Select]
cd /usr/src
sudo hg clone http://kernellabs.com/hg/~dheitmueller/v4l-dvb-drxd
cd v4l-dvb-drxd
sudo wget http://xgazza.altervista.org/Linux/DVB/Drivers/drxd_2_6_35.diff
sudo patch -p1 < drxd_2_6_35.diff

Now you need to generate the .config file, so run:
Code: [Select]
sudo make menuconfig
When an ncurses GUI opens, dont change anything, just "Exit" and "Save" changes.

Then continue with:
Code: [Select]
sudo sed -i 's/CONFIG_DVB_FIREDTV=m/CONFIG_DVB_FIREDTV=n/' ./v4l/.config
sudo make
sudo make install

The next thing you need to do is add some firmware files to the /lib/firmware directory...

Code: [Select]
cd /lib/firmware
sudo wget http://kernellabs.com/firmware/drxd/drxd-a2-1.1.fw
sudo wget http://kernellabs.com/firmware/drxd/drxd-b1-1.1.fw

Next you need to download the Windows drivers and use the extract_xc3028.pl tool to extract the xc3028-v27.fw firmware from the Windows hcw85bda.sys file then move it to /lib/firmware

Code: [Select]
cd ~
wget http://www.steventoth.net/linux/xc5000/HVR-12x0-14x0-17x0_1_25_25271_WHQL.zip
unzip -j HVR-12x0-14x0-17x0_1_25_25271_WHQL.zip Driver85/hcw85bda.sys
cp /usr/src/linux-headers-$(uname -r)/Documentation/video4linux/extract_xc3028.pl ~/
chmod +x extract_xc3028.pl
./extract_xc3028.pl
sudo mv xc3028-v27.fw /lib/firmware/xc3028-v27.fw

Now reboot.

Kaffeine should now recognize your hardware as a digital tv receiver.
« Last Edit: May 05, 2011, 05:02:21 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline remoh

  • Jr. Member
  • **
  • Posts: 7
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Pinnacle Hybrid TV Tuner PCTV 330e in Ubuntu 10.10 Maverick
« Reply #1 on: April 07, 2011, 12:36:40 pm »
Hi i am new in ubuntu and i am trying to install pctv usb 330e on ubuntu 10 64bit.

after typing: sudo make menuconfig

i get             :make -C /usr/src/v4l-dvb-drxd/v4l menuconfig
make[1]: Entering directory `/usr/src/v4l-dvb-drxd/v4l'
make -C /lib/modules/2.6.35-22-generic/build -f /usr/src/v4l-dvb-drxd/v4l/Makefile.kernel config-targets=1 mixed-targets=0 dot-config=0 SRCDIR=/lib/modules/2.6.35-22-generic/build v4l-mconf
make[2]: Entering directory `/usr/src/linux-headers-2.6.35-22-generic'
make -f /lib/modules/2.6.35-22-generic/build/scripts/Makefile.build obj=scripts/kconfig hostprogs-y=mconf scripts/kconfig/mconf
 *** Unable to find the ncurses libraries or the
 *** required header files.
 *** 'make menuconfig' requires the ncurses libraries.
 ***
 *** Install ncurses (ncurses-devel) and try again.
 ***
make[3]: *** [scripts/kconfig/dochecklxdialog] Error 1
make[2]: *** [v4l-mconf] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.35-22-generic'
make[1]: *** [/lib/modules/2.6.35-22-generic/build/scripts/kconfig/mconf] Error 2
make[1]: Leaving directory `/usr/src/v4l-dvb-drxd/v4l'
make: *** [menuconfig] Error 2

what i am doing wrong?

The Linux Community Forum

Re: Pinnacle Hybrid TV Tuner PCTV 330e in Ubuntu 10.10 Maverick
« Reply #1 on: April 07, 2011, 12:36:40 pm »

Offline Mark Greaves (PCNetSpec)

  • Hero Member
  • *****
  • Posts: 18277
  • Karma: 479
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • Awards
Re: Pinnacle Hybrid TV Tuner PCTV 330e in Ubuntu 10.10 Maverick
« Reply #2 on: April 07, 2011, 02:49:28 pm »
Re-run the first 2 commands, as libncurse5-dev didn't get installed... which is why the output says:

*** Install ncurses (ncurses-devel) and try again.

:)
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline remoh

  • Jr. Member
  • **
  • Posts: 7
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Pinnacle Hybrid TV Tuner PCTV 330e in Ubuntu 10.10 Maverick
« Reply #3 on: April 07, 2011, 03:07:38 pm »
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libncurse5-dev


That's what i get in the 2 command

Offline Mark Greaves (PCNetSpec)

  • Hero Member
  • *****
  • Posts: 18277
  • Karma: 479
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • Awards
Re: Pinnacle Hybrid TV Tuner PCTV 330e in Ubuntu 10.10 Maverick
« Reply #4 on: April 07, 2011, 03:52:56 pm »
Ooops... My apologies  :-[ .. (typo) it should have been libncurses5-dev .. I've now fixed the line in above instructions.

run the top 2 commands again... this time there should be no error.
« Last Edit: April 07, 2011, 04:19:18 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

The Linux Community Forum

Re: Pinnacle Hybrid TV Tuner PCTV 330e in Ubuntu 10.10 Maverick
« Reply #4 on: April 07, 2011, 03:52:56 pm »

Offline remoh

  • Jr. Member
  • **
  • Posts: 7
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Pinnacle Hybrid TV Tuner PCTV 330e in Ubuntu 10.10 Maverick
« Reply #5 on: April 07, 2011, 04:47:22 pm »
it's ok but now i get this:   destination directory: v4l-dvb-drxd
abort: destination 'v4l-dvb-drxd' is not empty

Offline Mark Greaves (PCNetSpec)

  • Hero Member
  • *****
  • Posts: 18277
  • Karma: 479
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • Awards
Re: Pinnacle Hybrid TV Tuner PCTV 330e in Ubuntu 10.10 Maverick
« Reply #6 on: April 07, 2011, 05:13:31 pm »
OK, best bet... rename the existing /usr/src/v4l-dvb-drxd to /usr/src/old-v4l-dvb-drxd and start again.

Open a terminal and enter:
Code: [Select]
sudo mv /usr/src/v4l-dvb-drxd /usr/src/old-v4l-dvb-drxd
hit enter, and your password when asked.

Now start the instructions from the beginning.

Once you're done, you can delete the /usr/src/old-v4l-dvb-drxd directory if you wish.
« Last Edit: April 07, 2011, 05:15:24 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline remoh

  • Jr. Member
  • **
  • Posts: 7
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Pinnacle Hybrid TV Tuner PCTV 330e in Ubuntu 10.10 Maverick
« Reply #7 on: April 07, 2011, 09:11:47 pm »
[email protected]:~$ chmod +x extract_xc3028.pl
[email protected]:~$ ./extract_xc3028.pl
./extract_xc3028.pl: line 1: syntax error near unexpected token `newline'
./extract_xc3028.pl: line 1: `<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">'
[email protected]:~$ sudo mv xc3028-v27.fw /lib/firmware/xc3028-v27.fwmv: cannot stat `xc3028-v27.fw': No such file or directory



what about this error?

Offline Mark Greaves (PCNetSpec)

  • Hero Member
  • *****
  • Posts: 18277
  • Karma: 479
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • Awards
Re: Pinnacle Hybrid TV Tuner PCTV 330e in Ubuntu 10.10 Maverick
« Reply #8 on: April 07, 2011, 10:00:09 pm »
Looks like the new version of perl needs a new version of the extract_xc3028.pl perl script.

I've fixed the instructions in the above tutorial.

But all YOU need to do is delete the old version in your home directory, get the new version, run it, then move the firmware... so open a terminal and enter:

Code: [Select]
cd ~
rm extract_xc3028.pl
cp /usr/src/linux-headers-$(uname -r)/Documentation/video4linux/extract_xc3028.pl ~/
chmod +x extract_xc3028.pl
./extract_xc3028.pl
sudo mv xc3028-v27.fw /lib/firmware/xc3028-v27.fw

Now reboot.
« Last Edit: April 07, 2011, 10:46:54 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

The Linux Community Forum

Re: Pinnacle Hybrid TV Tuner PCTV 330e in Ubuntu 10.10 Maverick
« Reply #8 on: April 07, 2011, 10:00:09 pm »

Offline remoh

  • Jr. Member
  • **
  • Posts: 7
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Pinnacle Hybrid TV Tuner PCTV 330e in Ubuntu 10.10 Maverick
« Reply #9 on: April 08, 2011, 11:08:13 am »
[email protected]:/usr/src$ sudo hg clone http://kernellabs.com/hg/~dheitmueller/v4l-dvb-drxd
abort: error: No route to host


that is what i get now

Offline Mark Greaves (PCNetSpec)

  • Hero Member
  • *****
  • Posts: 18277
  • Karma: 479
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • Awards
Re: Pinnacle Hybrid TV Tuner PCTV 330e in Ubuntu 10.10 Maverick
« Reply #10 on: April 08, 2011, 02:02:15 pm »
has this PC got an internet connection ? .. if it has, try again, maybe the site was down for a while, I just tried the same command and it worked perfectly.

I don't understand why you started from the beginning again... you were nearly done, except for the firmware.
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline remoh

  • Jr. Member
  • **
  • Posts: 7
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Pinnacle Hybrid TV Tuner PCTV 330e in Ubuntu 10.10 Maverick
« Reply #11 on: April 08, 2011, 03:44:22 pm »
ok kaffeine now scan my area and get some channels but it gives me this error

Cannot find demux plugin for MRL "fifo:/home/remoh/.kde/share/apps/kaffeine/dvbpipe.m2t".

and another question. is it possible to watch analog channel  with kaffeine or do i have to use other program?

Offline Mark Greaves (PCNetSpec)

  • Hero Member
  • *****
  • Posts: 18277
  • Karma: 479
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • Awards
Re: Pinnacle Hybrid TV Tuner PCTV 330e in Ubuntu 10.10 Maverick
« Reply #12 on: April 08, 2011, 04:21:02 pm »
OK, make sure you have the "Universe" and "Multiverse" repos enabled... instructions here:
http://linuxforums.org.uk/frequently-asked-questions/install-flashplayer-java-and-mp3-support-in-ubuntu/

then install:

Code: [Select]
sudo apt-get install kaffeine libxine1 libxine1-all-plugins phonon-backend-xine

As suggested here:
https://help.ubuntu.com/community/Kaffeine

Can you let me know if this gets rid of the demux plugin error, so I can add them to the main tutorial... thanks.



I can't help you with the "is it possible to watch analog channel  with kaffeine" question, as I don't have a PCTV 330e

but a quick "Google" seems to *suggest* not, so you will probably be better off with vlc or mplayer for analogue (or maybe tvtime).

http://kaffeine.kde.org/

VLC is supposed to support DVB-TV and Analogue, so you may want to try that.

Code: [Select]
sudo apt-get install vlc
« Last Edit: April 08, 2011, 04:38:56 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline remoh

  • Jr. Member
  • **
  • Posts: 7
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Pinnacle Hybrid TV Tuner PCTV 330e in Ubuntu 10.10 Maverick
« Reply #13 on: April 09, 2011, 12:46:10 am »
Yes digital tv works perfect now
Thanks a lot .

Offline Mark Greaves (PCNetSpec)

  • Hero Member
  • *****
  • Posts: 18277
  • Karma: 479
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • Awards
Re: Pinnacle Hybrid TV Tuner PCTV 330e in Ubuntu 10.10 Maverick
« Reply #14 on: April 09, 2011, 01:03:33 am »
You're welcome :) .. Any chance you can let us know how you get on with Analogue ? .. and which software (if any) works best... Thanks.
« Last Edit: April 09, 2011, 01:05:10 am by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal