LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
LinkBack Search this Thread
Old 09-04-2010, 06:56 PM   #1
avnerm
LQ Newbie
 
Registered: Sep 2010
Posts: 5

Rep: Reputation: 0
video card error Hauppauge WinTV-HVR 1850 kernel 2.6.27-17-generic (Ubuntu Intrepid)


Hello,

I am trying to install a Hauppauge 1850 video card into Linux Home automation system (LinuxMCE) which is based on Ubuntu Intrepid (I can't upgrade the kernel since this is what the LinuxMCE distribution supports)

I am feeding analog signal to the video card, either through a coax analog connection or an RCA analog connection. I cannot see any picture from the card (I verified that the video card is working properly under a Windows Vista OS)

I am trying to use the video card using a lightweight application such as tvtime, xawtv. In all applications I am failing to see an image. (For example, tvtime shows the message "No inputs avialble Cannot open capture device /dev/video0". Right clicking on Input configuration / Change video source doesn't give any options)

I installed the drivers for the card, according to the instructions in:

http://www.linuxtv.org/wiki/index.ph...WinTV-HVR-1800


Building the drivers from source, according to the section "Making it Work / Analog" fails with error.

Code:
cd v4l-dvb
make
I'm getting the following compilation error:

Quote:
avner@dcerouter:~$ cd v4l-dvb/
avner@dcerouter:~/v4l-dvb$ make
make -C /home/avner/v4l-dvb/v4l
make[1]: Entering directory `/home/avner/v4l-dvb/v4l'
creating symbolic links...
make -C firmware prep
make[2]: Entering directory `/home/avner/v4l-dvb/v4l/firmware'
make[2]: Leaving directory `/home/avner/v4l-dvb/v4l/firmware'
make -C firmware
make[2]: Entering directory `/home/avner/v4l-dvb/v4l/firmware'
make[2]: Nothing to be done for `default'.
make[2]: Leaving directory `/home/avner/v4l-dvb/v4l/firmware'
Kernel build directory is /lib/modules/2.6.27-17-generic/build
make -C /lib/modules/2.6.27-17-generic/build SUBDIRS=/home/avner/v4l-dvb/v4l modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.27-17-generic'
CC [M] /home/avner/v4l-dvb/v4l/dvb_demux.o
/home/avner/v4l-dvb/v4l/dvb_demux.c: In function 'dvbdmx_write':
/home/avner/v4l-dvb/v4l/dvb_demux.c:1137: error: implicit declaration of function 'memdup_user'
/home/avner/v4l-dvb/v4l/dvb_demux.c:1137: warning: assignment makes pointer from integer without a cast
make[3]: *** [/home/avner/v4l-dvb/v4l/dvb_demux.o] Error 1
make[2]: *** [_module_/home/avner/v4l-dvb/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.27-17-generic'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/avner/v4l-dvb/v4l'
make: *** [all] Error 2
According to the instructions in the section "Making it Work / Firmware" I downloaded the prebuilt firmware and created the files: v4l-cx23885-avcore-01.fw and v4l-cx23885-enc.fw. Then I loaded the drivers using:

Code:
modprobe cx23885
modprobe tuner
In dmesg I see the following output:

Quote:
[ 17.696559] cx23885 driver version 0.0.2 loaded
[ 17.696766] cx23885 0000:02:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[ 17.697103] CORE cx23885[0]: subsystem: 0070:8541, board: Hauppauge WinTV-HVR1850 [card=24,autodetected]
[ 18.023353] tveeprom 0-0050: Hauppauge model 85021, rev C5F5, serial# 6418425
[ 18.023360] tveeprom 0-0050: MAC address is f7b0bd91
[ 18.023364] tveeprom 0-0050: tuner model is NXP 18271C2 (idx 155, type 54)
[ 18.023368] tveeprom 0-0050: TV standards NTSC(M) ATSC/DVB Digital (eeprom 0x88)
[ 18.023373] tveeprom 0-0050: audio processor is CX23888 (idx 40)
[ 18.023376] tveeprom 0-0050: decoder processor is CX23888 (idx 34)
[ 18.023380] tveeprom 0-0050: has radio, has IR receiver, has no IR transmitter
[ 18.023385] cx23885[0]: hauppauge eeprom: model=85021
[ 18.075129] cx25840 2-0044: cx23888 A/V decoder found @ 0x88 (cx23885[0])
[ 18.094106] firmware: requesting v4l-cx23885-avcore-01.fw
[ 20.652675] cx25840 2-0044: loaded v4l-cx23885-avcore-01.fw firmware (16382 bytes)
[ 20.658952] cx23885[0]: registered device video0 [mpeg]
[ 20.658957] cx23885_dvb_register() allocating 1 frontend(s)
[ 20.658960] cx23885[0]: cx23885 based dvb card
[ 20.763471] tda18271 0-0060: creating new instance
[ 20.765478] TDA18271HD/C2 detected @ 0-0060
[ 20.996721] DVB: registering new adapter (cx23885[0])
[ 20.996727] DVB: registering adapter 0 frontend 0 (Samsung S5H1411 QAM/8VSB Frontend)...
[ 20.997486] cx23885_dev_checkrevision() Hardware revision = 0xd0
[ 20.997499] cx23885[0]/0: found at 0000:02:00.0, rev: 4, irq: 18, latency: 0, mmio: 0xbbc00000
[ 20.997511] cx23885 0000:02:00.0: setting latency timer to 64
[ 21.032019] Registered IR keymap rc-hauppauge-new
[ 21.032189] input: cx23885 IR (Hauppauge WinTV-HVR as /devices/pci0000:00/0000:00:1c.2/0000:02:00.0/input/input7
[ 21.037190] BUG: unable to handle kernel NULL pointer dereference at 00000000
[ 21.037200] IP: [<f8be8879>] :ir_core:__ir_input_register+0x269/0x300
[ 21.037214] *pde = 00000000
[ 21.037222] Oops: 0000 [#1] SMP
[ 21.037229] Modules linked in: rc_hauppauge_new tda18271 s5h1411 cx25840 serio_raw psmouse evdev cx23885(+) cx2341x v4l2_common pcspkr videodev v4l1_compat videobuf_dma_sg videobuf_dvb snd_hda_codec_cmedia dvb_core videobuf_core ir_common ir_core btcx_risc tveeprom nvidia(P) snd_hda_intel snd_hda_codec i2c_core snd_hwdep snd_pcm snd_seq snd_timer snd_seq_device parport_pc parport snd iTCO_wdt button iTCO_vendor_support soundcore shpchp pci_hotplug snd_page_alloc intel_agp agpgart ipv6 ext3 jbd mbcache sd_mod crc_t10dif sr_mod cdrom sg usbhid hid ata_piix pata_acpi ata_generic libata tulip scsi_mod dock sky2 uhci_hcd usbcore floppy raid10 raid456 async_xor async_memcpy async_tx xor raid1 raid0 multipath linear md_mod thermal processor fan nbd fbcon tileblit font bitblit softcursor fuse
[ 21.037364]
[ 21.037370] Pid: 2802, comm: modprobe Tainted: P (2.6.27-17-generic #1)
[ 21.037375] EIP: 0060:[<f8be8879>] EFLAGS: 00010246 CPU: 1
[ 21.037382] EIP is at __ir_input_register+0x269/0x300 [ir_core]
[ 21.037385] EAX: 00000000 EBX: 00000000 ECX: c0486ab4 EDX: f7ac7800
[ 21.037388] ESI: f8cbb348 EDI: f712e800 EBP: f7b0bd5c ESP: f7b0bd2c
[ 21.037390] DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
[ 21.037394] Process modprobe (pid: 2802, ti=f7b0a000 task=f781b240 task.ti=f7b0a000)
[ 21.037396] Stack: 00000074 00000000 f8d178cd c037e40b 00000000 f7ac7938 f7ac7800 00000246
[ 21.037406] f7ac7954 f8d0f2e0 f7b93000 f8cbb348 f7b0bdc0 f8d0e58e f8d178cd 00000000
[ 21.037415] f8d178b1 f71224f4 f7ac6418 f7ac6438 f712e800 f7ac6400 c049d680 00000004
[ 21.037425] Call Trace:
[ 21.037431] [<c037e40b>] ? printk+0x1d/0x22
[ 21.037440] [<f8d0f2e0>] ? cx23888_ir_rx_s_parameters+0x0/0x2e0 [cx23885]
[ 21.037458] [<f8d0e58e>] ? cx23885_input_init+0x21e/0x330 [cx23885]
[ 21.037475] [<f8d11ad0>] ? cx23885_initdev+0x270/0xbf1 [cx23885]
[ 21.037492] [<c02649ee>] ? pci_device_probe+0x5e/0x80
[ 21.037503] [<c02c5439>] ? really_probe+0x59/0x190
[ 21.037510] [<c0263fa6>] ? pci_match_device+0xc6/0xd0
[ 21.037527] [<c02c55b3>] ? driver_probe_device+0x43/0x60
[ 21.037533] [<c02c5649>] ? __driver_attach+0x79/0x80
[ 21.037540] [<c02c4d13>] ? bus_for_each_dev+0x53/0x80
[ 21.037545] [<c0264930>] ? pci_device_remove+0x0/0x40
[ 21.037551] [<c02c52ee>] ? driver_attach+0x1e/0x20
[ 21.037555] [<c02c55d0>] ? __driver_attach+0x0/0x80
[ 21.037560] [<c02c46af>] ? bus_add_driver+0x1cf/0x250
[ 21.037570] [<c0264930>] ? pci_device_remove+0x0/0x40
[ 21.037575] [<c02c581e>] ? driver_register+0x6e/0x150
[ 21.037585] [<f8868000>] ? cx23885_init+0x0/0x45 [cx23885]
[ 21.037597] [<c0264c1f>] ? __pci_register_driver+0x4f/0x90
[ 21.037603] [<f8868000>] ? cx23885_init+0x0/0x45 [cx23885]
[ 21.037612] [<f8868043>] ? cx23885_init+0x43/0x45 [cx23885]
[ 21.037622] [<c0101120>] ? _stext+0x30/0x160
[ 21.037628] [<c012b65e>] ? try_to_wake_up+0xde/0x290
[ 21.037637] [<c014c914>] ? __blocking_notifier_call_chain+0x14/0x70
[ 21.037650] [<c015c5a8>] ? sys_init_module+0x88/0x1b0
[ 21.037657] [<c019187a>] ? sys_mmap_pgoff+0x7a/0x160
[ 21.037663] [<c0103f7b>] ? sysenter_do_call+0x12/0x2f
[ 21.037668] =======================
[ 21.037670] Code: e8 ad 4d 5c c7 e9 de fd ff ff 8b 55 ec 8b 45 f0 e8 5d 7e 79 c7 89 f8 e8 f6 83 6e c7 85 c0 89 c3 78 bf 8b 55 e8 8b 82 5c 01 00 00 <83> 38 01 74 3a a1 00 cf be f8 31 db 85 c0 0f 8e a9 fd ff ff 8b
[ 21.037723] EIP: [<f8be8879>] __ir_input_register+0x269/0x300 [ir_core] SS:ESP 0068:f7b0bd2c
[ 21.037732] ---[ end trace 5aec1bfd58a8395d ]---


...

signature = 0xeedefb64, cmd = STOP_CAPTURE
[ 444.083448] Firmware and/or mailbox pointer not initialized or corrupted, signature = 0xeedefb64, cmd = PING_FW
[ 444.083562] firmware: requesting v4l-cx23885-enc.fw
I notice the line:
Quote:
BUG: unable to handle kernel NULL pointer dereference at 00000000.
and the stack trace just after loading the cx23885 driver.
The Linux kernel I'm using is 2.6.27-17-generic

My questions are:

1. How can I fix the compilation error so that to build the drivers from source
2. Does it indicate a problem with the prebuilt driver?

Any help is greatly appreciated.

Regards,
Avner
 
Old 09-05-2010, 09:16 PM   #2
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 2,364
Blog Entries: 3

Rep: Reputation: 169Reputation: 169
everything I have read said that was already in the kernel your stock kernel if I missed something let me know because you do not need to build it. could you do a cold boot and then post your lsmod for me.

v4l2 is the handler on this and I do not see that in your demsg I just see v4l1 the 2.6.27.17 kernel has v4l2 I just want to see if it is loading. 2.6.27 kernel around then was when v4l2 came out I wonder when ubuntu built this they did not configure 4vl2. if so look for the other kernel that ubuntu uses besides generic.

I was wrong the kernel team did not support it till 2.6.28
give me your output of lsmod

Last edited by Drakeo; 09-05-2010 at 11:27 PM. Reason: mis read info
 
Old 09-05-2010, 10:24 PM   #3
avnerm
LQ Newbie
 
Registered: Sep 2010
Posts: 5

Original Poster
Rep: Reputation: 0
Drakeo,
Thank you for replying
I do see both v4l1 (v4l1_compat) and v4l2 (v4l2_common) in dmesg
Below is the output of lsmod:

Regards,
Avner

Quote:
avner@dcerouter:~$ lsmod | tee lsmod.txt
Module Size Used by
xt_TCPMSS 12160 1
ipt_MASQUERADE 10752 1
ipt_TTL 9984 1
iptable_mangle 10880 1
xt_tcpudp 11008 6
xt_mark 10112 1
xt_state 10112 1
iptable_nat 13448 1
bridge 56980 0
stp 10628 1 bridge
bnep 20352 2
sco 18308 2
rfcomm 44432 0
l2cap 30464 6 bnep,rfcomm
bluetooth 62180 6 bnep,sco,rfcomm,l2cap
nfsd 231024 13
auth_rpcgss 42528 1 nfsd
exportfs 12544 1 nfsd
ppdev 15748 0
autofs4 27780 1
speedstep_lib 12676 0
cpufreq_powersave 9856 0
cpufreq_stats 13188 0
cpufreq_ondemand 14988 0
freq_table 12672 2 cpufreq_stats,cpufreq_ondemand
cpufreq_conservative 14600 0
cpufreq_userspace 11396 0
container 11520 0
sbs 19464 0
sbshc 13440 1 sbs
wmi 14504 0
video 25488 0
output 11008 1 video
pci_slot 12680 0
battery 18436 0
nfs 269416 0
lockd 71976 2 nfsd,nfs
nfs_acl 11264 2 nfsd,nfs
sunrpc 196960 15 nfsd,auth_rpcgss,nfs,lockd,nfs_acl
af_packet 25856 4
iptable_filter 10752 1
ip_tables 19600 3 iptable_mangle,iptable_nat,iptable_filter
x_tables 22916 8 xt_TCPMSS,ipt_MASQUERADE,ipt_TTL,xt_tcpudp,xt_mark,xt_state,iptable_nat,ip_tables
ac 12292 0
nf_nat_irc 10240 0
nf_nat_ftp 10880 0
nf_nat 25368 4 ipt_MASQUERADE,iptable_nat,nf_nat_irc,nf_nat_ftp
nf_conntrack_irc 13348 1 nf_nat_irc
nf_conntrack_ftp 15652 1 nf_nat_ftp
nf_conntrack_ipv4 21772 4 iptable_nat,nf_nat
nf_conntrack 72032 9 ipt_MASQUERADE,xt_state,iptable_nat,nf_nat_irc,nf_nat_ftp,nf_nat,nf_conntrack_irc,nf_conntrack_ftp,n f_conntrack_ipv4
lp 17156 0
rc_hauppauge_new 9856 0
tda18271 61188 1
s5h1411 17796 1
serio_raw 13444 0
psmouse 45200 0
pcspkr 10624 0
cx25840 39028 1
evdev 17696 18
snd_hda_codec_cmedia 17920 1
cx23885 132037 1
cx2341x 22148 1 cx23885
v4l2_common 27520 3 cx25840,cx23885,cx2341x
videodev 53024 3 cx25840,cx23885,v4l2_common
v4l1_compat 21764 1 videodev
videobuf_dma_sg 19588 1 cx23885
videobuf_dvb 15236 1 cx23885
dvb_core 99208 2 cx23885,videobuf_dvb
videobuf_core 26884 3 cx23885,videobuf_dma_sg,videobuf_dvb
snd_hda_intel 35968 0
snd_hda_codec 102016 2 snd_hda_codec_cmedia,snd_hda_intel
ir_common 14720 1 cx23885
ir_core 20252 3 rc_hauppauge_new,cx23885,ir_common
btcx_risc 12552 1 cx23885
snd_hwdep 15492 1 snd_hda_codec
tveeprom 20228 1 cx23885
parport_pc 39332 1
parport 42604 3 ppdev,lp,parport_pc
snd_pcm 86532 2 snd_hda_intel,snd_hda_codec
snd_seq 58352 0
snd_timer 29576 2 snd_pcm,snd_seq
snd_seq_device 15500 1 snd_seq
nvidia 9945572 48
i2c_core 31892 8 tda18271,s5h1411,cx25840,cx23885,v4l2_common,videodev,tveeprom,nvidia
snd 70436 7 snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_seq,snd_timer,snd_seq_device
button 14224 0
iTCO_wdt 18596 0
iTCO_vendor_support 11652 1 iTCO_wdt
soundcore 15328 1 snd
snd_page_alloc 16776 2 snd_hda_intel,snd_pcm
intel_agp 33980 0
shpchp 38036 0
pci_hotplug 34976 1 shpchp
agpgart 42184 2 nvidia,intel_agp
ipv6 264356 30
ext3 133384 2
jbd 55956 1 ext3
mbcache 16004 1 ext3
sr_mod 22212 0
cdrom 43168 1 sr_mod
sd_mod 42392 7
crc_t10dif 9984 1 sd_mod
sg 39732 0
usbhid 35712 0
hid 50560 1 usbhid
ata_piix 24708 4
pata_acpi 12160 0
ata_generic 12932 0
uhci_hcd 30864 0
tulip 58144 0
libata 178336 3 ata_piix,pata_acpi,ata_generic
scsi_mod 155468 4 sr_mod,sd_mod,sg,libata
dock 16656 1 libata
sky2 53380 0
usbcore 149616 3 usbhid,uhci_hcd
floppy 64644 0
raid10 30464 0
raid456 135184 0
async_xor 11520 1 raid456
async_memcpy 10112 1 raid456
async_tx 15312 3 raid456,async_xor,async_memcpy
xor 23688 2 raid456,async_xor
raid1 30080 0
raid0 15488 0
multipath 15104 0
linear 13440 0
md_mod 94108 6 raid10,raid456,raid1,raid0,multipath,linear
thermal 23708 0
processor 42156 1 thermal
fan 12548 0
nbd 19088 0
fbcon 47648 0
tileblit 10880 1 fbcon
font 16512 1 fbcon
bitblit 13824 1 fbcon
softcursor 9984 1 bitblit
fuse 60956 1
 
Old 09-05-2010, 10:27 PM   #4
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 2,364
Blog Entries: 3

Rep: Reputation: 169Reputation: 169
has your demsg changed you do not need to post it again
sudo apt-get install lib4vl
and then reboot and then type ls -l /dev/dvb/adapter*
post it

Last edited by Drakeo; 09-05-2010 at 10:42 PM.
 
Old 09-05-2010, 11:04 PM   #5
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 2,364
Blog Entries: 3

Rep: Reputation: 169Reputation: 169
ok did enough reading here we go lets try and build it.
for intrepid
Quote:
sudo apt-get install fakeroot kernel-wedge build-essential makedumpfile kernel-package
then for intriped this is a must
Quote:
sudo apt-get build-dep linux
down load firmware and install it
Quote:
Firmware

Please note firmware in ubuntu repo is working fine now. You can use sudo apt-get install linux-firmware-nonfree
and down load driver and build and install it.
The best thing you could do is upgrade to kernel 2.6.30

If we have to build it then type this or cut and paste it to your console
Quote:
hg clone http://hg.kewl.org/pub/v4l-dvb-20100517/ <--- cut and past or type
cd v4l-dvb-20100517
make
sudo make install
reboot
I built it and installed it but I do not have the card
Quote:
* On Debian-based distributions use the following command to install all required software:

$ [sudo] apt-get install mercurial linux-headers-$(uname -r) build-essential

Last edited by Drakeo; 09-05-2010 at 11:57 PM. Reason: I built it on an old system and it built fine
 
Old 09-06-2010, 12:56 AM   #6
avnerm
LQ Newbie
 
Registered: Sep 2010
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Drakeo View Post
has your demsg changed you do not need to post it again
sudo apt-get install lib4vl
and then reboot and then type ls -l /dev/dvb/adapter*
post it
avner@dcerouter:~$ sudo apt-get install lib4vl
[sudo] password for avner:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package lib4vl

avner@dcerouter:~$ ls -l /dev/dvb/adapter*
total 0
crw-rw---- 1 root video 212, 1 2010-09-05 18 begin_of_the_skype_highlighting**************1 2010-09-05 18******end_of_the_skype_highlighting begin_of_the_skype_highlighting**************1 2010-09-05 18******end_of_the_skype_highlighting begin_of_the_skype_highlighting**************1 2010-09-05 18******end_of_the_skype_highlighting begin_of_the_skype_highlighting**************1 2010-09-05 18******end_of_the_skype_highlighting begin_of_the_skype_highlighting**************1 2010-09-05 18******end_of_the_skype_highlighting begin_of_the_skype_highlighting**************1 2010-09-05 18******end_of_the_skype_highlighting:51 demux0
crw-rw---- 1 root video 212, 2 2010-09-05 18:51 dvr0
crw-rw---- 1 root video 212, 0 2010-09-05 18:51 frontend0
crw-rw---- 1 root video 212, 3 2010-09-05 18:51 net0
 
Old 09-06-2010, 01:49 AM   #7
avnerm
LQ Newbie
 
Registered: Sep 2010
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Drakeo View Post
The best thing you could do is upgrade to kernel 2.6.30
I cannot upgrade to kernel 2.6.30, because the LinuxMCE distribution is based on kernel 2.6.27-17-generic
Building from source still breaks. Below is what I'm getting following the above instructions.

Regards,
Avner

Quote:
avner@dcerouter:~$ sudo apt-get install fakeroot kernel-wedge build-essential makedumpfile kernel-package
Reading package lists... Done
Building dependency tree
Reading state information... Done
fakeroot is already the newest version.
fakeroot set to manually installed.
build-essential is already the newest version.
build-essential set to manually installed.
The following extra packages will be installed:
crash kexec-tools
Suggested packages:
kernel-patch-lkcd dumputils docbook-utils libdb3-dev linux-source kernel-source
The following NEW packages will be installed:
crash kernel-package kernel-wedge kexec-tools makedumpfile
0 upgraded, 5 newly installed, 0 to remove and 6 not upgraded.
Need to get 2484kB of archives.
After this operation, 8196kB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
crash kernel-package kernel-wedge kexec-tools makedumpfile
Authentication warning overridden.
Get:1 http://ca.archive.ubuntu.com intrepid/main crash 4.0-6.3-1ubuntu2 [1531kB]
Get:2 http://ca.archive.ubuntu.com intrepid/main kernel-package 11.001-0.1 [510kB]
Get:3 http://ca.archive.ubuntu.com intrepid/main kernel-wedge 2.29ubuntu2 [40.0kB]
Get:4 http://ca.archive.ubuntu.com intrepid/main kexec-tools 20070330-4ubuntu6 [58.9kB]
Get:5 http://ca.archive.ubuntu.com intrepid/main makedumpfile 1.2.9-0ubuntu3 [344kB]
Fetched 2484kB in 4s (577kB/s)
Selecting previously deselected package crash.
(Reading database ...
178315 files and directories currently installed.)
Unpacking crash (from .../crash_4.0-6.3-1ubuntu2_i386.deb) ...
Unpacking kernel-package (from .../kernel-package_11.001-0.1_all.deb) ...
Selecting previously deselected package kernel-wedge.
Unpacking kernel-wedge (from .../kernel-wedge_2.29ubuntu2_all.deb) ...
Selecting previously deselected package kexec-tools.
Unpacking kexec-tools (from .../kexec-tools_20070330-4ubuntu6_i386.deb) ...
Selecting previously deselected package makedumpfile.
Unpacking makedumpfile (from .../makedumpfile_1.2.9-0ubuntu3_i386.deb) ...
Processing triggers for man-db ...
Setting up crash (4.0-6.3-1ubuntu2) ...
Setting up kernel-package (11.001-0.1) ...
Setting up kernel-wedge (2.29ubuntu2) ...
Setting up kexec-tools (20070330-4ubuntu6) ...

Setting up makedumpfile (1.2.9-0ubuntu3) ...

Quote:
avner@dcerouter:~$ sudo apt-get build-dep linux
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
Quote:
avner@dcerouter:~$ sudo apt-get install linux-firmware-nonfree
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package linux-firmware-nonfree

Quote:
avner@dcerouter:~$ hg clone http://hg.kewl.org/pub/v4l-dvb-20100517/
destination directory: v4l-dvb-20100517
requesting all changes
adding changesets
adding manifests
adding file changes
added 14872 changesets with 36431 changes to 2857 files
updating working directory
1755 files updated, 0 files merged, 0 files removed, 0 files unresolved

Quote:
avner@dcerouter:~$ cd v4l-dvb-20100517/
avner@dcerouter:~/v4l-dvb-20100517$
avner@dcerouter:~/v4l-dvb-20100517$ make
make -C /home/avner/v4l-dvb-20100517/v4l
make[1]: Entering directory `/home/avner/v4l-dvb-20100517/v4l'
perl scripts/make_config_compat.pl /lib/modules/2.6.27-17-generic/build ./.myconfig ./config-compat.h
creating symbolic links...
make -C firmware prep
make[2]: Entering directory `/home/avner/v4l-dvb-20100517/v4l/firmware'
make[2]: Leaving directory `/home/avner/v4l-dvb-20100517/v4l/firmware'
make -C firmware
make[2]: Entering directory `/home/avner/v4l-dvb-20100517/v4l/firmware'
CC ihex2fw
Generating vicam/firmware.fw
Generating dabusb/firmware.fw
Generating dabusb/bitstream.bin
Generating ttusb-budget/dspbootcode.bin
Generating cpia2/stv0672_vp4.bin
Generating av7110/bootcode.bin
make[2]: Leaving directory `/home/avner/v4l-dvb-20100517/v4l/firmware'
Kernel build directory is /lib/modules/2.6.27-17-generic/build
make -C /lib/modules/2.6.27-17-generic/build SUBDIRS=/home/avner/v4l-dvb-20100517/v4l modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.27-17-generic'
CC [M] /home/avner/v4l-dvb-20100517/v4l/tuner-xc2028.o
CC [M] /home/avner/v4l-dvb-20100517/v4l/tuner-simple.o
CC [M] /home/avner/v4l-dvb-20100517/v4l/tuner-types.o
CC [M] /home/avner/v4l-dvb-20100517/v4l/mt20xx.o
CC [M] /home/avner/v4l-dvb-20100517/v4l/tda8290.o
CC [M] /home/avner/v4l-dvb-20100517/v4l/tea5767.o
CC [M] /home/avner/v4l-dvb-20100517/v4l/tea5761.o
CC [M] /home/avner/v4l-dvb-20100517/v4l/tda9887.o
CC [M] /home/avner/v4l-dvb-20100517/v4l/tda827x.o
CC [M] /home/avner/v4l-dvb-20100517/v4l/au0828-core.o
CC [M] /home/avner/v4l-dvb-20100517/v4l/au0828-i2c.o
CC [M] /home/avner/v4l-dvb-20100517/v4l/au0828-cards.o
CC [M] /home/avner/v4l-dvb-20100517/v4l/au0828-dvb.o
CC [M] /home/avner/v4l-dvb-20100517/v4l/au0828-video.o
CC [M] /home/avner/v4l-dvb-20100517/v4l/au8522_dig.o
CC [M] /home/avner/v4l-dvb-20100517/v4l/au8522_decoder.o
CC [M] /home/avner/v4l-dvb-20100517/v4l/flexcop-pci.o
CC [M] /home/avner/v4l-dvb-20100517/v4l/flexcop-usb.o
CC [M] /home/avner/v4l-dvb-20100517/v4l/flexcop.o
CC [M] /home/avner/v4l-dvb-20100517/v4l/flexcop-fe-tuner.o
CC [M] /home/avner/v4l-dvb-20100517/v4l/flexcop-i2c.o
CC [M] /home/avner/v4l-dvb-20100517/v4l/flexcop-sram.o
CC [M] /home/avner/v4l-dvb-20100517/v4l/flexcop-eeprom.o
CC [M] /home/avner/v4l-dvb-20100517/v4l/flexcop-misc.o
CC [M] /home/avner/v4l-dvb-20100517/v4l/flexcop-hw-filter.o
CC [M] /home/avner/v4l-dvb-20100517/v4l/flexcop-dma.o
CC [M] /home/avner/v4l-dvb-20100517/v4l/bttv-driver.o
CC [M] /home/avner/v4l-dvb-20100517/v4l/bttv-cards.o
CC [M] /home/avner/v4l-dvb-20100517/v4l/bttv-if.o
CC [M] /home/avner/v4l-dvb-20100517/v4l/bttv-risc.o
CC [M] /home/avner/v4l-dvb-20100517/v4l/bttv-vbi.o
CC [M] /home/avner/v4l-dvb-20100517/v4l/bttv-i2c.o
CC [M] /home/avner/v4l-dvb-20100517/v4l/bttv-gpio.o
CC [M] /home/avner/v4l-dvb-20100517/v4l/bttv-input.o
CC [M] /home/avner/v4l-dvb-20100517/v4l/bttv-audio-hook.o
CC [M] /home/avner/v4l-dvb-20100517/v4l/cpia2_v4l.o
CC [M] /home/avner/v4l-dvb-20100517/v4l/cpia2_usb.o
CC [M] /home/avner/v4l-dvb-20100517/v4l/cpia2_core.o
CC [M] /home/avner/v4l-dvb-20100517/v4l/cx18-alsa-main.o
CC [M] /home/avner/v4l-dvb-20100517/v4l/cx18-alsa-pcm.o
CC [M] /home/avner/v4l-dvb-20100517/v4l/cx18-driver.o
CC [M] /home/avner/v4l-dvb-20100517/v4l/cx18-cards.o
CC [M] /home/avner/v4l-dvb-20100517/v4l/cx18-i2c.o
CC [M] /home/avner/v4l-dvb-20100517/v4l/cx18-firmware.o
CC [M] /home/avner/v4l-dvb-20100517/v4l/cx18-gpio.o
CC [M] /home/avner/v4l-dvb-20100517/v4l/cx18-queue.o
CC [M] /home/avner/v4l-dvb-20100517/v4l/cx18-streams.o
CC [M] /home/avner/v4l-dvb-20100517/v4l/cx18-fileops.o
CC [M] /home/avner/v4l-dvb-20100517/v4l/cx18-ioctl.o
CC [M] /home/avner/v4l-dvb-20100517/v4l/cx18-controls.o
CC [M] /home/avner/v4l-dvb-20100517/v4l/cx18-mailbox.o
CC [M] /home/avner/v4l-dvb-20100517/v4l/cx18-vbi.o
CC [M] /home/avner/v4l-dvb-20100517/v4l/cx18-audio.o
CC [M] /home/avner/v4l-dvb-20100517/v4l/cx18-video.o
CC [M] /home/avner/v4l-dvb-20100517/v4l/cx18-irq.o
CC [M] /home/avner/v4l-dvb-20100517/v4l/cx18-av-core.o
CC [M] /home/avner/v4l-dvb-20100517/v4l/cx18-av-audio.o
CC [M] /home/avner/v4l-dvb-20100517/v4l/cx18-av-firmware.o
CC [M] /home/avner/v4l-dvb-20100517/v4l/cx18-av-vbi.o
CC [M] /home/avner/v4l-dvb-20100517/v4l/cx18-scb.o
CC [M] /home/avner/v4l-dvb-20100517/v4l/cx18-dvb.o
CC [M] /home/avner/v4l-dvb-20100517/v4l/cx18-io.o
CC [M] /home/avner/v4l-dvb-20100517/v4l/cx231xx-audio.o
In file included from /home/avner/v4l-dvb-20100517/v4l/cx231xx-audio.c:41:
/home/avner/v4l-dvb-20100517/v4l/cx231xx.h:746: warning: 'struct IR_i2c' declared inside parameter list
/home/avner/v4l-dvb-20100517/v4l/cx231xx.h:746: warning: its scope is only this definition or declaration, which is probably not what you want
CC [M] /home/avner/v4l-dvb-20100517/v4l/cx231xx-video.o
In file included from /home/avner/v4l-dvb-20100517/v4l/cx231xx-video.c:44:
/home/avner/v4l-dvb-20100517/v4l/cx231xx.h:746: warning: 'struct IR_i2c' declared inside parameter list
/home/avner/v4l-dvb-20100517/v4l/cx231xx.h:746: warning: its scope is only this definition or declaration, which is probably not what you want
CC [M] /home/avner/v4l-dvb-20100517/v4l/cx231xx-i2c.o
In file included from /home/avner/v4l-dvb-20100517/v4l/cx231xx-i2c.c:30:
/home/avner/v4l-dvb-20100517/v4l/cx231xx.h:746: warning: 'struct IR_i2c' declared inside parameter list
/home/avner/v4l-dvb-20100517/v4l/cx231xx.h:746: warning: its scope is only this definition or declaration, which is probably not what you want
CC [M] /home/avner/v4l-dvb-20100517/v4l/cx231xx-cards.o
In file included from /home/avner/v4l-dvb-20100517/v4l/cx231xx-cards.c:37:
/home/avner/v4l-dvb-20100517/v4l/cx231xx.h:746: warning: 'struct IR_i2c' declared inside parameter list
/home/avner/v4l-dvb-20100517/v4l/cx231xx.h:746: warning: its scope is only this definition or declaration, which is probably not what you want
/home/avner/v4l-dvb-20100517/v4l/cx231xx-cards.c:286: warning: 'struct IR_i2c' declared inside parameter list
/home/avner/v4l-dvb-20100517/v4l/cx231xx-cards.c:286: error: conflicting types for 'cx231xx_set_ir'
/home/avner/v4l-dvb-20100517/v4l/cx231xx.h:746: error: previous declaration of 'cx231xx_set_ir' was here
/home/avner/v4l-dvb-20100517/v4l/cx231xx-cards.c: In function 'cx231xx_set_ir':
/home/avner/v4l-dvb-20100517/v4l/cx231xx-cards.c:293: error: dereferencing pointer to incomplete type
make[3]: *** [/home/avner/v4l-dvb-20100517/v4l/cx231xx-cards.o] Error 1
make[2]: *** [_module_/home/avner/v4l-dvb-20100517/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.27-17-generic'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/avner/v4l-dvb-20100517/v4l'
make: *** [all] Error 2
 
Old 09-08-2010, 12:19 AM   #8
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 2,364
Blog Entries: 3

Rep: Reputation: 169Reputation: 169
did you read this
Quote:
* On Debian-based distributions use the following command to install all required software:

$ [sudo] apt-get install mercurial linux-headers-$(uname -r) build-essential
 
Old 09-08-2010, 03:47 PM   #9
avnerm
LQ Newbie
 
Registered: Sep 2010
Posts: 5

Original Poster
Rep: Reputation: 0
Drakeo, Thanks again for replying.

I forgot to add the result for the last instruction. I already have it installed:

Quote:
avner@dcerouter:~$ sudo apt-get install mercurial linux-headers-$(uname -r) build-essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
mercurial is already the newest version.
linux-headers-2.6.27-17-generic is already the newest version.
linux-headers-2.6.27-17-generic set to manually installed.
build-essential is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Avner
 
Old 09-09-2010, 11:40 PM   #10
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 2,364
Blog Entries: 3

Rep: Reputation: 169Reputation: 169
oh well time for a different operating system sorry I run 9 right now and Slackware did compile and insert the modules. hang in there anyone else
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hauppauge WinTV-HVR-2200 Jesgrew Linux - Hardware 1 05-02-2010 12:59 AM
Attempting to get Hauppauge WinTV-HVR-1280 to function ScottyPDX Linux - Hardware 2 11-07-2009 12:57 PM
Hauppauge WinTV-HVR-950 with Redhat Fedora 10 ed_homeLinux Linux - Hardware 1 01-04-2009 05:19 PM
Hauppauge WinTV-HVR-950 willigiann Linux - Hardware 3 03-04-2008 01:15 PM
hauppauge wintv-hvr-1300 nomorewin Linux - Hardware 1 02-23-2008 04:23 PM


All times are GMT -5. The time now is 12:52 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration