Markus Rechberger wrote:
On 2/28/08, Jelle de Jong <jelledejong@xxxxxxxxxxxxx> wrote:
Markus Rechberger wrote:
On 2/28/08, Jelle de Jong <jelledejong@xxxxxxxxxxxxx> wrote:
This message contains the following attachment(s):
Pinnacle PCTV Hybrid Pro Stick 330e.txt
Spent my hole day trying to get a dvd-t device up and running, this is
device number two I tried.
Can somebody please tell me how to get this device working on:
2.6.24-1-686 debian sid and 2.6.22-14-generic ubuntu
I have to get some sleep now, because this is getting on my health and
that does not happen often....
Jelle, it's really easy to install it actually.
http://www.mail-archive.com/em28xx%40mcentral.de/msg00750.html
this is the correct "howto" for it.
You need the linux kernel sources for your kernel, if you experience
any problems just post them to the em28xx ML.
Markus
Hi Markus,
I tried that two times,
The seconds build blows up in my face, I need specified dependecies to
be able to compile the seconds driver...
there are not so many dependencies, just submit the errors you get.
Markus
Here you go, lets see I will try it for 40 more minutes with your help
Kind regards,
Jelle
jelle@xubutu-en12000e:~$ hg clone http://mcentral.de/hg/~mrec/em28xx-userspace2
destination directory: em28xx-userspace2
requesting all changes
adding changesets
adding manifests
adding file changes
added 21 changesets with 65 changes to 20 files
18 files updated, 0 files merged, 0 files removed, 0 files unresolved
jelle@xubutu-en12000e:~$ cd em28xx-userspace2
jelle@xubutu-en12000e:~/em28xx-userspace2$ sudo ./build.sh
if [ -f ../userspace-drivers/kernel/Module.symvers ]; then \
grep v4l_dvb_stub_attach ../userspace-drivers/kernel/Module.symvers > Module.symvers; \
fi
make -C /lib/modules/2.6.22-14-generic/build SUBDIRS=/home/jelle/em28xx-userspace2 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
CC [M] /home/jelle/em28xx-userspace2/em2880-dvb.o
In file included from /home/jelle/em28xx-userspace2/em2880-dvb.c:33:
/home/jelle/em28xx-userspace2/em28xx.h:33:20: error: dmxdev.h: No such file or directory
/home/jelle/em28xx-userspace2/em28xx.h:34:23: error: dvb_demux.h: No such file or directory
/home/jelle/em28xx-userspace2/em28xx.h:35:21: error: dvb_net.h: No such file or directory
/home/jelle/em28xx-userspace2/em28xx.h:36:26: error: dvb_frontend.h: No such file or directory
In file included from /home/jelle/em28xx-userspace2/em28xx.h:45,
from /home/jelle/em28xx-userspace2/em2880-dvb.c:33:
/home/jelle/em28xx-userspace2/em28xx-compat.h:4: warning: â??struct dvb_frontendâ?? declared inside parameter list
/home/jelle/em28xx-userspace2/em28xx-compat.h:4: warning: its scope is only this definition or declaration, which is probably not what you want
In file included from /home/jelle/em28xx-userspace2/em28xx.h:46,
from /home/jelle/em28xx-userspace2/em2880-dvb.c:33:
include/linux/media-stub.h:362: error: field â??frontendâ?? has incomplete type
In file included from /home/jelle/em28xx-userspace2/em2880-dvb.c:33:
/home/jelle/em28xx-userspace2/em28xx.h:397: error: field â??demuxâ?? has incomplete type
/home/jelle/em28xx-userspace2/em28xx.h:405: error: field â??adapterâ?? has incomplete type
/home/jelle/em28xx-userspace2/em28xx.h:408: error: field â??dmxdevâ?? has incomplete type
/home/jelle/em28xx-userspace2/em28xx.h:410: error: field â??dvbnetâ?? has incomplete type
/home/jelle/em28xx-userspace2/em2880-dvb.c:41:21: error: zl10353.h: No such file or directory
/home/jelle/em28xx-userspace2/em2880-dvb.c:46:19: error: mt352.h: No such file or directory
/home/jelle/em28xx-userspace2/em2880-dvb.c:47:22: error: lgdt330x.h: No such file or directory
/home/jelle/em28xx-userspace2/em2880-dvb.c:48:20: error: mt2060.h: No such file or directory
/home/jelle/em28xx-userspace2/em2880-dvb.c: In function â??em2880_complete_irqâ??:
/home/jelle/em28xx-userspace2/em2880-dvb.c:101: warning: implicit declaration of function â??dvb_dmx_swfilterâ??
/home/jelle/em28xx-userspace2/em2880-dvb.c: At top level:
/home/jelle/em28xx-userspace2/em2880-dvb.c:197: warning: â??struct dvb_demux_feedâ?? declared inside parameter list
/home/jelle/em28xx-userspace2/em2880-dvb.c: In function â??em2880_start_feedâ??:
/home/jelle/em28xx-userspace2/em2880-dvb.c:199: error: dereferencing pointer to incomplete type
/home/jelle/em28xx-userspace2/em2880-dvb.c:200: error: dereferencing pointer to incomplete type
/home/jelle/em28xx-userspace2/em2880-dvb.c: At top level:
/home/jelle/em28xx-userspace2/em2880-dvb.c:214: warning: â??struct dvb_demux_feedâ?? declared inside parameter list
/home/jelle/em28xx-userspace2/em2880-dvb.c: In function â??em2880_stop_feedâ??:
/home/jelle/em28xx-userspace2/em2880-dvb.c:216: error: dereferencing pointer to incomplete type
/home/jelle/em28xx-userspace2/em2880-dvb.c:217: error: dereferencing pointer to incomplete type
/home/jelle/em28xx-userspace2/em2880-dvb.c: In function â??em2880_zl10353_initâ??:
/home/jelle/em28xx-userspace2/em2880-dvb.c:266: error: dereferencing pointer to incomplete type
/home/jelle/em28xx-userspace2/em2880-dvb.c: In function â??em2880_zl103530_pinnacle_initâ??:
/home/jelle/em28xx-userspace2/em2880-dvb.c:333: error: dereferencing pointer to incomplete type
/home/jelle/em28xx-userspace2/em2880-dvb.c: In function â??em2880_mt352_initâ??:
/home/jelle/em28xx-userspace2/em2880-dvb.c:375: error: dereferencing pointer to incomplete type
/home/jelle/em28xx-userspace2/em2880-dvb.c: At top level:
/home/jelle/em28xx-userspace2/em2880-dvb.c:383: error: variable â??em2880_zl10353_devâ?? has initializer but incomplete type
/home/jelle/em28xx-userspace2/em2880-dvb.c:384: error: unknown field â??demod_addressâ?? specified in initializer
/home/jelle/em28xx-userspace2/em2880-dvb.c:384: warning: excess elements in struct initializer
/home/jelle/em28xx-userspace2/em2880-dvb.c:384: warning: (near initialization for â??em2880_zl10353_devâ??)
/home/jelle/em28xx-userspace2/em2880-dvb.c:385: error: unknown field â??no_tunerâ?? specified in initializer
/home/jelle/em28xx-userspace2/em2880-dvb.c:385: warning: excess elements in struct initializer
/home/jelle/em28xx-userspace2/em2880-dvb.c:385: warning: (near initialization for â??em2880_zl10353_devâ??)
/home/jelle/em28xx-userspace2/em2880-dvb.c:394: error: variable â??em2880_pinnacle_pctvstick_devâ?? has initializer but incomplete type
/home/jelle/em28xx-userspace2/em2880-dvb.c:395: error: unknown field â??demod_addressâ?? specified in initializer
/home/jelle/em28xx-userspace2/em2880-dvb.c:395: warning: excess elements in struct initializer
/home/jelle/em28xx-userspace2/em2880-dvb.c:395: warning: (near initialization for â??em2880_pinnacle_pctvstick_devâ??)
/home/jelle/em28xx-userspace2/em2880-dvb.c:396: error: unknown field â??no_tunerâ?? specified in initializer
/home/jelle/em28xx-userspace2/em2880-dvb.c:396: warning: excess elements in struct initializer
/home/jelle/em28xx-userspace2/em2880-dvb.c:396: warning: (near initialization for â??em2880_pinnacle_pctvstick_devâ??)
/home/jelle/em28xx-userspace2/em2880-dvb.c:406: error: variable â??em2880_mt352_devâ?? has initializer but incomplete type
/home/jelle/em28xx-userspace2/em2880-dvb.c:407: error: unknown field â??demod_addressâ?? specified in initializer
/home/jelle/em28xx-userspace2/em2880-dvb.c:407: warning: excess elements in struct initializer
/home/jelle/em28xx-userspace2/em2880-dvb.c:407: warning: (near initialization for â??em2880_mt352_devâ??)
/home/jelle/em28xx-userspace2/em2880-dvb.c:411: error: unknown field â??no_tunerâ?? specified in initializer
/home/jelle/em28xx-userspace2/em2880-dvb.c:411: warning: excess elements in struct initializer
/home/jelle/em28xx-userspace2/em2880-dvb.c:411: warning: (near initialization for â??em2880_mt352_devâ??)
/home/jelle/em28xx-userspace2/em2880-dvb.c:414: error: variable â??em2880_lgdt3303_devâ?? has initializer but incomplete type
/home/jelle/em28xx-userspace2/em2880-dvb.c:415: error: unknown field â??demod_addressâ?? specified in initializer
/home/jelle/em28xx-userspace2/em2880-dvb.c:415: warning: excess elements in struct initializer
/home/jelle/em28xx-userspace2/em2880-dvb.c:415: warning: (near initialization for â??em2880_lgdt3303_devâ??)
/home/jelle/em28xx-userspace2/em2880-dvb.c:416: error: unknown field â??demod_chipâ?? specified in initializer
/home/jelle/em28xx-userspace2/em2880-dvb.c:416: error: â??LGDT3303â?? undeclared here (not in a function)
/home/jelle/em28xx-userspace2/em2880-dvb.c:416: warning: excess elements in struct initializer
/home/jelle/em28xx-userspace2/em2880-dvb.c:416: warning: (near initialization for â??em2880_lgdt3303_devâ??)
/home/jelle/em28xx-userspace2/em2880-dvb.c:429: error: variable â??em2870_mt2060_configâ?? has initializer but incomplete type
/home/jelle/em28xx-userspace2/em2880-dvb.c:430: error: unknown field â??i2c_addressâ?? specified in initializer
/home/jelle/em28xx-userspace2/em2880-dvb.c:430: warning: excess elements in struct initializer
/home/jelle/em28xx-userspace2/em2880-dvb.c:430: warning: (near initialization for â??em2870_mt2060_configâ??)
/home/jelle/em28xx-userspace2/em2880-dvb.c: In function â??em2880_get_statusâ??:
/home/jelle/em28xx-userspace2/em2880-dvb.c:479: error: dereferencing pointer to incomplete type
/home/jelle/em28xx-userspace2/em2880-dvb.c:479: warning: type defaults to â??intâ?? in declaration of â??type nameâ??
/home/jelle/em28xx-userspace2/em2880-dvb.c:479: error: request for member â??list_headâ?? in something not a structure or union
/home/jelle/em28xx-userspace2/em2880-dvb.c:479: warning: type defaults to â??intâ?? in declaration of â??__mptrâ??
/home/jelle/em28xx-userspace2/em2880-dvb.c:479: error: dereferencing pointer to incomplete type
/home/jelle/em28xx-userspace2/em2880-dvb.c:479: error: dereferencing pointer to incomplete type
/home/jelle/em28xx-userspace2/em2880-dvb.c:479: warning: type defaults to â??intâ?? in declaration of â??type nameâ??
/home/jelle/em28xx-userspace2/em2880-dvb.c:479: error: request for member â??list_headâ?? in something not a structure or union
/home/jelle/em28xx-userspace2/em2880-dvb.c:479: warning: type defaults to â??intâ?? in declaration of â??type nameâ??
/home/jelle/em28xx-userspace2/em2880-dvb.c:479: error: dereferencing pointer to incomplete type
/home/jelle/em28xx-userspace2/em2880-dvb.c:479: error: dereferencing pointer to incomplete type
/home/jelle/em28xx-userspace2/em2880-dvb.c:479: error: dereferencing pointer to incomplete type
/home/jelle/em28xx-userspace2/em2880-dvb.c:479: warning: type defaults to â??intâ?? in declaration of â??type nameâ??
/home/jelle/em28xx-userspace2/em2880-dvb.c:479: error: request for member â??list_headâ?? in something not a structure or union
/home/jelle/em28xx-userspace2/em2880-dvb.c:479: warning: type defaults to â??intâ?? in declaration of â??__mptrâ??
/home/jelle/em28xx-userspace2/em2880-dvb.c:479: error: dereferencing pointer to incomplete type
/home/jelle/em28xx-userspace2/em2880-dvb.c:479: error: dereferencing pointer to incomplete type
/home/jelle/em28xx-userspace2/em2880-dvb.c:479: error: dereferencing pointer to incomplete type
/home/jelle/em28xx-userspace2/em2880-dvb.c:479: warning: type defaults to â??intâ?? in declaration of â??type nameâ??
/home/jelle/em28xx-userspace2/em2880-dvb.c:479: error: request for member â??list_headâ?? in something not a structure or union
/home/jelle/em28xx-userspace2/em2880-dvb.c:479: warning: type defaults to â??intâ?? in declaration of â??type nameâ??
/home/jelle/em28xx-userspace2/em2880-dvb.c:480: error: dereferencing pointer to incomplete type
/home/jelle/em28xx-userspace2/em2880-dvb.c:481: error: â??DVB_DEVICE_FRONTENDâ?? undeclared (first use in this function)
/home/jelle/em28xx-userspace2/em2880-dvb.c:481: error: (Each undeclared identifier is reported only once
/home/jelle/em28xx-userspace2/em2880-dvb.c:481: error: for each function it appears in.)
/home/jelle/em28xx-userspace2/em2880-dvb.c:482: error: dereferencing pointer to incomplete type
/home/jelle/em28xx-userspace2/em2880-dvb.c:483: warning: passing argument 1 of â??dvb_frontend_eventstatusâ?? from incompatible pointer type
/home/jelle/em28xx-userspace2/em2880-dvb.c:487: error: â??DVB_DEVICE_DEMUXâ?? undeclared (first use in this function)
/home/jelle/em28xx-userspace2/em2880-dvb.c:488: error: dereferencing pointer to incomplete type
/home/jelle/em28xx-userspace2/em2880-dvb.c:490: error: â??DVB_DEVICE_DVRâ?? undeclared (first use in this function)
/home/jelle/em28xx-userspace2/em2880-dvb.c:491: error: dereferencing pointer to incomplete type
/home/jelle/em28xx-userspace2/em2880-dvb.c:493: error: â??DVB_DEVICE_NETâ?? undeclared (first use in this function)
/home/jelle/em28xx-userspace2/em2880-dvb.c:494: error: dereferencing pointer to incomplete type
/home/jelle/em28xx-userspace2/em2880-dvb.c: In function â??em28xx_ts_bus_ctrlâ??:
/home/jelle/em28xx-userspace2/em2880-dvb.c:555: error: dereferencing pointer to incomplete type
/home/jelle/em28xx-userspace2/em2880-dvb.c: In function â??em2880_dvb_initâ??:
/home/jelle/em28xx-userspace2/em2880-dvb.c:613: warning: implicit declaration of function â??dvb_attachâ??
/home/jelle/em28xx-userspace2/em2880-dvb.c:613: warning: assignment makes pointer from integer without a cast
/home/jelle/em28xx-userspace2/em2880-dvb.c:646: error: â??zl10353_attachâ?? undeclared (first use in this function)
/home/jelle/em28xx-userspace2/em2880-dvb.c:646: warning: assignment makes pointer from integer without a cast
/home/jelle/em28xx-userspace2/em2880-dvb.c:648: error: dereferencing pointer to incomplete type
/home/jelle/em28xx-userspace2/em2880-dvb.c:649: error: dereferencing pointer to incomplete type
/home/jelle/em28xx-userspace2/em2880-dvb.c:650: error: â??mt2060_attachâ?? undeclared (first use in this function)
/home/jelle/em28xx-userspace2/em2880-dvb.c:690: error: â??lgdt330x_attachâ?? undeclared (first use in this function)
/home/jelle/em28xx-userspace2/em2880-dvb.c:690: warning: assignment makes pointer from integer without a cast
/home/jelle/em28xx-userspace2/em2880-dvb.c:699: error: dereferencing pointer to incomplete type
/home/jelle/em28xx-userspace2/em2880-dvb.c:700: error: dereferencing pointer to incomplete type
/home/jelle/em28xx-userspace2/em2880-dvb.c:701: error: dereferencing pointer to incomplete type
/home/jelle/em28xx-userspace2/em2880-dvb.c:728: warning: assignment makes pointer from integer without a cast
/home/jelle/em28xx-userspace2/em2880-dvb.c:781: warning: assignment makes pointer from integer without a cast
/home/jelle/em28xx-userspace2/em2880-dvb.c:826: warning: assignment makes pointer from integer without a cast
/home/jelle/em28xx-userspace2/em2880-dvb.c:835: error: dereferencing pointer to incomplete type
/home/jelle/em28xx-userspace2/em2880-dvb.c:836: error: dereferencing pointer to incomplete type
/home/jelle/em28xx-userspace2/em2880-dvb.c:837: error: dereferencing pointer to incomplete type
/home/jelle/em28xx-userspace2/em2880-dvb.c:853: error: â??mt352_attachâ?? undeclared (first use in this function)
/home/jelle/em28xx-userspace2/em2880-dvb.c:853: warning: assignment makes pointer from integer without a cast
/home/jelle/em28xx-userspace2/em2880-dvb.c:865: error: dereferencing pointer to incomplete type
/home/jelle/em28xx-userspace2/em2880-dvb.c:866: error: dereferencing pointer to incomplete type
/home/jelle/em28xx-userspace2/em2880-dvb.c:872: error: dereferencing pointer to incomplete type
/home/jelle/em28xx-userspace2/em2880-dvb.c:877: warning: implicit declaration of function â??dvb_register_adapterâ??
/home/jelle/em28xx-userspace2/em2880-dvb.c:880: warning: implicit declaration of function â??dvb_register_frontendâ??
/home/jelle/em28xx-userspace2/em2880-dvb.c:887: error: â??DMX_TS_FILTERINGâ?? undeclared (first use in this function)
/home/jelle/em28xx-userspace2/em2880-dvb.c:887: error: â??DMX_SECTION_FILTERINGâ?? undeclared (first use in this function)
/home/jelle/em28xx-userspace2/em2880-dvb.c:887: error: â??DMX_MEMORY_BASED_FILTERINGâ?? undeclared (first use in this function)
/home/jelle/em28xx-userspace2/em2880-dvb.c:888: warning: implicit declaration of function â??dvb_dmx_initâ??
/home/jelle/em28xx-userspace2/em2880-dvb.c:897: warning: implicit declaration of function â??dvb_dmxdev_initâ??
/home/jelle/em28xx-userspace2/em2880-dvb.c: In function â??em2880_dvb_finiâ??:
/home/jelle/em28xx-userspace2/em2880-dvb.c:927: warning: implicit declaration of function â??dvb_unregister_frontendâ??
/home/jelle/em28xx-userspace2/em2880-dvb.c:928: warning: implicit declaration of function â??dvb_frontend_detachâ??
/home/jelle/em28xx-userspace2/em2880-dvb.c:931: warning: implicit declaration of function â??dvb_dmxdev_releaseâ??
/home/jelle/em28xx-userspace2/em2880-dvb.c:932: warning: implicit declaration of function â??dvb_dmx_releaseâ??
/home/jelle/em28xx-userspace2/em2880-dvb.c:934: warning: implicit declaration of function â??dvb_unregister_adapterâ??
make[2]: *** [/home/jelle/em28xx-userspace2/em2880-dvb.o] Error 1
make[1]: *** [_module_/home/jelle/em28xx-userspace2] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
make: *** [default] Error 2
rm -rf /lib/modules/2.6.22-14-generic/kernel/drivers/media/video/em28xx/em28xx.ko ; \
make INSTALL_MOD_PATH= INSTALL_MOD_DIR=kernel/drivers/media/video/em28xx \
-C /lib/modules/2.6.22-14-generic/build M=/home/jelle/em28xx-userspace2 modules_install
make[1]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
DEPMOD 2.6.22-14-generic
make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
depmod -a
jelle@xubutu-en12000e:~/em28xx-userspace2$
_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb