Re: [linux-dvb] Going though hell here, please provide how to for Pinnacle PCTV Hybrid Pro Stick 330e

2008-02-29 Thread Markus Rechberger

  I spent several hours again to see if I could get it working on Debian
  sid. I got a little bit further bit still got compilation errors.

  Can you please look at my attachments.


 CC [M]  /home/jelle/em28xx-userspace2/em2880-dvb.o
In file included from /home/jelle/em28xx-userspace2/em28xx.h:42,
from /home/jelle/em28xx-userspace2/em2880-dvb.c:33:
include/sound/core.h:281: error: 'SNDRV_CARDS' undeclared here (not in
a function)

ok this seems to come from a cleanup patch to remove some warnings. I
reverted that change again.
Can you download em28xx-userspace2 again and try to recompile it.

thanks,
Markus

___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] Going though hell here, please provide how to for Pinnacle PCTV Hybrid Pro Stick 330e

2008-02-29 Thread Jelle de Jong

Markus Rechberger wrote:

On 2/29/08, Nicolas Will [EMAIL PROTECTED] wrote:

hmmm...

guys.

First thing: on a Debian or Ubuntu system, I never needed the full Linux
sources to compile a v4l-dvb tree. The headers were always enough.

Second thing: when you compile a v4l-dvb tree on the side, I do not
think that it is adding anything in the headers.
So, if you subsequently need to compile a driver that needs stuff from a
recent v4l-dvb tree, it won't find it.

Third thing: That weird driver of yours is probably looking for its
stuff either int the headers (were there will not be anything good to
find because of the point made above) or in an available kernel source
tree (where it will probably not find anything that will make it happy
because your recent v4l-dvb tree is elsewhere).

May I suggest to get a kernel source tree (from the appropriate
package), incorporate the v4l-dvb tree in it, then try to compile your
weird driver against this.

Getting rid of the headers may help.



When you compile the v4l-dvb or v4l-dvb-experimental tree it will
update your whole v4l and dvb subsystem.
As soon as you do so it won't work to install any other external media
drivers anymore, beside that v4l-dvb is much bigger than the snipped
out em28xx driver.
em28xx-userspace2 and userspace-drivers only contains the drivers for
em28xx based devices and won't affect any other drivers on the system.
Since the uvc driver is also out of tree it won't break
compiling/using the uvc driver against the current running kernel.

The kernel sources are needed because some internal headers are needed
for the em28xx to build an alternative tuning system for hybrid
radio/analogue TV/DTV devices. It should work flawlessly with older
kernel releases where v4l-dvb already fails to compile.

It's also easier to keep backward compatibility while not breaking any
other drivers on the system that way (and this is seriously needed)

Beside all that:
There's a .deb package available I posted the link very early already
compiling from source can always introduce some mess so you better
know what you do otherwise you have to learn how it works...
The build scripts already do alot work there for several different distributions

Markus



I spent several hours again to see if I could get it working on Debian 
sid. I got a little bit further bit still got compilation errors.


Can you please look at my attachments.

Kind regards,

Jelle






[EMAIL PROTECTED]:~$ ls -hal /usr/src/
total 44M
drwxrwsr-x  6 root src  4.0K Feb 29 15:16 .
drwxr-xr-x 11 root root 4.0K Feb 23 00:32 ..
lrwxrwxrwx  1 root src28 Feb 29 15:16 linux - /usr/src/linux-source-2.6.24
drwxr-xr-x  4 root root 4.0K Feb 29 15:10 linux-headers-2.6.24-1-686
drwxr-xr-x 18 root root 4.0K Feb 29 15:10 linux-headers-2.6.24-1-common
drwxr-xr-x  3 root root 4.0K Feb 29 15:10 linux-kbuild-2.6.24
drwxr-xr-x 20 root root 4.0K Feb 29 15:17 linux-source-2.6.24
-rw-r--r--  1 root root  44M Feb 11 12:42 linux-source-2.6.24.tar.bz2
[EMAIL PROTECTED]:~$ ls -hal /lib/modules/$(uname -r)/source
lrwxrwxrwx 1 root root 28 Feb 29 15:16 /lib/modules/2.6.24-1-686/source - 
/usr/src/linux-source-2.6.24
[EMAIL PROTECTED]:~$ ls -hal /lib/modules/$(uname 
-r)/source/drivers/media/dvb/dvb-core/dmxdev.h
-rw-r--r-- 1 root root 2.4K Jan 24 22:58 
/lib/modules/2.6.24-1-686/source/drivers/media/dvb/dvb-core/dmxdev.h
[EMAIL PROTECTED]:~$ ls -hal /lib/modules/$(uname 
-r)/source/drivers/media/dvb/dvb-core/dvb_frontend.h
-rw-r--r-- 1 root root 5.7K Jan 24 22:58 
/lib/modules/2.6.24-1-686/source/drivers/media/dvb/dvb-core/dvb_frontend.h
[EMAIL PROTECTED]:~$ ls -hal /lib/modules/$(uname 
-r)/source/drivers/media/dvb/dvb-core/dvb_demux.h
-rw-r--r-- 1 root root 3.5K Jan 24 22:58 
/lib/modules/2.6.24-1-686/source/drivers/media/dvb/dvb-core/dvb_demux.h
[EMAIL PROTECTED]:~$ ls -hal /lib/modules/$(uname 
-r)/source/drivers/media/dvb/dvb-core/dvb_net.h
-rw-r--r-- 1 root root 1.4K Jan 24 22:58 
/lib/modules/2.6.24-1-686/source/drivers/media/dvb/dvb-core/dvb_net.h
[EMAIL PROTECTED]:~$ ls -hal /usr/src/linux/drivers/media/dvb/dvb-core/dmxdev.h
-rw-r--r-- 1 root root 2.4K Jan 24 22:58 
/usr/src/linux/drivers/media/dvb/dvb-core/dmxdev.h
[EMAIL PROTECTED]:~$ ls -hal 
/usr/src/linux/drivers/media/dvb/dvb-core/dvb_frontend.h
-rw-r--r-- 1 root root 5.7K Jan 24 22:58 
/usr/src/linux/drivers/media/dvb/dvb-core/dvb_frontend.h
[EMAIL PROTECTED]:~$ ls -hal 
/usr/src/linux/drivers/media/dvb/dvb-core/dvb_demux.h
-rw-r--r-- 1 root root 3.5K Jan 24 22:58 
/usr/src/linux/drivers/media/dvb/dvb-core/dvb_demux.h
[EMAIL PROTECTED]:~$ ls -hal /usr/src/linux/drivers/media/dvb/dvb-core/dvb_net.h
-rw-r--r-- 1 root root 1.4K Jan 24 22:58 
/usr/src/linux/drivers/media/dvb/dvb-core/dvb_net.h
[EMAIL PROTECTED]:~$
[EMAIL PROTECTED]:~$
[EMAIL PROTECTED]:~$ cd ~
[EMAIL PROTECTED]:~$ sudo rm -r userspace-drivers
rm: cannot remove `userspace-drivers': No such file or directory
[EMAIL PROTECTED]:~$ hg clone http://mcentral.de/hg/~mrec/userspace-drivers

Re: [linux-dvb] Going though hell here, please provide how to for Pinnacle PCTV Hybrid Pro Stick 330e

2008-02-29 Thread Jelle de Jong

Markus Rechberger wrote:

 I spent several hours again to see if I could get it working on Debian
 sid. I got a little bit further bit still got compilation errors.

 Can you please look at my attachments.



 CC [M]  /home/jelle/em28xx-userspace2/em2880-dvb.o
In file included from /home/jelle/em28xx-userspace2/em28xx.h:42,
from /home/jelle/em28xx-userspace2/em2880-dvb.c:33:
include/sound/core.h:281: error: 'SNDRV_CARDS' undeclared here (not in
a function)

ok this seems to come from a cleanup patch to remove some warnings. I
reverted that change again.
Can you download em28xx-userspace2 again and try to recompile it.

thanks,
Markus


Thank you it is now compiling, however when loading the drivers after 
rebooting the pc (also before rebooting) i get the following errors.


See the attachments,

Kind regards,

Jelle

usb 5-3: new high speed USB device using ehci_hcd and address 5
usb 5-3: configuration #1 chosen from 1 choice
em28xx: disagrees about version of symbol video_unregister_device
em28xx: Unknown symbol video_unregister_device
em28xx: disagrees about version of symbol video_device_alloc
em28xx: Unknown symbol video_device_alloc
em28xx: disagrees about version of symbol video_register_device
em28xx: Unknown symbol video_register_device
em28xx: disagrees about version of symbol video_device_release
em28xx: Unknown symbol video_device_release
[EMAIL PROTECTED]:~$ sudo modinfo em28xx
filename:   
/lib/modules/2.6.24-1-686/kernel/drivers/media/video/em28xx/em28xx.ko
license:GPL
description:Empia em28xx based USB video device driver
author: Ludovico Cavedon [EMAIL PROTECTED], Markus Rechberger [EMAIL 
PROTECTED], Mauro Carvalho Chehab [EMAIL PROTECTED], Sascha Sommer [EMAIL 
PROTECTED]
alias:  usb:v0CCDp0072d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v093BpA005d*dc*dsc*dp*ic*isc*ip*
alias:  usb:vEB1ApA316d*dc*dsc*dp*ic*isc*ip*
alias:  usb:vEB1ApE305d*dc*dsc*dp*ic*isc*ip*
alias:  usb:vEB1Ap2751d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v2304p0226d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v2304p0227d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v2040p6513d*dc*dsc*dp*ic*isc*ip*
alias:  usb:vEB1Ap2883d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v2001pF112d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v0413p6023d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v185Bp2870d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v0CCDp0047d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v0CCDp0043d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v0CCDp005Ed*dc*dsc*dp*ic*isc*ip*
alias:  usb:v0CCDp004Cd*dc*dsc*dp*ic*isc*ip*
alias:  usb:v0CCDp004Fd*dc*dsc*dp*ic*isc*ip*
alias:  usb:v0CCDp0042d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v2040p6502d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v2040p6500d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v2304p021Ad*dc*dsc*dp*ic*isc*ip*
alias:  usb:v2304p0207d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v2040p650Ad*dc*dsc*dp*ic*isc*ip*
alias:  usb:v2040p4201d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v2040p4200d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v2304p0208d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v0CCDp0036d*dc*dsc*dp*ic*isc*ip*
alias:  usb:vEB1ApE357d*dc*dsc*dp*ic*isc*ip*
alias:  usb:vEB1ApE355d*dc*dsc*dp*ic*isc*ip*
alias:  usb:vEB1ApE350d*dc*dsc*dp*ic*isc*ip*
alias:  usb:vEB1ApE300d*dc*dsc*dp*ic*isc*ip*
alias:  usb:vEB1ApE320d*dc*dsc*dp*ic*isc*ip*
alias:  usb:vEB1ApE310d*dc*dsc*dp*ic*isc*ip*
alias:  usb:vEB1Ap2870d*dc*dsc*dp*ic*isc*ip*
alias:  usb:vEB1Ap2881d*dc*dsc*dp*ic*isc*ip*
alias:  usb:vEB1Ap2861d*dc*dsc*dp*ic*isc*ip*
alias:  usb:vEB1Ap2860d*dc*dsc*dp*ic*isc*ip*
alias:  usb:vEB1Ap2750d*dc*dsc*dp*ic*isc*ip*
alias:  usb:vEB1Ap2821d*dc*dsc*dp*ic*isc*ip*
alias:  usb:vEB1Ap2820d*dc*dsc*dp*ic*isc*ip*
alias:  usb:vEB1Ap2800d*dc*dsc*dp*ic*isc*ip*
depends:i2c-core,usbcore,videodev,v4l2-common,v4l1-compat
vermagic:   2.6.24-1-686 SMP mod_unload 686
parm:   disable_ir:disable infrared remote support (int)
parm:   ir_debug:enable debug messages [IR] (int)
parm:   core_debug:enable debug messages [core] (int)
parm:   reg_debug:enable debug messages [URB reg] (int)
parm:   isoc_debug:enable debug messages [isoc transfers] (int)
parm:   alt:alternate setting to use for video endpoint (int)
parm:   i2c_scan:scan i2c bus at insmod time (int)
parm:   i2c_debug:enable debug messages [i2c] (int)
parm:   card:card type (array of int)
parm:   video_nr:video device numbers (array of int)
parm:   vbi_nr:vbi device numbers (array of int)
parm:   tuner:tuner type (int)
parm:   userspace_tuner:userspace tuner (int)
parm:   video_debug:enable debug messages [video] (int)
parm:   device_mode:device mode (DVB-T/Analogue TV) (int)
parm:   vbi_mode:VBI mode (0 disabled/1 

Re: [linux-dvb] Going though hell here, please provide how to for Pinnacle PCTV Hybrid Pro Stick 330e

2008-02-29 Thread Markus Rechberger
On Fri, Feb 29, 2008 at 4:10 PM, Jelle de Jong
[EMAIL PROTECTED] wrote:

 Markus Rechberger wrote:
I spent several hours again to see if I could get it working on Debian
sid. I got a little bit further bit still got compilation errors.
  
Can you please look at my attachments.
  
  
CC [M]  /home/jelle/em28xx-userspace2/em2880-dvb.o
   In file included from /home/jelle/em28xx-userspace2/em28xx.h:42,
   from /home/jelle/em28xx-userspace2/em2880-dvb.c:33:
   include/sound/core.h:281: error: 'SNDRV_CARDS' undeclared here (not in
   a function)
  
   ok this seems to come from a cleanup patch to remove some warnings. I
   reverted that change again.
   Can you download em28xx-userspace2 again and try to recompile it.
  
   thanks,
   Markus

  Thank you it is now compiling, however when loading the drivers after
  rebooting the pc (also before rebooting) i get the following errors.

  See the attachments,

  Kind regards,

  Jelle


 usb 5-3: new high speed USB device using ehci_hcd and address 5
  usb 5-3: configuration #1 chosen from 1 choice
  em28xx: disagrees about version of symbol video_unregister_device
  em28xx: Unknown symbol video_unregister_device
  em28xx: disagrees about version of symbol video_device_alloc
  em28xx: Unknown symbol video_device_alloc
  em28xx: disagrees about version of symbol video_register_device
  em28xx: Unknown symbol video_register_device
  em28xx: disagrees about version of symbol video_device_release
  em28xx: Unknown symbol video_device_release

can you also reinstall the linux kernel for your debian distribution?
the manual installation of v4l-dvb-experimental from mcentral.de or
v4l-dvb repository from linuxtv.org causes this problem.

You might try

apt-get install --reinstall linux-image-`uname -r`

for restoring your kernel

You probably have the modules from v4l-dvb-experimental or v4l-dvb
installed, but your kernel sources have older versions of those
interfaces, and the userspace drivers only build against the original
kernel interface.

Markus

___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] Going though hell here, please provide how to for Pinnacle PCTV Hybrid Pro Stick 330e

2008-02-28 Thread Markus Rechberger
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

___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] Going though hell here, please provide how to for Pinnacle PCTV Hybrid Pro Stick 330e

2008-02-28 Thread Jelle de Jong
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...

Kind regards,

Jelle


___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] Going though hell here, please provide how to for Pinnacle PCTV Hybrid Pro Stick 330e

2008-02-28 Thread Markus Rechberger
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

___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] Going though hell here, please provide how to for Pinnacle PCTV Hybrid Pro Stick 330e

2008-02-28 Thread Jelle de Jong

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

Kind regards,

Jelle
[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
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’:

Re: [linux-dvb] Going though hell here, please provide how to for Pinnacle PCTV Hybrid Pro Stick 330e

2008-02-28 Thread Jelle de Jong
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...

Kind regards,

Jelle

___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] Going though hell here, please provide how to for Pinnacle PCTV Hybrid Pro Stick 330e

2008-02-28 Thread Markus Rechberger
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

___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] Going though hell here, please provide how to for Pinnacle PCTV Hybrid Pro Stick 330e

2008-02-28 Thread Markus Rechberger
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:
   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


oh wait someone already provided precompiled packages for that device
for the same ubuntu version as you use.

http://mcentral.de/pipermail/em28xx/2008-February/001277.html

Markus

___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] Going though hell here, please provide how to for Pinnacle PCTV Hybrid Pro Stick 330e

2008-02-28 Thread Jelle de Jong
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 !

I also want to now how to build it myself, because i have a few other 
systems that dont use ubuntu. (ubuntu is test system if everything else 
fails)

Kind regards,

Jelle

___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] Going though hell here, please provide how to for Pinnacle PCTV Hybrid Pro Stick 330e

2008-02-28 Thread Markus Rechberger
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.

Markus

___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] Going though hell here, please provide how to for Pinnacle PCTV Hybrid Pro Stick 330e

2008-02-28 Thread Markus Rechberger
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 

Re: [linux-dvb] Going though hell here, please provide how to for Pinnacle PCTV Hybrid Pro Stick 330e

2008-02-28 Thread Jelle de Jong
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:
 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.
 
 Markus

I did a complete clean-up of the system tried again checked the 
directory's, but it stills fails, are you sure there is noting wrong 
with the install scripts?


ls /usr/src/linux-headers-2.6.22-14-generic
arch   crypto drivers  include  ipc 

Re: [linux-dvb] Going though hell here, please provide how to for Pinnacle PCTV Hybrid Pro Stick 330e

2008-02-28 Thread Markus Rechberger
On 2/29/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:
  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.
 
  Markus

 I did a complete clean-up of the system tried again checked the
 

Re: [linux-dvb] Going though hell here, please provide how to for Pinnacle PCTV Hybrid Pro Stick 330e

2008-02-28 Thread Jelle de Jong

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 

Re: [linux-dvb] Going though hell here, please provide how to for Pinnacle PCTV Hybrid Pro Stick 330e

2008-02-28 Thread Nicolas Will
hmmm...

guys.

First thing: on a Debian or Ubuntu system, I never needed the full Linux
sources to compile a v4l-dvb tree. The headers were always enough.

Second thing: when you compile a v4l-dvb tree on the side, I do not
think that it is adding anything in the headers.
So, if you subsequently need to compile a driver that needs stuff from a
recent v4l-dvb tree, it won't find it.

Third thing: That weird driver of yours is probably looking for its
stuff either int the headers (were there will not be anything good to
find because of the point made above) or in an available kernel source
tree (where it will probably not find anything that will make it happy
because your recent v4l-dvb tree is elsewhere).

May I suggest to get a kernel source tree (from the appropriate
package), incorporate the v4l-dvb tree in it, then try to compile your
weird driver against this.

Getting rid of the headers may help.

Nico
has been know to be very wrong


___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] Going though hell here, please provide how to for Pinnacle PCTV Hybrid Pro Stick 330e

2008-02-28 Thread Markus Rechberger
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 

Re: [linux-dvb] Going though hell here, please provide how to for Pinnacle PCTV Hybrid Pro Stick 330e

2008-02-28 Thread Markus Rechberger
On 2/29/08, Nicolas Will [EMAIL PROTECTED] wrote:
 hmmm...

 guys.

 First thing: on a Debian or Ubuntu system, I never needed the full Linux
 sources to compile a v4l-dvb tree. The headers were always enough.

 Second thing: when you compile a v4l-dvb tree on the side, I do not
 think that it is adding anything in the headers.
 So, if you subsequently need to compile a driver that needs stuff from a
 recent v4l-dvb tree, it won't find it.

 Third thing: That weird driver of yours is probably looking for its
 stuff either int the headers (were there will not be anything good to
 find because of the point made above) or in an available kernel source
 tree (where it will probably not find anything that will make it happy
 because your recent v4l-dvb tree is elsewhere).

 May I suggest to get a kernel source tree (from the appropriate
 package), incorporate the v4l-dvb tree in it, then try to compile your
 weird driver against this.

 Getting rid of the headers may help.


When you compile the v4l-dvb or v4l-dvb-experimental tree it will
update your whole v4l and dvb subsystem.
As soon as you do so it won't work to install any other external media
drivers anymore, beside that v4l-dvb is much bigger than the snipped
out em28xx driver.
em28xx-userspace2 and userspace-drivers only contains the drivers for
em28xx based devices and won't affect any other drivers on the system.
Since the uvc driver is also out of tree it won't break
compiling/using the uvc driver against the current running kernel.

The kernel sources are needed because some internal headers are needed
for the em28xx to build an alternative tuning system for hybrid
radio/analogue TV/DTV devices. It should work flawlessly with older
kernel releases where v4l-dvb already fails to compile.

It's also easier to keep backward compatibility while not breaking any
other drivers on the system that way (and this is seriously needed)

Beside all that:
There's a .deb package available I posted the link very early already
compiling from source can always introduce some mess so you better
know what you do otherwise you have to learn how it works...
The build scripts already do alot work there for several different distributions

Markus

___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb