S2-liplianin: Difference between revisions

From LinuxTVWiki
Jump to navigation Jump to search
No edit summary
Line 40: Line 40:
s2-liplian/s2-liplianin/v4l/flexcop-i2c.c:253: error: for each function it appears in.)
s2-liplian/s2-liplianin/v4l/flexcop-i2c.c:253: error: for each function it appears in.)


Fixed with [http://mercurial.intuxication.org/hg/s2-liplianin/rev/d0a2ff731670 i2c: Stop using I2C_CLASS_TV_DIGITAL]
Fixed with [http://mercurial.intuxication.org/hg/s2-liplianin/rev/d0a2ff731670 i2c: Stop using I2C_CLASS_TV_DIGITAL 1]


s2-liplianin/v4l/hexium_orion.c: In function 'hexium_probe':
s2-liplianin/v4l/hexium_orion.c: In function 'hexium_probe':
Line 47: Line 47:
s2-liplianin/v4l/hexium_orion.c:234: error: for each function it appears in.)
s2-liplianin/v4l/hexium_orion.c:234: error: for each function it appears in.)


Apply [http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=0a5f1f211f61d7e1b5a6d80314fdf98360ae577a i2c: Stop using I2C_CLASS_TV_ANALOG]
Fixed with [http://mercurial.intuxication.org/hg/s2-liplianin/rev/414e0bbd99bf 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: In function 'dvb_frontend_stop':
s2-liplian/s2-liplianin/v4l/dvb_frontend.c:718: error: implicit declaration of function 'init_MUTEX'
s2-liplian/s2-liplianin/v4l/dvb_frontend.c:718: error: implicit declaration of function 'init_MUTEX'


Fixed with [http://mercurial.intuxication.org/hg/s2-liplianin/rev/d64b014c5253 dvb: Convert "mutex" to semaphore]
Apply [http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=a0a4714c404dfd0c28092743dd8bc244fcda357a;hp=df1868e4ee605444bbb98505126bdfb3519749af Get rid of init_MUTEX[_LOCKED]() and use sema_init() instead]

Revision as of 10:54, 3 January 2011

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

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