S2-liplianin

From LinuxTVWiki
Revision as of 05:29, 9 January 2011 by Freddy (Talk | contribs)

Jump to: navigation, search

A v4l branch containing support for several new DVB cards (e.g. TeVii and DVBWorld).

The source code is available from the mercurial repository.

Install

hg clone http://mercurial.intuxication.org/hg/s2-liplianin/
cd s2-liplianin
make
make install
reboot

Problems

Kernel 2.6.32

s2-liplianin/v4l/ir-sysfs.c: In function 'store_protocols':
s2-liplianin/v4l/ir-sysfs.c:137: error: implicit declaration of function 'skip_spaces'
s2-liplianin/v4l/ir-sysfs.c:137: warning: assignment makes pointer from integer without a cast
s2-liplianin/v4l/ir-sysfs.c:178: warning: assignment makes pointer from integer without a cast

Fixed with ir-sysfs: Fix skip_spaces compilation error for kernel 2.6.32

v4l/firedtv-1394.c:22:17: error: dma.h: No such file or directory
v4l/firedtv-1394.c:23:21: error: csr1212.h: No such file or directory
v4l/firedtv-1394.c:24:23: error: highlevel.h: No such file or directory
v4l/firedtv-1394.c:25:19: error: hosts.h: No such file or directory
v4l/firedtv-1394.c:26:22: error: ieee1394.h: No such file or directory
v4l/firedtv-1394.c:27:17: error: iso.h: No such file or directory
v4l/firedtv-1394.c:28:21: error: nodemgr.h: No such file or directory
v4l/firedtv-1394.c:41: warning: 'struct hpsb_iso' declared inside parameter list
v4l/firedtv-1394.c:41: warning: its scope is only this definition or declaration, which is probably not what you want
v4l/firedtv-1394.c: In function 'rawiso_activity_cb':
v4l/firedtv-1394.c:57: error: dereferencing pointer to incomplete type
v4l/firedtv-1394.c:58: error: implicit declaration of function 'hpsb_iso_n_ready'
v4l/firedtv-1394.c:65: error: dereferencing pointer to incomplete type
v4l/firedtv-1394.c:66: error: implicit declaration of function 'dma_region_i'
v4l/firedtv-1394.c:66: error: dereferencing pointer to incomplete type
v4l/firedtv-1394.c:66: error: expected expression before 'unsigned'
v4l/firedtv-1394.c:68: error: dereferencing pointer to incomplete type
v4l/firedtv-1394.c:72: error: dereferencing pointer to incomplete type
v4l/firedtv-1394.c:86: error: implicit declaration of function 'hpsb_iso_recv_release_packets'
...

Set CONFIG_DVB_FIREDTV=n in v4l/.config

Kernel 2.6.34

In file included from s2-liplian/s2-liplianin/v4l/au0828.h:22,
                 from s2-liplian/s2-liplianin/v4l/au0828-core.c:29:
/usr/src/linux-headers-2.6.34-1-common/include/linux/usb.h:1375: error: static declaration of 'usb_buffer_alloc' follows non-static declaration
/usr/src/linux-headers-2.6.34-1-common/include/linux/usb.h:1369: note: previous declaration of 'usb_buffer_alloc' was here
/usr/src/linux-headers-2.6.34-1-common/include/linux/usb.h:1380: error: static declaration of 'usb_buffer_free' follows non-static declaration
/usr/src/linux-headers-2.6.34-1-common/include/linux/usb.h:1371: note: previous declaration of 'usb_buffer_free' was here
  CC [M]  s2-liplian/s2-liplianin/v4l/au0828-cards.o
make[5]: *** [s2-liplian/s2-liplianin/v4l/au0828-core.o] Error 1

Fixed with Fix usb_buffer_alloc/usb_buffer_free compilation error for kernel 2.6.34

Kernel 2.6.37

s2-liplian/s2-liplianin/v4l/flexcop-i2c.c: In function 'flexcop_i2c_init':
s2-liplian/s2-liplianin/v4l/flexcop-i2c.c:253: error: 'I2C_CLASS_TV_DIGITAL' undeclared (first use in this function)
s2-liplian/s2-liplianin/v4l/flexcop-i2c.c:253: error: (Each undeclared identifier is reported only once
s2-liplian/s2-liplianin/v4l/flexcop-i2c.c:253: error: for each function it appears in.)

Fixed with i2c: Stop using I2C_CLASS_TV_DIGITAL 1

s2-liplianin/v4l/hexium_orion.c: In function 'hexium_probe':
2-liplianin/v4l/hexium_orion.c:234: error: 'I2C_CLASS_TV_ANALOG' undeclared (first use in this function)
s2-liplianin/v4l/hexium_orion.c:234: error: (Each undeclared identifier is reported only once
s2-liplianin/v4l/hexium_orion.c:234: error: for each function it appears in.)

Fixed with i2c: Stop using I2C_CLASS_TV_ANALOG 2

s2-liplian/s2-liplianin/v4l/dvb_frontend.c: In function 'dvb_frontend_stop':
s2-liplian/s2-liplianin/v4l/dvb_frontend.c:718: error: implicit declaration of function 'init_MUTEX'

Fixed with dvb: Convert "mutex" to semaphore