Hans Verkuil wrote:
> Hi all,
> 
> When porting ivtv to 2.6.20 I discovered that I got errors when loading 
> the cx25840 module and that that module couldn't load the firmware 
> anymore.
> 
> I've just discovered that changes in 2.6.20 brought a cx25840 bug to the 
> surface (it was always there). I've made a patch and pending some 
> testing it should end up in 2.6.20.1 (it's a pretty serious bug after 
> all), but this means that cards with a cx2584x won't work with 2.6.20 
> unless you manually apply the attached patch.

No go here wit the change:
Feb  5 23:00:32 mythtv fw_register_device: device_register failed
Feb  5 23:00:32 mythtv cx25840 1-0044: unable to open firmware 
v4l-cx25840.fw

Complete log:
Feb  5 23:00:32 mythtv ivtv:  ==================== START INIT IVTV 
====================
Feb  5 23:00:32 mythtv ivtv:  version 0.10.0 (development revision 3797) 
loading
Feb  5 23:00:32 mythtv ivtv:  Linux version: 2.6.20-gentoo mod_unload
Feb  5 23:00:32 mythtv ivtv:  In case of problems please include the 
debug info between
Feb  5 23:00:32 mythtv ivtv:  the START INIT IVTV and END INIT IVTV 
lines, along with
Feb  5 23:00:32 mythtv ivtv:  any module options, when mailing the 
ivtv-users mailinglist.
Feb  5 23:00:32 mythtv ivtv0: Autodetected Hauppauge card (cx23416 based)
Feb  5 23:00:32 mythtv ACPI: PCI Interrupt 0000:00:09.0[A] -> GSI 16 
(level, low) -> IRQ 16
Feb  5 23:00:32 mythtv ivtv0: loaded v4l-cx2341x-enc.fw firmware (376836 
bytes)
Feb  5 23:00:32 mythtv ivtv0: Encoder revision: 0x02060039
Feb  5 23:00:32 mythtv tveeprom 0-0050: The eeprom says no radio is 
present, but the tuner type
Feb  5 23:00:32 mythtv tveeprom 0-0050: indicates otherwise. I will 
assume that radio is present.
Feb  5 23:00:32 mythtv tveeprom 0-0050: Hauppauge model 26039, rev F0A5, 
serial# 8837856
Feb  5 23:00:32 mythtv tveeprom 0-0050: tuner model is TCL MPE05-2 (idx 
105, type 38)
Feb  5 23:00:32 mythtv tveeprom 0-0050: TV standards PAL(B/G) PAL(I) 
SECAM(L/L') PAL(D/D1/K) (eeprom 0x74)
Feb  5 23:00:32 mythtv tveeprom 0-0050: audio processor is CX25842 (idx 36)
Feb  5 23:00:32 mythtv tveeprom 0-0050: decoder processor is CX25842 
(idx 29)
Feb  5 23:00:32 mythtv tveeprom 0-0050: has radio, has IR receiver, has 
IR transmitter
Feb  5 23:00:32 mythtv ivtv0: Autodetected Hauppauge WinTV PVR-150
Feb  5 23:00:32 mythtv ivtv0: reopen i2c bus for IR-blaster support
Feb  5 23:00:32 mythtv tuner 0-0043: chip found @ 0x86 (ivtv i2c driver #0)
Feb  5 23:00:32 mythtv tda9887 0-0043: tda988[5/6/7] found @ 0x43 (tuner)
Feb  5 23:00:32 mythtv tuner 0-0061: chip found @ 0xc2 (ivtv i2c driver #0)
Feb  5 23:00:32 mythtv cx25840 0-0044: cx25842-23 found @ 0x88 (ivtv i2c 
driver #0)
Feb  5 23:00:32 mythtv fw_register_device: device_register failed
Feb  5 23:00:32 mythtv cx25840 0-0044: unable to open firmware 
v4l-cx25840.fw
Feb  5 23:00:32 mythtv wm8775 0-001b: chip found @ 0x36 (ivtv i2c driver #0)
Feb  5 23:00:32 mythtv ivtv0: Registered device video0 for encoder MPEG 
(4 MB)
Feb  5 23:00:32 mythtv ivtv0: Registered device video32 for encoder YUV 
(2 MB)
Feb  5 23:00:32 mythtv ivtv0: Registered device vbi0 for encoder VBI (1 MB)
Feb  5 23:00:32 mythtv ivtv0: Registered device video24 for encoder PCM 
audio (1 MB)
Feb  5 23:00:32 mythtv ivtv0: Registered device radio0 for encoder radio
Feb  5 23:00:32 mythtv tuner 0-0061: type set to 38 (Philips PAL/SECAM 
multi (FM1216ME MK3))
Feb  5 23:00:32 mythtv ivtv0: Initialized Hauppauge WinTV PVR-150, card #0
Feb  5 23:00:32 mythtv ivtv:  ======================  NEXT CARD 
======================
Feb  5 23:00:32 mythtv ivtv1: Autodetected Hauppauge card (cx23416 based)
Feb  5 23:00:32 mythtv ACPI: PCI Interrupt 0000:00:0c.0[A] -> GSI 17 
(level, low) -> IRQ 17
Feb  5 23:00:32 mythtv ivtv1: loaded v4l-cx2341x-enc.fw firmware (376836 
bytes)
Feb  5 23:00:32 mythtv ivtv1: Encoder revision: 0x02060039
Feb  5 23:00:32 mythtv tuner 1-0043: chip found @ 0x86 (ivtv i2c driver #1)
Feb  5 23:00:32 mythtv tda9887 1-0043: tda988[5/6/7] found @ 0x43 (tuner)
Feb  5 23:00:32 mythtv tuner 1-0061: chip found @ 0xc2 (ivtv i2c driver #1)
Feb  5 23:00:32 mythtv cx25840 1-0044: cx25843-23 found @ 0x88 (ivtv i2c 
driver #1)
Feb  5 23:00:32 mythtv fw_register_device: device_register failed
Feb  5 23:00:32 mythtv cx25840 1-0044: unable to open firmware 
v4l-cx25840.fw
Feb  5 23:00:32 mythtv wm8775 1-001b: chip found @ 0x36 (ivtv i2c driver #1)
Feb  5 23:00:32 mythtv tveeprom 1-0050: Hauppauge model 26559, rev G189, 
serial# 9512947
Feb  5 23:00:32 mythtv tveeprom 1-0050: tuner model is TCL MFPE05 2 (idx 
89, type 38)
Feb  5 23:00:32 mythtv tveeprom 1-0050: TV standards PAL(B/G) PAL(I) 
SECAM(L/L') PAL(D/D1/K) (eeprom 0x74)
Feb  5 23:00:32 mythtv tveeprom 1-0050: audio processor is CX25843 (idx 37)
Feb  5 23:00:32 mythtv tveeprom 1-0050: decoder processor is CX25843 
(idx 30)
Feb  5 23:00:32 mythtv tveeprom 1-0050: has radio, has no IR receiver, 
has no IR transmitter
Feb  5 23:00:32 mythtv ivtv1: Autodetected Hauppauge WinTV PVR-150
Feb  5 23:00:32 mythtv ivtv1: Registered device video1 for encoder MPEG 
(4 MB)
Feb  5 23:00:32 mythtv ivtv1: Registered device video33 for encoder YUV 
(2 MB)
Feb  5 23:00:32 mythtv ivtv1: Registered device vbi1 for encoder VBI (1 MB)
Feb  5 23:00:32 mythtv ivtv1: Registered device video25 for encoder PCM 
audio (1 MB)
Feb  5 23:00:32 mythtv ivtv1: Registered device radio1 for encoder radio
Feb  5 23:00:32 mythtv tuner 1-0061: type set to 38 (Philips PAL/SECAM 
multi (FM1216ME MK3))
Feb  5 23:00:32 mythtv ivtv1: Initialized Hauppauge WinTV PVR-150, card #1
Feb  5 23:00:32 mythtv ivtv:  ====================  END INIT IVTV 
====================

Is the below patch all that is needed? My cx25840-firmware.c looks 
different then what is below?

Greets
Sander


> ------------------------------------------------------------------------
> 
> diff -r 2cb0a67c420a -r d1bfc4440540 
> linux/drivers/media/video/cx25840/cx25840-firmware.c
> --- linux/drivers/media/video/cx25840/cx25840-firmware.c      Sun Feb 04 
> 23:39:25 2007 +0100
> +++ linux/drivers/media/video/cx25840/cx25840-firmware.c      Mon Feb 05 
> 20:56:22 2007 +0100
> @@ -39,7 +39,7 @@
>  #define FWSEND 48
>  
>  #if LINUX_VERSION_CODE > KERNEL_VERSION(2,5,0)
> -#define FWDEV(x) &((x)->adapter->dev)
> +#define FWDEV(x) &((x)->dev)
>  #else
>  #define FWDEV(x) (x)->name
>  #endif
> 
> 
> 
> ------------------------------------------------------------------------


_______________________________________________
ivtv-devel mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-devel

Reply via email to