Welcome to pvrusb2cfg page

NEW GUI AVAILABLE

2008-04-12 Here it is the promised GUI for your hauppauge WinTv?-PVR-USB2 Finally i decided to code it using python (please be kind it's my first python coding experience) Now all you have to do is to run the pvrusb2cfg.py and to configure your PVR-USB2 in a simple and easy way. Please give it a try and let me know what you want me to enhance or to modify to make it sweets our needs. I plan to add a mplayer launcher as well in the future and perhaps a way to save and load configuration in user home directory. As always your feedback and patchs are welcome. some screenshots here

description

pvrusb2cfg is a project with a simple goal, assist you with your hauppauge WinTv?-PVR-USB2 under linux.

At this time the project is a single php command line script that require a working php5-cli installation on your computer. No specific module is required only the core php5 for command line. I only use and test it under ubuntu but feel free to contact me if you think of anything to improve it or even bug submission/patch are welcome.

I plan to make a php-Gtk2 version in a near future but don't now i'll perhaps will make it in python as it's better integrated in ubuntu distros.

Requirements

  • any php5-cli version
  • a linux distro with usbvision module or 2.6.20+ kernel as it's now part of it. ( so nothing to install under feisty fawn )
  • an Hauppauge WinTV-PVR-USB2 to configure

Features

  • list options availables and their current and possible values.
  • list only a list of given options current and possible values.
  • setting multiple options values in a one line command.

todo

  • bitmask values settable
  • interactive mode
  • graphical interface

How to use it

- see the help:

$ ./pvrusb2cfg.php -h

- see only options you want

$ ./pvrusb2cfg.php -g video_standard,input
result:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Id             | Current value | possible values                |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| input          | television    | one of: "television",          |
|                |               | "s-video", "composite",        |
|                |               | "radio"                        |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| video_standard | none          | one of: "none", "PAL-B/G",     |
|                |               | "PAL-D/K", "SECAM-B/G",        |
|                |               | "SECAM-D/K", "PAL-B",          |
|                |               | "PAL-B1", "PAL-G", "PAL-H",    |
|                |               | "PAL-I", "PAL-D", "PAL-D1",    |
|                |               | "PAL-K", "SECAM-B", "SECAM-D", |
|                |               | "SECAM-G", "SECAM-H",          |
|                |               | "SECAM-K", "SECAM-K1",         |
|                |               | "SECAM-L", "SECAM-LC"          |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
to see the full list type -h (help give all available parameters) or -L (only the pvrusb2 options)
$ ./pvrusb2cfg.php -L

- set some options

sudo ./pvrusb2cfg.php --input composite --volume 55000 --video_standard PAL-K
result:
Set Video Standard Name from "PAL-D" to "PAL-K"
done
Set Video Source from "television" to "composite"
done
Set Volume from "55000" to "55000"
done