On 2/29/08, Jelle de Jong <[EMAIL PROTECTED]> wrote: > Markus Rechberger wrote: > > On 2/28/08, Markus Rechberger <[EMAIL PROTECTED]> wrote: > >> On 2/28/08, Jelle de Jong <[EMAIL PROTECTED]> wrote: > >>> Markus Rechberger wrote: > >>>> On 2/28/08, Jelle de Jong <[EMAIL PROTECTED]> wrote: > >>>>> Markus Rechberger wrote: > >>>>>> On 2/28/08, Jelle de Jong <[EMAIL PROTECTED]> wrote: > >>>>>>> Markus Rechberger wrote: > >>>>>>>> On 2/28/08, Jelle de Jong <[EMAIL PROTECTED]> 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 > >>>>> > >>>> [EMAIL PROTECTED]:~$ 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 > >>>> [EMAIL PROTECTED]:~$ cd em28xx-userspace2 > >>>> [EMAIL PROTECTED]:~/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 > >>>> > >>>> there we go, the linux kernel sources aren't installed for your system. > >>>> > >>>> apt-get install linux-source linux-headers-`uname -r` > >>>> > >>>> I'm not sure if the kernel sources are decompressed in /usr/src you > >>>> might have a look at it. > >>>> > >>>> /lib/modules/`uname -r`/build should be a symlink to the root of the > >>>> extracted kernelsources. > >>>> > >>>> the root of your kernelsources should also contain a .config file. > >>>> > >>>> You can find the config file for your current kernel in /boot > >>>> > >>>> /boot/config-`uname -r` > >>>> > >>>> copy this file to the kernelroot and rename it to ".config" > >>>> > >>>> Markus > >>> sudo apt-get install linux-source linux-headers-`uname -r` > >>> Reading package lists... Done > >>> Building dependency tree > >>> Reading state information... Done > >>> linux-source is already the newest version. > >>> linux-headers-2.6.22-14-generic is already the newest version. > >>> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. > >>> [EMAIL PROTECTED]:~/em28xx-userspace2$ ls -hal /lib/modules/`uname > >>> -r`/build > >>> lrwxrwxrwx 1 root root 40 2007-10-21 18:19 > >>> /lib/modules/2.6.22-14-generic/build -> > >>> /usr/src/linux-headers-2.6.22-14-generic > >>> [EMAIL PROTECTED]:~/em28xx-userspace2$ /boot/config-`uname -r` > >>> bash: /boot/config-2.6.22-14-generic: Permission denied > >>> [EMAIL PROTECTED]:~/em28xx-userspace2$ sudo /boot/config-`uname -r` > >>> sudo: /boot/config-2.6.22-14-generic: command not found > >>> [EMAIL PROTECTED]:~/em28xx-userspace2$ sudo ls /boot/config-`uname > -r` > >>> /boot/config-2.6.22-14-generic > >>> [EMAIL PROTECTED]:~/em28xx-userspace2$ > >>> > >>> sudo cp --verbose /boot/config-2.6.22-14-generic /usr/src/linux/.config > >>> `/boot/config-2.6.22-14-generic' -> `/usr/src/linux/.config' > >>> > >>> > >>> still all the same problems ! > >>> > >> it's just one problem actually, the kernel sources aren't installed or > >> not installed correctly. > >> > >> You need to have > >> > >> /usr/src/linux/drivers/media/dvb/dvb-core/dmxdev.h > >> /usr/src/linux/drivers/media/dvb/dvb-core/dvb_frontend.h > >> /usr/src/linux/drivers/media/dvb/dvb-core/dvb_demux.h > >> /usr/src/linux/drivers/media/dvb/dvb-core/dvb_net.h > >> > >> those are part of the ubuntu linux source package. > >> > >> look up the source package for 2.6.22 with apt-cache > >> apt-cache search linux-source | grep -i 2.6.22 or something like that > >> and install it. > >> > > > > if you have an instant messenger (icq/aim/or irc), just send me a mail > > it shouldn't take so long to get it work if you know what to do... > > you ran into quite many wrong directions with your previous attempts.. > > > > Markus > > I tried it again, it is still not working, can you please specify what > the dependency's are and where you are looking for them? > > I have added the logs and information about my system into the attachments, > > I am going to sleep now.... > > Kind regards, > > Jelle de Jong > >
Jelle, do not mess around with any v4l-dvb or v4l-vb-experimental tree it's simply not needed for your device! Be sure that /lib/modules/$(uname -r)/source or build is a symlink to your kernelsource root directory. ls -lah /lib/modules/$(uname -r)/source should show up the content of the root of the kernel sources. ls -lah /lib/modules/$(uname -r)/source/drivers/media/dvb/dvb-core/dmxdev.h should be valid! Markus _______________________________________________ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb