LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 12-06-2006, 05:04 PM   #1
charjoe
LQ Newbie
 
Registered: Jun 2006
Location: Sheffield, England
Distribution: Fedora Core 5
Posts: 26

Rep: Reputation: 15
Question MythTV, Edgy Eft, PVR350, problems!!!!!


Hello ,

still a newbie, spend most of his spare time running around after my 2 kids, so when I have a linux issue, I try my best then come here!!!!

Anyway - back to business.

I recently did a clean install of Edgy Eft to give it a go & installed Mythtv to have a crack - wanted to know what all the fuss is about!

I used the guide here:

https://help.ubuntu.com/community/MythTV

I chose the frontend/backend/desktop option - wanted to keep all options open.

I installed ubuntu no problem, installed automatix2 to get the nvidia drivers ( & other stuff) working no problem & ivtv drivers for my hauppage pvr350 - all fine. Then came the mytytv install.
No problem downloading etc & basic install, but the problem comes on setting it up.
I ran the command sudo mythtv-setup & couldnt seem to finish it. All seem to go ok until I got to the "Channel Editor" option. When I chose scan for channels, the prog returned the message - error failed to open the card.

I checked on the terminal - please see a paste below of the output.

Any help gratefully received. I hope Ive posted in the right place!!!

Kevin

root@kevin-myth:/home/kevin# sudo mythtv-setup
X Error: BadDevice, invalid or uninitialized input device 169
Major opcode: 147
Minor opcode: 3
Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 169
Major opcode: 147
Minor opcode: 3
Resource id: 0x0
Failed to open device
Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
2007-03-06 22:59:45.679 Using runtime prefix = /usr
2007-03-06 22:59:45.692 DPMS is active.
2007-03-06 22:59:45.753 New DB connection, total: 1
2007-03-06 22:59:45.760 Connected to database 'mythconverg' at host: localhost
2007-03-06 22:59:45.763 Total desktop dim: 1024x768, with 1 screen[s].
2007-03-06 22:59:45.772 Using screen 0, 1024x768 at 0,0
2007-03-06 22:59:45.908 Current Schema Version: 1160
2007-03-06 22:59:45.932 Total desktop dim: 1024x768, with 1 screen[s].
2007-03-06 22:59:45.942 Using screen 0, 1024x768 at 0,0
2007-03-06 22:59:45.945 Switching to square mode (G.A.N.T.)
2007-03-06 22:59:45.987 Using the Qt painter
mythtv: could not connect to socket
2007-03-06 22:59:46.418 Joystick disabled.
mythtv: No such file or directory
lirc_init failed for mythtv, see preceding messages
2007-03-06 22:59:47.042 Loading from: /usr/share/mythtv/themes/G.A.N.T./base.xml
2007-03-06 22:59:47.172 Loading from: /usr/share/mythtv/themes/default/base.xml
 
Old 12-07-2006, 07:38 PM   #2
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 61
Im not sure if this will help, but it might point you in the right direction.

Is your card recognised? Run "lspci" to find out.

Have you installed the drivers for your card. See the www.linuxtv.org for more details.

Install Kaffine using aptitude. This will also install some KDE libraries, since it is a KDE app. Stop the mythbackend server, (sudo /etc/init.d/mythtv-backend stop), and open Kaffine. Kaffine should detect your card, and allow you to watch TV.

If the above step work, then try MythTV again.
Open two terminal windows, and su to your mythtv user in both. In one, run mythbackend. When mythbackend has started, then run mythfrontend in the other. Try scanning for your channels again.

I have a page Here about my experiences setting up mythtv. It is quite specific to my card (Dvico), and to Australia. Obviously, you will need to change the Australian bits to UK, and Dvico bits to your card.

I hope this helps
--Ian
 
Old 12-11-2006, 04:13 PM   #3
charjoe
LQ Newbie
 
Registered: Jun 2006
Location: Sheffield, England
Distribution: Fedora Core 5
Posts: 26

Original Poster
Rep: Reputation: 15
Hello IBall - this is the terminal output from the lspci command:

00:00.0 Host bridge: VIA Technologies, Inc. VT8377 [KT400/KT600 AGP] Host Bridge (rev 80)
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI Bridge
00:0d.0 Multimedia video controller: Internext Compression Inc iTVC15 MPEG-2 Encoder (rev 01)
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 50)
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 74)
01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200] (rev a1)


I have installed Kaffeine - it seems not to recognise my card - does the lspci readout confirm this??

Thanks so far!!!!!
 
Old 12-11-2006, 07:07 PM   #4
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 61
It looks like your TV card is recognised - see line 3.

You need to install the drivers - go Here for instructions.

--Ian
 
Old 12-12-2006, 08:20 AM   #5
charjoe
LQ Newbie
 
Registered: Jun 2006
Location: Sheffield, England
Distribution: Fedora Core 5
Posts: 26

Original Poster
Rep: Reputation: 15
Hello IBall - cheers for the reply. I did install the drivers.From the lspci above, does it look like they are not installed? I am at work at the moment but at home i did a dmesg itvt report - there were no errors there.
There has been an update though - I have managed to get most of the way through the setup (even downloaded channel data hurrah) so I think this problem is sorted. When I get home however, there will be another query. Oh to be less confused!!!!!

Last edited by charjoe; 12-12-2006 at 09:23 AM.
 
Old 12-13-2006, 10:38 AM   #6
Benanzo
Member
 
Registered: Sep 2005
Location: Seattle
Distribution: Ubuntu, Debian flavors
Posts: 119

Rep: Reputation: 15
fix IVTV

your lspci is fine. That just means that edgy sees the device and knows what it is. It does ot mean that it knows how to use it.

you need to fix the IVTV drivers. I recently installed a pvr-350 on edgy with mythtv 0.20 with no problems. The ONLY thing was that I had trouble getting video out from the 350, but I use my nvidia chip for vo anyway.

Follow these instructions:
https://help.ubuntu.com/community/Install_IVTV_Edgy

you should just be able to cut and paste the commands.

Good luck.

Also, pay special attention to dmesg. You will get almost all your info from there.

dmesg | grep ivtv


My dmesg output:

ben@dora:~$ dmesg | grep ivtv
[17179593.704000] ivtv: ==================== START INIT IVTV ====================
[17179593.704000] ivtv: version 0.7.0 (tagged release) loading
[17179593.704000] ivtv: Linux version: 2.6.17-10-386 mod_unload 486 REGPARM gcc-4.1
[17179593.704000] ivtv: In case of problems please include the debug info between
[17179593.704000] ivtv: the START INIT IVTV and END INIT IVTV lines, along with
[17179593.704000] ivtv: any module options, when mailing the ivtv-users mailinglist.
[17179593.704000] ivtv0: Autodetected Hauppauge WinTV PVR-350 card (cx23415 based)
[17179593.704000] ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
[17179593.836000] tuner 0-0061: chip found @ 0xc2 (ivtv i2c driver #0)
[17179594.032000] tda9887 0-0043: chip found @ 0x86 (ivtv i2c driver #0)
[17179594.112000] saa7115 0-0021: saa7115 found @ 0x42 (ivtv i2c driver #0)
[17179594.292000] saa7127 0-0044: saa7129 found @ 0x88 (ivtv i2c driver #0)
[17179594.320000] msp3400 0-0040: MSP4448G-A2 found @ 0x80 (ivtv i2c driver #0)
[17179594.984000] ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
[17179595.012000] ivtv0: loaded v4l-cx2341x-dec.fw firmware (262144 bytes)
[17179595.236000] ivtv0: Encoder revision: 0x02050032
[17179595.244000] ivtv0: Decoder revision: 0x02020023
[17179595.244000] ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
[17179595.244000] ivtv0: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB total)
[17179595.244000] ivtv0: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB total)
[17179595.244000] ivtv0: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total)
[17179595.244000] ivtv0: Create encoder radio stream
[17179595.244000] ivtv0: Allocate DMA decoder MPEG stream: 16 x 65536 buffers (1024KB total)
[17179595.244000] ivtv0: Allocate DMA decoder VBI stream: 512 x 2048 buffers (1024KB total)
[17179595.244000] ivtv0: Create decoder VOUT stream
[17179595.244000] ivtv0: Allocate DMA decoder YUV stream: 24 x 43200 buffers (1024KB total)
[17179595.292000] ivtv0: loaded v4l-cx2341x-init.mpg firmware (155648 bytes)
[17179595.456000] ivtv0: Initialized Hauppauge WinTV PVR-350, card #0
[17179595.456000] ivtv: ==================== END INIT IVTV ====================
ben@dora:~$

My lspci for the pvr-350:

02:02.0 Multimedia video controller: Internext Compression Inc iTVC15 MPEG-2 Encoder (rev 01)


a better way than installing a bunch of KDE libs with kaffeine is to:

(from the ubuntu IVTV help page)

cat /dev/video0 > /tmp/test_capture.mpg

Let this go for about 5 sec and then press <ctrl> + 'c'

mplayer /tmp/test_capture.mpg

see if there is any TV in the captured mpg.

if not, IVTV is still messed up, report dmesg output here.

Last edited by Benanzo; 12-13-2006 at 10:56 AM.
 
Old 12-16-2006, 02:01 PM   #7
charjoe
LQ Newbie
 
Registered: Jun 2006
Location: Sheffield, England
Distribution: Fedora Core 5
Posts: 26

Original Poster
Rep: Reputation: 15
ongoing......

Hello there Benanzo

I reinstalled my IVTV drivers as per the url you gave me (I had used that originally).

I tried to to the test capture but got nothing.

Here is my dmesg output:

[17179598.716000] ivtv: ==================== START INIT IVTV ====================
[17179598.716000] ivtv: version 0.7.0 (tagged release) loading
[17179598.716000] ivtv: Linux version: 2.6.17-10-generic SMP mod_unload 586 REGPARM gcc-4.1
[17179598.716000] ivtv: In case of problems please include the debug info between
[17179598.716000] ivtv: the START INIT IVTV and END INIT IVTV lines, along with
[17179598.716000] ivtv: any module options, when mailing the ivtv-users mailinglist.
[17179598.716000] ivtv0: Autodetected Hauppauge WinTV PVR-350 card (cx23415 based)
[17179598.716000] PCI: Enabling device 0000:00:0d.0 (0014 -> 0016)
[17179598.716000] ACPI: PCI Interrupt 0000:00:0d.0[A] -> GSI 16 (level, low) -> IRQ 185
[17179598.716000] ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
[17179598.760000] tveeprom 0-0050: Hauppauge model 48135, rev J324, serial# 7234858
[17179598.760000] tveeprom 0-0050: tuner model is Philips FM1246 (idx 24, type 1)
[17179598.760000] tveeprom 0-0050: TV standards PAL(I) (eeprom 0x10)
[17179598.760000] tveeprom 0-0050: audio processor is MSP4418 (idx 25)
[17179598.760000] tveeprom 0-0050: decoder processor is SAA7115 (idx 19)
[17179598.760000] tveeprom 0-0050: has radio, has IR remote
[17179598.840000] tuner 0-0061: chip found @ 0xc2 (ivtv i2c driver #0)
[17179599.056000] saa7115 0-0021: saa7115 found @ 0x42 (ivtv i2c driver #0)
[17179599.224000] saa7127 0-0044: saa7127 found @ 0x88 (ivtv i2c driver #0)
[17179599.260000] msp3400 0-0040: MSP4418G-A2 found @ 0x80 (ivtv i2c driver #0)
[17179599.260000] msp3400 0-0040: MSP4418G-A2 supports nicam and radio, mode is autodetect and autoselect
[17179599.296000] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[17179599.660000] parport: PnPBIOS parport detected.
[17179599.660000] parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,ECP,DMA]
[17179600.320000] Linux agpgart interface v0.101 (c) Dave Jones
[17179600.500000] irda_init()
[17179600.500000] NET: Registered protocol family 23
[17179601.052000] ts: Compaq touchscreen protocol output
[17179601.128000] eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
[17179601.232000] quickcam: QuickCam USB camera found (driver version QuickCam USB 0.6.3 $Date: 2005/04/15 19:32:49 $)
[17179601.232000] quickcam: Kernel:2.6.17-10-generic bus:1 class:FF subclass:FF vendor:046D product:0870
[17179601.248000] quickcam: Sensor HDCS-1020 detected
[17179601.292000] quickcam: Registered device: /dev/video0
[17179601.292000] usbcore: registered new driver quickcam
[17179601.600000] ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
[17179601.648000] SCSI device sda: 625142448 512-byte hdwr sectors (320073 MB)
[17179601.652000] sda: Write Protect is off
[17179601.652000] sda: Mode Sense: 27 00 00 00
[17179601.652000] sda: assuming drive cache: write through
[17179601.656000] SCSI device sda: 625142448 512-byte hdwr sectors (320073 MB)
[17179601.664000] sda: Write Protect is off
[17179601.664000] sda: Mode Sense: 27 00 00 00
[17179601.664000] sda: assuming drive cache: write through
[17179601.664000] sda:<6>ivtv0: loaded v4l-cx2341x-dec.fw firmware (262144 bytes)
[17179601.692000] sda1
[17179601.692000] sd 0:0:0:0: Attached scsi disk sda
[17179601.720000] sd 0:0:0:0: Attached scsi generic sg0 type 0
[17179601.912000] ivtv0: Encoder revision: 0x02050032
[17179601.920000] ivtv0: Decoder revision: 0x02020023
[17179601.920000] ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
[17179601.920000] ivtv0: Allocate DMA encoder YUV stream: 161 x 12960 buffers (2048KB total)
[17179601.920000] ivtv0: Allocate DMA encoder VBI stream: 80 x 26208 buffers (2048KB total)
[17179601.920000] ivtv0: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total)
[17179601.920000] ivtv0: Create encoder radio stream
[17179601.920000] ivtv0: Allocate DMA decoder MPEG stream: 16 x 65536 buffers (1024KB total)
[17179601.920000] ivtv0: Allocate DMA decoder VBI stream: 512 x 2048 buffers (1024KB total)
[17179601.924000] ivtv0: Create decoder VOUT stream
[17179601.924000] ivtv0: Allocate DMA decoder YUV stream: 20 x 51840 buffers (1024KB total)
[17179601.976000] ivtv0: loaded v4l-cx2341x-init.mpg firmware (155648 bytes)
[17179602.084000] tuner 0-0061: type set to 1 (Philips PAL_I (FI1246 and compatibles))
[17179602.200000] NET: Registered protocol family 17
[17179602.204000] ivtv0: Initialized Hauppauge WinTV PVR-350, card #0
[17179602.204000] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[17179602.204000] agpgart: Detected VIA KT400/KT400A/KT600 chipset
[17179602.212000] agpgart: AGP aperture is 64M @ 0xf8000000
[17179602.220000] ACPI: PCI Interrupt 0000:00:11.5[C] -> GSI 22 (level, low) -> IRQ 193
[17179602.220000] PCI: Via IRQ fixup for 0000:00:11.5, from 0 to 1
[17179602.228000] PCI: Setting latency timer of device 0000:00:11.5 to 64
[17179602.400000] nvidia: module license 'NVIDIA' taints kernel.
[17179602.492000] NET: Registered protocol family 10
[17179602.492000] lo: Disabled Privacy Extensions
[17179602.492000] IPv6 over IPv4 tunneling driver
[17179602.744000] codec_read: codec 0 is not valid [0x107e5370]
[17179602.748000] codec_read: codec 0 is not valid [0x107e5370]
[17179602.756000] codec_read: codec 0 is not valid [0x107e5370]
[17179602.760000] codec_read: codec 0 is not valid [0x107e5370]
[17179602.784000] ivtv: ==================== END INIT IVTV ====================

does it make any sense???? ta

Kevin
 
Old 12-19-2006, 01:47 AM   #8
Benanzo
Member
 
Registered: Sep 2005
Location: Seattle
Distribution: Ubuntu, Debian flavors
Posts: 119

Rep: Reputation: 15
uughh

Sorry, I can't help out with that problem. Looking through that output I saw a few references to PAL as being the tv standard. Is that the standard for where you live? Or is it NTSC? I suppose the UK uses PAL, right? If you're trying to use a PAL card to view NTSC stuff you'll have probs and vice versa. I notice specifically the error:

"codec_read: codec 0 is not valid"

which *could* indicate the wrong TV standard. Either way I would take this over to the IVTV guys and see if they can sort it out. You might find it in their mailing list archives: http://www.gossamer-threads.com/lists/ivtv/users/
Or you can bring it up on the list. They would know better than anyone. Good luck!

Last edited by Benanzo; 12-19-2006 at 01:57 AM.
 
  


Reply

Tags
edgy, eft, mythtv


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Grub Issues in Edgy Eft killiansdlight Ubuntu 13 11-17-2006 08:09 AM
When will EasyUbuntu support Edgy Eft? registering Ubuntu 6 11-15-2006 06:34 AM
Update manager in Edgy Eft 6.10 joegumbo Ubuntu 1 11-13-2006 04:40 PM
Upgrading to Edgy Eft tombiz Ubuntu 13 10-02-2006 04:28 PM
Upgrading to Edgy Eft ernesto_cgf Ubuntu 2 10-02-2006 04:25 PM


All times are GMT -5. The time now is 06:50 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration