Some success and fix stories:
On my box FB51 Shuttle (on board graphics, multi channel sound, etc) with TV mpeg
en/decoder Hauppauge PVR350, I run FC3 (Fedora Core 3) fully updated/upgraded via apt-get.
I used the very well written documentation of Jarod's Fedora Myth(TV)ology page:
http://wilsonet.com/mythtv
to install everything. And on any trouble I went back to this documentation step by step to see what and where
things went wrong when something failed. That documentation was and still is very helpfully to me.
I know most of the issues raised here are also ivtv issues. I do not follow that ivtv list as my
time is fully consumed to read this email list.
An apt-get upgrade some weeks ago caused to broke my working setup: no sound (alsa to AC97),
X11 on TV set up did not work (mem problems, frame buffer problems), and it failed to tune to channels
with my IR remote after the upgrade.
As many issues are related to the goal of the set up, here is what I want/use in my hw set up:
TV should show mythtv frontend, settings to be changed with the
Hauppauge remote IR control. Family uses a different language as I do (NL versus UK).
So I'm living in a dutch PAL country. I use a TV CAT cable->computer->scart->receiver->TV setup.
Last week I upgraded the kernel to 2.6.10-1.760_FC3 and got most things to work again.
Here is what I did (and if I did not choose a smart choice please react on that as there is
many to improve yet).
- Via a remote login: apt-get to install the new Linux FC3 kernel and did reboot to new kernel
- How to prepare for kernel upgrade
disable via "chkconfig --level 35 XYZ off" the startup of lircd, maythbackend
as well installation of kernel driver modules as ivtv, lirc, ivtv-fb, sound
TIP: I changed the /etc/init.d/{lircd,mythbackend} startup files to install via
/sbin/modprobe the kernel modules ivtv (mythbackend) and lirc-i2c (lircd)
(and if those failed to exit with an error).
For lircd I included a "if [ ! -e /dev/lirc && -e /dev/lirc0 ]; then ln -s /dev/lirc0 /dev/lirc ; fi "
after the lirc-i2c kernel module installation command. This to avoid lircd startup problems
(cannot find /dev/lirc), which one could easily check with the irw shell command.
- How to upgrade the new kernel modules to the new version:
Via remote login: KVER=`uname -r` (see Jarod's HowTo)
apt-get install XYZ- kmdl-$KVER where XYZ is ivtv PVR, lirc IR, alsa sound
- No sound in recordings problem, No PAL identified in driver problem
Things seem to be changed last month probably to avoid the tveeprom and msp3400
kernel modules "which one first" problem. Modules which have been changed in the ivtv setup.
You will recognize this: alsa sound works with e.g. aplay some_file.wav but
no sound on video recordings or watching TV:
add the following to be added into your /etc/modprobe.conf file
alias msp3400 msp3400-ivtv
alias tveeprom tveeprom-ivtv
and check if you have those modules as XYZ.o in /lib/modules/$KVER tree.
If you find msp3400.o twice and no msp3400-ivtv.o then you're having an old version
and see Jarod's HowTo what to do (rename the one in the normal kernel lib modules tree,
and do not use the alias trick).
In this way I installed a new "760" kernel and modules and could test using Jarod's HowTo
all the kernel modules and see if they worked.
/var/log/messages showed a fine kernel module load of ivtv,
ivtv-fb (needed in my setup with the PVR350), lirc-i2c and alsa sound:
irw worked, aplay file.wav command worked, PVR350 recognized and identified as PAL.
- I want to have X11 right on my TV screen (no monitor use (later)):
I had vm.min_free_kbytes=16384 set in /etc/sysctl.conf due to memory problems
when loading ivtv. I still have this min_free but I'm not sure this is still needed.
I used for PAL usage adjusted the following:
kernel startup (change /boot/grub/menu.1st) changed "rhgb" to "vga=792"
The effect was that my (just in case) Sony monitor and on board graphics have to
use /dev/fb0 as frame buffer (Section "Device" in xorg.conf for on board graphics has now
Option "fbdev" "/dev/fb0" (no bus id), and
the PCV350 go assigned /dev/fb1 now (see lspci command and/or /var/log/messages
for your numbers. ).
Both values of /dev/fb[01] and the PVR350 PCI busnumber are in the /etc/X11/xorg.conf
file with for me the PAL hor/vert mode arrangements.
I use two layouts in xorg.conf file: one for my TV and one for my old Sony monitor (for
bjust in case there is trouble). So I can startup X11 with: "startx -- -layout XYZ "
where XYZ is "sony" or "tv". sony for hacking and tv for operational use.
I changed for mythtv playback mplayer in the mythtv setup to use x11 (in stead of xv).
- Map Vid mem failed problem
changed in my /etc/X11/xorg.conf file to use "ivtvdev" for Hauppauge PVR350:
Driver "ivtvdev", Option "fbdev" "dev/fb1", BusID "PCI:01:0x8:0" (modify for your ID numbers)
So I changed it from driver fbdev to ivtvdev this as fbdev is not supported any longer
(you notice the problem with fbdev as: mmap fbmem: invalid argument errors if you try).
Make sure you have ivtvdev.o in your /usr/X11R6/lib/modules/drivers directory!
- Upgrade from mythtv-016 to mythtv-0.17
For this (rpms were not there at that time)I had to compile everything. In the docs dir
of the sources there are hints what to do. This is what I did to get it running on FC3.
Down load the myth-0.17 and mythXYZ-0.17 tar files in a ~/sources/ dir. Unpack them.
Where XYZ is gallery, game, music, news, phone, video, weather, web.
Starting with myth-0.17 and following the XYZ modules (see notes for music and web)
I did in every mythXXX-0.17 directory: if existed read first the configure script to
see if I needed special options (mostly no opetions were needed) a ./configure,
qmake mythXXX.pro, make, make install.
That went smoothly. Once I got a C++ compilation error and fixed that with an #include <math.h>
(sqrt, sin, cos, M_PI usage error).
For mythmusic-0.17 (see the README) file I had to install via apt-get quite some dependences.
What the README file does not make clear is that you should also install all the <DEPs>-devel
e.g. apt-get install faad2-devel packages.
I used for mythmusic .configure --enable-all (include opengl, fftw, sdl, asc deps).
Make sure you install the fftw2 package (the fftw3 seems not to be used in mythmusic).
I had to download the faad2-2.0.tar.gz package in order to get some mp4ff header files
and installed them into the /usr/local/include directory.
For mythweb you need to copy things. See the README. You need to create the
image_cache and php_sessions directories manually.
I remeber a library problem which was easily fixed by creating a synbolic link from
the require .so file to the <something>.so.0 file.
- changed the /etc/init.d/mythbackend to use /usr/local/bin/mythbackend now.
started the services lird, mythbackend and checked with lsmod if all modules
were there and all sevices were started.
Reminder: myth-0.16 frontend does not work with myth-0.17 backend.
- This week I installed the myth-0.17 rpm's via apt-get install myth-suite and
that went fine. My /usr/bin/mythXXX is the same as /usr/local/bin/mythXXX
- The non-US channel info data base fiull problem: a stalled/hang of mythtvsetup GUI
I'm living in a PAL country to to install tuner channels I run into a stalled problem
(the X11 terminal window is invisible and unusable in order to enter a few yes
values) for adapting, renewing the channels for my local tuner setup. (Yes I do
not or cannoit use the US channel and program services).
In order to avoid this problem I always do the mythsetup part from a remote
computer (xhost + on the laptop, ssh into the myth box, export DISPLAY=laptop:0.0
from command line ssh mythtvsetup. When I use the program set up the myth GUI
freezes, so I get to the X11 terminal window to interact with the program channel
setup command and go back to the myth setup GUI.
- How to get sound to my TV or Receiver using PVR350
The cable to the PCI card has a 1/8 stereo plug which I attached to the audio in
connector of my sound card (for me it is on board so to the base frame).
Via kmix I enable input (and surround processing) and that was is.
Use the Jarod's howto for all mythtv settings.
Currently I use the composite output and two audio connectors to a scart connector box
towards the scart input of my receiver.
This all works: audio goes to the receiver speakers and composite goes via the receiver to
the TV.
Mythtv land is not without trouble and without energy costs.
Sometimes my wife sounds strange to me in such a way
that I would have loved to be equipped with no technical background at all...
Some problems still to be done for me:
- I want to have S-video output to my receiver via the scart cable set from the PVR350
Which pins from say a 2X female scart connector do I need to solder to the audio output
from my computer audio card? Or maybe digital audio into my receiver?
- The mythtv frontend GUI has a size which is beyond the PAL size of my TV.
How to adjust this only via TV hardware? Is there a way via the xorg.conf?
Via mythtv GUI setup?
- My grey Hauppauge IR remote control talks ok to lircd deamon but
mythtv does not listens to lircd somehow.
Via the keybord up/down keys it operates fine.
Up/down for scrolling menus are OK for mythtv via the keyboard.
It worked a month ago so what has been changed which caused this?
- The Shuttle box is fine (low noise) but has only one PCI and one AGP slot.
The PCI slot is used by the PVR350
Is there a (second) TV tuner card which can go in some way into the AGP slot?
- and I'm sure when I start using more mythtv there will be more problems on the horizon.
Nevertheless it has been worthwhile to get this mythtv box running for me so far.
Someday I have to get the DVD writer also working ....
Yesterday I received an offer from my TV cable provider for a digital tv setup box...
Thanks teus
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ mythtv-users mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
