Going though hell here, please provide how to for Pinnacle PCTV Hybrid Pro Stick 330e
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....
All needed info is in the attachment.
Thanks for all the efforts, i have the feeling we were almost there....
Kind regards,
Jelle de Jong
sudo apt-get install dvb-utils
http://www.linuxtv.org/v4lwiki/index.php/Pinnacle/330e
http://www.linuxtv.org/wiki/index.php/DVB_via_USB
http://lunapark6.com/usb-hdtv-tuner-stick-for-windows-linux-hauppauge-wintv-hvr-950.html
http://www.wi-bw.tfh-wildau.de/~pboettch/home/index.php?site=dvb-usb-firmware
http://www.mail-archive.com/[email protected]/msg00750.html
hg clone http://mcentral.de/hg/~mrec/userspace-drivers
cd userspace-drivers
sudo ./build.sh
cd ..
hg clone http://mcentral.de/hg/~mrec/em28xx-userspace2
cd em28xx-userspace2
sudo ./build.sh
Video for Linux, plus?/
both the V4L1 options and "DVB for Linux"?
wget http://www.linuxtv.org/pipermail/linux-dvb/attachments/20070802/3b2e4d6a/attachment-0001.obj
patch --strip=1 --directory=/home/jelle/v4l-dvb-experimental < attachment-0001.obj
sudo apt-get install mercurial
cd $HOME
hg clone http://linuxtv.org/hg/v4l-dvb
cd v4l-dvb
make
sudo make install
sudo depmod -a
sudo modprobe crc32
sudo modprobe crc32c
sudo modprobe firmware_class
sudo apt-get install kaffeine-xine
sudo apt-get install mercurial
cd $HOME
hg clone http://linuxtv.org/hg/v4l-dvb
rm -r $HOME/v4l-dvb/linux/drivers/media/video/em28xx
cp --verbose --recursive $HOME/v4l-dvb-experimental/linux/drivers/media/video/em28xx $HOME/v4l-dvb/linux/drivers/media/video/em28xx cd $HOME/v4l-dvb
make clean
make
sudo make install
sudo modprobe i2c-core
sudo modprobe dvb-core
sudo modprobe dvb-pll
sudo modprobe em28xx
sudo find $HOME/v4l-dvb '*' -type f -exec sudo grep -H -n "0x0226" '{}' \; sudo find $HOME/v4l-dvb '*' -type f -exec sudo grep -H -n "0x2304" '{}' \;
/home/jelle/v4l-dvb/linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h:122:#define USB_PID_WT220U_FC_WARM 0x0226
/home/jelle/v4l-dvb/linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h:42:#define USB_VID_PINNACLE 0x2304
sudo apt-get install mercurial linux-headers-$(uname -r) linux-source build-essential cd ~
wget http://konstantin.filtschew.de/v4l-firmware/firmware_v3.tgz
sudo tar xvz -C /lib/firmware -f firmware_v3.tgz
ls -hal /lib/firmware
rm firmware_v3.tgz
cd ~
hg clone http://linuxtv.org/hg/v4l-dvb
cd v4l-dvb
make
sudo make install
sudo modprobe em2880-dvb
tvtime | arecord -D hw:1,0 -r 32000 -c 2 -f S16_LE | aplay -
hg clone http://mcentral.de/hg/~mrec/v4l-dvb-kernel
cd v4l-dvb-kernel
make module em2880-dvb
cd ~
hg clone http://mcentral.de/hg/~mrec/v4l-dvb-experimental
cd v4l-dvb-experimental
make
hg clone http://mcentral.de/hg/~mrec/v4l-dvb-experimental
cd v4l-dvb-experimental
make
make install
sudo apt-get remove --purge mercurial linux-headers-$(uname -r) linux-source build-essential
Bus 005 Device 015: ID 2304:0226 Pinnacle Systems, Inc. [hex] Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 idVendor 0x2304 Pinnacle Systems, Inc. [hex] idProduct 0x0226 bcdDevice 1.10 iManufacturer 3 Pinnacle Systems iProduct 1 PCTV 330e iSerial 2 070901090280 bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 305
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 4
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 255
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 11
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0000 1x 0 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0000 1x 0 bytes
bInterval 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0000 1x 0 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 1
bNumEndpoints 4
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 255
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 11
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0000 1x 0 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x00c4 1x 196 bytes
bInterval 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0234 1x 564 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 2
bNumEndpoints 4
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 255
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 11
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0ad4 2x 724 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x00c4 1x 196 bytes
bInterval 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0234 1x 564 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 3
bNumEndpoints 4
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 255
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 11
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0c00 2x 0 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x00c4 1x 196 bytes
bInterval 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0234 1x 564 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 4
bNumEndpoints 4
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 255
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 11
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x1300 3x 768 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x00c4 1x 196 bytes
bInterval 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0234 1x 564 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 5
bNumEndpoints 4
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 255
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 11
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x135c 3x 860 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x00c4 1x 196 bytes
bInterval 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0234 1x 564 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 6
bNumEndpoints 4
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 255
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 11
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x13c4 3x 964 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x00c4 1x 196 bytes
bInterval 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0234 1x 564 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 7
bNumEndpoints 4
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 255
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 11
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x1400 3x 0 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x00c4 1x 196 bytes
bInterval 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0234 1x 564 bytes
bInterval 1
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0
bMaxPacketSize0 64
bNumConfigurations 1
Device Status: 0x0000
(Bus Powered)
_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Quoted 6 lines · Jelle de Jong
This message contains the following attachment(s):
Pinnacle PCTV Hybrid Pro Stick 330e.txtSpent my hole day trying to get a dvd-t device up and running, this is device number two I tried.
Quoted 7 lines
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
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Quoted 18 lines · Markus Rechberger
Quoted 6 lines · Jelle de Jong
This message contains the following attachment(s):
Pinnacle PCTV Hybrid Pro Stick 330e.txtSpent my hole day trying to get a dvd-t device up and running, this is device number two I tried.
Quoted 7 lines
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
Quoted 6 lines
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
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Quoted 24 lines · Jelle de Jong
Quoted 23 lines · Markus Rechberger
Quoted 6 lines · Jelle de Jong
This message contains the following attachment(s):
Pinnacle PCTV Hybrid Pro Stick 330e.txtSpent my hole day trying to get a dvd-t device up and running, this is device number two I tried.
Quoted 7 lines
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.htmlthis 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.
Quoted 9 lines
Quoted 1 line
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
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Quoted 29 lines · Markus Rechberger
Quoted 28 lines · Jelle de Jong
Quoted 17 lines · Markus Rechberger
Quoted 6 lines · Jelle de Jong
This message contains the following attachment(s):
Pinnacle PCTV Hybrid Pro Stick 330e.txtSpent my hole day trying to get a dvd-t device up and running, this is device number two I tried.
Quoted 7 lines
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.htmlQuoted 6 lines
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,
Quoted 7 lines
Quoted 3 lines
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
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Quoted 34 lines · Jelle de Jong
Quoted 33 lines · Markus Rechberger
Quoted 31 lines · Jelle de Jong
Quoted 17 lines · Markus Rechberger
Quoted 6 lines · Jelle de Jong
This message contains the following attachment(s):
Pinnacle PCTV Hybrid Pro Stick 330e.txtSpent my hole day trying to get a dvd-t device up and running, this is device number two I tried.
Quoted 7 lines
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.htmlQuoted 6 lines
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...
Quoted 6 lines
Quoted 3 lines
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
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
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
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Quoted 83 lines · Markus Rechberger
Quoted 8 lines · Jelle de Jong
Quoted 7 lines · Markus Rechberger
Quoted 6 lines · Jelle de Jong
Quoted 5 lines · Markus Rechberger
Quoted 4 lines · Jelle de Jong
This message contains the following attachment(s):
Pinnacle PCTV Hybrid Pro Stick 330e.txtSpent my hole day trying to get a dvd-t device up and running, this
is
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
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
Quoted 19 lines
Quoted 19 lines
Quoted 18 lines
Quoted 11 lines
Quoted 2 lines
that does not happen often....
Jelle, it's really easy to install it actually.
http://www.mail-archive.com/em28xx%40mcentral.de/msg00750.htmlthis 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...
Quoted 6 lines
Quoted 3 lines
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
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 directorythere we go, the linux kernel sources aren't installed for your system.
apt-get install linux-source linux-headers-
uname -rI'm not sure if the kernel sources are decompressed in
/usr/srcyou might have a look at it.
/lib/modules/uname -r/build should be a symlink to the root of the extracted kernelsources.
Quoted 8 lines
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 -rcopy 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
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Quoted 80 lines · Markus Rechberger
Quoted 30 lines · Jelle de Jong
Quoted 29 lines · Markus Rechberger
Quoted 28 lines · Jelle de Jong
Quoted 17 lines · Markus Rechberger
Quoted 6 lines · Jelle de Jong
This message contains the following attachment(s):
Pinnacle PCTV Hybrid Pro Stick 330e.txtSpent my hole day trying to get a dvd-t device up and running, this is device number two I tried.
Quoted 7 lines
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.htmlQuoted 6 lines
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,
Quoted 8 lines
Quoted 6 lines
Quoted 3 lines
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
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 directorythere we go, the linux kernel sources aren't installed for your system.
apt-get install linux-source linux-headers-
uname -rI'm not sure if the kernel sources are decompressed in
/usr/srcyou 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.
Quoted 7 lines
You can find the config file for your current kernel in /boot
/boot/config-uname -rcopy 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.
jelle@xubutu-en12000e:~/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 jelle@xubutu-en12000e:~/em28xx-userspace2$ /boot/config-`uname -r` bash: /boot/config-2.6.22-14-generic: Permission denied jelle@xubutu-en12000e:~/em28xx-userspace2$ sudo /boot/config-`uname -r` sudo: /boot/config-2.6.22-14-generic: command not found jelle@xubutu-en12000e:~/em28xx-userspace2$ sudo ls /boot/config-`uname -r` /boot/config-2.6.22-14-generic jelle@xubutu-en12000e:~/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
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Quoted 112 lines · Jelle de Jong
Quoted 9 lines · Markus Rechberger
Quoted 8 lines · Jelle de Jong
Quoted 7 lines · Markus Rechberger
Quoted 6 lines · Jelle de Jong
Quoted 5 lines · Markus Rechberger
Quoted 4 lines · Jelle de Jong
This message contains the following attachment(s):
Pinnacle PCTV Hybrid Pro Stick 330e.txtSpent my hole day trying to get a dvd-t device up and running, this
is
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
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
Quoted 18 lines
Quoted 18 lines
Quoted 18 lines
Quoted 18 lines
Quoted 11 lines
Quoted 2 lines
that does not happen often....
Jelle, it's really easy to install it actually.
http://www.mail-archive.com/em28xx%40mcentral.de/msg00750.htmlthis 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...
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
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
jelle@xubutu-en12000e:~$ hg clonehttp://mcentral.de/hg/~mrec/em28xx-userspace2
Quoted 39 lines
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 unresolvedjelle@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 directorythere we go, the linux kernel sources aren't installed for your system.
apt-get install linux-source linux-headers-
uname -rI'm not sure if the kernel sources are decompressed in
/usr/srcyou 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.
Quoted 7 lines
You can find the config file for your current kernel in /boot
/boot/config-uname -rcopy this file to the kernelroot and rename it to ".config"
Markus
sudo apt-get install linux-source linux-headers-
uname -rReading 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.jelle@xubutu-en12000e:~/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 jelle@xubutu-en12000e:~/em28xx-userspace2$ /boot/config-`uname -r` bash: /boot/config-2.6.22-14-generic: Permission denied jelle@xubutu-en12000e:~/em28xx-userspace2$ sudo /boot/config-`uname -r` sudo: /boot/config-2.6.22-14-generic: command not found jelle@xubutu-en12000e:~/em28xx-userspace2$ sudo ls /boot/config-`uname -r` /boot/config-2.6.22-14-generic jelle@xubutu-en12000e:~/em28xx-userspace2$
Quoted 6 lines
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
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Quoted 131 lines · Markus Rechberger
Quoted 11 lines · Jelle de Jong
Quoted 9 lines · Markus Rechberger
Quoted 8 lines · Jelle de Jong
Quoted 7 lines · Markus Rechberger
Quoted 6 lines · Jelle de Jong
Quoted 5 lines · Markus Rechberger
Quoted 4 lines · Jelle de Jong
This message contains the following attachment(s):
Pinnacle PCTV Hybrid Pro Stick 330e.txtSpent my hole day trying to get a dvd-t device up and running, this
is
Quoted 24 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
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
Quoted 16 lines
Quoted 16 lines
Quoted 16 lines
Quoted 16 lines
Quoted 11 lines
Quoted 2 lines
that does not happen often....
Jelle, it's really easy to install it actually.
http://www.mail-archive.com/em28xx%40mcentral.de/msg00750.htmlthis 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
Quoted 77 lines
Quoted 9 lines
Quoted 7 lines
Quoted 5 lines
Quoted 2 lines
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
jelle@xubutu-en12000e:~$ hg clonehttp://mcentral.de/hg/~mrec/em28xx-userspace2
Quoted 39 lines
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 unresolvedjelle@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 directorythere we go, the linux kernel sources aren't installed for your system.
apt-get install linux-source linux-headers-
uname -rI'm not sure if the kernel sources are decompressed in
/usr/srcyou 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.
Quoted 7 lines
You can find the config file for your current kernel in /boot
/boot/config-uname -rcopy this file to the kernelroot and rename it to ".config"
Markus
sudo apt-get install linux-source linux-headers-
uname -rReading 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.jelle@xubutu-en12000e:~/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 jelle@xubutu-en12000e:~/em28xx-userspace2$ /boot/config-`uname -r` bash: /boot/config-2.6.22-14-generic: Permission denied jelle@xubutu-en12000e:~/em28xx-userspace2$ sudo /boot/config-`uname -r` sudo: /boot/config-2.6.22-14-generic: command not found jelle@xubutu-en12000e:~/em28xx-userspace2$ sudo ls /boot/config-`uname -r` /boot/config-2.6.22-14-generic jelle@xubutu-en12000e:~/em28xx-userspace2$Quoted 6 lines
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
Quoted 6 lines
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
_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Quoted 136 lines · Markus Rechberger
Quoted 128 lines · Markus Rechberger
Quoted 11 lines · Jelle de Jong
Quoted 9 lines · Markus Rechberger
Quoted 8 lines · Jelle de Jong
Quoted 7 lines · Markus Rechberger
Quoted 6 lines · Jelle de Jong
Quoted 5 lines · Markus Rechberger
Quoted 4 lines · Jelle de Jong
This message contains the following attachment(s):
Pinnacle PCTV Hybrid Pro Stick 330e.txtSpent my hole day trying to get a dvd-t device up and running, this
is
Quoted 24 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
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
Quoted 16 lines
Quoted 16 lines
Quoted 16 lines
Quoted 16 lines
Quoted 11 lines
Quoted 2 lines
that does not happen often....
Jelle, it's really easy to install it actually.
http://www.mail-archive.com/em28xx%40mcentral.de/msg00750.htmlthis 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
Quoted 75 lines
Quoted 8 lines
Quoted 7 lines
Quoted 5 lines
Quoted 2 lines
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
jelle@xubutu-en12000e:~$ hg clonehttp://mcentral.de/hg/~mrec/em28xx-userspace2
Quoted 39 lines
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 unresolvedjelle@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 directorythere we go, the linux kernel sources aren't installed for your system.
apt-get install linux-source linux-headers-
uname -rI'm not sure if the kernel sources are decompressed in
/usr/srcyou 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.
Quoted 7 lines
You can find the config file for your current kernel in /boot
/boot/config-uname -rcopy this file to the kernelroot and rename it to ".config"
Markus
sudo apt-get install linux-source linux-headers-
uname -rReading 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.jelle@xubutu-en12000e:~/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 jelle@xubutu-en12000e:~/em28xx-userspace2$ /boot/config-`uname -r` bash: /boot/config-2.6.22-14-generic: Permission denied jelle@xubutu-en12000e:~/em28xx-userspace2$ sudo /boot/config-`uname -r` sudo: /boot/config-2.6.22-14-generic: command not found jelle@xubutu-en12000e:~/em28xx-userspace2$ sudo ls /boot/config-`uname -r` /boot/config-2.6.22-14-generic jelle@xubutu-en12000e:~/em28xx-userspace2$Quoted 6 lines
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.hQuoted 6 lines
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.
Quoted 5 lines
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
sudo apt-get install dvb-utils
http://www.linuxtv.org/v4lwiki/index.php/Pinnacle/330e
http://www.linuxtv.org/wiki/index.php/DVB_via_USB
http://lunapark6.com/usb-hdtv-tuner-stick-for-windows-linux-hauppauge-wintv-hvr-950.html
http://www.wi-bw.tfh-wildau.de/~pboettch/home/index.php?site=dvb-usb-firmware
http://www.mail-archive.com/[email protected]/msg00750.html
sudo apt-get update
sudo apt-get upgrade
sudo apt-get autoremove
sudo apt-get remove linux-headers linux-source linux-headers-$(uname -r)
sudo apt-get remove linux-source
sudo apt-get remove mercurial linux-headers-$(uname -r) linux-source-2.6.22 linux-headers-2.6.22-14 linux-source build-essential sudo apt-get autoremove
sudo apt-get install linux-source-2.6.22 linux-headers-2.6.22-14-generic build-essential mercurial
cd /usr/src
sudo tar --bzip2 -xvf linux-source-2.6.22.tar.bz2 sudo rm /usr/src/linux
sudo ln -s /usr/src/linux-source-2.6.22 /usr/src/linux cd ~
sudo cp --verbose /boot/config-2.6.22-14-generic /usr/src/linux/.config
ls -hal /usr/src/
total 44M
drwxrwsr-x 5 root src 4.0K 2008-02-29 01:05 .
drwxr-xr-x 12 root root 4.0K 2007-10-22 21:29 ..
lrwxrwxrwx 1 root src 28 2008-02-29 01:05 linux -> /usr/src/linux-source-2.6.22
drwxr-xr-x 19 root root 4.0K 2008-02-29 01:03 linux-headers-2.6.22-14 drwxr-xr-x 5 root root 4.0K 2008-02-29 01:03 linux-headers-2.6.22-14-generic drwxr-xr-x 21 root root 4.0K 2008-02-12 11:24 linux-source-2.6.22 -rw-r--r-- 1 root root 44M 2008-02-12 11:25 linux-source-2.6.22.tar.bz2
ls /usr/src/linux/drivers/media/dvb/dvb-core/dvb_net.h /usr/src/linux/drivers/media/dvb/dvb-core/dvb_net.h
cd ~
sudo rm -r userspace-drivers
hg clone http://mcentral.de/hg/~mrec/userspace-drivers
cd userspace-drivers
sudo ./build.sh
cd ~
sudo rm -r em28xx-userspace2
hg clone http://mcentral.de/hg/~mrec/em28xx-userspace2
cd em28xx-userspace2
sudo ./build.sh
-- -- -- -- -- -- --
-- -- -- -- -- -- --
# OLD
wget http://www.linuxtv.org/pipermail/linux-dvb/attachments/20070802/3b2e4d6a/attachment-0001.obj
patch --strip=1 --directory=/home/jelle/v4l-dvb-experimental < attachment-0001.obj
sudo apt-get install mercurial
cd $HOME
hg clone http://linuxtv.org/hg/v4l-dvb
cd v4l-dvb
make
sudo make install
sudo depmod -a
sudo modprobe crc32
sudo modprobe crc32c
sudo modprobe firmware_class
sudo apt-get install kaffeine-xine
sudo apt-get install mercurial
cd $HOME
hg clone http://linuxtv.org/hg/v4l-dvb
rm -r $HOME/v4l-dvb/linux/drivers/media/video/em28xx
cp --verbose --recursive $HOME/v4l-dvb-experimental/linux/drivers/media/video/em28xx $HOME/v4l-dvb/linux/drivers/media/video/em28xx cd $HOME/v4l-dvb
make clean
make
sudo make install
sudo modprobe i2c-core
sudo modprobe dvb-core
sudo modprobe dvb-pll
sudo modprobe em28xx
sudo find $HOME/v4l-dvb '*' -type f -exec sudo grep -H -n "0x0226" '{}' \; sudo find $HOME/v4l-dvb '*' -type f -exec sudo grep -H -n "0x2304" '{}' \;
/home/jelle/v4l-dvb/linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h:122:#define USB_PID_WT220U_FC_WARM 0x0226
/home/jelle/v4l-dvb/linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h:42:#define USB_VID_PINNACLE 0x2304
sudo apt-get install mercurial linux-headers-$(uname -r) linux-source build-essential cd ~
wget http://konstantin.filtschew.de/v4l-firmware/firmware_v3.tgz
sudo tar xvz -C /lib/firmware -f firmware_v3.tgz
ls -hal /lib/firmware
rm firmware_v3.tgz
cd ~
hg clone http://linuxtv.org/hg/v4l-dvb
cd v4l-dvb
make
sudo make install
sudo modprobe em2880-dvb
tvtime | arecord -D hw:1,0 -r 32000 -c 2 -f S16_LE | aplay -
hg clone http://mcentral.de/hg/~mrec/v4l-dvb-kernel
cd v4l-dvb-kernel
make module em2880-dvb
cd ~
hg clone http://mcentral.de/hg/~mrec/v4l-dvb-experimental
cd v4l-dvb-experimental
make
hg clone http://mcentral.de/hg/~mrec/v4l-dvb-experimental
cd v4l-dvb-experimental
make
make install
sudo apt-get remove --purge mercurial linux-headers-$(uname -r) linux-source build-essential
Bus 005 Device 015: ID 2304:0226 Pinnacle Systems, Inc. [hex] Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 idVendor 0x2304 Pinnacle Systems, Inc. [hex] idProduct 0x0226 bcdDevice 1.10 iManufacturer 3 Pinnacle Systems iProduct 1 PCTV 330e iSerial 2 070901090280 bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 305
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 4
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 255
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 11
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0000 1x 0 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0000 1x 0 bytes
bInterval 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0000 1x 0 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 1
bNumEndpoints 4
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 255
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 11
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0000 1x 0 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x00c4 1x 196 bytes
bInterval 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0234 1x 564 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 2
bNumEndpoints 4
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 255
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 11
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0ad4 2x 724 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x00c4 1x 196 bytes
bInterval 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0234 1x 564 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 3
bNumEndpoints 4
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 255
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 11
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0c00 2x 0 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x00c4 1x 196 bytes
bInterval 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0234 1x 564 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 4
bNumEndpoints 4
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 255
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 11
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x1300 3x 768 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x00c4 1x 196 bytes
bInterval 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0234 1x 564 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 5
bNumEndpoints 4
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 255
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 11
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x135c 3x 860 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x00c4 1x 196 bytes
bInterval 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0234 1x 564 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 6
bNumEndpoints 4
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 255
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 11
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x13c4 3x 964 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x00c4 1x 196 bytes
bInterval 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0234 1x 564 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 7
bNumEndpoints 4
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 255
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 11
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x1400 3x 0 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x00c4 1x 196 bytes
bInterval 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0234 1x 564 bytes
bInterval 1
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0
bMaxPacketSize0 64
bNumConfigurations 1
Device Status: 0x0000
(Bus Powered)
sudo ./build.sh
if [ -f ../userspace-drivers/kernel/Module.symvers ]; then \
grep v4l_dvb_stub_attach ../userspace-drivers/kernel/Module.symvers > Module.symvers; \
fimake -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:46:24: error: media-stub.h: No such file or directory
In file included from /home/jelle/em28xx-userspace2/em2880-dvb.c:33:/home/jelle/em28xx-userspace2/em28xx.h:550: error: field ‘tobj’ has incomplete type /home/jelle/em28xx-userspace2/em28xx.h:551: error: field ‘vobj’ has incomplete type /home/jelle/em28xx-userspace2/em2880-dvb.c: In function ‘drx3975d_callback’:/home/jelle/em28xx-userspace2/em2880-dvb.c:522: error: ‘DEMOD_INIT’ undeclared (first use in this function) /home/jelle/em28xx-userspace2/em2880-dvb.c:522: error: (Each undeclared identifier is reported only once /home/jelle/em28xx-userspace2/em2880-dvb.c:522: error: for each function it appears in.) /home/jelle/em28xx-userspace2/em2880-dvb.c:524: error: ‘TUNER_STUB_DVBT_TV’ undeclared (first use in this function) /home/jelle/em28xx-userspace2/em2880-dvb.c:525: warning: implicit declaration of function ‘tuner_run_cmd’ /home/jelle/em28xx-userspace2/em2880-dvb.c:525: error: ‘TUNER_CMD_INIT’ undeclared (first use in this function) /home/jelle/em28xx-userspace2/em2880-dvb.c:527: error: ‘TUNER_CMD_S_GATE’ undeclared (first use in this function) /home/jelle/em28xx-userspace2/em2880-dvb.c: In function ‘zl10353_callback’:/home/jelle/em28xx-userspace2/em2880-dvb.c:540: error: ‘DEMOD_INIT’ undeclared (first use in this function) /home/jelle/em28xx-userspace2/em2880-dvb.c:542: error: ‘TUNER_STUB_DVBT_TV’ undeclared (first use in this function) /home/jelle/em28xx-userspace2/em2880-dvb.c:544: error: ‘TUNER_CMD_INIT’ undeclared (first use in this function) /home/jelle/em28xx-userspace2/em2880-dvb.c: In function ‘em28xx_ts_bus_ctrl’:/home/jelle/em28xx-userspace2/em2880-dvb.c:556: error: dereferencing pointer to incomplete type /home/jelle/em28xx-userspace2/em2880-dvb.c:563: error: ‘TUNER_STUB_DVBT_TV’ undeclared (first use in this function) /home/jelle/em28xx-userspace2/em2880-dvb.c:567: error: ‘TUNER_CMD_INIT’ undeclared (first use in this function) /home/jelle/em28xx-userspace2/em2880-dvb.c: In function ‘em2880_dvb_init’:/home/jelle/em28xx-userspace2/em2880-dvb.c:596: error: storage size of ‘demod_conf’ isn’t known /home/jelle/em28xx-userspace2/em2880-dvb.c:601: error: ‘TUNER_STUB_DVBT_TV’ undeclared (first use in this function) /home/jelle/em28xx-userspace2/em2880-dvb.c:607: error: ‘U_DEMOD_DRX3975D’ undeclared (first use in this function) /home/jelle/em28xx-userspace2/em2880-dvb.c:611: error: ‘STUB_DEMOD’ undeclared (first use in this function) /home/jelle/em28xx-userspace2/em2880-dvb.c:613: error: ‘v4l_dvb_stub_attach’ undeclared (first use in this function) /home/jelle/em28xx-userspace2/em2880-dvb.c:613: warning: type defaults to ‘int’ in declaration of ‘__a’ /home/jelle/em28xx-userspace2/em2880-dvb.c:613: warning: type defaults to ‘int’ in declaration of ‘type name’ /home/jelle/em28xx-userspace2/em2880-dvb.c:613: warning: type defaults to ‘int’ in declaration of ‘type name’ /home/jelle/em28xx-userspace2/em2880-dvb.c:613: error: called object ‘__a’ is not a function /home/jelle/em28xx-userspace2/em2880-dvb.c:616: error: storage size of ‘config’ isn’t known /home/jelle/em28xx-userspace2/em2880-dvb.c:618: warning: implicit declaration of function ‘TUNER_CLIENT_ID’ /home/jelle/em28xx-userspace2/em2880-dvb.c:622: error: ‘STUB_TUNER’ undeclared (first use in this function) /home/jelle/em28xx-userspace2/em2880-dvb.c:627: warning: type defaults to ‘int’ in declaration of ‘__a’ /home/jelle/em28xx-userspace2/em2880-dvb.c:627: warning: type defaults to ‘int’ in declaration of ‘type name’ /home/jelle/em28xx-userspace2/em2880-dvb.c:627: warning: type defaults to ‘int’ in declaration of ‘type name’ /home/jelle/em28xx-userspace2/em2880-dvb.c:627: error: called object ‘__a’ is not a function /home/jelle/em28xx-userspace2/em2880-dvb.c:629: error: ‘TUNER_CMD_INIT’ undeclared (first use in this function) /home/jelle/em28xx-userspace2/em2880-dvb.c:616: warning: unused variable ‘config’ /home/jelle/em28xx-userspace2/em2880-dvb.c:596: warning: unused variable ‘demod_conf’ /home/jelle/em28xx-userspace2/em2880-dvb.c:682: error: ‘TUNER_STUB_ATSC_TV’ undeclared (first use in this function) /home/jelle/em28xx-userspace2/em2880-dvb.c:692: error: storage size of ‘config’ isn’t known /home/jelle/em28xx-userspace2/em2880-dvb.c:703: warning: type defaults to ‘int’ in declaration of ‘__a’ /home/jelle/em28xx-userspace2/em2880-dvb.c:703: warning: type defaults to ‘int’ in declaration of ‘type name’ /home/jelle/em28xx-userspace2/em2880-dvb.c:703: warning: type defaults to ‘int’ in declaration of ‘type name’ /home/jelle/em28xx-userspace2/em2880-dvb.c:703: error: called object ‘__a’ is not a function /home/jelle/em28xx-userspace2/em2880-dvb.c:692: warning: unused variable ‘config’ /home/jelle/em28xx-userspace2/em2880-dvb.c:711: error: storage size of ‘demod_conf’ isn’t known /home/jelle/em28xx-userspace2/em2880-dvb.c:720: error: invalid application of ‘sizeof’ to incomplete type ‘struct media_config’ /home/jelle/em28xx-userspace2/em2880-dvb.c:720: error: invalid application of ‘sizeof’ to incomplete type ‘struct media_config’ /home/jelle/em28xx-userspace2/em2880-dvb.c:720: error: invalid application of ‘sizeof’ to incomplete type ‘struct media_config’ /home/jelle/em28xx-userspace2/em2880-dvb.c:720: error: invalid application of ‘sizeof’ to incomplete type ‘struct media_config’ /home/jelle/em28xx-userspace2/em2880-dvb.c:720: error: invalid application of ‘sizeof’ to incomplete type ‘struct media_config’ /home/jelle/em28xx-userspace2/em2880-dvb.c:720: error: invalid application of ‘sizeof’ to incomplete type ‘struct media_config’ /home/jelle/em28xx-userspace2/em2880-dvb.c:721: error: ‘U_DEMOD_ZL10353’ undeclared (first use in this function) /home/jelle/em28xx-userspace2/em2880-dvb.c:728: warning: type defaults to ‘int’ in declaration of ‘__a’ /home/jelle/em28xx-userspace2/em2880-dvb.c:728: warning: type defaults to ‘int’ in declaration of ‘type name’ /home/jelle/em28xx-userspace2/em2880-dvb.c:728: warning: type defaults to ‘int’ in declaration of ‘type name’ /home/jelle/em28xx-userspace2/em2880-dvb.c:728: error: called object ‘__a’ is not a function /home/jelle/em28xx-userspace2/em2880-dvb.c:731: error: storage size of ‘config’ isn’t known /home/jelle/em28xx-userspace2/em2880-dvb.c:747: warning: type defaults to ‘int’ in declaration of ‘__a’ /home/jelle/em28xx-userspace2/em2880-dvb.c:747: warning: type defaults to ‘int’ in declaration of ‘type name’ /home/jelle/em28xx-userspace2/em2880-dvb.c:747: warning: type defaults to ‘int’ in declaration of ‘type name’ /home/jelle/em28xx-userspace2/em2880-dvb.c:747: error: called object ‘__a’ is not a function /home/jelle/em28xx-userspace2/em2880-dvb.c:731: warning: unused variable ‘config’ /home/jelle/em28xx-userspace2/em2880-dvb.c:711: warning: unused variable ‘demod_conf’ /home/jelle/em28xx-userspace2/em2880-dvb.c:760: error: storage size of ‘demod_conf’ isn’t known /home/jelle/em28xx-userspace2/em2880-dvb.c:769: error: invalid application of ‘sizeof’ to incomplete type ‘struct media_config’ /home/jelle/em28xx-userspace2/em2880-dvb.c:769: error: invalid application of ‘sizeof’ to incomplete type ‘struct media_config’ /home/jelle/em28xx-userspace2/em2880-dvb.c:769: error: invalid application of ‘sizeof’ to incomplete type ‘struct media_config’ /home/jelle/em28xx-userspace2/em2880-dvb.c:769: error: invalid application of ‘sizeof’ to incomplete type ‘struct media_config’ /home/jelle/em28xx-userspace2/em2880-dvb.c:769: error: invalid application of ‘sizeof’ to incomplete type ‘struct media_config’ /home/jelle/em28xx-userspace2/em2880-dvb.c:769: error: invalid application of ‘sizeof’ to incomplete type ‘struct media_config’ /home/jelle/em28xx-userspace2/em2880-dvb.c:781: warning: type defaults to ‘int’ in declaration of ‘__a’ /home/jelle/em28xx-userspace2/em2880-dvb.c:781: warning: type defaults to ‘int’ in declaration of ‘type name’ /home/jelle/em28xx-userspace2/em2880-dvb.c:781: warning: type defaults to ‘int’ in declaration of ‘type name’ /home/jelle/em28xx-userspace2/em2880-dvb.c:781: error: called object ‘__a’ is not a function /home/jelle/em28xx-userspace2/em2880-dvb.c:784: error: storage size of ‘config’ isn’t known /home/jelle/em28xx-userspace2/em2880-dvb.c:799: warning: type defaults to ‘int’ in declaration of ‘__a’ /home/jelle/em28xx-userspace2/em2880-dvb.c:799: warning: type defaults to ‘int’ in declaration of ‘type name’ /home/jelle/em28xx-userspace2/em2880-dvb.c:799: warning: type defaults to ‘int’ in declaration of ‘type name’ /home/jelle/em28xx-userspace2/em2880-dvb.c:799: error: called object ‘__a’ is not a function /home/jelle/em28xx-userspace2/em2880-dvb.c:784: warning: unused variable ‘config’ /home/jelle/em28xx-userspace2/em2880-dvb.c:760: warning: unused variable ‘demod_conf’ /home/jelle/em28xx-userspace2/em2880-dvb.c:829: error: storage size of ‘config’ isn’t known /home/jelle/em28xx-userspace2/em2880-dvb.c:839: warning: type defaults to ‘int’ in declaration of ‘__a’ /home/jelle/em28xx-userspace2/em2880-dvb.c:839: warning: type defaults to ‘int’ in declaration of ‘type name’ /home/jelle/em28xx-userspace2/em2880-dvb.c:839: warning: type defaults to ‘int’ in declaration of ‘type name’ /home/jelle/em28xx-userspace2/em2880-dvb.c:839: error: called object ‘__a’ is not a function /home/jelle/em28xx-userspace2/em2880-dvb.c:829: warning: unused variable ‘config’ /home/jelle/em28xx-userspace2/em2880-dvb.c:859: error: storage size of ‘config’ isn’t known /home/jelle/em28xx-userspace2/em2880-dvb.c:868: warning: type defaults to ‘int’ in declaration of ‘__a’ /home/jelle/em28xx-userspace2/em2880-dvb.c:868: warning: type defaults to ‘int’ in declaration of ‘type name’ /home/jelle/em28xx-userspace2/em2880-dvb.c:868: warning: type defaults to ‘int’ in declaration of ‘type name’ /home/jelle/em28xx-userspace2/em2880-dvb.c:868: error: called object ‘__a’ is not a function /home/jelle/em28xx-userspace2/em2880-dvb.c:859: warning: unused variable ‘config’
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_installmake[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
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
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
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Quoted 18 lines · 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).
Quoted 6 lines
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
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Quoted 44 lines · Markus Rechberger
Quoted 18 lines · 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).
Quoted 6 lines
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)
Quoted 8 lines
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 distributionsMarkus
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
jelle@debian-eeepc:~$ 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 src 28 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 jelle@debian-eeepc:~$ 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 jelle@debian-eeepc:~$ 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 jelle@debian-eeepc:~$ 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 jelle@debian-eeepc:~$ 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 jelle@debian-eeepc:~$ 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 jelle@debian-eeepc:~$ 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 jelle@debian-eeepc:~$ 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 jelle@debian-eeepc:~$ 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 jelle@debian-eeepc:~$ 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 jelle@debian-eeepc:~$ jelle@debian-eeepc:~$ jelle@debian-eeepc:~$ cd ~ jelle@debian-eeepc:~$ sudo rm -r userspace-drivers rm: cannot remove `userspace-drivers': No such file or directory jelle@debian-eeepc:~$ hg clone http://mcentral.de/hg/~mrec/userspace-drivers destination directory: userspace-drivers requesting all changes adding changesets adding manifests adding file changes added 85 changesets with 392 changes to 146 files 76 files updated, 0 files merged, 0 files removed, 0 files unresolved jelle@debian-eeepc:~$ cd userspace-drivers jelle@debian-eeepc:~/userspace-drivers$ sudo ./build.sh found kernel version (2.6.24-1-686) make -C /lib/modules/2.6.24-1-686/build M=/home/jelle/userspace-drivers/kernel modules -Wall make[1]: Entering directory `/usr/src/linux-headers-2.6.24-1-686' CC [M] /home/jelle/userspace-drivers/kernel/media-stub.o Building modules, stage 2. MODPOST 1 modules CC /home/jelle/userspace-drivers/kernel/media-stub.mod.o LD [M] /home/jelle/userspace-drivers/kernel/media-stub.ko make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-1-686' make INSTALL_MOD_PATH= INSTALL_MOD_DIR=kernel/drivers/media/userspace \ -C /lib/modules/2.6.24-1-686/build M=/home/jelle/userspace-drivers/kernel modules_install make[1]: Entering directory `/usr/src/linux-headers-2.6.24-1-686' INSTALL /home/jelle/userspace-drivers/kernel/media-stub.ko DEPMOD 2.6.24-1-686 make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-1-686' depmod -a gcc -c media-core.c "-I/lib/modules/`uname -r`/source/include" gcc media-core.o tuner-qt1010.c -o tuner-qt1010 "-I/lib/modules/`uname -r`/source/include" -g gcc media-core.o tuner-mt2060.c -o tuner-mt2060 "-I/lib/modules/`uname -r`/source/include" -g gcc -shared media-core.c -o libmedia-core.so "-I/lib/modules/`uname -r`/source/include" -fPIC -g gcc -shared -L. -lmedia-core tuner-xc3028.c -o libtuner-xc3028.so "-I/lib/modules/`uname -r`/source/include" -fPIC -g gcc -shared -L. -lmedia-core demod-zl10353.c -o libdemod-zl10353.so "-I/lib/modules/`uname -r`/source/include" -fPIC -g gcc -L. -lmedia-core demod-zl10353.c -o demod-zl10353 "-I/lib/modules/`uname -r`/source/include" -fPIC -g gcc -L. -lmedia-core vdecoder-tvp5150.c -o vdecoder-tvp5150 "-I/lib/modules/`uname -r`/source/include" -fPIC -g gcc -shared -L. -lmedia-core vdecoder-tvp5150.c -o libvdec-tvp5150.so "-I/lib/modules/`uname -r`/source/include" -fPIC -g gcc -shared -L. -lmedia-core vdecoder-cx25840.c -o libvdec-cx25840.so "-I/lib/modules/`uname -r`/source/include" -fPIC -g make[1]: Entering directory `/home/jelle/userspace-drivers/userspace/xc5000' g++ XC5000_example_app.cpp i2c_driver.c xc5000_control.c -o test "-I/lib/modules/`uname -r`/source/include" -lmedia-core -L.. gcc -shared tuner-xc5000.c i2c_driver.c xc5000_control.c -o libtuner-xc5000.so -g -fPIC -lm "-I/lib/modules/`uname -r`/source/include" gcc tuner-xc5000.c i2c_driver.c xc5000_control.c -o tuner-xc5000 -g -L.. -lmedia-core -lm "-I/lib/modules/`uname -r`/source/include" make[1]: Leaving directory `/home/jelle/userspace-drivers/userspace/xc5000' make[1]: Entering directory `/home/jelle/userspace-drivers/userspace/drx3975d' gcc drx3973d.c drx_dap_wasi.c bsp_host.c bsp_i2c.c drx_driver.c main.c -lmedia-core -L.. -DDRXD_TYPE_B -o test -lm -g "-I/lib/modules/`uname -r`/source/include" gcc drx3973d.c drx_dap_wasi.c bsp_host.c bsp_i2c.c drx_driver.c demod-drx3975d.c -shared -DDRXD_TYPE_B -DDRXD_TYPE_A -fPIC -o libdemod-drx3975d.so -lm -L.. -lmedia-core -g "-I/lib/modules/`uname -r`/source/include" make[1]: Leaving directory `/home/jelle/userspace-drivers/userspace/drx3975d' make[1]: Entering directory `/home/jelle/userspace-drivers/userspace/xc3028' gcc xc3028_example_app.c -lm -o test gcc tuner-xc3028.c -o tuner-xc3028 -g -L.. -lmedia-core -lm gcc -shared tuner-xc3028.c -o libtuner-xc3028.so -g -fPIC -lm make[1]: Leaving directory `/home/jelle/userspace-drivers/userspace/xc3028' gcc media-daemon.c -L. -lmedia-core -ldl -o media-daemon "-I/lib/modules/`uname -r`/source/include" -g mkdir -p //usr/sbin mkdir -p //usr/lib mkdir -p //usr/lib/v4l-dvb mkdir -p //usr/lib/v4l-dvb/firmware #will disappear later because the firmware will be included within the xc3028 driver install media-daemon //usr/sbin cp libmedia-core.so //usr/lib cp libtuner-xc3028.so //usr/lib/v4l-dvb cp libdemod-zl10353.so //usr/lib/v4l-dvb cp libvdec-tvp5150.so //usr/lib/v4l-dvb cp libvdec-cx25840.so //usr/lib/v4l-dvb cp xc5000/libtuner-xc5000.so //usr/lib/v4l-dvb cp xc3028/libtuner-xc3028.so //usr/lib/v4l-dvb cp drx3975d/libdemod-drx3975d.so //usr/lib/v4l-dvb Ubuntu found jelle@debian-eeepc:~/userspace-drivers$ cd ~ jelle@debian-eeepc:~$ cd ~ jelle@debian-eeepc:~$ sudo rm -r em28xx-userspace2 rm: cannot remove `em28xx-userspace2': No such file or directory jelle@debian-eeepc:~$ hg clone http://mcentral.de/hg/~mrec/em28xx-userspace2 destination directory: em28xx-userspace2 requesting all changes adding changesets adding manifests adding file changes added 22 changesets with 67 changes to 20 files 18 files updated, 0 files merged, 0 files removed, 0 files unresolved jelle@debian-eeepc:~$ cd em28xx-userspace2 jelle@debian-eeepc:~/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.24-1-686/build SUBDIRS=/home/jelle/em28xx-userspace2 modules make[1]: Entering directory `/usr/src/linux-headers-2.6.24-1-686' 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) 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.24-1-686' make: *** [default] Error 2 rm -rf /lib/modules/2.6.24-1-686/kernel/drivers/media/video/em28xx/em28xx.ko ; \ make INSTALL_MOD_PATH= INSTALL_MOD_DIR=kernel/drivers/media/video/em28xx \ -C /lib/modules/2.6.24-1-686/build M=/home/jelle/em28xx-userspace2 modules_install make[1]: Entering directory `/usr/src/linux-headers-2.6.24-1-686' DEPMOD 2.6.24-1-686 make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-1-686' depmod -a jelle@debian-eeepc:~/em28xx-userspace2$ cd ~ jelle@debian-eeepc:~$
#!/bin/sh
# step 1: update your system sudo apt-get clean sudo apt-get update sudo apt-get upgrade sudo apt-get autoremove
# step 2: clean your system sudo apt-get remove linux-headers linux-source linux-headers-$(uname -r) sudo apt-get autoremove
# step 3: install the nessesary tools sudo apt-get install linux-source linux-headers-$(uname -r) build-essential mercurial
# step 4: extract the kernel source cd /usr/src sudo tar --bzip2 -xvf linux-source-2.6.*.tar.bz2 cd ~
# step 5: remove old symlinks sudo rm /usr/src/linux sudo rm /lib/modules/$(uname -r)/source
# step 6: create new sysmlinks, change the kernel to its current version sudo ln -s /usr/src/linux-source-2.6.24 /usr/src/linux sudo ln -s /usr/src/linux-source-2.6.24 /lib/modules/$(uname -r)/source
# step 7: copy your orignal config to the kernel source root tree sudo cp --verbose /boot/config-$(uname -r) /usr/src/linux/.config
# step 8: check if the symlink and kernel source is there 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 src 28 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
# step 9: make sure all these files and locations excist ls -hal /lib/modules/$(uname -r)/source ls -hal /lib/modules/$(uname -r)/source/drivers/media/dvb/dvb-core/dmxdev.h ls -hal /lib/modules/$(uname -r)/source/drivers/media/dvb/dvb-core/dvb_frontend.h ls -hal /lib/modules/$(uname -r)/source/drivers/media/dvb/dvb-core/dvb_demux.h ls -hal /lib/modules/$(uname -r)/source/drivers/media/dvb/dvb-core/dvb_net.h ls -hal /usr/src/linux/drivers/media/dvb/dvb-core/dmxdev.h ls -hal /usr/src/linux/drivers/media/dvb/dvb-core/dvb_frontend.h ls -hal /usr/src/linux/drivers/media/dvb/dvb-core/dvb_demux.h ls -hal /usr/src/linux/drivers/media/dvb/dvb-core/dvb_net.h
# step 10: download and build the first driver nessecary to build the second one cd ~ sudo rm -r userspace-drivers hg clone http://mcentral.de/hg/~mrec/userspace-drivers cd userspace-drivers sudo ./build.sh cd ~
# step 10: download and build the second driver after you build the first one cd ~ sudo rm -r em28xx-userspace2 hg clone http://mcentral.de/hg/~mrec/em28xx-userspace2 cd em28xx-userspace2 sudo ./build.sh cd ~
# step 11: load the main userspace kernel module that should load all others to sudo modprobe em28xx-dvb
# step 12: plugin the device
-- -- -- -- -- -- --
-- -- -- -- -- -- --
Bus 005 Device 015: ID 2304:0226 Pinnacle Systems, Inc. [hex] Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 idVendor 0x2304 Pinnacle Systems, Inc. [hex] idProduct 0x0226 bcdDevice 1.10 iManufacturer 3 Pinnacle Systems iProduct 1 PCTV 330e iSerial 2 070901090280 bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 305
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 4
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 255
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 11
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0000 1x 0 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0000 1x 0 bytes
bInterval 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0000 1x 0 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 1
bNumEndpoints 4
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 255
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 11
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0000 1x 0 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x00c4 1x 196 bytes
bInterval 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0234 1x 564 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 2
bNumEndpoints 4
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 255
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 11
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0ad4 2x 724 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x00c4 1x 196 bytes
bInterval 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0234 1x 564 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 3
bNumEndpoints 4
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 255
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 11
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0c00 2x 0 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x00c4 1x 196 bytes
bInterval 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0234 1x 564 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 4
bNumEndpoints 4
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 255
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 11
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x1300 3x 768 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x00c4 1x 196 bytes
bInterval 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0234 1x 564 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 5
bNumEndpoints 4
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 255
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 11
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x135c 3x 860 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x00c4 1x 196 bytes
bInterval 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0234 1x 564 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 6
bNumEndpoints 4
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 255
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 11
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x13c4 3x 964 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x00c4 1x 196 bytes
bInterval 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0234 1x 564 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 7
bNumEndpoints 4
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 255
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 11
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x1400 3x 0 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x00c4 1x 196 bytes
bInterval 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0234 1x 564 bytes
bInterval 1
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0
bMaxPacketSize0 64
bNumConfigurations 1
Device Status: 0x0000
(Bus Powered)
_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Quoted 6 lines
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
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Quoted 12 lines · Markus Rechberger
Quoted 5 lines
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)
Quoted 6 lines
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
jelle@debian-eeepc:~$ 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 enabled(default, if appropriate)) (int)
#!/bin/bash
# Pinnacle PCTV Hybrid Pro Stick 330e - Installation Guide - v0.1.1j.txt
#
# Copyright 2008 Jelle de Jong <[email protected]>
#
# This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, # MA 02110-1301, USA.
# step 1: update your system sudo apt-get clean sudo apt-get update sudo apt-get upgrade sudo apt-get autoremove
# step 2: clean your system sudo apt-get remove linux-headers linux-source linux-headers-$(uname -r) sudo apt-get autoremove
# step 3: install the nessesary tools sudo apt-get install linux-source linux-headers-$(uname -r) build-essential mercurial
# step 4: extract the kernel source cd /usr/src sudo tar --bzip2 -xvf linux-source-2.6.*.tar.bz2 cd ~
# step 5: remove old symlinks sudo rm /usr/src/linux sudo rm /lib/modules/$(uname -r)/source
# step 6: create new sysmlinks, change the kernel to its current version sudo ln -s /usr/src/linux-source-2.6.24 /usr/src/linux sudo ln -s /usr/src/linux-source-2.6.24 /lib/modules/$(uname -r)/source
# step 7: copy your orignal config to the kernel source root tree sudo cp --verbose /boot/config-$(uname -r) /usr/src/linux/.config
# step 8: check if the symlink and kernel source is there 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 src 28 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
# step 9: make sure all these files and locations excist ls -hal /lib/modules/$(uname -r)/source ls -hal /lib/modules/$(uname -r)/source/drivers/media/dvb/dvb-core/dmxdev.h ls -hal /lib/modules/$(uname -r)/source/drivers/media/dvb/dvb-core/dvb_frontend.h ls -hal /lib/modules/$(uname -r)/source/drivers/media/dvb/dvb-core/dvb_demux.h ls -hal /lib/modules/$(uname -r)/source/drivers/media/dvb/dvb-core/dvb_net.h ls -hal /usr/src/linux/drivers/media/dvb/dvb-core/dmxdev.h ls -hal /usr/src/linux/drivers/media/dvb/dvb-core/dvb_frontend.h ls -hal /usr/src/linux/drivers/media/dvb/dvb-core/dvb_demux.h ls -hal /usr/src/linux/drivers/media/dvb/dvb-core/dvb_net.h
# step 10: download and build the first driver nessecary to build the second one cd ~ sudo rm -r userspace-drivers hg clone http://mcentral.de/hg/~mrec/userspace-drivers cd userspace-drivers sudo ./build.sh cd ~
# step 11: download and build the second driver after you build the first one cd ~ sudo rm -r em28xx-userspace2 hg clone http://mcentral.de/hg/~mrec/em28xx-userspace2 cd em28xx-userspace2 sudo ./build.sh cd ~
# step 12: reboot your computer to be on the save side sudo shutdown -r now
# step 12: load the main userspace kernel module that should load all others to sudo modprobe em28xx-dvb
# step 13: plugin the device and check the dmesg output dmesg
# step 14: install completed exiting, please look at the uing guide for more info exit
-- -- -- -- -- -- --
-- -- -- -- -- -- --
Bus 005 Device 015: ID 2304:0226 Pinnacle Systems, Inc. [hex] Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 idVendor 0x2304 Pinnacle Systems, Inc. [hex] idProduct 0x0226 bcdDevice 1.10 iManufacturer 3 Pinnacle Systems iProduct 1 PCTV 330e iSerial 2 070901090280 bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 305
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 4
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 255
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 11
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0000 1x 0 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0000 1x 0 bytes
bInterval 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0000 1x 0 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 1
bNumEndpoints 4
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 255
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 11
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0000 1x 0 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x00c4 1x 196 bytes
bInterval 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0234 1x 564 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 2
bNumEndpoints 4
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 255
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 11
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0ad4 2x 724 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x00c4 1x 196 bytes
bInterval 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0234 1x 564 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 3
bNumEndpoints 4
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 255
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 11
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0c00 2x 0 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x00c4 1x 196 bytes
bInterval 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0234 1x 564 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 4
bNumEndpoints 4
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 255
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 11
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x1300 3x 768 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x00c4 1x 196 bytes
bInterval 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0234 1x 564 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 5
bNumEndpoints 4
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 255
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 11
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x135c 3x 860 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x00c4 1x 196 bytes
bInterval 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0234 1x 564 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 6
bNumEndpoints 4
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 255
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 11
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x13c4 3x 964 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x00c4 1x 196 bytes
bInterval 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0234 1x 564 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 7
bNumEndpoints 4
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 255
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 11
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x1400 3x 0 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x00c4 1x 196 bytes
bInterval 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0234 1x 564 bytes
bInterval 1
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0
bMaxPacketSize0 64
bNumConfigurations 1
Device Status: 0x0000
(Bus Powered)
_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Quoted 31 lines · Jelle de Jong
Quoted 12 lines · Markus Rechberger
Quoted 5 lines
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)Quoted 6 lines
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,
MarkusThank 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
Quoted 10 lines
usb 5-3: new high speed USB device using
ehci_hcdand address 5
usb 5-3: configuration #1 chosen from 1 choice
em28xx: disagrees about version of symbolvideo_unregister_device
em28xx: Unknown symbolvideo_unregister_device
em28xx: disagrees about version of symbolvideo_device_alloc
em28xx: Unknown symbolvideo_device_alloc
em28xx: disagrees about version of symbolvideo_register_device
em28xx: Unknown symbolvideo_register_device
em28xx: disagrees about version of symbolvideo_device_release
em28xx: Unknown symbolvideo_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
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Quoted 149 lines · Jelle de Jong
Quoted 4 lines · Markus Rechberger
Quoted 3 lines · Markus Rechberger
Quoted 2 lines · Jelle de Jong
Quoted 1 line · Markus Rechberger
On 2/28/08, Jelle de Jong <[email protected]> wrote:
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 7 lines · Markus Rechberger
Quoted 6 lines · Jelle de Jong
Quoted 5 lines · Markus Rechberger
Quoted 4 lines · Jelle de Jong
This message contains the following attachment(s):
Pinnacle PCTV Hybrid Pro Stick 330e.txtSpent my hole day trying to get a dvd-t device up and running,
this
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
is
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
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
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 2 lines
that does not happen often....
Jelle, it's really easy to install it actually.
http://www.mail-archive.com/em28xx%40mcentral.de/msg00750.htmlthis is the correct "howto" for it.
You need the linux kernel sources for your kernel, if you
experience
Quoted 73 lines
Quoted 73 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 3 lines
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
Quoted 64 lines
Quoted 8 lines
Quoted 7 lines
Quoted 5 lines
Quoted 2 lines
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
jelle@xubutu-en12000e:~$ hg clonehttp://mcentral.de/hg/~mrec/em28xx-userspace2
Quoted 39 lines
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 unresolvedjelle@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 directorythere we go, the linux kernel sources aren't installed for your system.
apt-get install linux-source linux-headers-
uname -rI'm not sure if the kernel sources are decompressed in
/usr/srcyou 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.
Quoted 7 lines
You can find the config file for your current kernel in /boot
/boot/config-uname -rcopy this file to the kernelroot and rename it to ".config"
Markus
sudo apt-get install linux-source linux-headers-
uname -rReading 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.jelle@xubutu-en12000e:~/em28xx-userspace2$ ls -hal /lib/modules/`uname -r`/buildQuoted 8 lines
Quoted 8 lines
Quoted 8 lines
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-genericjelle@xubutu-en12000e:~/em28xx-userspace2$ /boot/config-`uname -r` bash: /boot/config-2.6.22-14-generic: Permission denied jelle@xubutu-en12000e:~/em28xx-userspace2$ sudo /boot/config-`uname -r` sudo: /boot/config-2.6.22-14-generic: command not found jelle@xubutu-en12000e:~/em28xx-userspace2$ sudo ls /boot/config-`uname-r`
Quoted 26 lines
Quoted 19 lines
Quoted 9 lines
/boot/config-2.6.22-14-generic
jelle@xubutu-en12000e:~/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.hQuoted 6 lines
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.
Quoted 5 lines
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?
Quoted 9 lines
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
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Quoted 128 lines · Markus Rechberger
Quoted 110 lines · Jelle de Jong
Quoted 9 lines · Markus Rechberger
Quoted 8 lines · Jelle de Jong
Quoted 7 lines · Markus Rechberger
Quoted 6 lines · Jelle de Jong
Quoted 5 lines · Markus Rechberger
Quoted 4 lines · Jelle de Jong
This message contains the following attachment(s):
Pinnacle PCTV Hybrid Pro Stick 330e.txtSpent my hole day trying to get a dvd-t device up and running, this
is
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
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
Quoted 18 lines
Quoted 18 lines
Quoted 18 lines
Quoted 18 lines
Quoted 11 lines
Quoted 2 lines
that does not happen often....
Jelle, it's really easy to install it actually.
http://www.mail-archive.com/em28xx%40mcentral.de/msg00750.htmlthis 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...
Quoted 6 lines
Quoted 5 lines
Quoted 3 lines
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
jelle@xubutu-en12000e:~$ hg clonehttp://mcentral.de/hg/~mrec/em28xx-userspace2
Quoted 39 lines
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 unresolvedjelle@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 directorythere we go, the linux kernel sources aren't installed for your system.
apt-get install linux-source linux-headers-
uname -rI'm not sure if the kernel sources are decompressed in
/usr/srcyou 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.
Quoted 7 lines
You can find the config file for your current kernel in /boot
/boot/config-uname -rcopy this file to the kernelroot and rename it to ".config"
Markus
sudo apt-get install linux-source linux-headers-
uname -rReading 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.jelle@xubutu-en12000e:~/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 jelle@xubutu-en12000e:~/em28xx-userspace2$ /boot/config-`uname -r` bash: /boot/config-2.6.22-14-generic: Permission denied jelle@xubutu-en12000e:~/em28xx-userspace2$ sudo /boot/config-`uname -r` sudo: /boot/config-2.6.22-14-generic: command not found jelle@xubutu-en12000e:~/em28xx-userspace2$ sudo ls /boot/config-`uname -r` /boot/config-2.6.22-14-generic jelle@xubutu-en12000e:~/em28xx-userspace2$Quoted 6 lines
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
Quoted 7 lines
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 kernel Makefile
Module.symvers scripts sound
block Documentation fs init Kbuild lib mm net
security usr
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'
make[1]: Makefile: No such file or directory
make[1]: *** No rule to make target `Makefile'. Stop.
make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
make: *** [default] Error 2_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Quoted 144 lines · Jelle de Jong
Quoted 30 lines · Markus Rechberger
Quoted 29 lines · Jelle de Jong
Quoted 9 lines · Markus Rechberger
Quoted 8 lines · Jelle de Jong
Quoted 7 lines · Markus Rechberger
Quoted 6 lines · Jelle de Jong
Quoted 5 lines · Markus Rechberger
Quoted 4 lines · Jelle de Jong
This message contains the following attachment(s):
Pinnacle PCTV Hybrid Pro Stick 330e.txtSpent my hole day trying to get a dvd-t device up and running, this
is
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
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
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 2 lines
that does not happen often....
Jelle, it's really easy to install it actually.
http://www.mail-archive.com/em28xx%40mcentral.de/msg00750.htmlthis 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.
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 1 line
Markus
Hi Markus,
I tried that two times,
The seconds build blows up in my face, I need specified dependecies
to
Quoted 64 lines
Quoted 64 lines
Quoted 8 lines
Quoted 7 lines
Quoted 5 lines
Quoted 2 lines
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
jelle@xubutu-en12000e:~$ hg clonehttp://mcentral.de/hg/~mrec/em28xx-userspace2
Quoted 39 lines
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 unresolvedjelle@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 directorythere we go, the linux kernel sources aren't installed for your system.
apt-get install linux-source linux-headers-
uname -rI'm not sure if the kernel sources are decompressed in
/usr/srcyou 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.
Quoted 7 lines
You can find the config file for your current kernel in /boot
/boot/config-uname -rcopy this file to the kernelroot and rename it to ".config"
Markus
sudo apt-get install linux-source linux-headers-
uname -rReading 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.jelle@xubutu-en12000e:~/em28xx-userspace2$ ls -hal /lib/modules/`uname -r`/buildQuoted 8 lines
Quoted 8 lines
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-genericjelle@xubutu-en12000e:~/em28xx-userspace2$ /boot/config-`uname -r` bash: /boot/config-2.6.22-14-generic: Permission denied jelle@xubutu-en12000e:~/em28xx-userspace2$ sudo /boot/config-`uname -r` sudo: /boot/config-2.6.22-14-generic: command not found jelle@xubutu-en12000e:~/em28xx-userspace2$ sudo ls /boot/config-`uname-r`
Quoted 20 lines
Quoted 9 lines
/boot/config-2.6.22-14-generic
jelle@xubutu-en12000e:~/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.hQuoted 7 lines
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?
Quoted 6 lines
ls
/usr/src/linux-headers-2.6.22-14-generic
arch crypto drivers include ipc kernelMakefile
Module.symvers scripts sound
block Documentation fs initKbuildlib mm net
security usr
note as for debian there's a big difference between kernel sources and linux headers.
Linux headers have interface definitions for userspace applications which want to communicate in some way with the linux kernel. Linux Sources contain all the driver and kernel _sources_.
There is nothing wrong with the scripts, many people installed it already.
Markus
Quoted 4 lines
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; \
Quoted 9 lines
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' make[1]: Makefile: No such file or directory make[1]: *** No rule to make target `Makefile'. Stop. make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic' make: *** [default] Error 2
well in one case you're right I could check if the "Makefile" exists and print that your kernel sources are still not installed!
Markus
_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Quoted 18 lines · Markus Rechberger
Quoted 6 lines · Jelle de Jong
This message contains the following attachment(s):
Pinnacle PCTV Hybrid Pro Stick 330e.txtSpent my hole day trying to get a dvd-t device up and running, this is device number two I tried.
Quoted 7 lines
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
Quoted 6 lines
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
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb