Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Getting the Hauppauge PVR-500 to work
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
loemmel
Apprentice
Apprentice


Joined: 19 Aug 2003
Posts: 227
Location: switzerland

PostPosted: Tue Jul 05, 2005 6:24 am    Post subject: Getting the Hauppauge PVR-500 to work Reply with quote

Hy there.

I bought a Hauppauge PVR-500MCE for my HTPC-Project.
I've got some serious problems getting this TV-Card working. I made everything as discribed in the ivtv-wiki and the QuickInstall guide delivered by the ivtv-drivers.
i've built the driver by hand, because the portage version of ivtv is really outdated, and support for the pvr-500 was added in the 0.3.x series of ivtv.

When I load the ivtv module i get following output with dmesg:

Code:
Linux video capture interface: v1.00
ivtv: ==================== START INIT IVTV ====================
ivtv: version 0.3.6 (o) loading
ivtv: Linux version: 2.6.11-gentoo-r11 SMP preempt PENTIUM4 4KSTACKS 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 0000:04:08.0[A] -> GSI 22 (level, low) -> IRQ 22
ivtv: Unreasonably low latency timer, setting to 64 (was 32)
ivtv: XXX PCI device: 0x2570 vendor: 0x8086
tveeprom: Hauppauge: model = 23559, rev = D591, serial# = 8202051
tveeprom: tuner = Philips FQ1216AME MK4 (idx = 91, type = 56)
tveeprom: tuner fmt = PAL(B/G) PAL(I) SECAM(L/L) PAL(D/K) (eeprom = 0x74, v4l2 =
 0x00400e17)
tveeprom: audio_processor = MSP3410D (type = 5)
ivtv: i2c attach [client=tveeprom[50],ok]
ivtv: Tuner Type 56, Tuner formats 0x00400e17, Radio: yes, Model 0x00915651, Rev
ision 0x00000000
ivtv: PAL tuner detected
ivtv: Radio detected
tuner: Ignoring new-style parameters in presence of obsolete ones
tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
ivtv: i2c attach [client=(tuner unset),ok]
cx25840: starting probe for adapter ivtv i2c driver #0 (0x10005)
cx25840: detecting cx25840 client on address 0x88
cx25840: cx25843-23 found. Initializing...
cx25840: requesting /lib/modules/HcwMakoA.ROM
cx25840: firmware loaded
ivtv: i2c attach [client=cx25840[50],ok]
ivtv: i2c attach [client=wm8775[50],ok]
ivtv: Encoder revision: 0x02040011
ivtv: Configuring WinTV PVR 150 card with 5 streams
ivtv: Registered v4l2 device, streamtype 0 minor 0
ivtv: Create DMA stream 0 using 128 32768 byte buffers  0 kbytes total
ivtv: Registered v4l2 device, streamtype 1 minor 32
ivtv: Create DMA stream 1 using 161 12960 byte buffers  0 kbytes total
ivtv: Registered v4l2 device, streamtype 2 minor 224
ivtv: Create DMA stream 2 using 165 12635 byte buffers  0 kbytes total
ivtv: Registered v4l2 device, streamtype 3 minor 24
ivtv: Create DMA stream 3 using 455 4608 byte buffers  0 kbytes total
ivtv: Registered v4l2 device, streamtype 4 minor 64
ivtv: Create stream 4
ivtv: Setting Tuner 56
tuner: type set to 56 (Philips PAL/SECAM multi (FQ1216AME MK4)) by ivtv i2c driv
er #0
cx25840: decoder set norm PAL
ivtv: ivtv_enc_vbi_thread: pid = 4137, itv = 0xf9404820
ivtv: ivtv_enc_thread: pid = 4136, itv = 0xf9404820
cx25840: decoder set input (6)
cx25840: now setting Tuner input
cx25840: set audio input (0)
ivtv: Switching standard to PAL.
cx25840: decoder set norm PAL
ivtv: Initialized WinTV PVR 150, card #0
ivtv: Autodetected WinTV PVR 150 card
ivtv: Found an iTVC16 based chip
PCI: Enabling device 0000:04:09.0 (0000 -> 0002)
ACPI: PCI interrupt 0000:04:09.0[A] -> GSI 21 (level, low) -> IRQ 21
ivtv: Bus Mastering is not enabled
ivtv: Error -6 on initialization
ivtv-iTVC15_16_mpg2_encoder_card: probe of 0000:04:09.0 failed with error -6
ivtv: ====================  END INIT IVTV  ====================


I googled for this problem and really found a solution.
bus mastering is not set for the pci-interface, so i have to set it by myself.

because the output of lspci gave me 2 devices of the pvr (because of the 2 tuners of the pvr-500)
Code:
0000:04:08.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416) MPEG-2 Encoder (rev 01)
0000:04:09.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416) MPEG-2 Encoder (rev 01)

i set bus mastering for both pci-devices:
Code:

bash# setpci -s 04:08 4.w=116
bash# setpci -s 04:09 4.w=116


first i removed the modules and after the setpci-commands i made again a:
Code:
modprobe ivtv


now there seems to be everything ok,
dmesg:
Code:
Linux video capture interface: v1.00
ivtv: ==================== START INIT IVTV ====================
ivtv: version 0.3.6 (o) loading
ivtv: Linux version: 2.6.11-gentoo-r11 SMP preempt PENTIUM4 4KSTACKS 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 0000:04:08.0[A] -> GSI 22 (level, low) -> IRQ 22
ivtv: XXX PCI device: 0x2570 vendor: 0x8086
tveeprom: Hauppauge: model = 23559, rev = D591, serial# = 8202051
tveeprom: tuner = Philips FQ1216AME MK4 (idx = 91, type = 56)
tveeprom: tuner fmt = PAL(B/G) PAL(I) SECAM(L/L) PAL(D/K) (eeprom = 0x74, v4l2 = 0x00400e17)
tveeprom: audio_processor = MSP3410D (type = 5)
ivtv: i2c attach [client=tveeprom[50],ok]
ivtv: Tuner Type 56, Tuner formats 0x00400e17, Radio: yes, Model 0x00915651, Revision 0x00000000
ivtv: PAL tuner detected
ivtv: Radio detected
tuner: Ignoring new-style parameters in presence of obsolete ones
tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
ivtv: i2c attach [client=(tuner unset),ok]
cx25840: starting probe for adapter ivtv i2c driver #0 (0x10005)
cx25840: detecting cx25840 client on address 0x88
cx25840: cx25843-23 found. Initializing...
cx25840: requesting /lib/modules/HcwMakoA.ROM
cx25840: firmware loaded
ivtv: i2c attach [client=cx25840[50],ok]
ivtv: i2c attach [client=wm8775[50],ok]
ivtv: Encoder revision: 0x02040011
ivtv: Configuring WinTV PVR 150 card with 5 streams
ivtv: Registered v4l2 device, streamtype 0 minor 0
ivtv: Create DMA stream 0 using 128 32768 byte buffers  0 kbytes total
ivtv: Registered v4l2 device, streamtype 1 minor 32
ivtv: Create DMA stream 1 using 161 12960 byte buffers  0 kbytes total
ivtv: Registered v4l2 device, streamtype 2 minor 224
ivtv: Create DMA stream 2 using 165 12635 byte buffers  0 kbytes total
ivtv: Registered v4l2 device, streamtype 3 minor 24
ivtv: Create DMA stream 3 using 455 4608 byte buffers  0 kbytes total
ivtv: Registered v4l2 device, streamtype 4 minor 64
ivtv: Create stream 4
ivtv: Setting Tuner 56
tuner: type set to 56 (Philips PAL/SECAM multi (FQ1216AME MK4)) by ivtv i2c driver #0
cx25840: decoder set norm PAL
cx25840: decoder set input (6)
cx25840: now setting Tuner input
cx25840: set audio input (0)
ivtv: ivtv_enc_vbi_thread: pid = 14878, itv = 0xf95a9820
ivtv: ivtv_enc_thread: pid = 14877, itv = 0xf95a9820
ivtv: Switching standard to PAL.
cx25840: decoder set norm PAL
ivtv: Initialized WinTV PVR 150, card #0
ivtv: Autodetected WinTV PVR 150 card
ivtv: Found an iTVC16 based chip
ACPI: PCI interrupt 0000:04:09.0[A] -> GSI 21 (level, low) -> IRQ 21
ivtv: Unreasonably low latency timer, setting to 64 (was 0)
ivtv: XXX PCI device: 0x2570 vendor: 0x8086
tveeprom: Hauppauge: model = 23559, rev = D591, serial# = 8202051
tveeprom: tuner = Philips FQ1216AME MK4 (idx = 91, type = 56)
tveeprom: tuner fmt = PAL(B/G) PAL(I) SECAM(L/L) PAL(D/K) (eeprom = 0x74, v4l2 = 0x00400e17)
tveeprom: audio_processor = MSP3410D (type = 5)
ivtv: i2c attach [client=tveeprom[50],ok]
tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #1
ivtv: i2c attach [client=(tuner unset),ok]
cx25840: starting probe for adapter ivtv i2c driver #1 (0x10005)
cx25840: detecting cx25840 client on address 0x88
cx25840: cx25843-23 found. Initializing...
cx25840: requesting /lib/modules/HcwMakoA.ROM
cx25840: firmware loaded
ivtv: i2c attach [client=cx25840[50],ok]
ivtv: i2c attach [client=wm8775[50],ok]
ivtv: Tuner Type 56, Tuner formats 0x00400e17, Radio: yes, Model 0x00915651, Revision 0x00000000
ivtv: Radio detected
ivtv: Encoder revision: 0x02040011
ivtv: Configuring WinTV PVR 150 card with 5 streams
ivtv: Registered v4l2 device, streamtype 0 minor 1
ivtv: Create DMA stream 0 using 128 32768 byte buffers  0 kbytes total
ivtv: Registered v4l2 device, streamtype 1 minor 33
ivtv: Create DMA stream 1 using 161 12960 byte buffers  0 kbytes total
ivtv: Registered v4l2 device, streamtype 2 minor 225
ivtv: Create DMA stream 2 using 165 12635 byte buffers  0 kbytes total
ivtv: Registered v4l2 device, streamtype 3 minor 25
ivtv: Create DMA stream 3 using 455 4608 byte buffers  0 kbytes total
ivtv: Registered v4l2 device, streamtype 4 minor 65
ivtv: Create stream 4
ivtv: Setting Tuner 56
tuner: type set to 56 (Philips PAL/SECAM multi (FQ1216AME MK4)) by ivtv i2c driver #1
cx25840: decoder set norm PAL
cx25840: decoder set input (6)
cx25840: now setting Tuner input
ivtv: ivtv_enc_thread: pid = 14936, itv = 0xf95ccbc0
ivtv: ivtv_enc_vbi_thread: pid = 14937, itv = 0xf95ccbc0
cx25840: set audio input (0)
ivtv: Switching standard to PAL.
cx25840: decoder set norm PAL
ivtv: Initialized WinTV PVR 150, card #1
ivtv: ====================  END INIT IVTV  ====================


ok, the tv-card still does not work correct, but i'm made a step forward. i'm not really shure if the solution i've found is the right. and i have still a problem with this, because everytime i restart, the setpci-setting isnt present. so i've always have to set it again.

is there a way to do this during startup before loading the ivtv modules?
would be great if anyone could help here.
Back to top
View user's profile Send private message
loemmel
Apprentice
Apprentice


Joined: 19 Aug 2003
Posts: 227
Location: switzerland

PostPosted: Wed Jul 06, 2005 7:26 am    Post subject: Reply with quote

nobody? *bump*
Back to top
View user's profile Send private message
hw-tph
l33t
l33t


Joined: 08 Jan 2004
Posts: 768
Location: Uppsala, Sweden

PostPosted: Wed Jul 06, 2005 9:45 am    Post subject: Reply with quote

You could probably get away with doing it the quick and ugly way if nobody presents a better way: Use the local.start init script. Do not load the ivtv module with /etc/modules.autoload.d/kernel-2.6, but put it all in /etc/conf.d/local.start. Just add the commands there:
Code:
/sbin/setpci -s 04:08 4.w=116
/sbin/setpci -s 04:09 4.w=116
/sbin/modprobe ivtv


This way the commands will execute in the correct order and the effect should be the same as if you did it by hand.

Håkan
Back to top
View user's profile Send private message
loemmel
Apprentice
Apprentice


Joined: 19 Aug 2003
Posts: 227
Location: switzerland

PostPosted: Wed Jul 06, 2005 9:55 am    Post subject: Reply with quote

hmmm, okay, it's really an ugly way, but this seems to work.

so do i have to start de mythbackend server after loading the ivtv module (this would mean i have to add the "/etc/init.d/mythbackend start" to the /etc/conf.d/local.start too?)
i'm not shure about that. but it would make sense.
so far your hack works, it seems to load the module correctly, thanks for this. i'm still having problems with the tv-card, will post this later, when i'm at home.

perhaps there's someone who nows a better way, to set de bus mastering on for this pci-device? (bus mastering is enabled in the bios)
Back to top
View user's profile Send private message
hw-tph
l33t
l33t


Joined: 08 Jan 2004
Posts: 768
Location: Uppsala, Sweden

PostPosted: Wed Jul 06, 2005 11:58 am    Post subject: Reply with quote

Hey, I said it was ugly, didn't I? :D

You can add pretty much anything to the local.[start|stop] files, so a call to an init script should work too.

A more graceful solution would be writing a new init script and do everything you need to get done before the mythtv stuff is launched there, and make sure that script launches before mythtv.

Håkan
Back to top
View user's profile Send private message
loemmel
Apprentice
Apprentice


Joined: 19 Aug 2003
Posts: 227
Location: switzerland

PostPosted: Thu Jul 07, 2005 10:23 pm    Post subject: Reply with quote

so, i finally got my tv-card working.
I get video signal on both tuners, and can change the channels. everything seems to be fine, but:
i can't change the channel without loosing sound, this means. the first time i fire up mplayer to watch /dev/video0 or video1 i have sound (same in mythtv) but as soon i want to change a channel (with ptune.pl or in mythtv) the sound is gone. and it doesnt come back until i remove the modules and modprobe them again.

i've made a /etc/modules.d/ivtv and it looks like this:
Code:
alias char-major-81 videodev
alias char-major-81-0 ivtv
alias char-major-81-1 ivtv
options ivtv tda9887=0,0 ivtv_std=2,2


the dmesg output after loading the ivtv modules:
Code:
Linux video capture interface: v1.00
ivtv: ==================== START INIT IVTV ====================
ivtv: version 0.3.6 (x) loading
ivtv: Linux version: 2.6.11-gentoo-r11 SMP preempt PENTIUM4 4KSTACKS 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 0000:04:08.0[A] -> GSI 21 (level, low) -> IRQ 21
ivtv: XXX PCI device: 0x2570 vendor: 0x8086
tveeprom: Hauppauge: model = 23559, rev = D591, serial# = 8202051
tveeprom: tuner = Philips FQ1216AME MK4 (idx = 91, type = 56)
tveeprom: tuner fmt = PAL(B/G) PAL(I) SECAM(L/L) PAL(D/K) (eeprom = 0x74, v4l2 = 0x00400e17)
tveeprom: audio_processor = MSP3410D (type = 5)
ivtv: i2c attach [client=tveeprom[50],ok]
ivtv: Tuner Type 56, Tuner formats 0x00400e17, Radio: yes, Model 0x00915651, Revision 0x00000000
ivtv: Radio detected
tuner: Ignoring new-style parameters in presence of obsolete ones
tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
ivtv: i2c attach [client=(tuner unset),ok]
cx25840: starting probe for adapter ivtv i2c driver #0 (0x10005)
cx25840: detecting cx25840 client on address 0x88
cx25840: cx25843-23 found. Initializing...
cx25840: requesting /lib/modules/HcwMakoA.ROM
cx25840: firmware loaded
ivtv: i2c attach [client=cx25840[50],ok]
ivtv: i2c attach [client=wm8775[50],ok]
tda9885/6/7: chip found @ 0x86
ivtv: i2c attach [client=tda9887,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 for encoder MPEG minor 0
ivtv: Create DMA encoder MPEG stream: 0 x 32768 buffers (0KB total)
ivtv: Registered v4l2 device for encoder YUV minor 32
ivtv: Create DMA encoder YUV stream: 0 x 12960 buffers (0KB total)
ivtv: Registered v4l2 device for encoder VBI minor 224
ivtv: Create DMA encoder VBI stream: 0 x 12740 buffers (0KB total)
ivtv: Registered v4l2 device for encoder PCM audio minor 24
ivtv: Create DMA encoder PCM audio stream: 0 x 4608 buffers (0KB total)
ivtv: Registered v4l2 device for encoder radio minor 64
ivtv: Create encoder radio stream
ivtv: Setting Tuner 56
tuner: type set to 56 (Philips PAL/SECAM multi (FQ1216AME MK4)) by ivtv i2c driver #0
cx25840: decoder set norm PAL
cx25840: decoder set input (6)
cx25840: now setting Tuner input
ivtv: ivtv_enc_vbi_thread: pid = 25873, itv = 0xf94695a0
ivtv: ivtv_enc_thread: pid = 25872, itv = 0xf94695a0
cx25840: set audio input (0)
ivtv: Switching standard to PAL.
cx25840: decoder set norm PAL
ivtv: Initialized WinTV PVR 150, card #0
ivtv: Autodetected WinTV PVR 150 card
ivtv: Found an iTVC16 based chip
ACPI: PCI interrupt 0000:04:09.0[A] -> GSI 22 (level, low) -> IRQ 22
ivtv: XXX PCI device: 0x2570 vendor: 0x8086
tveeprom: Hauppauge: model = 23559, rev = D591, serial# = 8202051
tveeprom: tuner = Philips FQ1216AME MK4 (idx = 91, type = 56)
tveeprom: tuner fmt = PAL(B/G) PAL(I) SECAM(L/L) PAL(D/K) (eeprom = 0x74, v4l2 = 0x00400e17)
tveeprom: audio_processor = MSP3410D (type = 5)
ivtv: i2c attach [client=tveeprom[50],ok]
tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #1
ivtv: i2c attach [client=(tuner unset),ok]
cx25840: starting probe for adapter ivtv i2c driver #1 (0x10005)
cx25840: detecting cx25840 client on address 0x88
cx25840: cx25843-23 found. Initializing...
cx25840: requesting /lib/modules/HcwMakoA.ROM
cx25840: firmware loaded
ivtv: i2c attach [client=cx25840[50],ok]
ivtv: i2c attach [client=wm8775[50],ok]
tda9885/6/7: chip found @ 0x86
ivtv: i2c attach [client=tda9887,ok]
ivtv: Tuner Type 56, Tuner formats 0x00400e17, Radio: yes, Model 0x00915651, Revision 0x00000000
ivtv: Radio detected
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 for encoder MPEG minor 1
ivtv: Create DMA encoder MPEG stream: 0 x 32768 buffers (0KB total)
ivtv: Registered v4l2 device for encoder YUV minor 33
ivtv: Create DMA encoder YUV stream: 0 x 12960 buffers (0KB total)
ivtv: Registered v4l2 device for encoder VBI minor 225
ivtv: Create DMA encoder VBI stream: 0 x 12740 buffers (0KB total)
ivtv: Registered v4l2 device for encoder PCM audio minor 25
ivtv: Create DMA encoder PCM audio stream: 0 x 4608 buffers (0KB total)
ivtv: Registered v4l2 device for encoder radio minor 65
ivtv: Create encoder radio stream
ivtv: Setting Tuner 56
tuner: type set to 56 (Philips PAL/SECAM multi (FQ1216AME MK4)) by ivtv i2c driver #1
cx25840: decoder set norm PAL
cx25840: decoder set input (6)
cx25840: now setting Tuner input
ivtv: ivtv_enc_vbi_thread: pid = 25922, itv = 0xf948c994
ivtv: ivtv_enc_thread: pid = 25921, itv = 0xf948c994
cx25840: set audio input (0)
ivtv: Switching standard to PAL.
cx25840: decoder set norm PAL
ivtv: Initialized WinTV PVR 150, card #1
ivtv: ====================  END INIT IVTV  ====================


so I don't get any errors at all. could anyone help me with this?
Back to top
View user's profile Send private message
Miwer
n00b
n00b


Joined: 27 Aug 2003
Posts: 24
Location: Copenhagen, Denmark

PostPosted: Mon Jul 11, 2005 11:51 am    Post subject: Reply with quote

Quote:
...the first time i fire up mplayer to watch /dev/video0 or video1...


I don't know if this is related, but are you using udev? A little story from my experience:

I'm using udev, and haven't made any significant changes in the configs. I have both /dev/video0 and /dev/v4l/video0 - for some reason my /dev/video0 isn't working correctly. Not even with xawtv - It reads the device and I get snow, but I can't really do anything with it (like tuning). I have to use the /dev/v4l/video0 - try and see if you have this also.

I also have both /dev/vbi0 and /dev/v4l/vbi0 - using the latter.
Back to top
View user's profile Send private message
loemmel
Apprentice
Apprentice


Joined: 19 Aug 2003
Posts: 227
Location: switzerland

PostPosted: Mon Jul 11, 2005 2:50 pm    Post subject: Reply with quote

hmm, yes i'm using udev.

i'll have to try this. thanks for the hint.
perhaps this could solve my problem, but i don't have any problems with tuning /dev/video0 it's only the sound by changing the channel, that doesn't work.
Back to top
View user's profile Send private message
loemmel
Apprentice
Apprentice


Joined: 19 Aug 2003
Posts: 227
Location: switzerland

PostPosted: Mon Jul 11, 2005 5:59 pm    Post subject: Reply with quote

ok, I switched back to devfs, but the problem is still the same. No sound after changing the channel.

anyone with other ideas? is somewhere here, who got his pvr-500 (PAL) working?
Back to top
View user's profile Send private message
rudyfink
n00b
n00b


Joined: 10 Sep 2002
Posts: 11
Location: Houston, TX (yee-haww!!)

PostPosted: Wed Jul 13, 2005 4:10 am    Post subject: Reply with quote

I'm sorry that I can't help you but I'd like to ask a question.

Where did you get the rom that you use? Did you download the recommended one or did you pull it off the cdrom?

I'm trying to get a 500 MCE revision 492 working in NTSC and right now I'm having a crash error.
Back to top
View user's profile Send private message
loemmel
Apprentice
Apprentice


Joined: 19 Aug 2003
Posts: 227
Location: switzerland

PostPosted: Wed Jul 13, 2005 6:16 am    Post subject: Reply with quote

could you post your error???

i use the rom, you can find on the http://www.hauppauge.com website.

you can download there the driver-cd: http://hauppauge.lightpath.net/software/mce/mce_cd_v25.zip

you will get an error, because you are using never drivers as recomended, but thats normal and doesn't mean anything.
Back to top
View user's profile Send private message
Miwer
n00b
n00b


Joined: 27 Aug 2003
Posts: 24
Location: Copenhagen, Denmark

PostPosted: Fri Jul 15, 2005 2:32 pm    Post subject: Reply with quote

Hi loemmel,

Guess what ?? I just bought a PVR-500 so now I'm trying to see if I can fix a home-made ebuild for the latest ivtv 0.3.6z :D

Anyway, I got no sound AT ALL but I haven't really had the time to look at it (I will this evening).
Just another tip for you: I saw in another post, that you can get extensive debugging info from ivtv by setting the ivtv_debug=1 option for the ivtv module.
Theres also another command I don't know about: ivtvctl According to the following thread this seems to give you some more or less interesting output for debugging.

https://forums.gentoo.org/viewtopic-t-351104-highlight-pvr500mce.html

Good luck.

[EDIT]

Ok, so now I've managed to reproduce the same error you're describing... it seems that a patch included since 0.3.6v are causing this behaviour. In this link someone has made a reverse patch, trying to solve the problem - http://www.gossamer-threads.com/lists/ivtv/devel/22272

... maybe you should try applying this patch to 0.3.6z and see if it works (it worked for me) - I'm putting it here since on the page I'm linking to above, it's formatted like crap :roll:

Code:

--- ivtv-fileops.c.orig 2005-07-11 14:39:55.000000000 +0200
+++ ivtv-fileops.c      2005-07-15 21:26:05.000000000 +0200
@@ -1605,11 +1605,6 @@
        IVTV_DEBUG(IVTV_DEBUG_INFO, "Disabling digitizer\n");
        dig = 0;
        itv->card->video_dec_func(itv, DECODER_ENABLE_OUTPUT, &dig);
-
-       if (tda9887 == 0) {
-               int config = 0;
-               ivtv_tda9887(itv, TDA9887_SET_CONFIG, &config);
-       }
 }

 void unmute_and_resume(struct ivtv *itv, int sleep)
@@ -1637,11 +1632,6 @@
        if (sleep)
                ivtv_sleep_timeout(HZ / 10, 0);

-       if (tda9887 == 0) {
-               int config = TDA9887_PORT1_ACTIVE | TDA9887_PORT2_ACTIVE;
-               ivtv_tda9887(itv, TDA9887_SET_CONFIG, &config);
-       }
-
        /* Unmute */
        ivtv_audio_set_mute(itv, 0);
        IVTV_DEBUG(IVTV_DEBUG_INFO, "Finished with Mute\n");
Back to top
View user's profile Send private message
loemmel
Apprentice
Apprentice


Joined: 19 Aug 2003
Posts: 227
Location: switzerland

PostPosted: Mon Jul 18, 2005 6:15 am    Post subject: Reply with quote

thanks for the info, I will try this when I'm back home, just got my pvr-500 back (was RMA).

Could someone tell me how to apply this (or a) patch? i'm not very familiar with this.

thank you for your help.

p.s. Is your card now working with sound?
Back to top
View user's profile Send private message
Miwer
n00b
n00b


Joined: 27 Aug 2003
Posts: 24
Location: Copenhagen, Denmark

PostPosted: Mon Jul 18, 2005 8:44 am    Post subject: Reply with quote

loemmel just cut&paste the patch into a file (e.g. ivtv-fileops.c.diff), put this file in the same directory as the target file (ivtv-fileops.c - it's in the drivers directory), cd to it and run this command:

Code:
patch -l < ivtv-fileops.c.diff

EDIT: I updated this command since loemmel had problems patching it - the patch is fine, it just needed the -l parameter because of whitespace/tabs problems

... then 'make && make install' it again (you can also 'make clean' before 'make' to get rid of the old binaries first, just to be sure)


ANOTHER THING:

After this I ran into some trouble where I would only get sound on the second tuner, not the first (video is fine on both) - It seemed that the cx25840 module was having trouble detecting sound type on the first tuner and wasn't unmuting the correct channels. I was running with firmware 2.0.30.23074 that came with the CD, but I tried upgrading the firmware to 2.0.34.23172 and it seemed to fix this little problem.

Now, the firmware is a prerelease, so I guess you should only test it if you have problems with your current setups. Also, the sound firmware does not have the standard filename HcwMakoA.ROM, but HcwMakoC.ROM - so unless you rename the file, you have to pass an argument to the cx25840 module, like this (put this line in your /etc/modules.d/ivtv or whatever you named it - remember to run modules-update):

Code:
options cx25840 cx25840_fw="/usr/lib/HcwMakoC.ROM"


The firmware is available at the following location, and there's no need for extraction tools or anything, the files are readily available in the .zip file as

NOTE: These files are for the 150 and 500 cards - people with 250 and 350 cards should not expect these files to work for them.


Last edited by Miwer on Wed Jul 20, 2005 5:49 pm; edited 1 time in total
Back to top
View user's profile Send private message
loemmel
Apprentice
Apprentice


Joined: 19 Aug 2003
Posts: 227
Location: switzerland

PostPosted: Mon Jul 18, 2005 11:03 am    Post subject: Reply with quote

ok, I'll try this later, when I am at home, hoping this will work. would be very nice.

I will post my experiences with this,
thanks again :)
Back to top
View user's profile Send private message
loemmel
Apprentice
Apprentice


Joined: 19 Aug 2003
Posts: 227
Location: switzerland

PostPosted: Mon Jul 18, 2005 9:17 pm    Post subject: Reply with quote

really strange, when i want to patch the file, i get this:

Code:
mythtv driver # patch < ivtv-fileops.c.diff
patching file ivtv-fileops.c
Hunk #1 FAILED at 1605.
Hunk #2 FAILED at 1632.
2 out of 2 hunks FAILED -- saving rejects to file ivtv-fileops.c.rej


i made it like you said... what's wrong?
Back to top
View user's profile Send private message
loemmel
Apprentice
Apprentice


Joined: 19 Aug 2003
Posts: 227
Location: switzerland

PostPosted: Mon Jul 18, 2005 9:38 pm    Post subject: Reply with quote

ok, i did it by hand, don't know what i did wrong.

the sound is working now on tuner 0, tuner 1 doesn't have sound at all.

dmesg:
Code:

Linux video capture interface: v1.00
saa7127: Ignoring new-style parameters in presence of obsolete ones
saa7127: video encoder driver version V 0.3 loaded
tuner: Ignoring new-style parameters in presence of obsolete ones
ivtv: ==================== START INIT IVTV ====================
ivtv: version 0.3.6 (z) loading
ivtv: Linux version: 2.6.11-gentoo-r11 SMP preempt PENTIUM4 4KSTACKS 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 0000:04:08.0[A] -> GSI 21 (level, low) -> IRQ 21
ivtv: XXX PCI device: 0x2570 vendor: 0x8086
saa7127: detecting saa7127 client on address 0x88
saa7127: saa7127 client id: saa7127_i2c_id 0, skipped
tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
ivtv: i2c attach [client=(tuner unset),ok]
cx25840: starting probe for adapter ivtv i2c driver #0 (0x10005)
cx25840: detecting cx25840 client on address 0x88
cx25840: cx25843-23 found. Initializing...
cx25840: requesting /lib/modules/HcwMakoA.ROM
cx25840: firmware loaded
ivtv: i2c attach [client=cx25840[50],ok]
ivtv: i2c attach [client=wm8775[50],ok]
tveeprom: Hauppauge: model = 23559, rev = D591, serial# = 8201621
tveeprom: tuner = Philips FQ1216AME MK4 (idx = 91, type = 56)
tveeprom: tuner fmt = PAL(B/G) PAL(I) SECAM(L/L) PAL(D/K) (eeprom = 0x74, v4l2 = 0x00400e17)
tveeprom: audio_processor = MSP3410D (type = 5)
ivtv: i2c attach [client=tveeprom[50],ok]
ivtv: Tuner Type 56, Tuner formats 0x00400e17, Radio: yes, Model 0x00915651, Revision 0x00000000
ivtv: Radio detected
tda9885/6/7: chip found @ 0x86
ivtv: i2c attach [client=tda9887,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 for encoder MPEG minor 0
ivtv: Create DMA encoder MPEG stream: 0 x 32768 buffers (0KB total)
ivtv: Registered v4l2 device for encoder YUV minor 32
ivtv: Create DMA encoder YUV stream: 0 x 12960 buffers (0KB total)
ivtv: Registered v4l2 device for encoder VBI minor 224
ivtv: Create DMA encoder VBI stream: 0 x 12740 buffers (0KB total)
ivtv: Registered v4l2 device for encoder PCM audio minor 24
ivtv: Create DMA encoder PCM audio stream: 0 x 4608 buffers (0KB total)
ivtv: Registered v4l2 device for encoder radio minor 64
ivtv: Create encoder radio stream
ivtv: Setting Tuner 56
tuner: type set to 56 (Philips PAL/SECAM multi (FQ1216AME MK4)) by ivtv i2c driver #0
cx25840: decoder set norm PAL
ivtv: ivtv_enc_vbi_thread: pid = 31277, itv = 0xf949df20
ivtv: ivtv_enc_thread: pid = 31276, itv = 0xf949df20
cx25840: decoder set input (6)
cx25840: now setting Tuner input
cx25840: set audio input (0)
ivtv: Switching standard to PAL.
cx25840: decoder set norm PAL
ivtv: Initialized WinTV PVR 150, card #0
ivtv: Autodetected WinTV PVR 150 card
ivtv: Found an iTVC16 based chip
ACPI: PCI interrupt 0000:04:09.0[A] -> GSI 22 (level, low) -> IRQ 22
ivtv: XXX PCI device: 0x2570 vendor: 0x8086
saa7127: detecting saa7127 client on address 0x88
saa7127: saa7127 client id: saa7127_i2c_id 1, skipped
tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #1
ivtv: i2c attach [client=(tuner unset),ok]
cx25840: starting probe for adapter ivtv i2c driver #1 (0x10005)
cx25840: detecting cx25840 client on address 0x88
cx25840: cx25843-23 found. Initializing...
cx25840: requesting /lib/modules/HcwMakoA.ROM
cx25840: firmware loaded
ivtv: i2c attach [client=cx25840[50],ok]
ivtv: i2c attach [client=wm8775[50],ok]
tveeprom: Hauppauge: model = 23559, rev = D591, serial# = 8201621
tveeprom: tuner = Philips FQ1216AME MK4 (idx = 91, type = 56)
tveeprom: tuner fmt = PAL(B/G) PAL(I) SECAM(L/L) PAL(D/K) (eeprom = 0x74, v4l2 = 0x00400e17)
tveeprom: audio_processor = MSP3410D (type = 5)
ivtv: i2c attach [client=tveeprom[50],ok]
tda9885/6/7: chip found @ 0x86
ivtv: i2c attach [client=tda9887,ok]
ivtv: Tuner Type 56, Tuner formats 0x00400e17, Radio: yes, Model 0x00915651, Revision 0x00000000
ivtv: Radio detected
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 for encoder MPEG minor 1
ivtv: Create DMA encoder MPEG stream: 0 x 32768 buffers (0KB total)
ivtv: Registered v4l2 device for encoder YUV minor 33
ivtv: Create DMA encoder YUV stream: 0 x 12960 buffers (0KB total)
ivtv: Registered v4l2 device for encoder VBI minor 225
ivtv: Create DMA encoder VBI stream: 0 x 12740 buffers (0KB total)
ivtv: Registered v4l2 device for encoder PCM audio minor 25
ivtv: Create DMA encoder PCM audio stream: 0 x 4608 buffers (0KB total)
ivtv: Registered v4l2 device for encoder radio minor 65
ivtv: Create encoder radio stream
ivtv: Setting Tuner 56
tuner: type set to 56 (Philips PAL/SECAM multi (FQ1216AME MK4)) by ivtv i2c driver #1
cx25840: decoder set norm PAL
ivtv: ivtv_enc_vbi_thread: pid = 31316, itv = 0xf94c1334
ivtv: ivtv_enc_thread: pid = 31315, itv = 0xf94c1334
cx25840: decoder set input (6)
cx25840: now setting Tuner input
cx25840: set audio input (0)
ivtv: Switching standard to PAL.
cx25840: decoder set norm PAL
ivtv: Initialized WinTV PVR 150, card #1
ivtv: ====================  END INIT IVTV  ====================



any ideas? I made it like you described with the firmware you gave. I renamed the HcwMakoC.ROM to HcwMakoA.ROM

my /etc/modules.d/ivtv looks following:
Code:
alias char-major-81 videodev
alias char-major-81-0 ivtv
alias char-major-81-1 ivtv
options saa7127 i2c_enable=-1,-1
options cx25840 i2c_enable=1,1
options ivtv tda9887=0,0 ivtv_std=2,2 ivtv_debug=1,1
add below ivtv saa7127 tuner cx25840 wm8775

anything else i could do?
Back to top
View user's profile Send private message
loemmel
Apprentice
Apprentice


Joined: 19 Aug 2003
Posts: 227
Location: switzerland

PostPosted: Mon Jul 18, 2005 10:39 pm    Post subject: Reply with quote

ok, it's now running, no problems at all...

i made a reboot, and now it seems to work. sound on both tuners and also after changing channels.

thank you very mutch you helped me a lot.
Back to top
View user's profile Send private message
loemmel
Apprentice
Apprentice


Joined: 19 Aug 2003
Posts: 227
Location: switzerland

PostPosted: Tue Jul 19, 2005 11:05 am    Post subject: Reply with quote

[edit]

ok, i rebooted again, and it stopped working :cry:
sound works on the first tuner, no sound at all on the second...
perhaps this is a firmware problem, but I'm using the same firmware as Miwer.

I don't know what I did wrong, the dmesg output is 2 posts earlier.

thanks for any help.
Back to top
View user's profile Send private message
Miwer
n00b
n00b


Joined: 27 Aug 2003
Posts: 24
Location: Copenhagen, Denmark

PostPosted: Tue Jul 19, 2005 9:55 pm    Post subject: Reply with quote

loemmel wrote:
my /etc/modules.d/ivtv looks following:
Code:
alias char-major-81 videodev
alias char-major-81-0 ivtv
alias char-major-81-1 ivtv
options saa7127 i2c_enable=-1,-1
options cx25840 i2c_enable=1,1
options ivtv tda9887=0,0 ivtv_std=2,2 ivtv_debug=1,1
add below ivtv saa7127 tuner cx25840 wm8775

anything else i could do?


Well, I don't think you need to load the saa7127 module. PVR-500MCE doesn't have that chip AFAIK - correct me if I'm wrong.

This is my /etc/modules.d/ivtv and it's autodetecting the needed modules with no problems:
Code:
alias char-major-81 videodev
alias char-major-81-0 ivtv
alias char-major-81-1 ivtv
options cx25840 cx25840_fw="/lib/modules/HcwMakoC.ROM"



For reference, here's my dmesg when doing a 'modprobe ivtv':
Code:
Jul 19 23:10:52 myth ivtv: ==================== START INIT IVTV ====================
Jul 19 23:10:52 myth ivtv: version 0.3.7 () loading
Jul 19 23:10:52 myth ivtv: Linux version: 2.6.11-gentoo-r11 PENTIUM4 gcc-3.3
Jul 19 23:10:52 myth ivtv: In case of problems please include the debug info
Jul 19 23:10:52 myth ivtv: between the START INIT IVTV and END INIT IVTV lines when
Jul 19 23:10:52 myth ivtv: mailing the ivtv-devel mailinglist.
Jul 19 23:10:52 myth ivtv: Autodetected WinTV PVR 150 card
Jul 19 23:10:52 myth ivtv: Found an iTVC16 based chip
Jul 19 23:10:52 myth ACPI: PCI interrupt 0000:03:08.0[A] -> GSI 18 (level, low) -> IRQ 18
Jul 19 23:10:52 myth ivtv: XXX PCI device: 0x2560 vendor: 0x8086
Jul 19 23:10:52 myth tveeprom: Hauppauge: model = 23559, rev = D591, serial# = 2990431
Jul 19 23:10:52 myth tveeprom: tuner = Philips FQ1216AME MK4 (idx = 91, type = 56)
Jul 19 23:10:52 myth tveeprom: tuner fmt = PAL(B/G) PAL(I) SECAM(L/L) PAL(D/K) (eeprom = 0x74, v4l2 = 0x00400e17)
Jul 19 23:10:52 myth tveeprom: audio_processor = MSP3410D (type = 5)
Jul 19 23:10:52 myth ivtv: i2c attach [client=tveeprom[50],ok]
Jul 19 23:10:52 myth ivtv: Tuner Type 56, Tuner formats 0x00400e17, Radio: yes, Model 0x00915651, Revision 0x00000000
Jul 19 23:10:52 myth ivtv: PAL tuner detected
Jul 19 23:10:52 myth ivtv: Radio detected
Jul 19 23:10:52 myth tuner: Ignoring new-style parameters in presence of obsolete ones
Jul 19 23:10:52 myth tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
Jul 19 23:10:52 myth ivtv: i2c attach [client=(tuner unset),ok]
Jul 19 23:10:52 myth cx25840: starting probe on adapter ivtv i2c driver #0 (0x10005)
Jul 19 23:10:52 myth cx25840: detecting cx25840 client on address 0x88
Jul 19 23:10:52 myth cx25840: cx25843-23 found. Initializing...
Jul 19 23:10:52 myth cx25840: requesting /lib/modules/HcwMakoC.ROM
Jul 19 23:10:53 myth cx25840: firmware loaded
Jul 19 23:10:53 myth ivtv: i2c attach [client=cx25840[50],ok]
Jul 19 23:10:53 myth ivtv: i2c attach [client=wm8775[50],ok]
Jul 19 23:10:53 myth tda9885/6/7: chip found @ 0x86
Jul 19 23:10:53 myth ivtv: i2c attach [client=tda9887,ok]
Jul 19 23:10:54 myth ivtv: Encoder revision: 0x02050032
Jul 19 23:10:54 myth ivtv: Encoder Firmware may be buggy, use version 0x02040011
Jul 19 23:10:54 myth ivtv: Configuring WinTV PVR 150 card with 5 streams
Jul 19 23:10:54 myth ivtv: Registered v4l2 device for encoder MPEG minor 0
Jul 19 23:10:54 myth ivtv: Create DMA encoder MPEG stream: 0 x 32768 buffers (0KB total)
Jul 19 23:10:54 myth ivtv: Registered v4l2 device for encoder YUV minor 32
Jul 19 23:10:54 myth ivtv: Create DMA encoder YUV stream: 0 x 12960 buffers (0KB total)
Jul 19 23:10:54 myth ivtv: Registered v4l2 device for encoder VBI minor 224
Jul 19 23:10:54 myth ivtv: Create DMA encoder VBI stream: 0 x 12740 buffers (0KB total)
Jul 19 23:10:54 myth ivtv: Registered v4l2 device for encoder PCM audio minor 24
Jul 19 23:10:54 myth ivtv: Create DMA encoder PCM audio stream: 0 x 4608 buffers (0KB total)
Jul 19 23:10:54 myth ivtv: Registered v4l2 device for encoder radio minor 64
Jul 19 23:10:54 myth ivtv: Create encoder radio stream
Jul 19 23:10:54 myth ivtv: Setting Tuner 56
Jul 19 23:10:54 myth tuner: type set to 56 (Philips PAL/SECAM multi (FQ1216AME MK4)) by ivtv i2c driver #0
Jul 19 23:10:54 myth cx25840: decoder set norm PAL
Jul 19 23:10:54 myth cx25840: decoder set input (6)
Jul 19 23:10:54 myth cx25840: now setting Tuner input
Jul 19 23:10:54 myth cx25840: set audio input (0)
Jul 19 23:10:54 myth ivtv: Switching standard to PAL.
Jul 19 23:10:54 myth cx25840: decoder set norm PAL
Jul 19 23:10:54 myth ivtv: Initialized WinTV PVR 150, card #0
Jul 19 23:10:54 myth ivtv: Autodetected WinTV PVR 150 card
Jul 19 23:10:54 myth ivtv: Found an iTVC16 based chip
Jul 19 23:10:54 myth ivtv: ivtv_enc_thread: pid = 17176, itv = 0xd111b220
Jul 19 23:10:54 myth ivtv: ivtv_enc_vbi_thread: pid = 17177, itv = 0xd111b220
Jul 19 23:10:54 myth ACPI: PCI interrupt 0000:03:09.0[A] -> GSI 19 (level, low) -> IRQ 19
Jul 19 23:10:54 myth ivtv: XXX PCI device: 0x2560 vendor: 0x8086
Jul 19 23:10:55 myth tveeprom: Hauppauge: model = 23559, rev = D591, serial# = 2990431
Jul 19 23:10:55 myth tveeprom: tuner = Philips FQ1216AME MK4 (idx = 91, type = 56)
Jul 19 23:10:55 myth tveeprom: tuner fmt = PAL(B/G) PAL(I) SECAM(L/L) PAL(D/K) (eeprom = 0x74, v4l2 = 0x00400e17)
Jul 19 23:10:55 myth tveeprom: audio_processor = MSP3410D (type = 5)
Jul 19 23:10:55 myth ivtv: i2c attach [client=tveeprom[50],ok]
Jul 19 23:10:55 myth tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #1
Jul 19 23:10:55 myth ivtv: i2c attach [client=(tuner unset),ok]
Jul 19 23:10:55 myth cx25840: starting probe on adapter ivtv i2c driver #1 (0x10005)
Jul 19 23:10:55 myth cx25840: detecting cx25840 client on address 0x88
Jul 19 23:10:55 myth cx25840: cx25843-23 found. Initializing...
Jul 19 23:10:55 myth cx25840: requesting /lib/modules/HcwMakoC.ROM
Jul 19 23:10:56 myth cx25840: firmware loaded
Jul 19 23:10:56 myth ivtv: i2c attach [client=cx25840[50],ok]
Jul 19 23:10:56 myth ivtv: i2c attach [client=wm8775[50],ok]
Jul 19 23:10:56 myth tda9885/6/7: chip found @ 0x86
Jul 19 23:10:56 myth ivtv: i2c attach [client=tda9887,ok]
Jul 19 23:10:56 myth ivtv: Tuner Type 56, Tuner formats 0x00400e17, Radio: yes, Model 0x00915651, Revision 0x00000000
Jul 19 23:10:56 myth ivtv: Radio detected
Jul 19 23:10:57 myth ivtv: Encoder revision: 0x02050032
Jul 19 23:10:57 myth ivtv: Encoder Firmware may be buggy, use version 0x02040011
Jul 19 23:10:57 myth ivtv: Configuring WinTV PVR 150 card with 5 streams
Jul 19 23:10:57 myth ivtv: Registered v4l2 device for encoder MPEG minor 1
Jul 19 23:10:57 myth ivtv: Create DMA encoder MPEG stream: 0 x 32768 buffers (0KB total)
Jul 19 23:10:57 myth ivtv: Registered v4l2 device for encoder YUV minor 33
Jul 19 23:10:57 myth ivtv: Create DMA encoder YUV stream: 0 x 12960 buffers (0KB total)
Jul 19 23:10:57 myth ivtv: Registered v4l2 device for encoder VBI minor 225
Jul 19 23:10:57 myth ivtv: Create DMA encoder VBI stream: 0 x 12740 buffers (0KB total)
Jul 19 23:10:57 myth ivtv: Registered v4l2 device for encoder PCM audio minor 25
Jul 19 23:10:57 myth ivtv: Create DMA encoder PCM audio stream: 0 x 4608 buffers (0KB total)
Jul 19 23:10:57 myth ivtv: Registered v4l2 device for encoder radio minor 65
Jul 19 23:10:57 myth ivtv: Create encoder radio stream
Jul 19 23:10:57 myth ivtv: Setting Tuner 56
Jul 19 23:10:57 myth tuner: type set to 56 (Philips PAL/SECAM multi (FQ1216AME MK4)) by ivtv i2c driver #1
Jul 19 23:10:57 myth cx25840: decoder set norm PAL
Jul 19 23:10:57 myth cx25840: decoder set input (6)
Jul 19 23:10:57 myth cx25840: now setting Tuner input
Jul 19 23:10:57 myth cx25840: set audio input (0)
Jul 19 23:10:57 myth ivtv: Switching standard to PAL.
Jul 19 23:10:57 myth cx25840: decoder set norm PAL
Jul 19 23:10:57 myth ivtv: Initialized WinTV PVR 150, card #1
Jul 19 23:10:57 myth ivtv: ====================  END INIT IVTV  ====================


By the way - I upgraded to 0.3.7 today (trying to get the radio working), but it doesn't seem to make any difference.
I still needed to apply the patch i mentioned, in order to solve the "change channel --> no sound" problem.
Back to top
View user's profile Send private message
loemmel
Apprentice
Apprentice


Joined: 19 Aug 2003
Posts: 227
Location: switzerland

PostPosted: Wed Jul 20, 2005 6:16 am    Post subject: Reply with quote

I already did try version 0.3.7 but it does not work with this version.

I think I have to try it with less modules-options, so perhaps this helps.
I will post later, if it worked or not. *hoping*
Back to top
View user's profile Send private message
Miwer
n00b
n00b


Joined: 27 Aug 2003
Posts: 24
Location: Copenhagen, Denmark

PostPosted: Fri Jul 22, 2005 10:42 pm    Post subject: Reply with quote

Ok,

This is very wierd. The last couple of days I've had only trouble with this card... after upgrading to 0.3.7 and again to 0.3.7a I lost sound on the first tuner. The second worked just fine. Then at one point I lost both video and sound on the first tuner after I did some testing on getting the radio working - no module setting changes, just using the utilities that come with ivtv.

At this ponit I'm at kernel 2.6.12-r6 and ivtv-0.3.7a - the last time it worked fine on both tuners (only tv, not radio) was with kernel 2.6.11-r11 and ivtv-0.3.6z.

So I tried reverting back to the working kernel and ivtv, and even then it was a mixed experience... first boot, it worked. Second boot, it did not. Power off every time to fully reset the card for a clean firmware install on boot (same firmware all the way thru).

Hmm, maybe it was the timing when loading the modules (they load pretty early in modules.autoload) - so I tried setting ivtv and mythbackend to load from local.start (mythbackend always load after ivtv, because it makes some inits on the cards) - Third boot, it worked again, and it's been working ever since. Even when putting ivtv back into modules.autoload for early loading.

So, I tried going forward to ivtv-0.3.7a, testing, it worked - then kernel 2.6.12-r6, testing, it still worked. Mind you that I had to make clean && make the drivers a couple of times during this step-by-step testing, to make sure they were built for the running kernel.

Ok, so now I'm back at kernel-2.6.12-r6 and ivtv-0.3.7a and both tuners work... for now - even after reboot, poweroff and such. I'll be sure to make a note on it here, if I loose sound again on the first tuner... It seemed a bit random - I don't know.

Anyone else had a similar experience?
Back to top
View user's profile Send private message
loemmel
Apprentice
Apprentice


Joined: 19 Aug 2003
Posts: 227
Location: switzerland

PostPosted: Tue Aug 02, 2005 6:56 am    Post subject: Reply with quote

sounds really strange.

so I think I have to test the 0.3.7a driver and perhaps upgrading my kernel. I will post if this helped.
could you tell us which firmware you are using?
Back to top
View user's profile Send private message
Miwer
n00b
n00b


Joined: 27 Aug 2003
Posts: 24
Location: Copenhagen, Denmark

PostPosted: Wed Aug 03, 2005 8:14 am    Post subject: Reply with quote

loemmel wrote:
could you tell us which firmware you are using?


Allready did... :roll:
Read my 3rd post again.
Back to top
View user's profile Send private message
loemmel
Apprentice
Apprentice


Joined: 19 Aug 2003
Posts: 227
Location: switzerland

PostPosted: Wed Aug 03, 2005 9:50 am    Post subject: Reply with quote

okay, that should be the same as I am using.

I'll try to test the new drivers 0.3.7a and a 2.6.12 kernel.

thanks for your help
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
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 vote in polls in this forum