FS#2930 - ivtv is broken (especially for audio with PVR 150)
Attached to Project:
Arch Linux
Opened by Sasha (kleptophobiac) - Friday, 08 July 2005, 00:09 GMT
Last edited by Paul Mattal (paul) - Thursday, 02 March 2006, 13:12 GMT
Opened by Sasha (kleptophobiac) - Friday, 08 July 2005, 00:09 GMT
Last edited by Paul Mattal (paul) - Thursday, 02 March 2006, 13:12 GMT
|
Details
If you look at my ivtv package in the AUR, I've updated it
to use the make install method of installation. Recent
versions of ivtv have cleaned this up greatly and make it
worth using. In addition to that, support for PVR150 and
PVR500 cards has been added to the driver, so my initial
list of modules to install is no longer complete. There's
also some symlinks to be made in the .install file (which
I've also improved upon in recent days).
Thanks for accepting my package into an official repo! Should I continue maintaining mine? build() { cd $startdir/src/$pkgname-$pkgver/driver make || return 1 make DESTDIR=$startdir/pkg install cd ../utils make INSTALLDIR=/usr/bin || return 1 mkdir -p $startdir/pkg/usr/bin make DESTDIR=$startdir/pkg install install -m 0755 $startdir/src/$pkgname-$pkgver/utils/*.pl $startdir/pkg/usr/bin/ install -m 0644 $startdir/pvr350dec.bin $startdir/pkg/lib/modules/pvr350dec.bin install -m 0644 $startdir/pvr250enc.bin $startdir/pkg/lib/modules/pvr250enc.bin install -m 0644 $startdir/pvr150enc.bin $startdir/pkg/lib/modules/pvr150enc.bin install -m 0644 $startdir/HcwMakoA.ROM $startdir/pkg/lib/modules/HcwMakoA.ROM } |
This task depends upon
In general, you can continue to update your package in AUR if you'd like.. it's a good forum for others to find the updates and consider and comment on them.
However, if you want to help expedite the flow of those changes into the main repo, it would be helpful if you would consider emailing me (or using this bug reporting mechanism) patches against the current PKGBUILD for ivtv in extra. That saves me time and steps. As long as you're willing to test out and improve the package, I'm happy to continue checking the results and updating the package in extra.
So however you want to work it is fine with me. I'm very appreciative for all the work you've done on myth! I plan to put some of your plugin packages in extra as well.
Best,
Paul
So the new firmwares may need a similar transformation done in the extra package.
- P
for f in *.ko; do install -D -m 0644 $f $startdir/pkg/lib/modules/$(uname -r)/extra/$f; done
The 150 and 500 will work just fine using the 250's firmware, but there are alternative files for "better video/audio", even if the difference is hardly noticeable.
As for having the modules, Chris Kennedy improved the install scripts to install all the modules as support for the 150 and 500 improved. That's why I'm on the make install model now, as opposed to my previous "copy junk where it needs to be" method. It works better!
Vlad, those modules are not included in the extra version because I didn't include them in my version in the past. They didn't exist when I first packaged IVTV.
Finally, I agree that the firmware files should come from somewhere on the internet, but I have found that the mirrors that have them haven't been as reliable as could be desired. In my version I included the files because they aren't overly huge (just a couple of hundred KB) and it improves availability.
I will definitely consider rewriting the package to extract.
If someone can confirm that the 150 works without HcwMakoA.ROM and pvr150enc.bin being present, then I'm happy to just update the package in extra with the new modules. Alternatively, if someone can give me a patch for the PKGBUILD to actually fetch and extract those files, I'll include that. Otherwise, I'll keep chipping away at that problem as time allows.
This is the link to HcwMakoA.ROM:
ftp://ftp.shspvr.com/download/wintv-pvr_150-500/inf/pvr_2.0.24.23035.zip
Interestingly, it didn't work on my PVR-350 until I put the firmware BACK as ivtv-fw-enc.bin and ivtv-fw-dec.bin. Symlinking the right ones to those names also didn't work. So we end up with what we have for now.
Those who desire to use the PVR-150 firmware -- do you need to copy those over the ivtv-fw-{dec,enc},bin?
The symptom was that as soon as I went to view live TV, the screen went black and I could not exit back into X with any keystrokes. Finally I would kill X with CTRL-ALT-BACKSPACE.
recently; it appears as though the driver is performing fine (detecting the board, etc) but no video signal
Can you give me some feedback on the newest build?
But when I try to watch tv with "gmplayer tv://dev/video0". All I gett is a green screen. "cat /dev/video0 > test.mpg" creates nothing but an empty file.
I could show you some output if you need it for troubleshooting.
(even though the build process didn't fail).
0.4.2 fixes my problems at home with the PVR-150 MCE, and I hope they will fix Sasha's no sound problems. Kristian, can you let me know if they fix your problems?
I'll begin looking into this tonight -- starting by confirming I'm getting no sound, either. I'm glad that we have the same card now, it makes debugging very nice! I was borrowing someone's PVR-350 while trying to resolve motherboard BIOS conflicts with my PVR-500 MCE, and finally just swapped in a PVR-150 MCE because I was tired of waiting for Asus to fix their stuff.
- P
Can anyone check workingness of audio and video with a PVR150 and 0.4.3-2?
Anyone have any ideas about this problem? It seems like it should be something we're doing, but perhaps somehow the upstream folks just haven't noticed.
I'm thinking of trading my 150 back in for a 250 or 350!
- P
So I'm going to close this bug now and work on building 0.6.1 for use with the 2.6.16 kernel.
- P