Re: em28xx driver - xc3028 tuner - readreg error
2010/1/18 Devin Heitmueller dheitmuel...@kernellabs.com: On Mon, Jan 18, 2010 at 10:01 AM, Valerio Bontempi valerio.bonte...@gmail.com wrote: Hi all, I am still having problem using v4l-dvb drivers with Terratec Cinergy T USB XS. As reported in first mail, I am using the last version of v4l-dvb drivers with few lines adjustment in order to make this driver to enable dvb for my dvb only device (this because official v4l-dvb driver actually doesn't support my device at all) I have cleaned my distro (openSuse 11.2 x86-64) about all the v4l modules provided by distro's repositories, and I compiled modified v4l-dvb source. So acutally I am using a cleaned version of v4l-dvb. But the [ 1483.314420] zl10353_read_register: readreg error (reg=127, ret==-19) [ 1483.315166] mt352_read_register: readreg error (reg=127, ret==-19) error isn't solved yet. Could it be related to the firmware I am using? No, this has nothing to do with firmware. It is probably an issue where the gpio configuration is wrong and the demod is being held in reset (hence it won't respond to i2c commands). The 0ccd:0043 is on my todo list of devices to work on (they sent me a sample board), although it's not the highest priority on my list given how old it is. Cheers, Devin -- Devin J. Heitmueller - Kernel Labs http://www.kernellabs.com Hi Devin, maybe it could be useful: today, without any change from yesterday, the device has been fully initialized at boot time. From dmesg 10.252753] xc2028 2-0061: Loading 80 firmware images from xc3028-v27.fw, type: xc2028 firmware, ver 2.7 [ 10.286264] xc2028 2-0061: Loading firmware for type=BASE (1), id . [ 11.674270] xc2028 2-0061: Loading firmware for type=(0), id b700. [ 11.701412] SCODE (2000), id b700: [ 11.701419] xc2028 2-0061: Loading SCODE for type=MONO SCODE HAS_IF_4320 (60008000), id 8000. [ 11.824268] em28xx #0: v4l2 driver version 0.1.2 [ 11.829157] em28xx #0: V4L2 video device registered as video1 [ 11.830312] usbcore: registered new interface driver em28xx [ 11.830316] em28xx driver loaded [ 11.997659] xc2028 2-0061: attaching existing instance [ 11.997665] xc2028 2-0061: type set to XCeive xc2028/xc3028 tuner [ 11.997667] em28xx #0: em28xx #0/2: xc3028 attached [ 11.997671] DVB: registering new adapter (em28xx #0) [ 11.997675] DVB: registering adapter 0 frontend 0 (Zarlink ZL10353 DVB-T)... [ 11.998086] em28xx #0: Successfully loaded em28xx-dvb [ 11.998090] Em28xx: Initialized (Em28xx dvb Extension) extension instead of (from /var/log/messages) Jan 18 16:53:04 gandalf kernel: [ 4894.539028] xc2028 2-0061: Loading 80 firmware images from xc3028-v27.fw, type: xc2028 firmware, ver 2.7 Jan 18 16:53:04 gandalf kernel: [ 4894.575016] xc2028 2-0061: Loading firmware for type=BASE (1), id . Jan 18 16:53:05 gandalf kernel: [ 4895.972018] xc2028 2-0061: Loading firmware for type=(0), id b700. Jan 18 16:53:05 gandalf kernel: [ 4895.998010] SCODE (2000), id b700: Jan 18 16:53:05 gandalf kernel: [ 4895.998022] xc2028 2-0061: Loading SCODE for type=MONO SCODE HAS_IF_4320 (60008000), id 8000. Jan 18 16:53:05 gandalf kernel: [ 4896.122024] em28xx #0: v4l2 driver version 0.1.2 Jan 18 16:53:05 gandalf kernel: [ 4896.127126] em28xx #0: V4L2 video device registered as video1 Jan 18 16:53:05 gandalf kernel: [ 4896.129142] usbcore: registered new interface driver em28xx Jan 18 16:53:05 gandalf kernel: [ 4896.129157] em28xx driver loaded Jan 18 16:53:05 gandalf kernel: [ 4896.155171] zl10353_read_register: readreg error (reg=127, ret==-19) Jan 18 16:53:05 gandalf kernel: [ 4896.155914] mt352_read_register: readreg error (reg=127, ret==-19) Jan 18 16:53:05 gandalf kernel: [ 4896.156419] em28xx #0: /2: dvb frontend not attached. Can't attach xc3028 Jan 18 16:53:05 gandalf kernel: [ 4896.156434] Em28xx: Initialized (Em28xx dvb Extension) extension Is there a reason of this behaviour? Valerio -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: em28xx driver - xc3028 tuner - readreg error
2009/12/22 Valerio Bontempi valerio.bonte...@gmail.com: 2009/12/22 Devin Heitmueller dheitmuel...@kernellabs.com: On Tue, Dec 22, 2009 at 10:11 AM, Valerio Bontempi valerio.bonte...@gmail.com wrote: Before the update, v4l-dvb driver worked fine, and now it doesn't work even if I remove the updated packages. Checking for kernel modules conflict, I found only the modules installed by v4l-dvb sources. #find /lib/modules/`uname -r` -name 'em28xx*' | xargs -i ls -l {} totale 236 -rw-r--r-- 1 root root 21464 22 dic 16:03 /lib/modules/2.6.31.5-0.1-desktop/kernel/drivers/media/video/em28xx/em28xx-alsa.ko -rw-r--r-- 1 root root 26176 22 dic 16:03 /lib/modules/2.6.31.5-0.1-desktop/kernel/drivers/media/video/em28xx/em28xx-dvb.ko -rw-r--r-- 1 root root 184936 22 dic 16:03 /lib/modules/2.6.31.5-0.1-desktop/kernel/drivers/media/video/em28xx/em28xx.ko My guess is that these files were provided by your distro through a kernel update (and in 2.6.31 this board is known to have problems which have been fixed in the latest v4l-dvb tree). I would suggest the following going into your v4l-dvb tree and doing the following: make distclean make make install reboot And see if the problem clears up. Devin -- Devin J. Heitmueller - Kernel Labs http://www.kernellabs.com This is just I have done after removing the update packages (all related to v4l libs and tools, none related to opensuse kernel), but with no luck However I have just tried what you suggested, but the problem hasn't been cleared up [ 7.276755] em28xx: New device TerraTec Electronic GmbH Cinergy T USB XS @ 480 Mbps (0ccd:0043, interface 0, class 0) [ 7.276993] em28xx #0: chip ID is em2870 [ 7.310070] vc032x: Sensor ID 7673 (16) [ 7.310075] vc032x: Find Sensor OV7670 [ 7.310187] gspca: /dev/video0 created [ 7.310224] usbcore: registered new interface driver vc032x [ 7.310228] vc032x: registered [ 7.394941] em28xx #0: i2c eeprom 00: 1a eb 67 95 cd 0c 43 00 c0 12 5c 00 9e 24 6a 34 [ 7.394956] em28xx #0: i2c eeprom 10: 00 00 06 57 02 0c 00 00 00 00 00 00 00 00 00 00 [ 7.394967] em28xx #0: i2c eeprom 20: 44 00 00 00 f0 10 01 00 00 00 00 00 5b 00 00 00 [ 7.394977] em28xx #0: i2c eeprom 30: 00 00 20 40 20 80 02 20 01 01 00 00 00 00 00 00 [ 7.394988] em28xx #0: i2c eeprom 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 7.394998] em28xx #0: i2c eeprom 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 7.395008] em28xx #0: i2c eeprom 60: 00 00 00 00 00 00 00 00 00 00 34 03 54 00 65 00 [ 7.395021] em28xx #0: i2c eeprom 70: 72 00 72 00 61 00 54 00 65 00 63 00 20 00 45 00 [ 7.395032] em28xx #0: i2c eeprom 80: 6c 00 65 00 63 00 74 00 72 00 6f 00 6e 00 69 00 [ 7.395042] em28xx #0: i2c eeprom 90: 63 00 20 00 47 00 6d 00 62 00 48 00 00 00 24 03 [ 7.395052] em28xx #0: i2c eeprom a0: 43 00 69 00 6e 00 65 00 72 00 67 00 79 00 20 00 [ 7.395063] em28xx #0: i2c eeprom b0: 54 00 20 00 55 00 53 00 42 00 20 00 58 00 53 00 [ 7.395074] em28xx #0: i2c eeprom c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 7.395084] em28xx #0: i2c eeprom d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 7.395094] em28xx #0: i2c eeprom e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 7.395104] em28xx #0: i2c eeprom f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 7.395116] em28xx #0: EEPROM ID= 0x9567eb1a, EEPROM hash = 0xbfdf1b96 [ 7.395119] em28xx #0: EEPROM info: [ 7.395120] em28xx #0: No audio on board. [ 7.395122] em28xx #0: 500mA max power [ 7.395125] em28xx #0: Table at 0x06, strings=0x249e, 0x346a, 0x [ 7.395813] em28xx #0: Identified as Terratec Cinergy T XS (card=43) [ 7.395816] em28xx #0: [ 7.395816] [ 7.395830] em28xx #0: The support for this board weren't valid yet. [ 7.395838] em28xx #0: Please send a report of having this working [ 7.395845] em28xx #0: not to V4L mailing list (and/or to other addresses) [ 7.395846] [ 7.412090] forcedeth :00:0a.0: ifname eth0, PHY OUI 0x1374 @ 0, addr 00:1a:92:34:d4:d7 [ 7.412096] forcedeth :00:0a.0: highdma csum gbit lnktim desc-v3 [ 7.412275] k8temp :00:18.3: Temperature readouts might be wrong - check erratum #141 [ 7.414043] EDAC amd64: This node reports that Memory ECC is currently disabled. [ 7.414048] EDAC amd64: bit 0x40 in register F3x44 of the MISC_CONTROL device (:00:18.3) should be enabled [ 7.414051] EDAC amd64: WARNING: ECC is NOT currently enabled by the BIOS. Module will NOT be loaded. [ 7.414053] Either Enable ECC in the BIOS, or use the 'ecc_enable_override' parameter. [ 7.414055] Might be a BIOS bug, if BIOS says ECC is enabled [ 7.414056] Use of the override can cause unknown side effects. [ 7.414073] amd64_edac: probe of :00:18.2 failed with error -22 [ 7.501404] usbcore: registered new interface driver snd-usb-audio
em28xx driver - xc3028 tuner - readreg error
Hi all, today, after I have just installed an update for v4l-lib and v4l-lib-devel opensuse 11.2 packages, my v4l-dvb driver (compiled from sources) does not work anymore Just looking to dmesg output I find [ 806.721162] em28xx: New device TerraTec Electronic GmbH Cinergy T USB XS @ 480 Mbps (0ccd:0043, interface 0, class 0) [ 806.721353] em28xx #0: chip ID is em2870 [ 806.833068] em28xx #0: i2c eeprom 00: 1a eb 67 95 cd 0c 43 00 c0 12 5c 00 9e 24 6a 34 [ 806.833096] em28xx #0: i2c eeprom 10: 00 00 06 57 02 0c 00 00 00 00 00 00 00 00 00 00 [ 806.833117] em28xx #0: i2c eeprom 20: 44 00 00 00 f0 10 01 00 00 00 00 00 5b 00 00 00 [ 806.833138] em28xx #0: i2c eeprom 30: 00 00 20 40 20 80 02 20 01 01 00 00 00 00 00 00 [ 806.833158] em28xx #0: i2c eeprom 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 806.833178] em28xx #0: i2c eeprom 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 806.833198] em28xx #0: i2c eeprom 60: 00 00 00 00 00 00 00 00 00 00 34 03 54 00 65 00 [ 806.833218] em28xx #0: i2c eeprom 70: 72 00 72 00 61 00 54 00 65 00 63 00 20 00 45 00 [ 806.833238] em28xx #0: i2c eeprom 80: 6c 00 65 00 63 00 74 00 72 00 6f 00 6e 00 69 00 [ 806.833258] em28xx #0: i2c eeprom 90: 63 00 20 00 47 00 6d 00 62 00 48 00 00 00 24 03 [ 806.833279] em28xx #0: i2c eeprom a0: 43 00 69 00 6e 00 65 00 72 00 67 00 79 00 20 00 [ 806.833299] em28xx #0: i2c eeprom b0: 54 00 20 00 55 00 53 00 42 00 20 00 58 00 53 00 [ 806.833319] em28xx #0: i2c eeprom c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 806.89] em28xx #0: i2c eeprom d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 806.833359] em28xx #0: i2c eeprom e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 806.833379] em28xx #0: i2c eeprom f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 806.833401] em28xx #0: EEPROM ID= 0x9567eb1a, EEPROM hash = 0xbfdf1b96 [ 806.833409] em28xx #0: EEPROM info: [ 806.833414] em28xx #0: No audio on board. [ 806.833419] em28xx #0: 500mA max power [ 806.833425] em28xx #0: Table at 0x06, strings=0x249e, 0x346a, 0x [ 806.834138] em28xx #0: Identified as Terratec Cinergy T XS (card=43) [ 806.834289] em28xx #0: [ 806.834290] [ 806.834297] em28xx #0: The support for this board weren't valid yet. [ 806.834305] em28xx #0: Please send a report of having this working [ 806.834312] em28xx #0: not to V4L mailing list (and/or to other addresses) [ 806.834314] [ 806.842097] tuner 2-0061: chip found @ 0xc2 (em28xx #0) [ 806.842263] xc2028 2-0061: creating new instance [ 806.842271] xc2028 2-0061: type set to XCeive xc2028/xc3028 tuner [ 806.842288] usb 1-4: firmware: requesting xc3028-v27.fw [ 806.853287] xc2028 2-0061: Loading 80 firmware images from xc3028-v27.fw, type: xc2028 firmware, ver 2.7 [ 806.886020] xc2028 2-0061: Loading firmware for type=BASE (1), id . [ 808.284017] xc2028 2-0061: Loading firmware for type=(0), id b700. [ 808.310009] SCODE (2000), id b700: [ 808.310020] xc2028 2-0061: Loading SCODE for type=MONO SCODE HAS_IF_4320 (60008000), id 8000. [ 808.433021] em28xx #0: v4l2 driver version 0.1.2 [ 808.437908] em28xx #0: V4L2 video device registered as /dev/video1 [ 808.441137] usbcore: registered new interface driver em28xx [ 808.441154] em28xx driver loaded [ 808.562319] zl10353_read_register: readreg error (reg=127, ret==-19) [ 808.562937] mt352_read_register: readreg error (reg=127, ret==-19) [ 808.563050] em28xx #0: /2: dvb frontend not attached. Can't attach xc3028 [ 808.563061] Em28xx: Initialized (Em28xx dvb Extension) extension Before the update, v4l-dvb driver worked fine, and now it doesn't work even if I remove the updated packages. Checking for kernel modules conflict, I found only the modules installed by v4l-dvb sources. #find /lib/modules/`uname -r` -name 'em28xx*' | xargs -i ls -l {} totale 236 -rw-r--r-- 1 root root 21464 22 dic 16:03 /lib/modules/2.6.31.5-0.1-desktop/kernel/drivers/media/video/em28xx/em28xx-alsa.ko -rw-r--r-- 1 root root 26176 22 dic 16:03 /lib/modules/2.6.31.5-0.1-desktop/kernel/drivers/media/video/em28xx/em28xx-dvb.ko -rw-r--r-- 1 root root 184936 22 dic 16:03 /lib/modules/2.6.31.5-0.1-desktop/kernel/drivers/media/video/em28xx/em28xx.ko Which could be the reason of readreg error? Thanks and regars Valerio -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: em28xx driver - xc3028 tuner - readreg error
2009/12/22 Devin Heitmueller dheitmuel...@kernellabs.com: On Tue, Dec 22, 2009 at 10:11 AM, Valerio Bontempi valerio.bonte...@gmail.com wrote: Before the update, v4l-dvb driver worked fine, and now it doesn't work even if I remove the updated packages. Checking for kernel modules conflict, I found only the modules installed by v4l-dvb sources. #find /lib/modules/`uname -r` -name 'em28xx*' | xargs -i ls -l {} totale 236 -rw-r--r-- 1 root root 21464 22 dic 16:03 /lib/modules/2.6.31.5-0.1-desktop/kernel/drivers/media/video/em28xx/em28xx-alsa.ko -rw-r--r-- 1 root root 26176 22 dic 16:03 /lib/modules/2.6.31.5-0.1-desktop/kernel/drivers/media/video/em28xx/em28xx-dvb.ko -rw-r--r-- 1 root root 184936 22 dic 16:03 /lib/modules/2.6.31.5-0.1-desktop/kernel/drivers/media/video/em28xx/em28xx.ko My guess is that these files were provided by your distro through a kernel update (and in 2.6.31 this board is known to have problems which have been fixed in the latest v4l-dvb tree). I would suggest the following going into your v4l-dvb tree and doing the following: make distclean make make install reboot And see if the problem clears up. Devin -- Devin J. Heitmueller - Kernel Labs http://www.kernellabs.com This is just I have done after removing the update packages (all related to v4l libs and tools, none related to opensuse kernel), but with no luck However I have just tried what you suggested, but the problem hasn't been cleared up [7.276755] em28xx: New device TerraTec Electronic GmbH Cinergy T USB XS @ 480 Mbps (0ccd:0043, interface 0, class 0) [7.276993] em28xx #0: chip ID is em2870 [7.310070] vc032x: Sensor ID 7673 (16) [7.310075] vc032x: Find Sensor OV7670 [7.310187] gspca: /dev/video0 created [7.310224] usbcore: registered new interface driver vc032x [7.310228] vc032x: registered [7.394941] em28xx #0: i2c eeprom 00: 1a eb 67 95 cd 0c 43 00 c0 12 5c 00 9e 24 6a 34 [7.394956] em28xx #0: i2c eeprom 10: 00 00 06 57 02 0c 00 00 00 00 00 00 00 00 00 00 [7.394967] em28xx #0: i2c eeprom 20: 44 00 00 00 f0 10 01 00 00 00 00 00 5b 00 00 00 [7.394977] em28xx #0: i2c eeprom 30: 00 00 20 40 20 80 02 20 01 01 00 00 00 00 00 00 [7.394988] em28xx #0: i2c eeprom 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [7.394998] em28xx #0: i2c eeprom 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [7.395008] em28xx #0: i2c eeprom 60: 00 00 00 00 00 00 00 00 00 00 34 03 54 00 65 00 [7.395021] em28xx #0: i2c eeprom 70: 72 00 72 00 61 00 54 00 65 00 63 00 20 00 45 00 [7.395032] em28xx #0: i2c eeprom 80: 6c 00 65 00 63 00 74 00 72 00 6f 00 6e 00 69 00 [7.395042] em28xx #0: i2c eeprom 90: 63 00 20 00 47 00 6d 00 62 00 48 00 00 00 24 03 [7.395052] em28xx #0: i2c eeprom a0: 43 00 69 00 6e 00 65 00 72 00 67 00 79 00 20 00 [7.395063] em28xx #0: i2c eeprom b0: 54 00 20 00 55 00 53 00 42 00 20 00 58 00 53 00 [7.395074] em28xx #0: i2c eeprom c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [7.395084] em28xx #0: i2c eeprom d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [7.395094] em28xx #0: i2c eeprom e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [7.395104] em28xx #0: i2c eeprom f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [7.395116] em28xx #0: EEPROM ID= 0x9567eb1a, EEPROM hash = 0xbfdf1b96 [7.395119] em28xx #0: EEPROM info: [7.395120] em28xx #0: No audio on board. [7.395122] em28xx #0: 500mA max power [7.395125] em28xx #0: Table at 0x06, strings=0x249e, 0x346a, 0x [7.395813] em28xx #0: Identified as Terratec Cinergy T XS (card=43) [7.395816] em28xx #0: [7.395816] [7.395830] em28xx #0: The support for this board weren't valid yet. [7.395838] em28xx #0: Please send a report of having this working [7.395845] em28xx #0: not to V4L mailing list (and/or to other addresses) [7.395846] [7.412090] forcedeth :00:0a.0: ifname eth0, PHY OUI 0x1374 @ 0, addr 00:1a:92:34:d4:d7 [7.412096] forcedeth :00:0a.0: highdma csum gbit lnktim desc-v3 [7.412275] k8temp :00:18.3: Temperature readouts might be wrong - check erratum #141 [7.414043] EDAC amd64: This node reports that Memory ECC is currently disabled. [7.414048] EDAC amd64: bit 0x40 in register F3x44 of the MISC_CONTROL device (:00:18.3) should be enabled [7.414051] EDAC amd64: WARNING: ECC is NOT currently enabled by the BIOS. Module will NOT be loaded. [7.414053] Either Enable ECC in the BIOS, or use the 'ecc_enable_override' parameter. [7.414055] Might be a BIOS bug, if BIOS says ECC is enabled [7.414056] Use of the override can cause unknown side effects. [7.414073] amd64_edac: probe of :00:18.2 failed with error -22 [7.501404] usbcore: registered new interface driver snd-usb-audio [7.843367] tuner 2-0061: chip found @ 0xc2 (em28xx #0) [8.123514] xc2028 2-0061: creating new instance [8.123519
Re: v4l-dvb from source on 2.6.31.5 opensuse kernel - not working
2009/12/9 Devin Heitmueller dheitmuel...@kernellabs.com: On Wed, Dec 9, 2009 at 1:21 PM, Valerio Bontempi I don't know how it is happened, because I followed the normal way to compile v4l-dvb, so it seems a very strange behaviour... however, how can I solve, cleaning out all the in-kernel modules and all the modules I need to remove? Well, the problem wasn't that you compiled v4l-dvb. It's that you had these third party em28xx modules installed (which rely on v4l-dvb). And a recompile of v4l-dvb breaks compatibility for those third party modules. Without knowing how you installed the third party em28xx stuff, I cannot really advise you on the best way to remove them. If it were me, I would probably just move all of those files to some temporary directory and reboot (which would allow me to restore them if I screwed something up). However, I wouldn't want to be held responsible for a user screwing up his machine. Devin -- Devin J. Heitmueller - Kernel Labs http://www.kernellabs.com Hi, I managed to clean installed modules (an opensuse unofficial repository provides em28xx-new kernel module so I needed to uninstall it) and then I compiled and installed again my modified version of v4l-dvb Now em28xx is loaded correctly, but dvb tuner is not initialized Below the part of dmesg related to the error [8.061407] em28xx: New device TerraTec Electronic GmbH Cinergy T USB XS @ 480 Mbps (0ccd:0043, interface 0, class 0) [8.061509] em28xx #0: chip ID is em2870 [8.172499] em28xx #0: i2c eeprom 00: 1a eb 67 95 cd 0c 43 00 c0 12 5c 00 9e 24 6a 34 [8.172512] em28xx #0: i2c eeprom 10: 00 00 06 57 02 0c 00 00 00 00 00 00 00 00 00 00 [8.172574] em28xx #0: i2c eeprom 20: 44 00 00 00 f0 10 01 00 00 00 00 00 5b 00 00 00 [8.172587] em28xx #0: i2c eeprom 30: 00 00 20 40 20 80 02 20 01 01 00 00 00 00 00 00 [8.172598] em28xx #0: i2c eeprom 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [8.172609] em28xx #0: i2c eeprom 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [8.172621] em28xx #0: i2c eeprom 60: 00 00 00 00 00 00 00 00 00 00 34 03 54 00 65 00 [8.172632] em28xx #0: i2c eeprom 70: 72 00 72 00 61 00 54 00 65 00 63 00 20 00 45 00 [8.172643] em28xx #0: i2c eeprom 80: 6c 00 65 00 63 00 74 00 72 00 6f 00 6e 00 69 00 [8.172655] em28xx #0: i2c eeprom 90: 63 00 20 00 47 00 6d 00 62 00 48 00 00 00 24 03 [8.172666] em28xx #0: i2c eeprom a0: 43 00 69 00 6e 00 65 00 72 00 67 00 79 00 20 00 [8.172678] em28xx #0: i2c eeprom b0: 54 00 20 00 55 00 53 00 42 00 20 00 58 00 53 00 [8.172689] em28xx #0: i2c eeprom c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [8.172700] em28xx #0: i2c eeprom d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [8.172712] em28xx #0: i2c eeprom e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [8.172723] em28xx #0: i2c eeprom f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [8.172736] em28xx #0: EEPROM ID= 0x9567eb1a, EEPROM hash = 0xbfdf1b96 [8.172738] em28xx #0: EEPROM info: [8.172740] em28xx #0: No audio on board. [8.172742] em28xx #0: 500mA max power [8.172744] em28xx #0: Table at 0x06, strings=0x249e, 0x346a, 0x [8.173347] em28xx #0: Identified as Terratec Cinergy T XS (card=43) [8.173350] em28xx #0: [8.173351] [8.173454] em28xx #0: The support for this board weren't valid yet. [8.173504] em28xx #0: Please send a report of having this working [8.173553] em28xx #0: not to V4L mailing list (and/or to other addresses) [8.173555] [8.474416] ieee1394: Host added: ID:BUS[0-00:1023] GUID[0011d8f828c2] [8.528409] ieee1394: Host added: ID:BUS[1-00:1023] GUID[00023c01510ec213] [8.947399] tuner 2-0061: chip found @ 0xc2 (em28xx #0) [8.969375] xc2028 2-0061: creating new instance [8.969381] xc2028 2-0061: type set to XCeive xc2028/xc3028 tuner [8.969391] usb 1-4: firmware: requesting xc3028-v27.fw [9.035956] xc2028 2-0061: Loading 80 firmware images from xc3028-v27.fw, type: xc2028 firmware, ver 2.7 [9.068266] xc2028 2-0061: Loading firmware for type=BASE (1), id . [ 10.456270] xc2028 2-0061: Loading firmware for type=(0), id b700. [ 10.482264] SCODE (2000), id b700: [ 10.482272] xc2028 2-0061: Loading SCODE for type=MONO SCODE HAS_IF_4320 (60008000), id 8000. [ 10.604270] em28xx #0: v4l2 driver version 0.1.2 [ 10.609181] em28xx #0: V4L2 video device registered as /dev/video1 [ 10.610313] usbcore: registered new interface driver em28xx [ 10.610318] em28xx driver loaded [ 10.689974] zl10353_read_register: readreg error (reg=127, ret==-19) [ 10.707974] mt352_read_register: readreg error (reg=127, ret==-19) [ 10.708071] em28xx #0: /2: dvb frontend not attached. Can't attach xc3028 [ 10.708153] Em28xx: Initialized (Em28xx dvb Extension) extension The same driver source code works fine on ubuntu 9.10, so I can't uderstand
Re: v4l-dvb from source on 2.6.31.5 opensuse kernel - not working
2009/12/10 Valerio Bontempi valerio.bonte...@gmail.com: 2009/12/9 Devin Heitmueller dheitmuel...@kernellabs.com: On Wed, Dec 9, 2009 at 1:21 PM, Valerio Bontempi I don't know how it is happened, because I followed the normal way to compile v4l-dvb, so it seems a very strange behaviour... however, how can I solve, cleaning out all the in-kernel modules and all the modules I need to remove? Well, the problem wasn't that you compiled v4l-dvb. It's that you had these third party em28xx modules installed (which rely on v4l-dvb). And a recompile of v4l-dvb breaks compatibility for those third party modules. Without knowing how you installed the third party em28xx stuff, I cannot really advise you on the best way to remove them. If it were me, I would probably just move all of those files to some temporary directory and reboot (which would allow me to restore them if I screwed something up). However, I wouldn't want to be held responsible for a user screwing up his machine. Devin -- Devin J. Heitmueller - Kernel Labs http://www.kernellabs.com Hi, I managed to clean installed modules (an opensuse unofficial repository provides em28xx-new kernel module so I needed to uninstall it) and then I compiled and installed again my modified version of v4l-dvb Now em28xx is loaded correctly, but dvb tuner is not initialized Below the part of dmesg related to the error [ 8.061407] em28xx: New device TerraTec Electronic GmbH Cinergy T USB XS @ 480 Mbps (0ccd:0043, interface 0, class 0) [ 8.061509] em28xx #0: chip ID is em2870 [ 8.172499] em28xx #0: i2c eeprom 00: 1a eb 67 95 cd 0c 43 00 c0 12 5c 00 9e 24 6a 34 [ 8.172512] em28xx #0: i2c eeprom 10: 00 00 06 57 02 0c 00 00 00 00 00 00 00 00 00 00 [ 8.172574] em28xx #0: i2c eeprom 20: 44 00 00 00 f0 10 01 00 00 00 00 00 5b 00 00 00 [ 8.172587] em28xx #0: i2c eeprom 30: 00 00 20 40 20 80 02 20 01 01 00 00 00 00 00 00 [ 8.172598] em28xx #0: i2c eeprom 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 8.172609] em28xx #0: i2c eeprom 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 8.172621] em28xx #0: i2c eeprom 60: 00 00 00 00 00 00 00 00 00 00 34 03 54 00 65 00 [ 8.172632] em28xx #0: i2c eeprom 70: 72 00 72 00 61 00 54 00 65 00 63 00 20 00 45 00 [ 8.172643] em28xx #0: i2c eeprom 80: 6c 00 65 00 63 00 74 00 72 00 6f 00 6e 00 69 00 [ 8.172655] em28xx #0: i2c eeprom 90: 63 00 20 00 47 00 6d 00 62 00 48 00 00 00 24 03 [ 8.172666] em28xx #0: i2c eeprom a0: 43 00 69 00 6e 00 65 00 72 00 67 00 79 00 20 00 [ 8.172678] em28xx #0: i2c eeprom b0: 54 00 20 00 55 00 53 00 42 00 20 00 58 00 53 00 [ 8.172689] em28xx #0: i2c eeprom c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 8.172700] em28xx #0: i2c eeprom d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 8.172712] em28xx #0: i2c eeprom e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 8.172723] em28xx #0: i2c eeprom f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 8.172736] em28xx #0: EEPROM ID= 0x9567eb1a, EEPROM hash = 0xbfdf1b96 [ 8.172738] em28xx #0: EEPROM info: [ 8.172740] em28xx #0: No audio on board. [ 8.172742] em28xx #0: 500mA max power [ 8.172744] em28xx #0: Table at 0x06, strings=0x249e, 0x346a, 0x [ 8.173347] em28xx #0: Identified as Terratec Cinergy T XS (card=43) [ 8.173350] em28xx #0: [ 8.173351] [ 8.173454] em28xx #0: The support for this board weren't valid yet. [ 8.173504] em28xx #0: Please send a report of having this working [ 8.173553] em28xx #0: not to V4L mailing list (and/or to other addresses) [ 8.173555] [ 8.474416] ieee1394: Host added: ID:BUS[0-00:1023] GUID[0011d8f828c2] [ 8.528409] ieee1394: Host added: ID:BUS[1-00:1023] GUID[00023c01510ec213] [ 8.947399] tuner 2-0061: chip found @ 0xc2 (em28xx #0) [ 8.969375] xc2028 2-0061: creating new instance [ 8.969381] xc2028 2-0061: type set to XCeive xc2028/xc3028 tuner [ 8.969391] usb 1-4: firmware: requesting xc3028-v27.fw [ 9.035956] xc2028 2-0061: Loading 80 firmware images from xc3028-v27.fw, type: xc2028 firmware, ver 2.7 [ 9.068266] xc2028 2-0061: Loading firmware for type=BASE (1), id . [ 10.456270] xc2028 2-0061: Loading firmware for type=(0), id b700. [ 10.482264] SCODE (2000), id b700: [ 10.482272] xc2028 2-0061: Loading SCODE for type=MONO SCODE HAS_IF_4320 (60008000), id 8000. [ 10.604270] em28xx #0: v4l2 driver version 0.1.2 [ 10.609181] em28xx #0: V4L2 video device registered as /dev/video1 [ 10.610313] usbcore: registered new interface driver em28xx [ 10.610318] em28xx driver loaded [ 10.689974] zl10353_read_register: readreg error (reg=127, ret==-19) [ 10.707974] mt352_read_register: readreg error (reg=127, ret==-19) [ 10.708071] em28xx #0: /2: dvb frontend not attached. Can't attach xc3028
v4l-dvb from source on 2.6.31.5 opensuse kernel - not working
Hi all, I am trying to install v4l-dvb drivers from source because my device (Terratec Cinergy T XS, usb device DVB only) isn't supported by official v4l-dvb released in last kernel version yet: it is simply detected with the wrong firmware, but modifing the source code of the driver is works fine, tested successfully on ubuntu 9.10 (I have already submitted the patch to v4l team). I compiled v4l-dvb drivers and installed them through make install, but then v4l-dvb driver is not working anymore: the video device is not created, and I don't find any information about my device in dmesg (neither the message about the wrong firmware). So I am supposing that v4l-dvb is not working at all. Does someone know how I can understand where is the problem? Best regards Valerio -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: v4l-dvb from source on 2.6.31.5 opensuse kernel - not working
2009/12/9 Paulo Assis pj.as...@gmail.com: 2009/12/9 Valerio Bontempi valerio.bonte...@gmail.com: 2009/12/9 Paulo Assis pj.as...@gmail.com: Hi, I've just responded to a similar issue in the linux-uvc list: https://lists.berlios.de/pipermail/linux-uvc-devel/2009-December/005391.html Do you also have insertion errors when modprobing the driver under opensuse? If so just follow the instructions :D, they worked in the above case. Best regards, Paulo 2009/12/9 Valerio Bontempi valerio.bonte...@gmail.com: Hi all, I am trying to install v4l-dvb drivers from source because my device (Terratec Cinergy T XS, usb device DVB only) isn't supported by official v4l-dvb released in last kernel version yet: it is simply detected with the wrong firmware, but modifing the source code of the driver is works fine, tested successfully on ubuntu 9.10 (I have already submitted the patch to v4l team). I compiled v4l-dvb drivers and installed them through make install, but then v4l-dvb driver is not working anymore: the video device is not created, and I don't find any information about my device in dmesg (neither the message about the wrong firmware). So I am supposing that v4l-dvb is not working at all. Does someone know how I can understand where is the problem? Best regards Valerio -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html I checked I have no .gz file in whole /lib/modules dir and in its subdirectories but the ouput of 'modprobe em28xx' is #modprobe em28xx WARNING: Error inserting ir_common (/lib/modules/2.6.31.5-0.1-desktop/updates/kernel/drivers/media/common/ir-common.ko): Unknown symbol in module, or unknown parameter (see dmesg) WARNING: Error inserting v4l2_compat_ioctl32 (/lib/modules/2.6.31.5-0.1-desktop/updates/kernel/drivers/media/video/v4l2-compat-ioctl32.ko): Unknown symbol in module, or unknown parameter (see dmesg) WARNING: Error inserting v4l1_compat (/lib/modules/2.6.31.5-0.1-desktop/updates/kernel/drivers/media/video/v4l1-compat.ko): Unknown symbol in module, or unknown parameter (see dmesg) WARNING: Error inserting videodev (/lib/modules/2.6.31.5-0.1-desktop/updates/kernel/drivers/media/video/videodev.ko): Unknown symbol in module, or unknown parameter (see dmesg) WARNING: Error inserting v4l2_common (/lib/modules/2.6.31.5-0.1-desktop/updates/kernel/drivers/media/video/v4l2-common.ko): Unknown symbol in module, or unknown parameter (see dmesg) FATAL: Error inserting em28xx (/lib/modules/2.6.31.5-0.1-desktop/updates/kernel/drivers/media/video/em28xx/em28xx.ko): Unknown symbol in module, or unknown parameter (see dmesg) and from dmesg [ 2080.998842] videobuf_vmalloc: disagrees about version of symbol videobuf_queue_core_init [ 2080.998864] videobuf_vmalloc: Unknown symbol videobuf_queue_core_init [ 2080.999053] videobuf_vmalloc: disagrees about version of symbol videobuf_queue_cancel [ 2080.999064] videobuf_vmalloc: Unknown symbol videobuf_queue_cancel [ 2476.403046] videobuf_vmalloc: disagrees about version of symbol videobuf_queue_core_init [ 2476.403066] videobuf_vmalloc: Unknown symbol videobuf_queue_core_init [ 2476.403277] videobuf_vmalloc: disagrees about version of symbol videobuf_queue_cancel [ 2476.403290] videobuf_vmalloc: Unknown symbol videobuf_queue_cancel Valerio, This is clearly caused by old modules still laying around. In the case of Chris he just uninstalled then reinstalled everything related to v4l then build v4l-dvb by following the instructions on the v4l-dvb wiki (http://www.linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers): # make distclean # make menuconfig [this is optional] # make # make install # make unload # modprobe em28xx That solved is problem. Best regards, Paulo Hi Paulo, no luck with your suggestion, I have no errors compiling and installing the drivers but after rebooting it is not working at all. Modprobe em28xx produces the same error already sent in the previous mail -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: v4l-dvb from source on 2.6.31.5 opensuse kernel - not working
2009/12/9 Devin Heitmueller dheitmuel...@kernellabs.com: On Wed, Dec 9, 2009 at 12:14 PM, Valerio Bontempi Hi Paulo, no luck with your suggestion, I have no errors compiling and installing the drivers but after rebooting it is not working at all. Modprobe em28xx produces the same error already sent in the previous mail You're seeing an error when you modprobe? What is the error? Your dmesg did not show any errors, just that the driver didn't load. Devin -- Devin J. Heitmueller - Kernel Labs http://www.kernellabs.com Here is the error after modprobe modprobe em28xx WARNING: Error inserting ir_common (/lib/modules/2.6.31.5-0.1-desktop/updates/kernel/drivers/media/common/ir-common.ko): Unknown symbol in module, or unknown parameter (see dmesg) WARNING: Error inserting v4l2_compat_ioctl32 (/lib/modules/2.6.31.5-0.1-desktop/updates/kernel/drivers/media/video/v4l2-compat-ioctl32.ko): Unknown symbol in module, or unknown parameter (see dmesg) WARNING: Error inserting v4l1_compat (/lib/modules/2.6.31.5-0.1-desktop/updates/kernel/drivers/media/video/v4l1-compat.ko): Unknown symbol in module, or unknown parameter (see dmesg) WARNING: Error inserting videodev (/lib/modules/2.6.31.5-0.1-desktop/updates/kernel/drivers/media/video/videodev.ko): Unknown symbol in module, or unknown parameter (see dmesg) WARNING: Error inserting v4l2_common (/lib/modules/2.6.31.5-0.1-desktop/updates/kernel/drivers/media/video/v4l2-common.ko): Unknown symbol in module, or unknown parameter (see dmesg) FATAL: Error inserting em28xx (/lib/modules/2.6.31.5-0.1-desktop/updates/kernel/drivers/media/video/em28xx/em28xx.ko): Unknown symbol in module, or unknown parameter (see dmesg) -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: v4l-dvb from source on 2.6.31.5 opensuse kernel - not working
2009/12/9 Devin Heitmueller dheitmuel...@kernellabs.com: On Wed, Dec 9, 2009 at 12:51 PM, Devin Heitmueller dheitmuel...@kernellabs.com wrote: On Wed, Dec 9, 2009 at 12:49 PM, Valerio Bontempi Hi Devin attached you find the output.log requested Thanks a lot Ah, there is your problem. You have updates installed, presumably by your distro. /lib/modules/2.6.31.5-0.1-desktop/updates/kernel/drivers/media/video/em28xx /lib/modules/2.6.31.5-0.1-desktop/updates/kernel/drivers/media/video/em28xx/em28xx-alsa.ko /lib/modules/2.6.31.5-0.1-desktop/updates/kernel/drivers/media/video/em28xx/em28xx-dvb.ko /lib/modules/2.6.31.5-0.1-desktop/updates/kernel/drivers/media/video/em28xx/em28xx.ko Those modules are conflicting with the base modules you replaced when you installed the latest v4l-dvb tree. Devin Also, looks like you somehow managed to simultaneously have both the in-kernel em28xx driver installed at the same time as the mrec driver: /lib/modules/2.6.31.5-0.1-desktop/updates/em28xx-alsa.ko /lib/modules/2.6.31.5-0.1-desktop/updates/em28xx-audio.ko /lib/modules/2.6.31.5-0.1-desktop/updates/em28xx-audioep.ko /lib/modules/2.6.31.5-0.1-desktop/updates/em28xx-dvb.ko /lib/modules/2.6.31.5-0.1-desktop/updates/em28xx-aad.ko /lib/modules/2.6.31.5-0.1-desktop/updates/em28xx.ko You cannot have both of these installed at the same time. Devin -- Devin J. Heitmueller - Kernel Labs http://www.kernellabs.com I don't know how it is happened, because I followed the normal way to compile v4l-dvb, so it seems a very strange behaviour... however, how can I solve, cleaning out all the in-kernel modules and all the modules I need to remove? Thanks a lot Valerio -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [XC3028] Terretec Cinergy T XS wrong firmware xc3028-v27.fw
2009/11/10 Devin Heitmueller dheitmuel...@kernellabs.com: On Tue, Nov 10, 2009 at 4:39 AM, Valerio Bontempi valerio.bonte...@gmail.com wrote: Yes I rebooted the system after compiling and installing through 'make install' last v4l-dvb source, but with no luck, /dev/dvb device is still not present. Attached you can find the full dmesg, since system boot Thanks a lot again. P.s. Sorry for top posting, it's gmail0s default and sometimes I forget. Hello Valerio, Now that I have taken another look at the dmesg output, I see that this device is 0ccd:0043 and *not* 0ccd:0042. This prompted me to take another look at the driver, and indeed that board is not presently supported. It's the DVB only version of the board (as opposed to the hybrid). I can probably make it work, but it's a rather old board and not terribly high on my list of priorities. Devin -- Devin J. Heitmueller - Kernel Labs http://www.kernellabs.com Hi Devin, I feared about that So, in this moment my only possibilities available to make it work are: - use an older kernel (=2.6.27) to compile successfully em28xx-new (maybe it could be better to use older linux distro) - make em28xx-new to compile on 2.6.31 kernel version - wait for device support on next kernel releases I have good programming knowledge, but few with C and driver programming, so if you can suggest me how can I modify em28xx-new sources to make them work on 2.6.31, then I can try to adjust them and then make this driver available just waiting for kernel support. Thanks a lot Valerio -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[XC3028] Terretec Cinergy T XS wrong firmware xc3028-v27.fw
Hi all, I have a problem trying to user Terratec Cinergy T XS (usb dvb only adapter) with XC3028 tuner: v4l dvb driver installed in last kernel versions (actually I am using 2.6.31 from ubuntu 9.10) detects this device but then looks for the wrong firmware xc3028-v27.fw, and, moreover, seems to not contain correct device firmware at all. This makes the device to be detected but dvb device /dev/dvb is not created by the kernel. Is there a way to make this device to work with last kernel versions and last v4l-dvb driver versions? Thanks and regards in advance Valerio Bontempi -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html