特殊:Badtitle/NS100:Install IVTV Troubleshooting
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/Install_IVTV_Troubleshooting }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:Install_IVTV_Troubleshooting | UbuntuHelp:Install_IVTV_Troubleshooting | {{#if: | :}}Install IVTV Troubleshooting}}/af | • {{#if: UbuntuHelp:Install_IVTV_Troubleshooting|Afrikaans| [[::Install IVTV Troubleshooting/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Install_IVTV_Troubleshooting | UbuntuHelp:Install_IVTV_Troubleshooting | {{#if: | :}}Install IVTV Troubleshooting}}/ar | • {{#if: UbuntuHelp:Install_IVTV_Troubleshooting|العربية| [[::Install IVTV Troubleshooting/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Install_IVTV_Troubleshooting | UbuntuHelp:Install_IVTV_Troubleshooting | {{#if: | :}}Install IVTV Troubleshooting}}/az | • {{#if: UbuntuHelp:Install_IVTV_Troubleshooting|azərbaycanca| [[::Install IVTV Troubleshooting/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Install_IVTV_Troubleshooting | UbuntuHelp:Install_IVTV_Troubleshooting | {{#if: | :}}Install IVTV Troubleshooting}}/bcc | • {{#if: UbuntuHelp:Install_IVTV_Troubleshooting|جهلسری بلوچی| [[::Install IVTV Troubleshooting/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Install_IVTV_Troubleshooting | UbuntuHelp:Install_IVTV_Troubleshooting | {{#if: | :}}Install IVTV Troubleshooting}}/bg | • {{#if: UbuntuHelp:Install_IVTV_Troubleshooting|български| [[::Install IVTV Troubleshooting/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Install_IVTV_Troubleshooting | UbuntuHelp:Install_IVTV_Troubleshooting | {{#if: | :}}Install IVTV Troubleshooting}}/br | • {{#if: UbuntuHelp:Install_IVTV_Troubleshooting|brezhoneg| [[::Install IVTV Troubleshooting/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Install_IVTV_Troubleshooting | UbuntuHelp:Install_IVTV_Troubleshooting | {{#if: | :}}Install IVTV Troubleshooting}}/ca | • {{#if: UbuntuHelp:Install_IVTV_Troubleshooting|català| [[::Install IVTV Troubleshooting/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Install_IVTV_Troubleshooting | UbuntuHelp:Install_IVTV_Troubleshooting | {{#if: | :}}Install IVTV Troubleshooting}}/cs | • {{#if: UbuntuHelp:Install_IVTV_Troubleshooting|čeština| [[::Install IVTV Troubleshooting/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Install_IVTV_Troubleshooting | UbuntuHelp:Install_IVTV_Troubleshooting | {{#if: | :}}Install IVTV Troubleshooting}}/de | • {{#if: UbuntuHelp:Install_IVTV_Troubleshooting|Deutsch| [[::Install IVTV Troubleshooting/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Install_IVTV_Troubleshooting | UbuntuHelp:Install_IVTV_Troubleshooting | {{#if: | :}}Install IVTV Troubleshooting}}/el | • {{#if: UbuntuHelp:Install_IVTV_Troubleshooting|Ελληνικά| [[::Install IVTV Troubleshooting/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Install_IVTV_Troubleshooting | UbuntuHelp:Install_IVTV_Troubleshooting | {{#if: | :}}Install IVTV Troubleshooting}}/es | • {{#if: UbuntuHelp:Install_IVTV_Troubleshooting|español| [[::Install IVTV Troubleshooting/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Install_IVTV_Troubleshooting | UbuntuHelp:Install_IVTV_Troubleshooting | {{#if: | :}}Install IVTV Troubleshooting}}/fa | • {{#if: UbuntuHelp:Install_IVTV_Troubleshooting|فارسی| [[::Install IVTV Troubleshooting/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Install_IVTV_Troubleshooting | UbuntuHelp:Install_IVTV_Troubleshooting | {{#if: | :}}Install IVTV Troubleshooting}}/fi | • {{#if: UbuntuHelp:Install_IVTV_Troubleshooting|suomi| [[::Install IVTV Troubleshooting/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Install_IVTV_Troubleshooting | UbuntuHelp:Install_IVTV_Troubleshooting | {{#if: | :}}Install IVTV Troubleshooting}}/fr | • {{#if: UbuntuHelp:Install_IVTV_Troubleshooting|français| [[::Install IVTV Troubleshooting/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Install_IVTV_Troubleshooting | UbuntuHelp:Install_IVTV_Troubleshooting | {{#if: | :}}Install IVTV Troubleshooting}}/gu | • {{#if: UbuntuHelp:Install_IVTV_Troubleshooting|ગુજરાતી| [[::Install IVTV Troubleshooting/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Install_IVTV_Troubleshooting | UbuntuHelp:Install_IVTV_Troubleshooting | {{#if: | :}}Install IVTV Troubleshooting}}/he | • {{#if: UbuntuHelp:Install_IVTV_Troubleshooting|עברית| [[::Install IVTV Troubleshooting/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Install_IVTV_Troubleshooting | UbuntuHelp:Install_IVTV_Troubleshooting | {{#if: | :}}Install IVTV Troubleshooting}}/hu | • {{#if: UbuntuHelp:Install_IVTV_Troubleshooting|magyar| [[::Install IVTV Troubleshooting/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Install_IVTV_Troubleshooting | UbuntuHelp:Install_IVTV_Troubleshooting | {{#if: | :}}Install IVTV Troubleshooting}}/id | • {{#if: UbuntuHelp:Install_IVTV_Troubleshooting|Bahasa Indonesia| [[::Install IVTV Troubleshooting/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Install_IVTV_Troubleshooting | UbuntuHelp:Install_IVTV_Troubleshooting | {{#if: | :}}Install IVTV Troubleshooting}}/it | • {{#if: UbuntuHelp:Install_IVTV_Troubleshooting|italiano| [[::Install IVTV Troubleshooting/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Install_IVTV_Troubleshooting | UbuntuHelp:Install_IVTV_Troubleshooting | {{#if: | :}}Install IVTV Troubleshooting}}/ja | • {{#if: UbuntuHelp:Install_IVTV_Troubleshooting|日本語| [[::Install IVTV Troubleshooting/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Install_IVTV_Troubleshooting | UbuntuHelp:Install_IVTV_Troubleshooting | {{#if: | :}}Install IVTV Troubleshooting}}/ko | • {{#if: UbuntuHelp:Install_IVTV_Troubleshooting|한국어| [[::Install IVTV Troubleshooting/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Install_IVTV_Troubleshooting | UbuntuHelp:Install_IVTV_Troubleshooting | {{#if: | :}}Install IVTV Troubleshooting}}/ksh | • {{#if: UbuntuHelp:Install_IVTV_Troubleshooting|Ripoarisch| [[::Install IVTV Troubleshooting/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Install_IVTV_Troubleshooting | UbuntuHelp:Install_IVTV_Troubleshooting | {{#if: | :}}Install IVTV Troubleshooting}}/mr | • {{#if: UbuntuHelp:Install_IVTV_Troubleshooting|मराठी| [[::Install IVTV Troubleshooting/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Install_IVTV_Troubleshooting | UbuntuHelp:Install_IVTV_Troubleshooting | {{#if: | :}}Install IVTV Troubleshooting}}/ms | • {{#if: UbuntuHelp:Install_IVTV_Troubleshooting|Bahasa Melayu| [[::Install IVTV Troubleshooting/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Install_IVTV_Troubleshooting | UbuntuHelp:Install_IVTV_Troubleshooting | {{#if: | :}}Install IVTV Troubleshooting}}/nl | • {{#if: UbuntuHelp:Install_IVTV_Troubleshooting|Nederlands| [[::Install IVTV Troubleshooting/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Install_IVTV_Troubleshooting | UbuntuHelp:Install_IVTV_Troubleshooting | {{#if: | :}}Install IVTV Troubleshooting}}/no | • {{#if: UbuntuHelp:Install_IVTV_Troubleshooting|norsk| [[::Install IVTV Troubleshooting/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Install_IVTV_Troubleshooting | UbuntuHelp:Install_IVTV_Troubleshooting | {{#if: | :}}Install IVTV Troubleshooting}}/oc | • {{#if: UbuntuHelp:Install_IVTV_Troubleshooting|occitan| [[::Install IVTV Troubleshooting/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Install_IVTV_Troubleshooting | UbuntuHelp:Install_IVTV_Troubleshooting | {{#if: | :}}Install IVTV Troubleshooting}}/pl | • {{#if: UbuntuHelp:Install_IVTV_Troubleshooting|polski| [[::Install IVTV Troubleshooting/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Install_IVTV_Troubleshooting | UbuntuHelp:Install_IVTV_Troubleshooting | {{#if: | :}}Install IVTV Troubleshooting}}/pt | • {{#if: UbuntuHelp:Install_IVTV_Troubleshooting|português| [[::Install IVTV Troubleshooting/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Install_IVTV_Troubleshooting | UbuntuHelp:Install_IVTV_Troubleshooting | {{#if: | :}}Install IVTV Troubleshooting}}/ro | • {{#if: UbuntuHelp:Install_IVTV_Troubleshooting|română| [[::Install IVTV Troubleshooting/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Install_IVTV_Troubleshooting | UbuntuHelp:Install_IVTV_Troubleshooting | {{#if: | :}}Install IVTV Troubleshooting}}/ru | • {{#if: UbuntuHelp:Install_IVTV_Troubleshooting|русский| [[::Install IVTV Troubleshooting/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Install_IVTV_Troubleshooting | UbuntuHelp:Install_IVTV_Troubleshooting | {{#if: | :}}Install IVTV Troubleshooting}}/si | • {{#if: UbuntuHelp:Install_IVTV_Troubleshooting|සිංහල| [[::Install IVTV Troubleshooting/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Install_IVTV_Troubleshooting | UbuntuHelp:Install_IVTV_Troubleshooting | {{#if: | :}}Install IVTV Troubleshooting}}/sq | • {{#if: UbuntuHelp:Install_IVTV_Troubleshooting|shqip| [[::Install IVTV Troubleshooting/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Install_IVTV_Troubleshooting | UbuntuHelp:Install_IVTV_Troubleshooting | {{#if: | :}}Install IVTV Troubleshooting}}/sr | • {{#if: UbuntuHelp:Install_IVTV_Troubleshooting|српски / srpski| [[::Install IVTV Troubleshooting/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Install_IVTV_Troubleshooting | UbuntuHelp:Install_IVTV_Troubleshooting | {{#if: | :}}Install IVTV Troubleshooting}}/sv | • {{#if: UbuntuHelp:Install_IVTV_Troubleshooting|svenska| [[::Install IVTV Troubleshooting/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Install_IVTV_Troubleshooting | UbuntuHelp:Install_IVTV_Troubleshooting | {{#if: | :}}Install IVTV Troubleshooting}}/th | • {{#if: UbuntuHelp:Install_IVTV_Troubleshooting|ไทย| [[::Install IVTV Troubleshooting/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Install_IVTV_Troubleshooting | UbuntuHelp:Install_IVTV_Troubleshooting | {{#if: | :}}Install IVTV Troubleshooting}}/tr | • {{#if: UbuntuHelp:Install_IVTV_Troubleshooting|Türkçe| [[::Install IVTV Troubleshooting/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Install_IVTV_Troubleshooting | UbuntuHelp:Install_IVTV_Troubleshooting | {{#if: | :}}Install IVTV Troubleshooting}}/vi | • {{#if: UbuntuHelp:Install_IVTV_Troubleshooting|Tiếng Việt| [[::Install IVTV Troubleshooting/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Install_IVTV_Troubleshooting | UbuntuHelp:Install_IVTV_Troubleshooting | {{#if: | :}}Install IVTV Troubleshooting}}/yue | • {{#if: UbuntuHelp:Install_IVTV_Troubleshooting|粵語| [[::Install IVTV Troubleshooting/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Install_IVTV_Troubleshooting | UbuntuHelp:Install_IVTV_Troubleshooting | {{#if: | :}}Install IVTV Troubleshooting}}/zh | • {{#if: UbuntuHelp:Install_IVTV_Troubleshooting|中文| [[::Install IVTV Troubleshooting/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Install_IVTV_Troubleshooting | UbuntuHelp:Install_IVTV_Troubleshooting | {{#if: | :}}Install IVTV Troubleshooting}}/zh-hans | • {{#if: UbuntuHelp:Install_IVTV_Troubleshooting|中文(简体)| [[::Install IVTV Troubleshooting/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Install_IVTV_Troubleshooting | UbuntuHelp:Install_IVTV_Troubleshooting | {{#if: | :}}Install IVTV Troubleshooting}}/zh-hant | • {{#if: UbuntuHelp:Install_IVTV_Troubleshooting|中文(繁體)| [[::Install IVTV Troubleshooting/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:Install_IVTV_Troubleshooting|:Install IVTV Troubleshooting|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :Install IVTV Troubleshooting/zh | | {{#ifexist: Install IVTV Troubleshooting/zh | | {{#ifeq: {{#titleparts:Install IVTV Troubleshooting|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:Install IVTV Troubleshooting|1|-1|}} | zh | | }}
Troubleshooting
Check IVTV is initialized
Run:
dmesg |grep Initialized
You should see something like:
ivtv: Initialized WinTV PVR 250, card #0 ivtv: Initialized WinTV PVR 350, card #1
This example shows two cards. If you only have one, you will see results similar to this:
ivtv: Initialized WinTV PVR 250, card #0
This is a good way to identify if the card even initially loaded.
Testing Capture
- After the driver is loaded, you can test it by doing a simple capture
cat /dev/video0 > /tmp/test_capture.mpg
Let this go for about 5 sec and then press <ctrl> + 'c'
- Attempt to play this back using your favorite media player. (mplayer for the example)
mplayer /tmp/test_capture.mpg
- See if you have some recorded content coming up in the test capture.
Poor Audio Quality on a PVR-500
If you are encountering distorted audio, this is a known issue with certain versions of the ivtv driver (and is apparent in the windows driver too). Follow the directions below on this page to upgrade to a newer version. Thanks to jlr4u for verifying that this solved the problem. If you encounter issues still, post in this thread: http://ubuntuforums.org/showthread.php?t=345655
Diagnosing Problems
- Check dmesg to see if there are any errors loading firmware or anything like that.
dmesg | tac | sed -n '/=\ \ END INIT IVTV\ \ =/,/= START INIT IVTV =/p;/= START INIT IVTV =/q' | tac
If you see any errors that are not covered below, go into #ubuntu and see if you can grab some help or post on the forums.
Errors during modprobe
If you encounter errors similar to:
sudo modprobe ivtv FATAL: Error inserting ivtv (/lib/modules/2.6.17-10-generic/ivtv/ivtv.ko): Unknown symbol in module, or unknown parameter (see dmesg)
and check dmesg
to see similar things to this:
[17182375.312000] ivtv: disagrees about version of symbol video_unregister_device [17182375.312000] ivtv: Unknown symbol video_unregister_device [17182375.312000] ivtv: disagrees about version of symbol video_device_alloc [17182375.312000] ivtv: Unknown symbol video_device_alloc [17182375.312000] ivtv: disagrees about version of symbol video_register_device [17182375.312000] ivtv: Unknown symbol video_register_device [17182375.312000] ivtv: disagrees about version of symbol video_device_release [17182375.312000] ivtv: Unknown symbol video_device_release [17182762.044000] ivtv: disagrees about version of symbol video_unregister_device [17182762.044000] ivtv: Unknown symbol video_unregister_device [17182762.044000] ivtv: disagrees about version of symbol video_device_alloc [17182762.044000] ivtv: Unknown symbol video_device_alloc [17182762.044000] ivtv: disagrees about version of symbol video_register_device [17182762.044000] ivtv: Unknown symbol video_register_device [17182762.044000] ivtv: disagrees about version of symbol video_device_release [17182762.044000] ivtv: Unknown symbol video_device_release
you will need to reinstall the running linux image. This can be caused by overwriting the modules necessary for ivtv to work. Reinstall the linux image:
sudo apt-get install --reinstall linux-image-`uname -r` sudo depmod -a
Follow the steps to rebuild the modules.
Resource allocation errors
There are two possible solutions to resource allocation problems:
- Be sure that you have enabled APIC on your machine's BIOS. This will guarantee enough resources are allocated for the device.
See http://ubuntuforums.org/showthread.php?t=284041 for more information.
- Add
vmalloc=192m
to your kernel boot parameters.
First make a copy of your old grub configuration. You should do this everytime you make an edit of grub.
cp /boot/grub/menu.list /boot/grub/menu.list.backup
Edit /boot/grub/menu.lst to add the vmalloc=192
to the end of your kernel line:
title Ubuntu, kernel 2.6.17-10-server root (hd0,0) kernel /boot/vmlinuz-2.6.17-10-server root=/dev/hda1 ro quiet splash vmalloc=192m initrd /boot/initrd.img-2.6.17-10-server quiet savedefault boot