LinHES Forums
http://forum.linhes.org/

PVR 150 tuner is not recognised [partially solved]
http://forum.linhes.org/viewtopic.php?f=2&t=5538
Page 1 of 1

Author:  bekker [ Sun Jul 31, 2005 1:18 pm ]
Post subject:  PVR 150 tuner is not recognised [partially solved]

I have installed KnoppMyth R5A16 on an old Pentium II 450 on a 440BX mobo with 256 Mb of ram.

The problem is that I cannot get a good picture from the PVR150 card. The card also does not react to commands given by ptune-ui.

The cause is that the tuner of the PVR150 is not correctly identified. I have tested this card on a Nforce 2 AMD system with Gentoo and it works perfectly there with ivtv 0.3.6x. The tuner is detected there as type 55.

Because the default 0.2 drivers included with KnoppMyth do not work for me I have compiled the 0.3.6x drivers. When IVTV is loaded, dmesg gives the following:
Code:
ivtv: Autodetected WinTV PVR 150 card
ivtv: Found an iTVC16 based chip
ACPI: PCI interrupt 0000:00:10.0[A] -> GSI 9 (level, low) -> IRQ 9
ivtv: XXX PCI device: 0x7190 vendor: 0x8086
ivtv: i2c attach [client=(tuner unset),ok]
tuner 1-0061: chip found @ 0xc2 (ivtv i2c driver #0)
saa7115: starting probe for adapter ivtv i2c driver #0 (0x10005)
ivtv: i2c attach [client=tveeprom,ok]
tveeprom: Hauppauge: model = 26034, rev = C197, serial# = 7729955
tveeprom: tuner = <unknown> (idx = 97, type = -881607032)
tveeprom: tuner fmt = PAL(D/K) (eeprom = 0x44, v4l2 = 0x00000e07)
tveeprom: audio_processor = MSP3400C (type = 4)
ivtv: Tuner Type -881607032, Tuner formats 0x00000e07, Radio: yes, Model 0x008d1657, Revision 0x00000001
ivtv: PAL tuner detected
ivtv: Radio detected

You will notice that ivtv gives a completely bogus Tuner Type.

I have had the PVR 150 in different PCI slots but it doesn't make any difference. Also removing all ivtv related modules from the kernel and doing
Code:
modprobe ivtv tuner=55

Does not change things.

Can anyone help me?

Regards

Chera

Author:  daffydk [ Mon Aug 01, 2005 5:09 am ]
Post subject:  same problem

hi i was wondering if u have found a solution too that couse i have the same problems and my tuner is a type=55 too

pleas post if you have the answer

/daffydk

Author:  bekker [ Mon Aug 01, 2005 8:47 am ]
Post subject: 

No solution yet. I'll try also the ivtv development list.

Chera

Author:  shplad [ Mon Aug 01, 2005 11:45 am ]
Post subject: 

Hmmm....Someone can set me straight, but...but isn't that what the

/etc/mythtv/modules/ivtv

file is for? If I recall correctly, if you put your ivtv settings in that file, they override the
settings that ivtv automatically detects.

Also, the file "set_ivtv_params"
in the
/etc/init.d

contains certain ivtv settings, which you can set manually. If I'm right, you should be
able to find the answers you're looking for just by searching the forum with those paths
and filenames as keywords.

Can someone confirm this?



shplad

Author:  bekker [ Mon Aug 01, 2005 1:30 pm ]
Post subject: 

It turned out that the /lib/modules/2.6.11.9-chw-2/v4l2 also contained tuner.ko, tda9887.ko, and tveeprom.ko. These modules interfered with the ones from ivtv 0.3.6x. After renaming these modules everything works fine. ivtv correctly identifies the tuner as type 55 and I have audio and video.

The install routine from ivtv-0.3.6x and 0.3.7a both did not warn for these extra modules.

Regards

Chera

Author:  daffydk [ Mon Aug 01, 2005 4:54 pm ]
Post subject:  hmm

da..
i cant get it too work
just seeing static snow and noting else ...

i have a fev questions too you..

1.
what do you write in your /etc/mythtv/ivtv file
2.
What do you use in your mythtv-setup as your tv setup card (mpeg 2 ( pvr 250 - pvr 350 ) or V4l setup ??
3.
Which ivtv version do you use
4.
have you made any changes in other files ???


Please post back thanx couse iam going NUTS over this ...

Daffydk

Author:  shplad [ Tue Aug 02, 2005 10:55 am ]
Post subject:  Re: hmm

DaffyDk:

Hmm....turns out I had remembered wrong. "set_ivtv_params" looks like a script,
so best not to touch it if you're a newbie.

On second check, it looks like that configuration file is:
/etc/mythtv/modules/ivtv

I believe that's the file to which you were referring? Mine contains exactly what was
in the KnoppMythWiki PVR-150 HOWTO.


As for mythtv-setup card settings I have:
Card Type: MPEG-2 Encoder card (PVR-250, PVR-350)
Device: /dev/video0 (the first tuner card in the box)
Default input: "Tuner 0". (for tuner input, rather than, say VCR in)

Usually, if you're getting snow on your screen, that means you're almost there.
It suggests your tuner is at least partly working , but you're not getting a video signal
into it or you're not tuned into a channel.

If you're still having trouble:
Did you try capturing with the "cat" command in Linux and playing it back?
Did you check that there were no other lirc kernel modules present?

The ivtv FAQ includes instructions on how to do all of the above and much more:
http://ivtv.writeme.ch/tiki-view_faq.php?faqId=1

You'll have to figure out for yourself how not to do overlapping procedures,
so that you don't do the same things more than once, or do
things inappropriate
for your card, but the ivtv HOWTO is very helpful. http://ivtv.writeme.ch/tiki-print.php?page=IvyTvHowTo

Finally, what is your source? Antenna? Cable? Dumb question, but is it plugged in?
Are you getting a picture if you plug a TV into that source?

Hope this helps.

shplad


"I'm nuts, I'm certifiable, I'm completely insane"
- Daffy Duck dive-bombing over a pond



daffydk wrote:
da..
i cant get it too work
just seeing static snow and noting else ...

i have a fev questions too you..

1.
what do you write in your /etc/mythtv/ivtv file
2.
What do you use in your mythtv-setup as your tv setup card (mpeg 2 ( pvr 250 - pvr 350 ) or V4l setup ??
3.
Which ivtv version do you use
4.
have you made any changes in other files ???


Please post back thanx couse iam going NUTS over this ...

Daffydk

Author:  daffydk [ Tue Aug 02, 2005 11:12 am ]
Post subject:  WOW

Wow thanx

Well i sort of got it too work
if i do
ptune-ui.pl
i can set the channels i want and then i do a cat /dev/video0 on it and it do capture video but no sound tho
but the picture are nice and fine when playing it back in mplayer

sooo yes the cable are pluged in (*lol*)

But then i turn on mythtv the channel are still there but after reboot its gone hmm dont get it..

Soo i exit the mythtv again and i open a terminal and type the rmmod ivtv and modprobe ivtv and the parameters after that and do a ptune-ui.pl again and then it works again .. but next time i reboots its gone

i belive that it cant hold the channels or the PAL or the frekvenz table or somthing like that

i used too run Media Portal in windows with no problems at all soo i know that the TV card are OK

thats my ivtv setting

Quote:
alias char-major-81 videodev
alias char-major-81-0 ivtv
alias char-major-61 lirc_i2c
options ivtv ivtv_std=2 tuner=55 tda9887=0 ivtv_debug=0
options tuner pal=G
options saa7127 i2c_enable=1,-1
options wm8775 debug=0
install ivtv /sbin/modprobe --ignore-install ivtv ; /sbin/modprobe ivtv-fb



I realy dont get it anymore

/Daffydk

And thanx again for your help

Author:  bekker [ Tue Aug 02, 2005 11:29 am ]
Post subject: 

I have installed KnoppMyth and I did not change anything on those files.

What I have working right now is switching channels with ptune-ui.pl and watching tv with mplayer /dev/video. So I know that ivtv is working.

i have not tried mythtv itself yet.

On my other system I have configure mythsetup with mpeg2 card for the PVR 150MCE but the PVR 150 is the same.

Right now I use ivtv 0.3.6x. I had to delete a number of modules the v4l2 subdir of the kernel modules directory.

Chera

Author:  bekker [ Tue Aug 02, 2005 11:36 am ]
Post subject: 

Mythtv is not happy right now :-(.

When I try to watch tv with mythtv I get a black screen and after about 30s I get back to the main menu.

When I start mythfrontend in an xterm I get the following output

Code:
2005-08-02 18:54:51.830 New DB connection, total: 1
Total desktop width=1024, height=768, numscreens=1
2005-08-02 18:54:51.845 Using screen 0, 1024x768 at 0,0
2005-08-02 18:54:51.857 mythfrontend version: 0.18.1.20050510-1 www.mythtv.org
sh-3.00$ mythfrontend
2005-08-02 18:57:08.872 New DB connection, total: 1
Total desktop width=1024, height=768, numscreens=1
2005-08-02 18:57:08.886 Using screen 0, 1024x768 at 0,0
2005-08-02 18:57:08.896 mythfrontend version: 0.18.1.20050510-1 www.mythtv.org
2005-08-02 18:57:08.898 Enabled verbose msgs : important general
Total desktop width=1024, height=768, numscreens=1
2005-08-02 18:57:09.653 Using screen 0, 1024x768 at 0,0
2005-08-02 18:57:09.657 Switching to square mode (G.A.N.T.)
mythtv: could not connect to socket
mythtv: Connection refused
lirc_init failed for mythtv, see preceding messages
2005-08-02 18:57:11.487 Joystick disabled.
2005-08-02 18:57:11.853 Registering Internal as a media playback plugin.
2005-08-02 18:57:11.909 Registering MythDVD DVD Media Handler as a media handler2005-08-02 18:57:11.911 Registering MythDVD VCD Media Handler as a media handler2005-08-02 18:57:15.020 Registering MythMusic Media Handler as a media handler
SIP listening on IP Address 192.168.1.251:5060 NAT address 192.168.1.251
SIP: Cannot register; proxy, username or password not set
2005-08-02 18:57:45.961 New DB connection, total: 2
2005-08-02 18:57:46.032 Connecting to backend server: 192.168.1.251:6543 (try 1
of 5)
2005-08-02 18:57:46.042 Using protocol version 15
2005-08-02 18:57:46.093 Using protocol version 15
2005-08-02 18:57:51.410 taking too long to be allowed to read..
2005-08-02 18:57:56.412 taking too long to be allowed to read..
2005-08-02 18:58:01.414 taking too long to be allowed to read..
2005-08-02 18:58:01.415 Took more than 10 seconds to be allowed to read, aborting.
Couldn't read file: rbuf://192.168.1.251:6543/cache/cache/ringbuf1.nuv
2005-08-02 18:58:01.440 Changing from None to WatchingLiveTV
2005-08-02 18:58:01.440 Decoder not alive, and trying to play..
2005-08-02 18:58:21.442 ReadStringList timeout (quick).
Remote encoder not responding.
2005-08-02 18:58:21.455 Changing from None to None
2005-08-02 18:58:31.627 ReadStringList timeout (quick).
2005-08-02 18:58:31.627 RemoteFile::Read(): No response from control socket.
2005-08-02 18:58:31.628 RemoteFile::Read() failed in RingBuffer::safe_read().
2005-08-02 18:58:31.630 WriteStringList: Bad socket
2005-08-02 18:58:31.631 ReadStringList: Bad socket
2005-08-02 18:58:31.631 Remote file timeout.

the backend is running. But somehow it doesn't fill the ringbuf1.nuv file. And the frontend is not allowed to read the file.

Anyone a clue?

Chera

P.s. I'll start a new thread for this problem.

Author:  shplad [ Tue Aug 02, 2005 12:41 pm ]
Post subject:  Re: WOW

Daffy:

Well, if you do some searching of the forum, you'll see a lot of posts about sound issues-it's usually not hard to fix.

As for the instability with picture, I'm not sure about that one. It's probably best if one of the real experts around here comments on that.

shplad

daffydk wrote:
Wow thanx

Well i sort of got it too work
if i do
ptune-ui.pl
i can set the channels i want and then i do a cat /dev/video0 on it and it do capture video but no sound tho
but the picture are nice and fine when playing it back in mplayer

sooo yes the cable are pluged in (*lol*)

But then i turn on mythtv the channel are still there but after reboot its gone hmm dont get it..

Soo i exit the mythtv again and i open a terminal and type the rmmod ivtv and modprobe ivtv and the parameters after that and do a ptune-ui.pl again and then it works again .. but next time i reboots its gone

i belive that it cant hold the channels or the PAL or the frekvenz table or somthing like that

i used too run Media Portal in windows with no problems at all soo i know that the TV card are OK

thats my ivtv setting

Quote:
alias char-major-81 videodev
alias char-major-81-0 ivtv
alias char-major-61 lirc_i2c
options ivtv ivtv_std=2 tuner=55 tda9887=0 ivtv_debug=0
options tuner pal=G
options saa7127 i2c_enable=1,-1
options wm8775 debug=0
install ivtv /sbin/modprobe --ignore-install ivtv ; /sbin/modprobe ivtv-fb



I realy dont get it anymore

/Daffydk

And thanx again for your help

Author:  shplad [ Tue Aug 02, 2005 12:42 pm ]
Post subject: 

Again, I'm just a semi-newbie, but I had to change the permissions on one of my folders
or files to get the buffer to fill. I recall the cache folder needing a change in permissions
before mythtv could read it, or something like that. (I assume you're logged
on as mythtv).

There are quite a few posts on the forum about black screen, returning to the menu,
so if my above suggestion doesn't help, a search should yield the solution.

shplad



bekker wrote:
Mythtv is not happy right now :-(.

When I try to watch tv with mythtv I get a black screen and after about 30s I get back to the main menu.

When I start mythfrontend in an xterm I get the following output

Code:
2005-08-02 18:54:51.830 New DB connection, total: 1
Total desktop width=1024, height=768, numscreens=1
2005-08-02 18:54:51.845 Using screen 0, 1024x768 at 0,0
2005-08-02 18:54:51.857 mythfrontend version: 0.18.1.20050510-1 www.mythtv.org
sh-3.00$ mythfrontend
2005-08-02 18:57:08.872 New DB connection, total: 1
Total desktop width=1024, height=768, numscreens=1
2005-08-02 18:57:08.886 Using screen 0, 1024x768 at 0,0
2005-08-02 18:57:08.896 mythfrontend version: 0.18.1.20050510-1 www.mythtv.org
2005-08-02 18:57:08.898 Enabled verbose msgs : important general
Total desktop width=1024, height=768, numscreens=1
2005-08-02 18:57:09.653 Using screen 0, 1024x768 at 0,0
2005-08-02 18:57:09.657 Switching to square mode (G.A.N.T.)
mythtv: could not connect to socket
mythtv: Connection refused
lirc_init failed for mythtv, see preceding messages
2005-08-02 18:57:11.487 Joystick disabled.
2005-08-02 18:57:11.853 Registering Internal as a media playback plugin.
2005-08-02 18:57:11.909 Registering MythDVD DVD Media Handler as a media handler2005-08-02 18:57:11.911 Registering MythDVD VCD Media Handler as a media handler2005-08-02 18:57:15.020 Registering MythMusic Media Handler as a media handler
SIP listening on IP Address 192.168.1.251:5060 NAT address 192.168.1.251
SIP: Cannot register; proxy, username or password not set
2005-08-02 18:57:45.961 New DB connection, total: 2
2005-08-02 18:57:46.032 Connecting to backend server: 192.168.1.251:6543 (try 1
of 5)
2005-08-02 18:57:46.042 Using protocol version 15
2005-08-02 18:57:46.093 Using protocol version 15
2005-08-02 18:57:51.410 taking too long to be allowed to read..
2005-08-02 18:57:56.412 taking too long to be allowed to read..
2005-08-02 18:58:01.414 taking too long to be allowed to read..
2005-08-02 18:58:01.415 Took more than 10 seconds to be allowed to read, aborting.
Couldn't read file: rbuf://192.168.1.251:6543/cache/cache/ringbuf1.nuv
2005-08-02 18:58:01.440 Changing from None to WatchingLiveTV
2005-08-02 18:58:01.440 Decoder not alive, and trying to play..
2005-08-02 18:58:21.442 ReadStringList timeout (quick).
Remote encoder not responding.
2005-08-02 18:58:21.455 Changing from None to None
2005-08-02 18:58:31.627 ReadStringList timeout (quick).
2005-08-02 18:58:31.627 RemoteFile::Read(): No response from control socket.
2005-08-02 18:58:31.628 RemoteFile::Read() failed in RingBuffer::safe_read().
2005-08-02 18:58:31.630 WriteStringList: Bad socket
2005-08-02 18:58:31.631 ReadStringList: Bad socket
2005-08-02 18:58:31.631 Remote file timeout.

the backend is running. But somehow it doesn't fill the ringbuf1.nuv file. And the frontend is not allowed to read the file.

Anyone a clue?

Chera

P.s. I'll start a new thread for this problem.

Author:  daffydk [ Sun Aug 07, 2005 11:24 am ]
Post subject:  solved

ok i solved the problems with my pvr 15 mce
What i didt was unpluging the power for the htpc and the pluged it in again the day after hmm wierd but it woked after that

but then again i does not work like it should couse..

The picture are blurish
and there are no sound


so do anyone have a solution too that please post

Quote:

alias char-major-81 videodev
alias char-major-81-0 ivtv
alias char-major-61 lirc_i2c
options ivtv ivtv_std=2 tuner=55 tda9887=0 ivtv_debug=0
options tuner pal=G
options saa7115 i2c_enable=1
options wm8775 debug=0
install ivtv /sbin/modprobe --ignore-install ivtv ; /sbin/modprobe ivtv-fb



/daffydk

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/