From: Robert Z. <zr...@un...> - 2006-10-20 10:17:32
|
I have problem with installing lirc on Intex SAA7130 tv capture card. Acctualy the problem is that I don't know which driver to select in lirc configuration. The saa7134 modul is loaded with option card=3 (LifeView/Typhoon FlyVIDEO2000) and the tv works fine. I've tried with each flyvideo driver in lirc configuration, but the following error has occured: ================================================================================== /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:52:41: ../drivers/media/video/bttv.h: No such file or directory /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:53:42: ../drivers/media/video/bttvp.h: No such file or directory /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:56:5: warning: "BTTV_VERSION_CODE" is not defined /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:57:2: #error "*******************************************************" /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:58:2: #error " Sorry, this driver needs bttv version 0.7.45 or " /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:59:2: #error " higher. If you are using the bttv package, copy it to " /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:60:2: #error " the kernel " /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:61:2: #error "*******************************************************" /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:71: error: `BTTV_BOARD_UNKNOWN' undeclared here (not in a function) /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:97: error: initializer element is not constant /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:97: error: (near initialization for `rcv_infos[0].bttv_id') /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:97: error: initializer element is not constant /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:97: error: (near initialization for `rcv_infos[0]') /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:98: error: `BTTV_BOARD_PXELVWPLTVPAK' undeclared here (not in a function) /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:98: error: initializer element is not constant /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:98: error: (near initialization for `rcv_infos[1].bttv_id') /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:98: error: initializer element is not constant /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:98: error: (near initialization for `rcv_infos[1]') /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:99: error: `BTTV_BOARD_PXELVWPLTVPRO' undeclared here (not in a function) /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:99: error: initializer element is not constant /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:99: error: (near initialization for `rcv_infos[2].bttv_id') /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:99: error: initializer element is not constant /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:99: error: (near initialization for `rcv_infos[2]') /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:100: error: `BTTV_BOARD_PV_BT878P_9B' undeclared here (not in a function) /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:100: error: initializer element is not constant /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:100: error: (near initialization for `rcv_infos[3].bttv_id') /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:100: error: initializer element is not constant /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:100: error: (near initialization for `rcv_infos[3]') /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:101: error: `BTTV_BOARD_PV_BT878P_PLUS' undeclared here (not in a function) /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:101: error: initializer element is not constant /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:101: error: (near initialization for `rcv_infos[4].bttv_id') /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:101: error: initializer element is not constant /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:101: error: (near initialization for `rcv_infos[4]') /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:105: error: `BTTV_BOARD_AVERMEDIA' undeclared here (not in a function) /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:105: error: initializer element is not constant /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:105: error: (near initialization for `rcv_infos[5].bttv_id') /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:105: error: initializer element is not constant /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:105: error: (near initialization for `rcv_infos[5]') /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:106: error: `BTTV_BOARD_AVPHONE98' undeclared here (not in a function) /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:106: error: initializer element is not constant /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:106: error: (near initialization for `rcv_infos[6].bttv_id') /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:106: error: initializer element is not constant /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:106: error: (near initialization for `rcv_infos[6]') /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:107: error: `BTTV_BOARD_AVERMEDIA98' undeclared here (not in a function) /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:107: error: initializer element is not constant /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:107: error: (near initialization for `rcv_infos[7].bttv_id') /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:107: error: initializer element is not constant /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:107: error: (near initialization for `rcv_infos[7]') /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:108: error: initializer element is not constant /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:108: error: (near initialization for `rcv_infos[8].bttv_id') /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:108: error: initializer element is not constant /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:108: error: (near initialization for `rcv_infos[8]') /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:110: error: initializer element is not constant /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:110: error: (near initialization for `rcv_infos[9].bttv_id') /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:110: error: initializer element is not constant /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:110: error: (near initialization for `rcv_infos[9]') /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:112: error: initializer element is not constant /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:112: error: (near initialization for `rcv_infos[10].bttv_id') /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:112: error: initializer element is not constant /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:112: error: (near initialization for `rcv_infos[10]') /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:114: error: initializer element is not constant /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:114: error: (near initialization for `rcv_infos[11].bttv_id') /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:114: error: initializer element is not constant /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:114: error: (near initialization for `rcv_infos[11]') /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:115: error: `BTTV_BOARD_CHRONOS_VS2' undeclared here (not in a function) /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:115: error: initializer element is not constant /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:115: error: (near initialization for `rcv_infos[12].bttv_id') /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:115: error: initializer element is not constant /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:115: error: (near initialization for `rcv_infos[12]') /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:118: error: `BTTV_BOARD_MIRO' undeclared here (not in a function) /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:118: error: initializer element is not constant /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:118: error: (near initialization for `rcv_infos[13].bttv_id') /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:118: error: initializer element is not constant /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:118: error: (near initialization for `rcv_infos[13]') /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:119: error: `BTTV_BOARD_DYNALINK' undeclared here (not in a function) /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:119: error: initializer element is not constant /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:119: error: (near initialization for `rcv_infos[14].bttv_id') /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:119: error: initializer element is not constant /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:119: error: (near initialization for `rcv_infos[14]') /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:120: error: `BTTV_BOARD_WINVIEW_601' undeclared here (not in a function) /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:120: error: initializer element is not constant /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:120: error: (near initialization for `rcv_infos[15].bttv_id') /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:120: error: initializer element is not constant /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:120: error: (near initialization for `rcv_infos[15]') /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:125: error: `BTTV_BOARD_MAGICTVIEW061' undeclared here (not in a function) /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:125: error: initializer element is not constant /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:125: error: (near initialization for `rcv_infos[16].bttv_id') /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:125: error: initializer element is not constant /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:125: error: (near initialization for `rcv_infos[16]') /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:126: error: `BTTV_BOARD_MAGICTVIEW063' undeclared here (not in a function) /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:126: error: initializer element is not constant /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:126: error: (near initialization for `rcv_infos[17].bttv_id') /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:126: error: initializer element is not constant /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:126: error: (near initialization for `rcv_infos[17]') /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:127: error: `BTTV_BOARD_PHOEBE_TVMAS' undeclared here (not in a function) /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:127: error: initializer element is not constant /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:127: error: (near initialization for `rcv_infos[18].bttv_id') /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:127: error: initializer element is not constant /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:127: error: (near initialization for `rcv_infos[18]') /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:133: error: `BTTV_BOARD_FLYVIDEO' undeclared here (not in a function) /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:133: error: initializer element is not constant /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:133: error: (near initialization for `rcv_infos[19].bttv_id') /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:133: error: initializer element is not constant /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:133: error: (near initialization for `rcv_infos[19]') /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:134: error: `BTTV_BOARD_FLYVIDEO_98' undeclared here (not in a function) /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:134: error: initializer element is not constant /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:134: error: (near initialization for `rcv_infos[20].bttv_id') /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:134: error: initializer element is not constant /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:134: error: (near initialization for `rcv_infos[20]') /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:135: error: `BTTV_BOARD_TYPHOON_TVIEW' undeclared here (not in a function) /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:135: error: initializer element is not constant /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:135: error: (near initialization for `rcv_infos[21].bttv_id') /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:135: error: initializer element is not constant /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:135: error: (near initialization for `rcv_infos[21]') /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:145: error: `BTTV_BOARD_WINFAST2000' undeclared here (not in a function) /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:145: error: initializer element is not constant /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:145: error: (near initialization for `rcv_infos[22].bttv_id') /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:145: error: initializer element is not constant /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:145: error: (near initialization for `rcv_infos[22]') /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:146: error: initializer element is not constant /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:146: error: (near initialization for `rcv_infos[23].bttv_id') /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:146: error: initializer element is not constant /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:146: error: (near initialization for `rcv_infos[23]') /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:148: error: initializer element is not constant /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:148: error: (near initialization for `rcv_infos[24].bttv_id') /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:148: error: initializer element is not constant /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:148: error: (near initialization for `rcv_infos[24]') /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c: In function `build_key': /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:196: warning: implicit declaration of function `bttv_write_gpio' /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:200: warning: implicit declaration of function `bttv_read_gpio' /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:275: error: `BTTV_BOARD_PV_M4900' undeclared (first use in this function) /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:275: error: (Each undeclared identifier is reported only once /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:275: error: for each function it appears in.) /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c: In function `get_queue': /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:359: warning: implicit declaration of function `bttv_get_gpio_queue' /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:359: warning: return makes pointer from integer without a cast /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c: In function `gpio_remote_init': /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:409: warning: implicit declaration of function `bttv_gpio_enable' /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c: In function `init_module': /root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.c:471: warning: implicit declaration of function `bttv_get_cardinfo' make[5]: *** [/root/src/lirc-0.8.1pre1/drivers/lirc_gpio/lirc_gpio.o] Error 1 make[4]: *** [_module_/root/src/lirc-0.8.1pre1/drivers/lirc_gpio] Error 2 make[4]: Leaving directory `/usr/src/linux-2.6.17.13' make[3]: *** [lirc_gpio.o] Error 2 make[3]: Leaving directory `/root/src/lirc-0.8.1pre1/drivers/lirc_gpio' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/root/src/lirc-0.8.1pre1/drivers' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/src/lirc-0.8.1pre1' make: *** [all] Error 2 ===================================================================== The bttv driver is not needed because it's for cards with bt848 chip, or I'm wrong? I've also tried with other drivers, but this error always occurs when there is a message after ./configure: You will have to use the lirc_gpio kernel module. The remote control works without lirc installed, but only the numbers. I have Slackware 11, and the lirc version is 0.8.1pre1. This is from dmesg: saa7130[0]: found at 0000:02:06.0, rev: 1, irq: 3, latency: 32, mmio: 0xfa001000 saa7130[0]: subsystem: 1131:0000, board: LifeView/Typhoon FlyVIDEO2000 [card=3,insmod option] saa7130[0]: board init: gpio is 38500 saa7130[0]: there are different flyvideo cards with different tuners saa7130[0]: out there, you might have to use the tuner=<nr> insmod saa7130[0]: option to override the default value. input: saa7134 IR (LifeView/Typhoon Fl as /class/input/input1 saa7130[0]: Huh, no eeprom present (err=-5)? tuner 0-0061: chip found @ 0xc2 (saa7130[0]) tuner 0-0061: type set to 37 (LG PAL (newer TAPC series)) tuner 0-0063: chip found @ 0xc6 (saa7130[0]) saa7130[0]: registered device video0 [v4l2] saa7130[0]: registered device vbi0 saa7130[0]: registered device radio0 I hope somebody can help me, and sorry of my english. |