ec168 dvb-t
Inviato: giovedì 25 giugno 2009, 23:41
finalmente dopo tanto tempo ho trovato un driver per la mia scheda tv
il modulo anche se sperimentale ha funzionato correttamente per alcuni mesi, poi con il kernel 2.6.29 di jaunty e il 2.6.30 compilato per l'aspire one ha smesso di funzionare.
questa è la guida che spiega l'installazione: https://www.dealextreme.com/forums/Default.dx/sku.8325~threadid.278942
questo è l'errore che ottengo:
ho fatto delle ricerche in base a questo errore:
la prima pagina che ho capito è questa: http://patchwork.kernel.org/patch/15526/
dice di applicare una patch. ecco come ho fatto:
ho creato il file patch.diff e ho incollato dentro
poi ho dato:
ma il risultato è:
e l'errore resta identico. cosa posso fare?
il modulo anche se sperimentale ha funzionato correttamente per alcuni mesi, poi con il kernel 2.6.29 di jaunty e il 2.6.30 compilato per l'aspire one ha smesso di funzionare.
questa è la guida che spiega l'installazione: https://www.dealextreme.com/forums/Default.dx/sku.8325~threadid.278942
questo è l'errore che ottengo:
Codice: Seleziona tutto
$ make
make -C /home/syco/Utils/source/ec168/v4l
make[1]: ingresso nella directory «/home/syco/Utils/source/ec168/v4l»
perl scripts/make_config_compat.pl /lib/modules/2.6.30-skumpic-initrd-aa1/build ./.myconfig ./config-compat.h
creating symbolic links...
Kernel build directory is /lib/modules/2.6.30-skumpic-initrd-aa1/build
make -C /lib/modules/2.6.30-skumpic-initrd-aa1/build SUBDIRS=/home/syco/Utils/source/ec168/v4l modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.30-skumpic-initrd-aa1'
CC [M] /home/syco/Utils/source/ec168/v4l/tuner-xc2028.o
CC [M] /home/syco/Utils/source/ec168/v4l/tuner-simple.o
CC [M] /home/syco/Utils/source/ec168/v4l/tuner-types.o
CC [M] /home/syco/Utils/source/ec168/v4l/mt20xx.o
CC [M] /home/syco/Utils/source/ec168/v4l/tda8290.o
CC [M] /home/syco/Utils/source/ec168/v4l/tea5767.o
CC [M] /home/syco/Utils/source/ec168/v4l/tea5761.o
CC [M] /home/syco/Utils/source/ec168/v4l/tda9887.o
CC [M] /home/syco/Utils/source/ec168/v4l/tda827x.o
CC [M] /home/syco/Utils/source/ec168/v4l/au0828-core.o
CC [M] /home/syco/Utils/source/ec168/v4l/au0828-i2c.o
CC [M] /home/syco/Utils/source/ec168/v4l/au0828-cards.o
In file included from /home/syco/Utils/source/ec168/v4l/dmxdev.h:33,
from /home/syco/Utils/source/ec168/v4l/au0828.h:29,
from /home/syco/Utils/source/ec168/v4l/au0828-cards.c:22:
/home/syco/Utils/source/ec168/v4l/compat.h:385: error: redefinition of 'usb_endpoint_type'
include/linux/usb/ch9.h:377: error: previous definition of 'usb_endpoint_type' was here
make[3]: *** [/home/syco/Utils/source/ec168/v4l/au0828-cards.o] Error 1
make[2]: *** [_module_/home/syco/Utils/source/ec168/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.30-skumpic-initrd-aa1'
make[1]: *** [default] Errore 2
make[1]: uscita dalla directory «/home/syco/Utils/source/ec168/v4l»
make: *** [all] Errore 2Codice: Seleziona tutto
error: previous definition of 'usb_endpoint_type' was heredice di applicare una patch. ecco come ho fatto:
ho creato il file patch.diff e ho incollato dentro
Codice: Seleziona tutto
diff -r 5567e82c34a0 v4l/compat.h
--- a/v4l/compat.h Tue Mar 31 07:24:14 2009 -0300
+++ b/v4l/compat.h Wed Apr 01 03:08:17 2009 +0400
@@ -393,10 +393,7 @@
#endif
#ifdef NEED_USB_ENDPOINT_TYPE
-static inline int usb_endpoint_type(const struct usb_endpoint_descriptor *epd)
-{
- return epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK;
-}
+#include <linux/usb/ch9.h>
#endif
#endif /* __LINUX_USB_H */
Codice: Seleziona tutto
patch -p1<patch.diffCodice: Seleziona tutto
patching file v4l/compat.h
Hunk #1 FAILED at 393.
1 out of 1 hunk FAILED -- saving rejects to file v4l/compat.h.rej