TerraTec Cinergy Piranha

From LinuxTVWiki
Revision as of 14:40, 6 March 2008 by JeanScotch (talk | contribs) (add dmesg output)
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

à l'insertion du dongle dans un port usb, dmesg ne rapporte que ceci :(

usb 2-3.3: new full speed USB device using ehci_hcd and address 9
usb 2-3.3: configuration #1 chosen from 1 choice

et lsusb ne rapporte pas grand chose d'utile non plus

Bus 001 Device 006: ID 187f:0010

et la compil des pilotes 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 :(