vanilla linux-2.6.19.3!

cat /usr/src/linux-2.6.19.3/.config
...
# Multimedia devices
#
CONFIG_VIDEO_DEV=m
CONFIG_VIDEO_V4L1=y
CONFIG_VIDEO_V4L1_COMPAT=y
CONFIG_VIDEO_V4L2=y

#
# Video Capture Adapters
#

#
# Video Capture Adapters
#
# CONFIG_VIDEO_ADV_DEBUG is not set
# CONFIG_VIDEO_HELPER_CHIPS_AUTO is not set

#
# Encoders/decoders and other helper chips
#

#
# Audio decoders
#
# CONFIG_VIDEO_TVAUDIO is not set
# CONFIG_VIDEO_TDA7432 is not set
# CONFIG_VIDEO_TDA9840 is not set
# CONFIG_VIDEO_TDA9875 is not set
# CONFIG_VIDEO_TEA6415C is not set
# CONFIG_VIDEO_TEA6420 is not set
CONFIG_VIDEO_MSP3400=m
# CONFIG_VIDEO_CS53L32A is not set
# CONFIG_VIDEO_TLV320AIC23B is not set
CONFIG_VIDEO_WM8775=m
# CONFIG_VIDEO_WM8739 is not set

#
# Video decoders
#
# CONFIG_VIDEO_BT819 is not set
# CONFIG_VIDEO_BT856 is not set
# CONFIG_VIDEO_BT866 is not set
# CONFIG_VIDEO_KS0127 is not set
# CONFIG_VIDEO_SAA7110 is not set
# CONFIG_VIDEO_SAA7111 is not set
# CONFIG_VIDEO_SAA7114 is not set
CONFIG_VIDEO_SAA711X=m
# CONFIG_VIDEO_SAA7191 is not set
# CONFIG_VIDEO_TVP5150 is not set
# CONFIG_VIDEO_VPX3220 is not set

#
# Video and audio decoders
#
CONFIG_VIDEO_CX25840=m

#
# MPEG video encoders
#
CONFIG_VIDEO_CX2341X=m

#
# Video encoders
#
CONFIG_VIDEO_SAA7127=m
# CONFIG_VIDEO_SAA7185 is not set
# CONFIG_VIDEO_ADV7170 is not set
# CONFIG_VIDEO_ADV7175 is not set

#
# Video improvement chips
#
# CONFIG_VIDEO_UPD64031A is not set
# CONFIG_VIDEO_UPD64083 is not set
# CONFIG_VIDEO_VIVI is not set
CONFIG_VIDEO_BT848=m
# CONFIG_VIDEO_SAA6588 is not set
# CONFIG_VIDEO_BWQCAM is not set
# CONFIG_VIDEO_CQCAM is not set
# CONFIG_VIDEO_W9966 is not set
# CONFIG_VIDEO_CPIA is not set
# CONFIG_VIDEO_CPIA2 is not set
# CONFIG_VIDEO_SAA5246A is not set
# CONFIG_VIDEO_SAA5249 is not set
# CONFIG_TUNER_3036 is not set
# CONFIG_VIDEO_STRADIS is not set
# CONFIG_VIDEO_ZORAN is not set
# CONFIG_VIDEO_SAA7134 is not set
# CONFIG_VIDEO_MXB is not set
# CONFIG_VIDEO_DPC is not set
# CONFIG_VIDEO_HEXIUM_ORION is not set
# CONFIG_VIDEO_HEXIUM_GEMINI is not set
# CONFIG_VIDEO_CX88 is not set

#
# V4L USB devices
#
# CONFIG_VIDEO_PVRUSB2 is not set
# CONFIG_VIDEO_EM28XX is not set
# CONFIG_USB_VICAM is not set
# CONFIG_USB_IBMCAM is not set
# CONFIG_USB_KONICAWC is not set
# CONFIG_USB_QUICKCAM_MESSENGER is not set
# CONFIG_USB_ET61X251 is not set
# CONFIG_VIDEO_OVCAMCHIP is not set
# CONFIG_USB_W9968CF is not set
# CONFIG_USB_OV511 is not set
# CONFIG_USB_SE401 is not set
# CONFIG_USB_SN9C102 is not set
# CONFIG_USB_STV680 is not set
# CONFIG_USB_ZC0301 is not set
# CONFIG_USB_PWC is not set

#
# Radio Adapters
#
# CONFIG_RADIO_GEMTEK_PCI is not set
# CONFIG_RADIO_MAXIRADIO is not set
# CONFIG_RADIO_MAESTRO is not set
# CONFIG_USB_DSBR is not set

#
# Digital Video Broadcasting Devices
#
# CONFIG_DVB is not set
CONFIG_VIDEO_TUNER=m
CONFIG_VIDEO_BUF=m
CONFIG_VIDEO_BTCX=m
CONFIG_VIDEO_IR=m
CONFIG_VIDEO_TVEEPROM=m
# CONFIG_USB_DABUSB is not set
...

http://ivtvdriver.org/index.php/Howto#Kernel_configuration_specifics

ok, that is kernel part
why not linux-2.6.20?
'cx25840 2-0044: unable to open firmware
v4l-cx25840.fw'
that is w/ or w/o hans patch(cx25840-firmware.c.diff);
the sound is non!

hg clone
http://linuxtv.org/hg/~mrechberger/v4l-dvb-kernel

cat
v4l-dvb-kernel/linux/drivers/media/video/xc3028-tuner.c
...
} xc3028_standards[]={
       
{V4L2_STD_PAL_BG,"xc3028_BG_PAL_NICAM_A.i2c.fw"}, <--
        {V4L2_STD_PAL_I,"xc3028_I_PAL_NICAM.i2c.fw"},
        {V4L2_STD_PAL_DK,"xc3028_DK_PAL_A2.i2c.fw"},
        {V4L2_STD_MN,"xc3028_MN_NTSCPAL_A2.i2c.fw"},
        {V4L2_STD_PAL, 
"xc3028_BG_PAL_NICAM_A.i2c.fw"}, <--
...

only if u receive nicam(not for A2 aka Zweikanalton)!

cat
v4l-dvb-kernel/linux/drivers/media/video/tuner-core.c
...
tuner_dbg("set addr for type %i\n", t->type);

        if ( t->type == UNSET && ((tun_setup->addr ==
ADDR_UNSET &&
                (t->mode_mask == T_UNINITIALIZED || (t->mode_mask &
tun_setup->mode_mask))) || <--
                tun_setup->addr == c->addr)) {
...

w/ 't->mode_mask == T_UNINITIALIZED' xceive fw IS
loaded!

cat /tmp/v4l-dvb-kernel/v4l/.config
...
# Multimedia devices
#
CONFIG_VIDEO_DEV=m
CONFIG_VIDEO_V4L1=y
CONFIG_VIDEO_V4L1_COMPAT=y
CONFIG_VIDEO_V4L2=y

#
# Video Capture Adapters
#

#
# Video Capture Adapters
#
# CONFIG_VIDEO_ADV_DEBUG is not set
# CONFIG_VIDEO_HELPER_CHIPS_AUTO is not set

#
# Encoders/decoders and other helper chips
#

#
# Audio decoders
#
# CONFIG_VIDEO_TVAUDIO is not set
# CONFIG_VIDEO_TDA7432 is not set
# CONFIG_VIDEO_TDA9840 is not set
# CONFIG_VIDEO_TDA9875 is not set
# CONFIG_VIDEO_TEA6415C is not set
# CONFIG_VIDEO_TEA6420 is not set
CONFIG_VIDEO_MSP3400=m
# CONFIG_VIDEO_CS53L32A is not set
# CONFIG_VIDEO_TLV320AIC23B is not set
CONFIG_VIDEO_WM8775=m
# CONFIG_VIDEO_WM8739 is not set

#
# Video decoders
#
# CONFIG_VIDEO_BT819 is not set
# CONFIG_VIDEO_BT856 is not set
# CONFIG_VIDEO_BT866 is not set
# CONFIG_VIDEO_KS0127 is not set
# CONFIG_VIDEO_OV7670 is not set
# CONFIG_VIDEO_SAA7110 is not set
# CONFIG_VIDEO_SAA7111 is not set
# CONFIG_VIDEO_SAA7114 is not set
CONFIG_VIDEO_SAA711X=m
# CONFIG_VIDEO_SAA7191 is not set
# CONFIG_VIDEO_TVP5150 is not set
# CONFIG_VIDEO_VPX3220 is not set

#
# Video and audio decoders
#
CONFIG_VIDEO_CX25840=m

#
# MPEG video encoders
#
CONFIG_VIDEO_CX2341X=m

#
# Video encoders
#
CONFIG_VIDEO_SAA7127=m
# CONFIG_VIDEO_SAA7185 is not set
# CONFIG_VIDEO_ADV7170 is not set
# CONFIG_VIDEO_ADV7175 is not set

#
# Video improvement chips
#
# CONFIG_VIDEO_UPD64031A is not set
# CONFIG_VIDEO_UPD64083 is not set
# CONFIG_VIDEO_VIVI is not set
CONFIG_VIDEO_BT848=m
# CONFIG_VIDEO_SAA6588 is not set
# CONFIG_VIDEO_BWQCAM is not set
# CONFIG_VIDEO_CQCAM is not set
# CONFIG_VIDEO_W9966 is not set
# CONFIG_VIDEO_CPIA is not set
# CONFIG_VIDEO_CPIA2 is not set
# CONFIG_VIDEO_SAA5246A is not set
# CONFIG_VIDEO_SAA5249 is not set
# CONFIG_TUNER_3036 is not set
CONFIG_TUNER_XC3028=m <--
# CONFIG_VIDEO_STRADIS is not set
# CONFIG_VIDEO_ZORAN is not set
# CONFIG_VIDEO_SAA7134 is not set
# CONFIG_VIDEO_MXB is not set
# CONFIG_VIDEO_DPC is not set
# CONFIG_VIDEO_HEXIUM_ORION is not set
# CONFIG_VIDEO_HEXIUM_GEMINI is not set
# CONFIG_VIDEO_CX88 is not set
# CONFIG_VIDEO_CAFE_CCIC is not set

#
# V4L USB devices
#
# CONFIG_VIDEO_PVRUSB2 is not set
# CONFIG_VIDEO_EM28XX is not set
# CONFIG_VIDEO_EM28XX_AUDIO is not set
# CONFIG_USB_VICAM is not set
# CONFIG_USB_IBMCAM is not set
# CONFIG_USB_KONICAWC is not set
# CONFIG_USB_QUICKCAM_MESSENGER is not set
# CONFIG_USB_ET61X251 is not set
# CONFIG_VIDEO_OVCAMCHIP is not set
# CONFIG_USB_W9968CF is not set
# CONFIG_USB_OV511 is not set
# CONFIG_USB_SE401 is not set
# CONFIG_USB_SN9C102 is not set
# CONFIG_USB_STV680 is not set
# CONFIG_USB_ZC0301 is not set
# CONFIG_USB_PWC is not set

#
# Radio Adapters
#
# CONFIG_RADIO_GEMTEK_PCI is not set
# CONFIG_RADIO_MAXIRADIO is not set
# CONFIG_RADIO_MAESTRO is not set
# CONFIG_USB_DSBR is not set

#
# Digital Video Broadcasting Devices
#
# CONFIG_DVB is not set
CONFIG_VIDEO_TUNER=m
CONFIG_VIDEO_BUF=m
CONFIG_VIDEO_BTCX=m
CONFIG_VIDEO_IR=m
CONFIG_VIDEO_TVEEPROM=m
# CONFIG_USB_DABUSB is not set

#
# Audio devices for multimedia
#

#
# ALSA sound
#
CONFIG_SND_BT87X=m
CONFIG_SND_BT87X_OVERCLOCK=y

#
# OSS sound
#

if 'make menuconfig' is broken
use 'make xconfig/make gconfig'
do
'make'
do NOT 'make ivtv' !
do NOT 'make install' !
just copy
v4l-dvb-kernel/v4l/tuner.ko &
v4l-dvb-kernel/v4l/xc3028-tuner.ko
into/over
/lib/modules/2.6.19.3/kernel/drivers/media/video/

http://dl.ivtvdriver.org/ivtv/unstable/ivtv-0.10.0rc1.tar.gz

copy v4l-dvb-kernel/linux/include/media/tuner.h
into ivtv-0.10.0rc1/driver/

cat ivtv-0.10.0rc1/driver/tuner.h
...
/* add following list instead */
/*      T_DVBT_TV       = 1 << V4L2_INT_TUNER_DVBT_TV,
<--
        T_DVBC_TV       = 1 << V4L2_INT_TUNER_DVBC_TV,
        T_DVBS_TV       = 1 << V4L2_INT_TUNER_DVBS_TV,
        T_ATSC_TV       = 1 << V4L2_INT_TUNER_ATSC_TV,
*/ <--
        T_RESERVED      = 1 << 30,
...

cat ivtv-0.10.0rc1/driver/ivtv-driver.h
...
#include <media/v4l2-common.h>
#include "tuner.h" <--
#include <media/cx2341x.h>

#define HAVE_XC3028 1 <--
...

do 'make install'
as root

/lib/firmware/

sha1sum *
9b6e6a49c659d79688db2c2332c60db606f27e16 
v4l-cx2341x-dec.fw
bd1ed667e4d9471e1e9c3a1b5cd0ec3e5d559130 
v4l-cx2341x-enc.fw
ecdd553d90032d25659e2c5ec525870a2a67c545 
v4l-cx2341x-init.mpg
2b5e6292b7391c980b93d156cf6b34178ce770f6 
v4l-cx25840.fw
eedf1473e1b840478b2426b6e39dfb8db0eb338d 
xc3028_BG_PAL_NICAM_A.i2c.fw
e52860bb27c0fbb3d76a9d78523763e6d1889fe3 
xc3028_MN_NTSCPAL_A2.i2c.fw
cdc633768231c4a370bd52c8b6beb54718505eb7 
xc3028_init0.i2c.fw

xceive fws:
http://www.linuxtv.org/v4lwiki/index.php/Em2880#Installation
http://konstantin.filtschew.de/v4l-firmware/

cat /etc/modprobe.conf
...
options ivtv cardtype=19
...

cat /etc/rc.d/rc.ivtv-0.10-pg600v2
#!/bin/sh
/usr/bin/v4l2-ctl -d /dev/v4l/video1 -s pal
/usr/bin/v4l2-ctl -d /dev/v4l/video1 -c
video_bitrate=4000000
/usr/bin/v4l2-ctl -d /dev/v4l/video1 -c
video_peak_bitrate=4800000
/usr/bin/v4l2-ctl -d /dev/v4l/video1 -c volume=65536
/usr/bin/ivtv-tune -d /dev/v4l/video1 -t europe-west
-c E10

dmesg
...
ivtv:  ==================== START INIT IVTV
====================
ivtv:  version 0.10.0 (tagged release candidate #1)
loading
ivtv:  Linux version: 2.6.19.3 preempt mod_unload
PENTIUMIII 4KSTACKS
ivtv:  In case of problems please include the debug
info between
ivtv:  the START INIT IVTV and END INIT IVTV lines,
along with
ivtv:  any module options, when mailing the ivtv-users
mailinglist.
ivtv0: User specified Yuan PG600-2, GotView PCI DVD
Lite, Club3D
ZAP-TV1x01 card (detected cx23416 based chip)
ivtv0: Unreasonably low latency timer, setting to 64
(was 32)
ivtv0: loaded v4l-cx2341x-enc.fw firmware (376836
bytes)
ivtv0: Encoder revision: 0x02060039
tuner 1-0061: chip found @ 0xc2 (ivtv i2c driver #0)
Tuner: registering extension (Xceive 3028 Tuner)
cx25840 1-0044: cx25843-23 found @ 0x88 (ivtv i2c
driver #0)
cx25840 1-0044: loaded v4l-cx25840.fw firmware (14264
bytes)
ivtv0: Registered device video1 for encoder MPEG (4
MB)
ivtv0: Registered device video32 for encoder YUV (2
MB)
ivtv0: Registered device vbi1 for encoder VBI (1 MB)
ivtv0: Registered device video24 for encoder PCM audio
(1 MB)
ivtv0: Registered device radio0 for encoder radio
Tuner: setting up tuner core extension for: Xceive
3028 Tuner
Loading base firmware: xc3028_init0.i2c.fw
ivtv0: Resetting tuner.
Loading default analogue TV settings:
xc3028_BG_PAL_NICAM_A.i2c.fw
xc3028_set_std, Loading specific configuration for
requested mode
xc3028_MN_NTSCPAL_A2.i2c.fw
ivtv0: Initialized Yuan PG600-2, GotView PCI DVD Lite,
Club3D
ZAP-TV1x01, card #0
ivtv:  ====================  END INIT IVTV 
====================
xc3028_set_std, Loading specific configuration for
requested mode
xc3028_BG_PAL_NICAM_A.i2c.fw
...





 
____________________________________________________________________________________
Need a quick answer? Get one in minutes from people who know.
Ask your question on www.Answers.yahoo.com

_______________________________________________
ivtv-devel mailing list
ivtv-devel@ivtvdriver.org
http://ivtvdriver.org/mailman/listinfo/ivtv-devel

Reply via email to