Skip to main content

Pinnacle PCTV HD Pro Stick in Ubuntu Gutsy

These are simple instructions I used to make Pinnacle PCTV HD Pro USB Stick work on Ubuntu Gutsy.

Software:

sudo apt-get install tvtime dvb-utils libxine1-ffmpeg libxine1-gnome kaffeine kaffeine-xine libxine-1 mercurial gcc build-essential linux-source linux-headers-`uname -r`

Firmware:

cd /lib/firmware/`uname -r`
sudo wget http://konstantin.filtschew.de/v4l-firmware/firmware_v4.tgz
sudo tar -xzvf firmware_v4.tgz


Build Linux Driver:

mkdir driver
hg clone http://mcentral.de/hg/~mrec/v4l-dvb-experimental/
cd v4l-dvb-experimental
make
sudo make install

Now Reboot your system.

Analog channels:
- start tvtime, go thru the OSD menu and scan for channels.

Problem:
- Audio does not work for analog TV channels

Digital Channels:

1. Test using Xine
Xine's TV channel configuration file (for ATSC)
~/.xine/channels.conf
must first be created. To create it by scanning ensure that the
TV channel scanning utility "scan" is installed
"scan" requires a try-and-error list of frequencies.
I entered
A 500000000 8VSB
A 501000000 8VSB
A 502000000 8VSB
...
A 900000000 8VSB
(in increments of 1000000) in a new file
scanlist.txt
(I used a program to generate that long list.)
I'm not sure about the range or the increment.
Then scan for channels using
$ scan scanlist.txt > ~/.xine/channels.conf
My channels.conf got this
KSTS-DT:683000000:8VSB:49:52:3
KNTV-DT:683000000:8VSB:0:0:4
KTEH-DT:689000000:8VSB:49:52:1
[0003]:695000000:8VSB:49:52:3
KICU-HD:701000000:8VSB:49:52:3
KICU-SD:701000000:8VSB:65:68:4
KTFK DT:761000000:8VSB:49:52:3
Launch Xine
$ xine
Click DVB on Xine's control panel.
Select a channel using Xine's navigator under the "N" button.
Xine should now be showing TV w/ audio.

You can also use predefined files that comes with dvb-utils
scan -n -o zap -p /usr/share/doc/dvb-utils/examples/scan/atsc/us-CA-SF-Bay-Area > ~/.xine/channels.conf

8. Test using Kaffeine
Kaffeine's TV channel configuration file (for ATSC)
~/.kde/share/apps/kaffeine/channels.dvb
must first be created. To create it using Kaffeine's channel
editor and the data from Xine's configuration file launch
Kaffeine
$ kaffeine
and click the "Digital TV" icon and then "DVB"->"Channels" and
"New". Using the first entry from the ~/.xine/channels.conf as
example I entered
Name: KSTS-DT
Frequency: 683000
Modulation: 8VSB
Video PID: 49
Audio PID: 52
Transport Stream ID: 3
My channels.dvb got this
TV|KICU-HD|49(2)|52(en),|0|0|3|Atsc|701000|0|v|-1|-1|108|-1|-1|-1|-1|-1|1|||
TV|KICU-SD|65(2)|68(ko),|0|0|4|Atsc|701000|0|v|-1|-1|108|-1|-1|-1|-1|-1|2|||
TV|KSTS-DT|49(2)|52(es),|0|0|3|Atsc|683000|0|v|-1|-1|108|-1|-1|-1|-1|-1|3|||
TV|KTEH-DT|49(2)|52(en),|0|0|1|Atsc|689000|0|v|-1|-1|108|-1|-1|-1|-1|-1|4|||
TV|KTFK-DT|49(2)|52(es),|0|0|3|Atsc|761000|0|v|-1|-1|108|-1|-1|-1|-1|-1|5|||
Dismiss the channel editor.
Select a channel in the left margin of Kaffeine.
Kaffeine should now be showing TV w/ audio.

The PCTV remote works (on Windows) but hardly with Xine and
limitedly with Kaffeine. Xine responds to a few buttons but
incorrectly. Kaffeine responds to the timer and channel no.
buttons and correctly. Command "xev" responds to all but a few
buttons.

The TV picture and audio is flawless. My computer is a
no-frills with a MSI mATX board, integrated NVidia GeForce6100
graphics and a Sempron 2800 CPU (single core). Cpu usage is 20%
(80% idle) with the DT channels (720x480) and 60% (40% idle)
with the HD channel (1280x720).

Reference:
Digital TV in linux with em28xx devices
http://www.2nrds.com/digital-tv-in-linux-with-em28xx-devices
Some of this text is a copy from other tutorials or blogs on the Web.

Good luck!! And apologize my poor English. :(
Post a Comment

Popular posts from this blog

Ubuntu GNOME 17.04 running with HiDPI and touch screen support

Ubuntu GNOME 17.04 running with HiDPI and touch screen support








See my previous post on how to install Ubuntu on Yoga Pro 2 for Ubuntu GNOME 16.10.

I think Ubuntu GNOME is the best flavor of Ubuntu if you are running in HiDPI mode 3200x1800. All screen captured images are at HiDPI resolution.
Touch support Ubuntu gnome support for touch screen is pretty good on the desktop shell.
Chrome browser supports touch screen very well and much better than Firefox without any plug-ins.
The windows key on the screen panel works as the windows key on the keyboard.
Screen rotation is supported on the new gnome and disables the keyboard when the yoga is used as a tablet, side lock rotation button works to lock the screen in a certain rotation.



 What works Almost everything works great out of the box, there isn't many changes you need to do.
UbuntuGnome ships with gnome 3.24 and will boot with full resolution HiDPI and touch screen support enabled
Screen HiDPI supportBrightness, resolution keys, o…

Ubuntu 17.10 review. Running with hidpi, touch screen and wayland support

Ubuntu GNOME 17.10

I think Ubuntu GNOME is the best flavor of Ubuntu if you are running in HiDPI mode 3200x1800 with a touchscreen. All screen captured images are at HiDPI resolution.

Since I prefer the standard gnome-session experience, I installed the "gnome-session" package and rebooted the system. And on the cog icon next to the sign in button, select the "GNOME" instead of ''Ubuntu" option before clicking the sign in button.

sudo apt install gnome-session

Touchpad
I increased the speed, enabled "tap to click", "two finger scrooling". and on gnome-tweak enabled click method to "fingers".
Touch support Ubuntu gnome support for touchscreen is pretty good on the desktop.
Chromium browser supports touch screen very well and much better than Firefox without any plug-ins.
In my Yoga pro 2, the windows key on the screen panel works as the windows key on the keyboard.
Screen rotation is supported on the new gnome and disables …

Using a socks proxy

#ssh to a machine on the network you need access and start # a local socks server ssh -D 9999 httpserver.blah.com
# setweb browser proxy to proxy: localhost:9999
# To use other apps with socks install sudo apt-get install tsocks
# Change config file to (remove everything else) /etc/tsocks.conf server = 127.0.0.1 server_port = 9999
# ssh to a machine tsocks ssh -X httpserver.blah.com
# eclipse to a machine tsocks eclipse
reference: using tsocks for tunneling cmds lines and everything else http://www.plenz.com/tunnel-everything