Diff for "Install_IVTV_Troubleshooting"


Differences between revisions 1 and 7 (spanning 6 versions)
Revision 1 as of 2006-12-03 01:24:38
Size: 1384
Editor: 68-115-81-248
Comment:
Revision 7 as of 2006-12-17 21:10:01
Size: 2165
Editor: 68-115-81-248
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
=== Firmware Loading Problems ===
 * Check dmesg to see if there are any errors loading firmware or anything like that.
=== Check IVTV is initialized ===
Line 5: Line 4:
{{{
dmesg
Run:
 {{{
dmesg |grep Initialized
Line 9: Line 9:
Look in between the two blocks for START IVTV and END IVTV. If you see any errors about "unable to load firmware" or "missing module" or anything like that, go into #ubuntu and see if you can grab some help or post on the forums.

==== Error Loading Firmware ====
I had issues with the firmware trying to be load, turned out the softlinks in {{{/lib/firmware}}} needed to be actual copies of the file (if they are softlinks for you).

{{{
sudo cp v4l-cx2341x-dec.fw ivtv-fw-dec.bin
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
Line 18: Line 19:
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.

=== 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 about "unable to load firmware" or "missing module" or anything like that, go into #ubuntu and see if you can grab some help or post on the forums.
Line 35: Line 57:

=== Further Troubleshooting ===
The IVTV Wiki includes lots of non-ubuntu specific information about IVTV Troubleshooting:
http://ivtvdriver.org/index.php/Troubleshooting

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.

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 about "unable to load firmware" or "missing module" or anything like that, go into #ubuntu and see if you can grab some help or post on the forums.

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. 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

Further Troubleshooting

The IVTV Wiki includes lots of non-ubuntu specific information about IVTV Troubleshooting: http://ivtvdriver.org/index.php/Troubleshooting

Install_IVTV_Troubleshooting (last edited 2008-06-27 10:15:00 by localhost)