Wrong firmware for ivtv driver

Bug #140921 reported by Peter Schwenke
4
Affects Status Importance Assigned to Milestone
linux-ubuntu-modules-2.6.22 (Ubuntu)
New
Undecided
Unassigned

Bug Description

I believe that the wrong firmware has been included for the ivtv driver. I haven't actually installed Gutsy on
my MythTV box. However, experience with https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/131464 in Feisty will show this is true.

The file is ./ubuntu-firmware/ivtv/v4l-cx2341x-enc.fw with file size 262144 bytes.

On http://www.hauppauge.com/pages/support/support_pvr150.html there is a download button link which downloads http://hauppauge.lightpath.net/software/pvr150/cd_pvr150_27.zip

The file DriverA2/HcwFalcn.rom should be the file ./ubuntu-firmware/ivtv/v4l-cx2341x-enc.fw. I have attached that
file to this bug report.

I have checked the ivtv driver in the kernel source code to verify this is still the correct version of the firmware.

in drivers/media/video/ivtv/ivtv-firmware.c see

void ivtv_firmware_versions(struct ivtv *itv)
{
        u32 data[CX2341X_MBOX_MAX_DATA];

        /* Encoder */
        ivtv_vapi_result(itv, data, CX2341X_ENC_GET_VERSION, 0);
        IVTV_INFO("Encoder revision: 0x%08x\n", data[0]);

        if (data[0] != 0x02060039)
                IVTV_WARN("Recommended firmware version is 0x02060039.\n");

and

static int ivtv_firmware_copy(struct ivtv *itv)
{
 IVTV_DEBUG_INFO("Loading encoder image\n");
 if (load_fw_direct(CX2341X_FIRM_ENC_FILENAME,
     itv->enc_mem, itv, IVTV_FW_ENC_SIZE) != IVTV_FW_ENC_SIZE) {

where
#define IVTV_FW_ENC_SIZE (376836)

Which is the size of the version of firmware I recommend

See https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/131464 for more detail

Revision history for this message
Peter Schwenke (bluetoad) wrote :
Revision history for this message
Martin Dauskardt (md001) wrote :

yes, the firmware included in Gutsy is not the recommended one.

The recommended firmware version for the ivtv driver is included in http://dl.ivtvdriver.org/ivtv/firmware/firmware.tar.gz
It is indeed a 376836 bytes file.

Unfortunately the ivtv version included in kernel 2.6.22 has a bug, see
http://ivtvdriver.org/index.php/Troubleshooting#Kernel_2.6.22_firmware_size

@ Ubuntu developers:
I recommend to fix the bug in the next release of the ubuntu 2.6.22-kernel and supply the correct firmware

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.