You are not logged in.

#1 2011-02-15 12:15:57

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Can't compile v4ldvb drivers with kernel 2.6.37

Compiling v4l from vanilla source gives this error message:
Kernel build directory is /lib/modules/2.6.37-ARCH/build
make -C /lib/modules/2.6.37-ARCH/build SUBDIRS=/home/mrmedia/source/v4l-dvb/v4l  modules
make[2]: Entering directory `/usr/src/linux-2.6.37-ARCH'
/bin/sh: /sbin/lsmod: Filen eller katalogen finns inte
  CC [M]  /home/mrmedia/source/v4l-dvb/v4l/flexcop-i2c.o
/home/mrmedia/source/v4l-dvb/v4l/flexcop-i2c.c: In function 'flexcop_i2c_init':
/home/mrmedia/source/v4l-dvb/v4l/flexcop-i2c.c:253:39: error: 'I2C_CLASS_TV_DIGITAL' undeclared (first use in this function)
/home/mrmedia/source/v4l-dvb/v4l/flexcop-i2c.c:253:39: note: each undeclared identifier is reported only once for each function it appears in
make[3]: *** [/home/mrmedia/source/v4l-dvb/v4l/flexcop-i2c.o] Fel 1
make[2]: *** [_module_/home/mrmedia/source/v4l-dvb/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.37-ARCH'
make[1]: *** [default] Fel 2
make[1]: Leaving directory `/home/mrmedia/source/v4l-dvb/v4l'
make: *** [all] Fel 2

(Fel = Error)
I've really tried compilin all source and also minimizing the v4l modules to a bare minium for my cx88 chip on PCI, without Lirc support as well. Still same errors.

yaourt v4l-dvb-git compiles but gives these dmesg errors;
dmesg | grep cx88
cx88xx: Unknown symbol v4l2_i2c_new_subdev_cfg (err 0)
cx88xx: Unknown symbol v4l2_i2c_new_subdev_cfg (err 0)
cx88xx: Unknown symbol v4l2_i2c_new_subdev_cfg (err 0)
cx88xx: Unknown symbol v4l2_i2c_new_subdev_cfg (err 0)
cx88xx: Unknown symbol v4l2_i2c_new_subdev_cfg (err 0)
cx88xx: Unknown symbol v4l2_i2c_new_subdev_cfg (err 0)


So no working Hauppauge hvr-1300 DVB-T card. I have earlier successfully compiled these drivers under Ubuntu and kernel 2.6.33. As far as I know I have all dependencies and compilation tools installed - base-devel, kernel headers and so forth. I've done other yaourt compilations ok.

Googling gives that probably the kernel 2.6.37 and v4l-dvb source don't go together well, but I don't know how to go any further. What more can I do?

Last edited by swanson (2011-02-15 12:18:50)

Offline

#2 2011-02-20 08:53:46

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Re: Can't compile v4ldvb drivers with kernel 2.6.37

Further tests:
Kernel 2.6.37-5-arch gives the error as well as kernel 2.6.37-6-arch;
cx88xx: Unknown symbol v4l2_i2c_new_subdev_cfg (err 0)
cx88xx: Unknown symbol v4l2_i2c_new_subdev_cfg (err 0)
cx88xx: Unknown symbol v4l2_i2c_new_subdev_cfg (err 0)
cx88xx: Unknown symbol v4l2_i2c_new_subdev_cfg (err 0)
cx88xx: Unknown symbol v4l2_i2c_new_subdev_cfg (err 0)
cx88xx: Unknown symbol v4l2_i2c_new_subdev_cfg (err 0)

Compiling my own v4l from git does compile and load as dmesg confirms;
dmesg | grep cx88
cx88/0: cx2388x v4l2 driver version 0.0.8 loaded
cx8800 0000:01:07.0: PCI INT A -> Link[LNKB] -> GSI 18 (level, low) -> IRQ 18
cx88[0]: subsystem: 0070:9601, board: Hauppauge WinTV-HVR1300 DVB-T/Hybrid MPEG Encoder [card=56,autodetected], frontend(s): 1
cx88[0]: TV tuner type 63, Radio tuner type -1
cx88/2: cx2388x MPEG-TS Driver Manager version 0.0.8 loaded
cx88[0]: i2c init: enabling analog demod on HVR1300/3000/4000 tuner
cx88[0]: hauppauge eeprom: model=96019
cx88[0]/0: found at 0000:01:07.0, rev: 5, irq: 18, latency: 64, mmio: 0xdd000000
wm8775 1-001b: chip found @ 0x36 (cx88[0])
cx88[0]/0: registered device video0 [v4l2]
cx88[0]/0: registered device vbi0
cx88[0]/0: registered device radio0
cx88[0]/2: cx2388x 8802 Driver Manager
cx88-mpeg driver manager 0000:01:07.2: PCI INT A -> Link[LNKB] -> GSI 18 (level, low) -> IRQ 18
cx88[0]/2: found at 0000:01:07.2, rev: 5, irq: 18, latency: 64, mmio: 0xdb000000
cx88_audio 0000:01:07.1: PCI INT A -> Link[LNKB] -> GSI 18 (level, low) -> IRQ 18
cx88[0]/1: CX88x/0: ALSA support for cx2388x boards
cx88/2: cx2388x dvb driver version 0.0.8 loaded
cx88/2: registering cx8802 driver, type: dvb access: shared
cx88[0]/2: subsystem: 0070:9601, board: Hauppauge WinTV-HVR1300 DVB-T/Hybrid MPEG Encoder [card=56]
cx88[0]/2: cx2388x based DVB/ATSC card
cx8802_alloc_frontends() allocating 1 frontend(s)
DVB: registering new adapter (cx88[0])
cx88/2: registering cx8802 driver, type: blackbird access: shared
cx88[0]/2: subsystem: 0070:9601, board: Hauppauge WinTV-HVR1300 DVB-T/Hybrid MPEG Encoder [card=56]
cx88[0]/2: cx23416 based mpeg encoder (blackbird reference design)
cx88[0]/2-bb: Firmware and/or mailbox pointer not initialized or corrupted
cx88[0]/2-bb: Firmware upload successful.
cx88[0]/2-bb: Firmware version is 0x02060039
cx88[0]/2: registered device video1 [mpeg]

BUT, the Hauppauge hvr -1300 doesn't work with scan, me-tv or kaffeine. All things seem to be present in /dev/;
ls /dev/dvb/adapter0
totalt 0
drwxr-xr-x  2 root root     120 20 feb 07.59 .
drwxr-xr-x  3 root root      60 20 feb 07.59 ..
crw-rw----+ 1 root video 212, 1 20 feb 07.59 demux0
crw-rw----+ 1 root video 212, 2 20 feb 07.59 dvr0
crw-rw----+ 1 root video 212, 0 20 feb 07.59 frontend0
crw-rw----+ 1 root video 212, 3 20 feb 07.59 net0

And I'm in the group video. So I guess the driver just don't work for my card. I'll have to start another thread about that.

Last edited by swanson (2011-02-20 08:55:07)

Offline

Board footer

Powered by FluxBB