TerraTec Cinergy Piranha

From LinuxTVWiki
Revision as of 13:09, 19 February 2008 by JeanScotch (talk | contribs) (first draft of experiment)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

J'ai fait l'acquisition d'un dongle USB TerraTec Cinergy Piranha après avoir trouvé son nom sur [DVB-T_USB_Devices] dans la section des matériels supportés. Mal m'en pris. Il n'est pas supporté out-of-the-box...

Linux bureau 2.6.18-5-amd64 #1 SMP Thu May 31 23:51:05 UTC 2007 x86_64 GNU/Linux
$ lsusb
Bus 002 Device 008: ID 05ac:9232 Apple Computer, Inc.
Bus 002 Device 007: ID 0d3d:0001 Tangtop Technology Co., Ltd
Bus 002 Device 005: ID 03f0:2b17 Hewlett-Packard
Bus 002 Device 003: ID 05ac:9132 Apple Computer, Inc.
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 006: ID '''187f:0010'''
Bus 001 Device 005: ID 04fa:2490 Dallas Semiconductor DS1490F 2-in-1 Fob, 1-Wire adapter
Bus 001 Device 004: ID 04b8:010e Seiko Epson Corp. Perfection 1680
Bus 001 Device 001: ID 0000:0000

et la compil donne une erreur

jch@bureau:/home/v4l-dvb$ make
make -C /home/v4l-dvb/v4l
make[1]: entrant dans le répertoire « /home/v4l-dvb/v4l »
creating symbolic links...
Kernel build directory is /lib/modules/2.6.18-5-amd64/build
make -C /lib/modules/2.6.18-5-amd64/build SUBDIRS=/home/v4l-dvb/v4l  modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.18-5-amd64'
  CC [M]  /home/v4l-dvb/v4l/videodev.o
/home/v4l-dvb/v4l/videodev.c:491: error: unknown field 'dev_attrs' specified in initializer
/home/v4l-dvb/v4l/videodev.c:491: warning: initialization from incompatible pointer type
/home/v4l-dvb/v4l/videodev.c:492: error: unknown field 'dev_release' specified in initializer
/home/v4l-dvb/v4l/videodev.c:492: warning: missing braces around initializer
/home/v4l-dvb/v4l/videodev.c:492: warning: (near initialization for 'video_class.subsys')
/home/v4l-dvb/v4l/videodev.c:492: warning: initialization from incompatible pointer type
make[3]: *** [/home/v4l-dvb/v4l/videodev.o] Error 1
make[2]: *** [_module_/home/v4l-dvb/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.18-5-amd64'
make[1]: *** [default] Erreur 2
make[1]: quittant le répertoire « /home/v4l-dvb/v4l »
make: *** [all] Erreur 2

Hack pour le driver...

D'après http://www.gossamer-threads.com/lists/ivtv/devel/37175\\ "If you change both #if LINUX_VERSION_CODE lines from 13 to 19 you'll get it to compile (with a warning)..."

Une fois cela fait, le "make" tourne sans erreur de même que le "make install".

Reste à ce que le dongle apparaisse là ou il faut (/dev/dvb)... Ce qui n'est pas le cas spontanément :(