[pvrusb2] KnoppMyth R5A26 backend with pvrusb2

Mike Isely isely at isely.net
Wed Nov 16 22:39:09 CST 2005


A long time ago the KnoppMyth community expressed an interest in including 
the pvrusb2 driver directly into KnoppMyth.  This was roughly back around 
last May.  At the time the driver was not all that stable so I kind of 
"warned them off" for the time being.  Since that time things have 
improved considerably.  A while I posted an update on the forum discussion 
thread, suggesting that it might be worth trying now.  I never saw a 
reply.  Probably the message wasn't noticed.  But since you have an 
interest in this, perhaps you might want to bend their ears a little - 
especially since you've already blazed the trail to show that it can be 
made to work.

   -Mike


On Wed, 16 Nov 2005, Roger J. Allen wrote:

> You can use the latest KnoppMyth R5A26 as a backend MythTV server with
> a WinTV-PVR-USB2 with just a few changes.  After the hd install but
> before the reboot, you can compile the pvrusb2 driver, install the
> driver and firmware, and add the script to change the channels.  Then,
> the KnoppMyth configure scripts will do most of the hard work.
>
> Here is the KnoppMyth home page:
>
> http://www.mysettopbox.tv/knoppmyth.html
>
> Previously, I had the pvrusb2 running under Fedora Core 4 with the
> atrpms myth-suite rpms.  I installed KnoppMyth onto a spare partition
> on my laptop which had been running FC4.  It already had a swap
> partition, which KnoppMyth recognized.  It was VERY easy to install.
>
> boot from the cd
>
> At the menu, I choose Manual Install to keep my other partitions
>
> Follow the prompts until it's installed.
>
> After "KnoppMyth was successfully installed to hd", you drop to a shell
> prompt.
>
> Your new root is mounted on /mnt/hdinstall.
>
> chroot /mnt/hdinstall
> cd /usr/src
> tar jxf kernel-source-2.6.13.2-chw-3.tar.bz2
>
> Copy the pvrusb2 firmware to /usr/lib/hotplug/firmware.
>
> Copy the latest pvrusb2 snapshot, extract, compile, and install the
> pvrusb2.ko driver like the docs say.  The ivtv modules are already part
> of KnoppMyth.
>
> Copy utils/change-channel.sh to /usr/local/bin.  I changed the script
> to use /home/mythtv/.tv/freqs and copied my freqs from my FC4 box.
> Edit /etc/sudoers to allow mythtv to run
> /usr/local/bin/change-channels.sh as root.  This is the first time I
> tried to use the tuner on the pvrusb2, so there may be a better way
> to do this.
>
> I had to create /myth/tv and /cache/cache directories and changed
> owner and groups to mythtv for them.  An Auto Install probably
> creates these for you.
>
> Now, cleanup and leave the chroot environment with:
>
> rm -rf /usr/src/kernel-source-2.6.13.2-chw-3
> exit
>
> Copy the pvrusb2.ko driver and modified sudoers file somewhere safe
> in case you need to reinstall.
>
> exit
> choose Reboot from the menu
>
> My laptop already had grub installed in the MBR.  KnoppMyth tried to
> install lilo, but when it rebooted, the grub menu came up.  I booted
> to FC4 and added the info to boot the KnoppMyth partition to
> /boot/grub/grub.conf, and rebooted.
>
> Now, it will boot to the normal KnoppMyth configuration scripts.
> Follow the instructions, and it will walk you thru setting
> everything up.
>
> These are important settings for mythtv-setup with the pvrusb2:
>
> 1. General - VBI format:  "None"
> 2. Capture Card Setup - Card type: "MPEG-2 Encoder card (PVR-250, PVR-350)"
>
> 4. Input Connections - Connect source to input -
> External channel change command: "sudo /usr/local/bin/change-channel.sh"
>
>

-- 
                         |         Mike Isely          |     PGP fingerprint
      Spammers Die!!     |                             | 03 54 43 4D 75 E5 CC 92
                         |   isely @ pobox (dot) com   | 71 16 01 E2 B5 F5 C1 E8
                         |                             |


More information about the pvrusb2 mailing list