On Friday 30 May 2008 13:00, Hans Verkuil wrote: > Hi Yuri, > > > So now when I boot both cards get initialized. However when I try > > to re-initialize I get the following in dmesg: > > [ 2125.498239] cx18: Start initialization, version 1.0.0 > > [ 2125.498305] cx18-0: Initializing card #0 > > [ 2125.498309] cx18-0: Autodetected Yuan MPC718 card > > [ 2125.498337] ACPI: PCI Interrupt 0000:02:00.0[A] -> GSI 20 > > (level, low) -> IRQ 21 > > [ 2125.498615] cx18-0: cx23418 revision 01010000 (B) > > [ 2125.591934] cx18-0: Not yet supported! > > [ 2125.684322] cx18-0: Disabled encoder IDX device > > [ 2125.684396] cx18-0: Registered device video0 for encoder MPEG (2 > > MB) > > [ 2125.684431] cx18-0: Registered device video32 for encoder YUV > > (2 MB) > > [ 2125.684465] cx18-0: Registered device video24 for encoder > > PCM audio (1 MB) > > [ 2125.684498] cx18-0: Registered device radio0 for > > encoder radio > > [ 2125.691601] sysfs: duplicate filename '0000:02:00.0' > > can not be created > > [ 2125.691611] WARNING: > > at /build/buildd/linux-2.6.24/fs/sysfs/dir.c:424 sysfs_add_one() > > > [ 2125.691618] Pid: 9580, comm: hald-probe-vide Not tainted > > 2.6.24-17-generic #1 > > [ 2125.691654] [<c01d738f>] sysfs_add_one+0x9f/0xe0 > > [ 2125.691690] [<c01d78c8>] create_dir+0x48/0x90 > > [ 2125.691718] [<c01d7939>] sysfs_create_dir+0x29/0x50 > > [ 2125.691730] [<c021536f>] kobject_get+0xf/0x20 > > [ 2125.691741] [<c0215833>] kobject_add+0x93/0x1b0 > > [ 2125.691754] [<c0215771>] kobject_set_name+0x81/0xb0 > > ... > > Try my own ~hverkuil/v4l-dvb tree: I discovered a nasty problem in > the initialization order. Note that I haven't tested this tree, just > let me know if it doesn't work. > > > [ 2126.681970] xc2028 3-0061: Loading 80 firmware images from > > xc3028-v27.fw, type: xc2028 firmware, ver 2.7 > > > [ 2126.689090] xc2028 3-0061: Loading firmware for type=BASE FM > > (401), id 0000000000000000. > > [ 2126.698249] i2c-adapter i2c-3: sendbytes: error - bailout. > > [ 2126.698285] xc2028 3-0061: i2c output error: rc = -14 (should be > > 64) [ 2126.698290] xc2028 3-0061: -14 returned from send > > [ 2126.698294] xc2028 3-0061: Error -22 while loading base firmware > > [ 2126.761972] xc2028 3-0061: Loading firmware for type=BASE FM > > (401), id 0000000000000000. > > You need to find the correct .xceive_pin setting in the card > definition. Try values 10 and 12 first, then the remaining values in > the range 8-15, then the whole range from 1-31. It might even be pin > 0, but then you have to modify cx18-gpio.c by removing the 'if > (cx->card->xceive_pin)' line (and the closing '}' afterwards). > > It's tedious, but one of the 32 pins is used to reset the xceive > tuner so that it can load the firmware.
Update: fixed the code so that you no longer have to modify cx18-gpio.c. If needed you can now test the whole range from 0-31. Regards, Hans > > Regards, > > Hans > > _______________________________________________ > ivtv-devel mailing list > ivtv-devel@ivtvdriver.org > http://ivtvdriver.org/mailman/listinfo/ivtv-devel _______________________________________________ ivtv-devel mailing list ivtv-devel@ivtvdriver.org http://ivtvdriver.org/mailman/listinfo/ivtv-devel