View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 18 posts ] 
Go to page 1, 2  Next

Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Fri Apr 29, 2005 4:50 am 
Offline
Joined: Fri Apr 29, 2005 4:22 am
Posts: 9
Hello I just registered. I just bought a PVR-150, installed KnoppMyth R5A15, and seem to be having some trouble getting the backend configured and running properly. Im not really sure what to try next.

I followed the wiki steps http://knoppmythwiki.homelinux.org/index.php?page=HauppaugeOneFiftyInstallation but hit problems with the mixer_input=2 line.

This post seemed helpful so I basically followed it, but I noticed my tuner had #39 so I switched that.
http://mysettopbox.tv/phpBB2/viewtopic.php?p=23905&

I copied the firmware off the cdrom and setup a symlink for the encoder (not for a decoder), from here http://ivtv.writeme.ch/tiki-index.php?page=PVR150-500Firmware

I have tried both 0.3.3u and 0.3.3s.

Here's my /etc/mythtv/modules/ivtv (I eliminated the /etc/modprobe.d/ivtv file in favor of this one):
root@Mythtv:/etc/mythtv/modules# cat ivtv
alias char-major-61 lirc_i2c
alias char-major-81 videodev
alias char-major-81-0 ivtv
#options ivtv debug=1
#options tuner type=2
options cx25840 no_black_magic=1
options ivtv ivtv_std=0 tuner=39 tda9887=0 ivtv_debug=1

options cx25840 i2c_enable=1
options saa7127 i2c_enable=-1

#options msp3400 once=1 simple=1
install ivtv /sbin/modprobe tuner; /sbin/modprobe msp3400; /sbin/modprobe saa7115; /sbin/modprobe --ignore-install ivtv
remove ivtv /sbin/modprobe -r --ignore-remove ivtv && /sbin/modprobe -r saa7115 && /sbin/modprobe -r msp3400 && /sbin/modprobe -r tuner
============================================
Here's my ivtv dmesg portion:

ivtv: ==================== START INIT IVTV ====================
ivtv: version 0.3.3 (u) loading
ivtv: Linux version: 2.6.11.7-chw-3 SMP preempt 586 gcc-3.3
ivtv: In case of problems please include the debug info
ivtv: between the START INIT IVTV and END INIT IVTV lines when
ivtv: mailing the ivtv-devel mailinglist.
ivtv: Autodetected WinTV PVR 150 card
ivtv: Found an iTVC16 based chip
ACPI: PCI Interrupt Link [APC3] enabled at IRQ 18
ACPI: PCI interrupt 0000:01:08.0[A] -> GSI 18 (level, high) -> IRQ 18
ivtv: Unreasonably low latency timer, setting to 64 (was 32)
ivtv: XXX PCI device: 0x01e0 vendor: 0x10de
ivtv: i2c attach [client=(tuner unset),ok]
tuner 2-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 = 26032, rev = C182, serial# = 2963458
tveeprom: tuner = LG TAPC H791F (idx = 82, type = 39)
tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000)
tveeprom: audio_processor = TDA9850 (type = 3)
ivtv: Tuner Type 39, Tuner formats 0x00001000, Radio: yes, Model 0x008d1612, Revision 0x00000001
ivtv: NTSC tuner detected
ivtv: Radio detected
cx25840: starting probe for adapter SMBus nForce2 adapter at 5000 (0x0)
cx25840: starting probe for adapter SMBus nForce2 adapter at 5100 (0x0)
cx25840: starting probe for adapter ivtv i2c driver #0 (0x10005)
cx25840: detecting client on address 0x88
cx25840: writing init values
eth0: no IPv6 routers present
cx25840: FW image '/lib/modules/HcwMakoA.ROM' of size 14264 loaded.
cx25840: FW image md5 digest: 3a4803384f749d644ee1f1ca9dcb12fa
cx25840: FW image sha1 digest: 2b5e6292b7391c980b93d156cf6b34178ce770f6
cx25840: Status: cx258413 (DEVICE_ID)
ivtv: i2c attach [client=cx25840[50],ok]
ivtv: i2c attach [client=wm8775[50],ok]
ivtv: Encoder revision: 0x02050032
ivtv: Encoder Firmware may be buggy, use version 0x02040011
ivtv: Configuring WinTV PVR 150 card with 5 streams
ivtv: Registered v4l2 device, streamtype 0 minor 0
ivtv: Create DMA stream 0 using 1024 16384 byte buffers 0 kbytes total
ivtv: Allocate DMA stream 0 using 1024 16384 byte buffers 16777216 kbytes total
ivtv: Registered v4l2 device, streamtype 1 minor 32
ivtv: Create DMA stream 1
ivtv: Allocate DMA stream 1
ivtv: Registered v4l2 device, streamtype 2 minor 224
ivtv: Create DMA stream 2 using 121 34632 byte buffers 0 kbytes total
ivtv: Allocate DMA stream 2 using 121 34632 byte buffers 4194304 kbytes total
ivtv: Registered v4l2 device, streamtype 3 minor 24
ivtv: Create DMA stream 3 using 455 4608 byte buffers 0 kbytes total
ivtv: Allocate DMA stream 3 using 455 4608 byte buffers 2097152 kbytes total
ivtv: Registered v4l2 device, streamtype 4 minor 64
ivtv: Create stream 4
ivtv: Allocate stream 4
ivtv: Setting Tuner 39
tuner 2-0061: type set to 39 (LG NTSC (newer TAPC series))
cx25840: decoder set input (6)
cx25840: Tuner Input
cx25840: set audio: 0x01
ivtv: Switching standard to NTSC.
ivtv: i2c client addr: 0x43 not found!
cx25840: decoder set norm NTSC
cx25840: set audio: 0x01
ivtv: Initialized WinTV PVR 150, card #0
ivtv: ==================== END INIT IVTV ====================
cx25840: decoder set size 720x480 (from 720x480) -> scale 0x65536, filter 0
ivtv: ivtv_enc_thread: pid = 2732, itv = 0xcf1a3d20
cx25840: decoder set picture bright=128 contrast=63 saturation=64 hue=0
cx25840: decoder set picture bright=128 contrast=63 saturation=63 hue=0
cx25840: decoder set picture bright=127 contrast=63 saturation=63 hue=0
cx25840: decoder set picture bright=127 contrast=63 saturation=63 hue=0
cx25840: decoder disable output
cx25840: decoder enable output

==========================================================
Here's the one and only line from /etc/init.d/set_ivtv_params
/usr/local/bin/ivtvctl -d /dev/video0 -u 0 -f width=720,height=480 -p 6

==========================================================
I was getting lots of allocation errors during the mythbackend running, but
I cant seem to generate them right now -- the mythfrontend shows a blank screen
then times out saying the backend is not avail

root@Mythtv:/etc/mythtv/modules# mythbackend
2005-04-29 06:43:53.119 New DB connection, total: 1
Starting up as the master server.
2005-04-29 06:43:53.165 New DB connection, total: 2
2005-04-29 06:43:53.189 New DB connection, total: 3
2005-04-29 06:43:53.415 New DB scheduler connection
2005-04-29 06:43:53.419 mythbackend version: 0.18.20050409-1 www.mythtv.org
2005-04-29 06:43:53.420 Enabled verbose msgs : important general
2005-04-29 06:43:55.428 Reschedule requested for id -1.
2005-04-29 06:43:55.808 Scheduled 0 items in 0.4 = 0.34 match + 0.04 place
2005-04-29 06:43:55.809 Seem to be woken up by USER
2005-04-29 06:44:10.510 MainServer::HandleAnnounce Playback
2005-04-29 06:44:10.510 adding: Mythtv as a client (events: 0)
2005-04-29 06:44:10.523 MainServer::HandleAnnounce Playback
2005-04-29 06:44:10.523 adding: Mythtv as a client (events: 1)
2005-04-29 06:44:10.533 MainServer::HandleAnnounce Playback
2005-04-29 06:44:10.533 adding: Mythtv as a client (events: 0)
2005-04-29 06:44:10.546 MainServer::HandleAnnounce Playback
2005-04-29 06:44:10.546 adding: Mythtv as a client (events: 0)
2005-04-29 06:44:10.552 adding: Mythtv as a remote ringbuffer
2005-04-29 06:44:10.561 Changing from None to WatchingLiveTV
2005-04-29 06:44:25.834 Couldn't read data from the capture card in 15 seconds. Stopping.
2005-04-29 06:44:25.867 Changing from WatchingLiveTV to None

=============================================================
Two lines in the dmesg have me concerned, this one which Im not sure where to find different encoder versions since that came from the cdrom:
ivtv: Encoder Firmware may be buggy, use version 0x02040011

and this one at the end:
ivtv: i2c client addr: 0x43 not found![/url]


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 29, 2005 5:40 am 
Offline
Joined: Fri Apr 29, 2005 4:22 am
Posts: 9
Looking at that dmesg I see
ivtv: i2c attach [client=cx25840[50],ok]

so I tried an ivtv with tuner=50 but no diff.

Also here's some of those allocation errors Im seeing:
ivtv: ENC: VBI got (0) needed 104 bytes for stream 2, only 12568192 differ by (-12568088) bytes
printk: 3 messages suppressed.
ivtv-enc: page allocation failure. order:4, mode:0xd0
[<c013c65f>] __alloc_pages+0x26f/0x3b0
[<c013ef54>] kmem_getpages+0x34/0x90
[<c013fb9c>] cache_grow+0xac/0x140
[<c013fda0>] cache_alloc_refill+0x170/0x220
[<c01400c5>] __kmalloc+0x65/0x80
[<cf17f911>] ivtv_init_buffer+0x31/0x170 [ivtv]
[<cf1808c3>] enc_gather_free_buffers+0x253/0x290 [ivtv]
[<cf18b9fe>] ivtv_sched_VBI+0x5ce/0x72a [ivtv]
[<c0118bc0>] default_wake_function+0x0/0x20
[<c0118bc0>] default_wake_function+0x0/0x20
[<cf18ddd8>] enc_work_handler+0x78/0x80 [ivtv]
[<cf18f099>] ivtv_enc_thread+0x159/0x1f1 [ivtv]
[<c012fef0>] autoremove_wake_function+0x0/0x40
[<c0102ed6>] ret_from_fork+0x6/0x20
[<c012fef0>] autoremove_wake_function+0x0/0x40
[<cf18ef40>] ivtv_enc_thread+0x0/0x1f1 [ivtv]
[<c01012f9>] kernel_thread_helper+0x5/0xc
ivtv: No memory on buffer alloc!
ivtv: needed 104 bufs for stream 2, received 0 differ by (104) bufs
ivtv: SCHED: free_q: 0 elements
ivtv: SCHED: dma_q: 0 elements
ivtv: SCHED: full_q: 444 elements
ivtv: ENC: VBI got (0) needed 104 bytes for stream 2, only 15330432 differ by (-15330328) bytes
ivtv: No memory on buffer alloc!
ivtv: needed 104 bufs for stream 2, received 0 differ by (104) bufs
ivtv: SCHED: free_q: 0 elements
ivtv: SCHED: dma_q: 0 elements
ivtv: SCHED: full_q: 444 elements
ivtv: ENC: VBI got (0) needed 104 bytes for stream 2, only 15330432 differ by (-15330328) bytes
ivtv: ENC Stream 2 OVERFLOW #0: Stealing a Buffer, 4194668 currently allocated
ivtv: ENC Stream 2 OVERFLOW #1: Stealing a Buffer, 4194668 currently allocated
ivtv: ENC Stream 2 OVERFLOW #2: Stealing a Buffer, 4194668 currently allocated
ivtv: ENC Stream 2 OVERFLOW #3: Stealing a Buffer, 4194668 currently allocated
ivtv: ENC Stream 2 OVERFLOW #4: Stealing a Buffer, 4194668 currently allocated
...


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 29, 2005 7:26 am 
Offline
Joined: Fri Mar 26, 2004 9:00 am
Posts: 239
Hi There,

I wound up re-doing my box and following own instructions last night. I couldn't get things to work with 3.3u either, so I started over and used the exact rev the gentleman who wrote the PVR500 instructions used:

Code:
cd ivtv-0.3.2r/driver
make
make install
cd ../utils
make
make install


That seemed to work very well. The only issue that i had with the 3.2r release as that I have a line of noise at the very top of the picture on most channels, and I did net to go in to my TV settings and set all my resolutions to 720x480. I believe the resolution issue is fixed in later drivers but I couldn't get the stability I need.

So give it a try with the 3.2r drivers and the docs I added, mine came right up and all I needed to do was adjust the resolution to get all the picture back.

-Jeff


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 29, 2005 7:27 am 
Offline
Joined: Fri Mar 26, 2004 9:00 am
Posts: 239
PS - I found that the docs in the link about the 500 were easier to understand than those in the Wiki. I started with the wiki originally foor my PVR-150 and then ended up using the 500 docs from scratch, which the changes I posted. Both had hints and tips but in th eend the ones for the 500 worked the easiest for me.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 29, 2005 7:51 am 
Offline
Joined: Tue Dec 07, 2004 12:04 pm
Posts: 369
The line of noise at the top is data in the vertical blanking interrupt. You can hide it by adjusting the overscan in mythtv, I believe.

And yeah, the PVR-500 instructions worked well for me too. Kudos to ralph.

-brendan


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 29, 2005 7:52 am 
Offline
Joined: Fri Apr 29, 2005 4:22 am
Posts: 9
Thank you for the reply. I will download and try "3.3r". I also just reverted the encoder firmware to match that post, i.e. not using the HcwFalcn.rom from the cdrom, instead using the extracted files from pvr48wdm_1.8.22037.exe
-- are you using those?

And...when you reverted the driver, did you do any make clean type statements or simply make install again?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 29, 2005 8:00 am 
Offline
Joined: Tue Dec 07, 2004 12:04 pm
Posts: 369
Typically, each time I downloaded a new ivtv package, the directory was a new one, so there was no need to make clean. You'd only really need to do that if you'd compiled that version, modified the source and wanted to compile again.

Just a side note: IIRC, some of the 3.3.2[a-z] versions had a problem with not properly pushing out the tuner.ko file during make install.

I had to work around that by finding the tuner.ko files that already existed, renaming them, and copying the one from the that build to the same places, even after the make install.

-brendan


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 29, 2005 9:22 am 
Offline
Joined: Fri Apr 29, 2005 4:22 am
Posts: 9
Im using 0.3.2r now and some progress has been made. The mythbackend does not seem to be generating the alloc errors. However,

the mythfrontend, when selecting Watch TV, initially shows the Guide full screen with the upper left corner having a 4 x 4 black area with a 1 inch band at the top of it that has 3 fuzzy thumbnails of thoroughly distorted video. Sound can be heard but is choppy, and may be helium-like (I should hook up better speakers and see).

When I press escape it goes full screen and I can see the cable station, but its in a really slow motion with occassional motion freezes. Ideas?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 29, 2005 12:09 pm 
Offline
Joined: Tue Dec 07, 2004 12:04 pm
Posts: 369
Are you using the nvidia X driver? How well do DVDs play?

-brendan


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 29, 2005 1:45 pm 
Offline
Joined: Fri Apr 29, 2005 4:22 am
Posts: 9
The play screen is looking better after I reduced X cfg to use 640 x 480 and after chging the mythfrontend play settings to 720x480. The first screen after clicking Watch TV is still a problem: upper right corner yuch.

This is an nvidia board but it didnt come with the tvout (which I have ordered), so in the meantime I was trying to use a Radeon 9200 based PCI card which has an S-Video out. In X I have this set as driver "vesa".

Before I move the thing up to the TV with the S-vid I wanted to try and get the remote working. I made it through all your steps but I dont see any activity in the messages tail when pushing the remote under irw -- any suggestions how to diagnose?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 29, 2005 3:02 pm 
Offline
Joined: Fri Apr 29, 2005 4:22 am
Posts: 9
Update: remote is working now. I did need to add lirc_i2c to /etc/modules on this KnoppMyth-created system.

I cant type "mythsetup" to reconfigure the backend IP address (which is dhcp but oh well).

Still have the initial 4x4 screen prob. I wonder if that box is a special resolution I need to add to my X cfg, like 180 x 120 or something tiny.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 29, 2005 3:48 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
There is no mythsetup, it is
Code:
mythtv-setup

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 29, 2005 5:40 pm 
Offline
Joined: Fri Apr 29, 2005 4:22 am
Posts: 9
Remote has stopped working. It seems lircd dies everytime I run irw.

root@Mythtv:~# lircd -n
lircd 0.7.1pre2[4180]: lircd(any) ready
lircd 0.7.1pre2[4180]: accepted new client on /dev/lircd
lircd 0.7.1pre2[4180]: could not open /dev/lirc
lircd 0.7.1pre2[4180]: default_init(): No such device
lircd 0.7.1pre2[4180]: caught signal
Terminated

Still googling for a solution. Any ideas?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jun 04, 2005 7:30 pm 
Offline
Joined: Sat Oct 02, 2004 10:52 pm
Posts: 41
So is the final solution to this problem reverting to an older version of ivtv? It just appeared to me when I started using the 0.3.5x branch, but not 0.3.5 itself. :?:


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 05, 2005 8:10 am 
Offline
Joined: Fri Apr 29, 2005 4:22 am
Posts: 9
I gave up on lirc and bought a $19.99 (includes shipping) wireless RF keyboard & mouse from chiefvalue.com, which just use the ps/2 ports. I wanted to spend my time on other aspects of the mythtv box. Kbd works fine but I'm keeping my eye out for a smaller one, and I read elsewhere that others have bought a wireless Infrared (IR), not RF, keyboard, then they bought a 'learning' remote from walmart, and they taught their remote using their wireless keyboard: they can then use that remote for other devices too or fallback to the keyboard for internet browsing on the myth box etc. But again avoiding lirc alltogether.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 18 posts ] 
Go to page 1, 2  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu