Koozali.org: home of the SME Server

HOW-TO (draft): Mythtv as a backend on sme server

Offline christian

  • *
  • 369
  • +0/-0
    • http://www.szpilfogel.com
Re: HOW-TO (draft): Mythtv as a backend on sme server
« Reply #60 on: February 16, 2008, 04:19:21 AM »
also note the packages in my note a few comments back from this.
http://forums.contribs.org/index.php?topic=39317.msg184504#msg184504
they are missing from the How-to at the moment so you may need to yum install them to enable the X11 forwarding. I just wanted to better understand the dependency before I modified the How-to. but haven't had time to test it.

If you are at this stage, try doing each one individually and check of X11 forwarding works and let me know what combination was required. I will then add it to the How-to.

BTW, the issue Matt had was also with the dag repo not being enabled. I did fix the How-to in this regard earlier this week.
SME since 2003

Offline ntblade

  • *
  • 252
  • +0/-0
Re: HOW-TO (draft): Mythtv as a backend on sme server
« Reply #61 on: February 16, 2008, 03:26:26 PM »
Right,
Started again with fresh 7.3 install + yum update.
Install goes fine as far as...
Code: [Select]
yum install libmythavcodec libmythavformat libmythavutil libmythfreemheg libmythlivemedia libmythtv libmythui libmythupnp --enablerepo=atrpms --enablerepo=dagHowever, these seem to be installed previously as dependencies...
Code: [Select]
--> Processing Dependency: libmythupnp-0.20.2.so.0 for package: mythtv-backend
--> Processing Dependency: libraw1394.so.8 for package: mythtv-setup
--> Processing Dependency: libXvMCW.so.1 for package: mythtv-frontend
--> Processing Dependency: libmyth-0.20.2.so.0 for package: mythtv-frontend
--> Processing Dependency: libmythui-0.20.2.so.0 for package: mythtv-frontend
--> Processing Dependency: libavc1394.so.0 for package: mythtv-setup
--> Processing Dependency: libmythavcodec-0.20.2.so.0 for package: mythtv-backend
--> Processing Dependency: libmyth-0.20.2.so.0 for package: mythtv-backend
--> Processing Dependency: libmythavformat-0.20.2.so.0 for package: mythtv-frontend
--> Processing Dependency: libraw1394.so.8 for package: mythtv-frontend
--> Processing Dependency: libmythfreemheg-0.20.2.so.0 for package: mythtv-frontend
--> Processing Dependency: libmythavcodec-0.20.2.so.0 for package: mythtv-setup
--> Processing Dependency: libmp3lame.so.0 for package: mythtv-frontend
--> Processing Dependency: libasound.so.2 for package: mythtv-backend
--> Processing Dependency: libavc1394.so.0 for package: mythtv-backend
--> Processing Dependency: libXvMCW.so.1 for package: mythtv-setup
--> Processing Dependency: libjack.so.0 for package: mythtv-setup
--> Processing Dependency: libmythfreemheg-0.20.2.so.0 for package: mythtv-setup
--> Processing Dependency: libmythui-0.20.2.so.0 for package: mythtv-backend
--> Processing Dependency: libXvMCW.so.1 for package: mythtv-backend
--> Processing Dependency: libmythavutil-0.20.2.so.0 for package: mythtv-backend
--> Processing Dependency: libmythavformat-0.20.2.so.0 for package: mythtv-setup
--> Processing Dependency: libmythlivemedia-0.20.2.so.0 for package: mythtv-backend
--> Processing Dependency: libmythavcodec-0.20.2.so.0 for package: mythtv-frontend
--> Processing Dependency: libmythfreemheg-0.20.2.so.0 for package: mythtv-backend
--> Processing Dependency: libraw1394.so.8 for package: mythtv-backend
--> Processing Dependency: libartsc.so.0 for package: mythtv-backend
--> Processing Dependency: libmp3lame.so.0 for package: mythtv-setup
--> Processing Dependency: libmythavformat-0.20.2.so.0 for package: mythtv-backend
--> Processing Dependency: libjack.so.0 for package: mythtv-frontend
--> Processing Dependency: libmyth-0.20.2.so.0 for package: mythtv-setup
--> Processing Dependency: libasound.so.2 for package: mythtv-setup
--> Processing Dependency: libmythavutil-0.20.2.so.0 for package: mythtv-frontend
--> Processing Dependency: libasound.so.2 for package: mythtv-frontend
--> Processing Dependency: libmythupnp-0.20.2.so.0 for package: mythtv-frontend
--> Processing Dependency: mythtv-themes for package: mythtv-setup
--> Processing Dependency: libiec61883.so.0 for package: mythtv-frontend
--> Processing Dependency: libmythavutil-0.20.2.so.0 for package: mythtv-setup
--> Processing Dependency: libmythlivemedia-0.20.2.so.0 for package: mythtv-frontend
--> Processing Dependency: libmythlivemedia-0.20.2.so.0 for package: mythtv-setup
--> Processing Dependency: libiec61883.so.0 for package: mythtv-backend
--> Processing Dependency: mythtv-themes for package: mythtv-frontend
--> Processing Dependency: libartsc.so.0 for package: mythtv-frontend
--> Processing Dependency: libiec61883.so.0 for package: mythtv-setup
--> Processing Dependency: libmythupnp-0.20.2.so.0 for package: mythtv-setup
--> Processing Dependency: libmythtv-0.20.2.so.0 for package: mythtv-frontend
--> Processing Dependency: libartsc.so.0 for package: mythtv-setup
--> Processing Dependency: libavc1394.so.0 for package: mythtv-frontend
--> Processing Dependency: libmythtv-0.20.2.so.0 for package: mythtv-backend
--> Processing Dependency: libmythui-0.20.2.so.0 for package: mythtv-setup
--> Processing Dependency: libmp3lame.so.0 for package: mythtv-backend
--> Processing Dependency: libmythtv-0.20.2.so.0 for package: mythtv-setup
--> Processing Dependency: libjack.so.0 for package: mythtv-backend
I went around in circles with the MySQL pasword problem before re-reading this thread! :oops:  Maybe the problem needs to be pointed to in the mythtv-setup section as well as at the end?
I'm now having the problem of not being able to run mythtv-setup from a remote machine

Should I install xpdf?

N

Offline ntblade

  • *
  • 252
  • +0/-0
Re: HOW-TO (draft): Mythtv as a backend on sme server
« Reply #62 on: February 16, 2008, 03:41:39 PM »
Installed xpdf and I can now run mythtv-setup remotely.  There's no menu text on the main setup screen but the submenus have the text in them.
A bigger problem is that my Win TV Nova-T cards (2) aren't recognised...

http://www.mythtv.org/wiki/index.php/Hauppauge_WinTV_Nova-T_PCI

Can anyone help me get the cx88_dvb module onto my system please?

N
« Last Edit: February 16, 2008, 03:53:22 PM by ntblade »

Offline christian

  • *
  • 369
  • +0/-0
    • http://www.szpilfogel.com
Re: HOW-TO (draft): Mythtv as a backend on sme server
« Reply #63 on: February 16, 2008, 04:28:33 PM »
Installed xpdf and I can now run mythtv-setup remotely.

I really wish you had taken my suggestion in the note directly ahead of yours (and HF's before that) so we could figure out which of the xpdf dependencies were needed. I'm sure xpdf is pulling in more than you need.

However, with your note on the invisible menu items, we have now seen a number of these so there is likely an issue . I'll note it in the Known Problems section.
SME since 2003

Offline ntblade

  • *
  • 252
  • +0/-0
Re: HOW-TO (draft): Mythtv as a backend on sme server
« Reply #64 on: February 16, 2008, 06:57:23 PM »
Sorry I misunderstood,
I'll uninstall xpdf and its dependencies and reinstall one package at a time and see when the setup app starts to work.
Is that the right thing to do?

guest22

Re: HOW-TO (draft): Mythtv as a backend on sme server
« Reply #65 on: February 16, 2008, 10:41:30 PM »
Yep, that would be a good start. If possible keep a log of the screen messages (e.g. dependencies etc)

Have fun ;-)

guest

Offline christian

  • *
  • 369
  • +0/-0
    • http://www.szpilfogel.com
Re: HOW-TO (draft): Mythtv as a backend on sme server
« Reply #66 on: February 16, 2008, 10:54:54 PM »
don't worry. I wanted a diversion from other mundane tasks and did it on a fresh install. It was the two Xorg packages which were missing. So I've updated the How-to with the following:
Code: [Select]
yum install xorg-x11-font-utils xorg-x11-xfs
signal-event post-upgrade; signal-event reboot

As for ntblade's comment:
Quote
Install goes fine as far as...
Code: [Select]
yum install libmythavcodec libmythavformat libmythavutil libmythfreemheg libmythlivemedia libmythtv libmythui libmythupnp --enablerepo=atrpms --enablerepo=dagHowever, these seem to be installed previously as dependencies...

This was added in to the How-to by someone else; it wasn't in my original stuff. It appears to be redundant but harmless.

HF or Cactus, did you add those? any particular reason?

Christian
« Last Edit: February 16, 2008, 11:19:41 PM by christian »
SME since 2003

Offline christian

  • *
  • 369
  • +0/-0
    • http://www.szpilfogel.com
Re: HOW-TO (draft): Mythtv as a backend on sme server
« Reply #67 on: February 16, 2008, 10:57:32 PM »
I also split the ivtv lines per my original post as the way the How-to has it caused a conflict on my 7.3 machine when both ivtv packages were on the same line. The new way should work in any config.
SME since 2003

guest22

Re: HOW-TO (draft): Mythtv as a backend on sme server
« Reply #68 on: February 17, 2008, 10:43:54 AM »
As for ntblade's comment:
This was added in to the How-to by someone else; it wasn't in my original stuff. It appears to be redundant but harmless.

HF or Cactus, did you add those? any particular reason?

That was me, hence my wish to re-do the procedures step by step. Due to all trial and error my machine was not clean anymore, just like the rest of us ;-)

The current state of my machine (SME Server 7.3) is latest svn mythtv (21.x series) and upgraded mysql to 5.x. 1xHauppage 350 (ivtv) and 1x Hauppage Wintv (cx88xx) I really wanted to have the flash option in mythweb which is default with mythtv 21.x. Kinda my own 'youtube@home'. I travel a lot so watching a recording from a hotel room is now easy with watching the recordings in flash.

As said, I want to start from scratch with a VM to validate the How-to. When time permits...


guest

Offline ntblade

  • *
  • 252
  • +0/-0
Re: HOW-TO (draft): Mythtv as a backend on sme server
« Reply #69 on: February 17, 2008, 07:18:18 PM »
HF,
Could you tell me how you installed the cx88 modules please?

Thanks

N

guest22

Re: HOW-TO (draft): Mythtv as a backend on sme server
« Reply #70 on: February 17, 2008, 09:21:18 PM »
cx88

I asked around ( http://forums.contribs.org/index.php?topic=40029.0 ) and DOWNLOADED (not installed) the kernel-smp-unsupported-2.6.9.67.0.1.EL-4.el4.pp.i686.rpm

Then copied out the cx8800.ko and cx88xx.ko modules and copied them over to the correct /lib/modules... directory. Then modprobe cx8xx whic loads both modules (see dmesg). Then 'depmod -a'.

It loads and works properly with SME Server 7.3 'home grade' that is, not enterprise grade.

guest

Offline ntblade

  • *
  • 252
  • +0/-0
Re: HOW-TO (draft): Mythtv as a backend on sme server
« Reply #71 on: February 18, 2008, 01:59:52 PM »
Hmmm,
What version of card are you using, hf?
I've got 2 x WinTV Nova-T.  They are the newest version without the RF out.  They have 90003 LC Rev C280 on them.  I thought these cards were automatically recognised by the cx88xx driver.  I'm getting...
Code: [Select]
cx2388x v4l2 driver version 0.0.4 loaded
ACPI: PCI Interrupt 0000:02:02.0[A] -> GSI 17 (level, low) -> IRQ 201
cx8800[0]: found at 0000:02:02.0, rev: 5, irq: 201, latency: 64, mmio: 0xfb000000
cx8800[0]: Your board isn't known (yet) to the driver.  You can
cx8800[0]: try to pick one of the existing card configs via
cx8800[0]: card=<n> insmod option.  Updating to the latest
cx8800[0]: version might help as well.
cx8800[0]: Here is a list of valid choices for the card=<n> insmod option:
cx8800[0]:    card=0 -> UNKNOWN/GENERIC
cx8800[0]:    card=1 -> Hauppauge WinTV 34xxx models
cx8800[0]:    card=2 -> GDI Black Gold
cx8800[0]:    card=3 -> PixelView
cx8800[0]:    card=4 -> ATI TV Wonder Pro
cx8800[0]:    card=5 -> Leadtek Winfast 2000XP Expert
cx8800[0]:    card=6 -> AverTV Studio 303 (M126)
cx8800[0]:    card=7 -> MSI TV-@nywhere Master
cx8800[0]:    card=8 -> Leadtek Winfast DV2000
cx8800[0]:    card=9 -> Leadtek PVR 2000
cx8800[0]:    card=10 -> IODATA GV-VCP3/PCI
cx8800[0]:    card=11 -> Prolink PlayTV PVR
cx8800[0]:    card=12 -> ASUS PVR-416
cx8800[0]:    card=13 -> MSI TV-@nywhere
cx8800[0]: subsystem: 0070:9002, board: UNKNOWN/GENERIC [card=0,autodetected]
cx8800[0]: i2c register ok
tuner: Ignoring new-style parameters in presence of obsolete ones
tuner: chip found at addr 0xc2 i2c-bus cx8800[0]
cx8800[0]: i2c attach [client=(tuner unset)]
cx8800[0]: registered device video0 [v4l2]
cx8800[0]: registered device vbi0
cx8800[0]: cx88: tvaudio thread started

Thanks
Norrie

Offline ntblade

  • *
  • 252
  • +0/-0
Re: HOW-TO (draft): Mythtv as a backend on sme server
« Reply #72 on: February 18, 2008, 02:38:54 PM »
Booting up a knoppmyth install with one of the cards installed reveals...
Code: [Select]
Linux video capture interface: v2.00
cx88/0: cx2388x v4l2 driver version 0.0.6 loaded
cx88/2: cx2388x MPEG-TS Driver Manager version 0.0.6 loaded
ALSA /usr/src/modules/alsa-driver/pci/ac97/ac97_codec.c:2104: AC'97 0 analog subsections not ready
intel8x0_measure_ac97_clock: measured 50880 usecs
intel8x0: clocking to 48000
ACPI: PCI Interrupt 0000:01:04.0[A] -> GSI 16 (level, low) -> IRQ 18
cx88[0]: subsystem: 0070:9002, board: Hauppauge Nova-T DVB-T [card=18,autodetected]
cx88[0]: TV tuner type 4, Radio tuner type -1
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:09: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
tveeprom 1-0050: Hauppauge model 90003, rev C2B0, serial# 2427565
tveeprom 1-0050: MAC address is 00-0D-FE-25-0A-AD
tveeprom 1-0050: tuner model is Thompson DTT75105 (idx 110, type 4)
tveeprom 1-0050: TV standards ATSC/DVB Digital (eeprom 0x80)
tveeprom 1-0050: audio processor is None (idx 0)
tveeprom 1-0050: decoder processor is CX882 (idx 25)
tveeprom 1-0050: has no radio, has IR receiver, has no IR transmitter
cx88[0]: hauppauge eeprom: model=90003
input: cx88 IR (Hauppauge Nova-T DVB-T as /class/input/input2
cx88[0]/0: found at 0000:01:04.0, rev: 5, irq: 18, latency: 32, mmio: 0xdc000000
cx88[0]/0: registered device video0 [v4l2]
cx88[0]/0: registered device vbi0
cx88[0]/2: cx2388x 8802 Driver Manager
ACPI: PCI Interrupt 0000:01:04.2[A] -> GSI 16 (level, low) -> IRQ 18
cx88[0]/2: found at 0000:01:04.2, rev: 5, irq: 18, latency: 32, mmio: 0xdd000000
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE,EPP]
cx88/2: cx2388x dvb driver version 0.0.6 loaded
cx88/2: registering cx8802 driver, type: dvb access: shared
cx88[0]/2: subsystem: 0070:9002, board: Hauppauge Nova-T DVB-T [card=18]
cx88[0]/2: cx2388x based DVB/ATSC card
The cx88* modules I copied only have 13 cards listed. :sad:

Any ideas?

N

guest22

Re: HOW-TO (draft): Mythtv as a backend on sme server
« Reply #73 on: February 18, 2008, 06:12:11 PM »
Hmmm, you're in for a challenge...

http://www.mythtv.org/wiki/index.php/Hauppauge_WinTV_Nova-T_PCI

It looks like the card is supported as of kernel version 2.6.12 while SME Server uses 2.6.9...
Patching the kernel and recompile it is the way to go OR wait for an updated kernel...

My card shows as: (Hauppage WinTV)

Linux video capture interface: v1.00
cx2388x v4l2 driver version 0.0.4 loaded
PCI: Found IRQ 5 for device 0000:00:10.0
PCI: Sharing IRQ 5 with 0000:00:07.2
PCI: Sharing IRQ 5 with 0000:00:07.3
PCI: Sharing IRQ 5 with 0000:00:10.1
cx8800[0]: found at 0000:00:10.0, rev: 3, irq: 5, latency: 32, mmio: 0xdd000000
cx8800[0]: subsystem: 0070:3401, board: Hauppauge WinTV 34xxx models [card=1,autodetected]
tuner: chip found at addr 0xc2 i2c-bus cx8800[0]
cx8800[0]: i2c attach [client=(tuner unset)]
cx8800[0]: i2c register ok
cx8800[0]: hauppauge eeprom: model=34514, tuner=LG TPI8PSB01D (28), radio=yes
tuner: type set to 28 (LG PAL_BG+FM (TPI8PSB01D)) by cx8800[0]
cx8800[0]: registered device video0 [v4l2]
cx8800[0]: registered device vbi0
cx8800[0]: registered device radio0

ps. By default the cx800 driver loads with audio debugging enabled which will flood your /var/log/messages file. modprobe the card (or adapt options file) with 'modprobe cx8800 audio_debug=0'

guest

Offline ntblade

  • *
  • 252
  • +0/-0
Re: HOW-TO (draft): Mythtv as a backend on sme server
« Reply #74 on: February 18, 2008, 06:22:15 PM »
Hmmm, you're in for a challenge...

http://www.mythtv.org/wiki/index.php/Hauppauge_WinTV_Nova-T_PCI

It looks like the card is supported as of kernel version 2.6.12 while SME Server uses 2.6.9...
Patching the kernel and recompile it is the way to go OR wait for an updated kernel...
Also 2.6.9 but NOT 2.6.10 or 2.6.11  I was afraid I was going to have to do that.

Looks like I'll need to try...