LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-15-2004, 05:04 PM   #1
don_dimo
Member
 
Registered: Oct 2003
Location: Blacksburg, VA
Distribution: Fedora Core 2 (kde)
Posts: 144

Rep: Reputation: 15
TvTime


Hi all!

I am trying to run tvtime (tv capture app) on Fedora, but it says

videoinput: Cannot open capture device /dev/video0: No such device

I checked the /dev dir video0 is sitting there. Anyone know a fix for that?

Thank you!
 
Old 05-15-2004, 05:31 PM   #2
don_dimo
Member
 
Registered: Oct 2003
Location: Blacksburg, VA
Distribution: Fedora Core 2 (kde)
Posts: 144

Original Poster
Rep: Reputation: 15
Just to add up - I am using a PCI Brooktree 878 card, installed drivers from the video4linux site, all cables plugged in. It was working fine until I restarted comp .. now I cant figure it out???
 
Old 05-15-2004, 06:01 PM   #3
auditek747
Member
 
Registered: Feb 2004
Location: Ohio, USA
Distribution: Arch Linux
Posts: 464

Rep: Reputation: 30
Did you try running as root?
You may need to change some permissions
 
Old 05-15-2004, 06:28 PM   #4
don_dimo
Member
 
Registered: Oct 2003
Location: Blacksburg, VA
Distribution: Fedora Core 2 (kde)
Posts: 144

Original Poster
Rep: Reputation: 15
yes i always run it as root - which permissions do I need to change???
 
Old 05-15-2004, 06:46 PM   #5
don_dimo
Member
 
Registered: Oct 2003
Location: Blacksburg, VA
Distribution: Fedora Core 2 (kde)
Posts: 144

Original Poster
Rep: Reputation: 15
just some additional info:

modules.conf

alias eth0 tulip
alias usb-controller usb-ohci
alias char-major-195 nvidia
alias sound-slot-0 emu10k1
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
alias char-major-81 bttv
pre-install bttv /sbin/insmod videodev
pre-install bttv /sbin/insmod i2c
pre-install bttv /sbin/insmod tuner
alias char-major-89 i2c-dev

lsmod

msp3400 19404 0 (autoclean) (unused)
bttv 101344 1 (initializing)
videodev 8288 0 [bttv]
tvmixer 3888 0 (unused)
tvaudio 15964 0 (unused)
tuner 11712 0 (unused)
i2c-algo-bit 8392 0 [bttv]
i2c-dev 4320 0 (unused)
i2c-core 19620 0 [msp3400 bttv tvmixer tvaudio tuner i2c-algo-bit i2c-dev]

[root@unix dev]# ls -l /dev/video*
crw-r--r-- 1 dimitar root 81, 0 May 15 19:31 /dev/video0
crw------- 1 dimitar root 81, 1 Sep 15 2003 /dev/video1
crw------- 1 dimitar root 81, 2 Sep 15 2003 /dev/video2
crw------- 1 dimitar root 81, 3 Sep 15 2003 /dev/video3

/dev/video:
total 0
crw------- 1 dimitar root 10, 204 Sep 15 2003 em8300
crw------- 1 dimitar root 10, 206 Sep 15 2003 em8300_ma
crw------- 1 dimitar root 10, 205 Sep 15 2003 em8300_mv
crw------- 1 dimitar root 10, 207 Sep 15 2003 em8300_sp

/dev/video1394:
total 0
crw------- 1 root root 171, 16 Sep 15 2003 0
crw------- 1 root root 171, 17 Sep 15 2003 1
crw------- 1 root root 171, 18 Sep 15 2003 2
crw------- 1 root root 171, 19 Sep 15 2003 3
 
Old 05-15-2004, 06:48 PM   #6
don_dimo
Member
 
Registered: Oct 2003
Location: Blacksburg, VA
Distribution: Fedora Core 2 (kde)
Posts: 144

Original Poster
Rep: Reputation: 15
[root@unix dev]# dmesg

tvaudio: TV audio decoder + audio/video mux driver
tvaudio: known chips: tda9840,tda9873h,tda9874h/a,tda9850,tda9855,tea6300,tea6420,tda8425,pic16c54 (PV951),ta8874z
Linux video capture interface: v1.00
bttv: driver version 0.7.107 loaded
bttv: using 4 buffers with 2080k (8320k total) for capture
bttv: Host bridge is Silicon Integrated Systems [SiS] 745 Host
bttv: Bt8xx card found (0).
PCI: Found IRQ 3 for device 00:09.0
PCI: Sharing IRQ 3 with 00:09.1
bttv0: Bt878 (rev 17) at 00:09.0, irq: 3, latency: 32, mmio: 0xef000000
bttv0: using: BT878(Hauppauge (bt878)) [card=10,insmod option]
bttv0: Hauppauge/Voodoo msp34xx: reset line init [5]
i2c-dev.o: Registered '8 #0' as minor 0
Unable to handle kernel paging request at virtual address 0d83d09d
printing eip:
0d83d09d
*pde = 00000000
Oops: 0000
bttv videodev tvmixer tvaudio tuner i2c-algo-bit i2c-dev i2c-core udf emu10k1 ac97_codec sound soundcore binfmt_misc iptable_mangle ipt_MASQUERADE ip_nat_ftp
CPU: 0
EIP: 0060:[<0d83d09d>] Not tainted
EFLAGS: 00010286

EIP is at Using_Versions [] 0xd83d09c (2.4.22-1.2188.nptl)
eax: d09e1620 ebx: d09e1620 ecx: d09eba44 edx: d09c9080
esi: d09eba08 edi: 00000001 ebp: d09eb860 esp: c920bd38
ds: 0068 es: 0068 ss: 0068
Process insmod (pid: 5027, stackpage=c920b000)
Stack: d09c707b 801005ff 00000000 fffffe00 00000001 00000286 c03a828b d09eba44
d09c7b04 d09e1620 c011cb57 0000000a 00000400 d09c494a c920bda0 36df4254
d09c4906 c920bda0 c026296f 00000000 d09eba08 d09eba08 d09c476f d09c4920
Call Trace: [<d09c707b>] i2c_start [i2c-algo-bit] 0x1b (0xc920bd38)
[<d09eba44>] bttvs [bttv] 0x1e4 (0xc920bd54)
[<d09c7b04>] bit_xfer [i2c-algo-bit] 0x18 (0xc920bd58)
[<d09e1620>] bttv_inc_use [bttv] 0x0 (0xc920bd5c)
[<c011cb57>] printk [kernel] 0x107 (0xc920bd60)
[<d09c494a>] .rodata.str1.32 [i2c-dev] 0x2a (0xc920bd6c)
[<d09c4906>] .rodata.str1.1 [i2c-dev] 0x2 (0xc920bd78)
[<c026296f>] sprintf [kernel] 0x1f (0xc920bd80)
[<d09eba08>] bttvs [bttv] 0x1a8 (0xc920bd88)
[<d09eba08>] bttvs [bttv] 0x1a8 (0xc920bd8c)
[<d09c476f>] i2cdev_attach_adapter [i2c-dev] 0x67 (0xc920bd90)
[<d09c4920>] .rodata.str1.32 [i2c-dev] 0x0 (0xc920bd94)
[<d09eba0c>] bttvs [bttv] 0x1ac (0xc920bd98)
[<d09e1620>] bttv_inc_use [bttv] 0x0 (0xc920bda4)
[<d09eba44>] bttvs [bttv] 0x1e4 (0xc920bda8)
[<d09eba08>] bttvs [bttv] 0x1a8 (0xc920bdac)
[<d09eb860>] bttvs [bttv] 0x0 (0xc920bdb4)
[<d09becf6>] i2c_master_send_Rb692cb0e [i2c-core] 0x62 (0xc920bdb8)
[<d09eba08>] bttvs [bttv] 0x1a8 (0xc920bdbc)
[<c0260001>] atmarp_info [kernel] 0x41 (0xc920bdd0)
[<d09e18db>] bttv_I2CWrite [bttv] 0x7b (0xc920bdf8)
[<d09ebb0c>] bttvs [bttv] 0x2ac (0xc920bdfc)
[<d09eb860>] bttvs [bttv] 0x0 (0xc920be10)
[<d09f0ae0>] eeprom_data [bttv] 0x0 (0xc920be14)
[<d09e1929>] bttv_readee [bttv] 0x39 (0xc920be18)
[<d09eb860>] bttvs [bttv] 0x0 (0xc920be1c)
[<d09eb860>] bttvs [bttv] 0x0 (0xc920be30)
[<d09df563>] bttv_init_card2 [bttv] 0x543 (0xc920be3c)
[<d09eb860>] bttvs [bttv] 0x0 (0xc920be40)
[<d09f0ae0>] eeprom_data [bttv] 0x0 (0xc920be44)
[<d09dd715>] init_bt848 [bttv] 0x475 (0xc920be50)
[<d09eb860>] bttvs [bttv] 0x0 (0xc920be54)
[<c01e55da>] pci_set_master [kernel] 0x3a (0xc920be68)
[<d09eb860>] bttvs [bttv] 0x0 (0xc920be70)
[<d09eb948>] bttvs [bttv] 0xe8 (0xc920be78)
[<d09de36e>] bttv_probe [bttv] 0x2ee (0xc920be80)
[<d09eb860>] bttvs [bttv] 0x0 (0xc920be84)
[<d09dd7e0>] bttv_irq [bttv] 0x0 (0xc920be88)
[<d09e423c>] .rodata.str1.1 [bttv] 0x2db (0xc920be90)
[<d09eb860>] bttvs [bttv] 0x0 (0xc920be94)
[<c011cb57>] printk [kernel] 0x107 (0xc920beac)
[<d09e7018>] bttv_pci_tbl [bttv] 0x38 (0xc920beb4)
[<d09e7080>] bttv_pci_driver [bttv] 0x0 (0xc920beb8)
[<c01e4f95>] pci_announce_device [kernel] 0x35 (0xc920bec4)
[<d09e7018>] bttv_pci_tbl [bttv] 0x38 (0xc920becc)
[<d09e7080>] bttv_pci_driver [bttv] 0x0 (0xc920bed4)
[<c01e503b>] pci_register_driver [kernel] 0x5b (0xc920bee0)
[<d09e7080>] bttv_pci_driver [bttv] 0x0 (0xc920bee4)
[<d09de4c1>] init_module [bttv] 0x81 (0xc920bef8)
[<d09e7080>] bttv_pci_driver [bttv] 0x0 (0xc920befc)
[<c011da77>] sys_init_module [kernel] 0x567 (0xc920bf14)
[<d09e5488>] .kmodtab [bttv] 0x0 (0xc920bf24)
[<d09d8060>] __insmod_bttv_O/lib/modules/2.4.22-1.2188.nptl/kernel/drivers/media/video/bttv.o_M408717F5_V132118 [bttv] 0x60 (0xc920bf2c)
[<d09d8060>] __insmod_bttv_O/lib/modules/2.4.22-1.2188.nptl/kernel/drivers/media/video/bttv.o_M408717F5_V132118 [bttv] 0x60 (0xc920bf58)
[<c01095f7>] system_call [kernel] 0x33 (0xc920bfc0)


Code: Bad EIP value.



Any ideas???
 
Old 05-15-2004, 07:58 PM   #7
don_dimo
Member
 
Registered: Oct 2003
Location: Blacksburg, VA
Distribution: Fedora Core 2 (kde)
Posts: 144

Original Poster
Rep: Reputation: 15
Any suggestions guys .. I am really baffled by that, changed permissions to /dev/video0 to 777 still no work. I dont have a file /proc/video/dev/video0 which I used to have.. How do I get it back??
 
Old 05-15-2004, 08:04 PM   #8
auditek747
Member
 
Registered: Feb 2004
Location: Ohio, USA
Distribution: Arch Linux
Posts: 464

Rep: Reputation: 30
?

Here are the relevant bits of my -
lsmod:

nvidia 1965152 6 (autoclean)
snd-pcm-oss 37252 0 (unused)
snd-mixer-oss 11992 1 [snd-pcm-oss]
parport_pc 14724 1 (autoclean)
lp 6752 0 (autoclean)
parport 23264 1 (autoclean) [parport_pc lp]
printer 7040 0
scanner 10488 0 (unused)
keybdev 1952 0 (unused)
mousedev 4244 0 (unused)
hid 21156 0 (unused)
snd-ens1371 11596 1
gameport 1436 0 [snd-ens1371]
snd-pcm 55904 0 [snd-pcm-oss snd-ens1371]
snd-timer 13252 0 [snd-pcm]
snd-page-alloc 6004 0 [snd-pcm]
snd-rawmidi 12512 0 [snd-ens1371]
snd-seq-device 3920 0 [snd-rawmidi]
snd-ac97-codec 37240 0 [snd-ens1371]
snd 27460 0 [snd-pcm-oss snd-mixer-oss snd-ens1371 snd-pcm snd-timer snd-rawmidi snd-seq-device snd-ac97-codec]
tuner 10240 1 (autoclean)
tvaudio 13628 0 (autoclean) (unused)
bttv 94432 0 (unused)
i2c-algo-bit 6984 1 [bttv]
i2c-core 12740 0 [tuner tvaudio bttv i2c-algo-bit]
soundcore 3332 6 [snd bttv]
videodev 5664 2 [bttv]
ne2k-pci 5504 1
8390 6000 0 [ne2k-pci]
uhci 24496 0 (unused)
ehci-hcd 16872 0 (unused)
usbcore 58400 1 [printer scanner hid uhci ehci-hcd]
via-rhine 13552 1
mii 2304 0 [via-rhine]
crc32 2880 0 [8390 via-rhine]
pcmcia_core 40032 0
ide-scsi 9424 0
joydev 5888 0 (unused)
input 3200 0 [keybdev mousedev hid joydev]
apm 9640 2

and dmesg:

Linux video capture interface: v1.00
i2c-core.o: i2c core module
i2c-algo-bit.o: i2c bit algorithm module
bttv: driver version 0.7.107 loaded
bttv: using 8 buffers with 2080k (16640k total) for capture
bttv: Host bridge is VIA Technologies, Inc. VT8377 [KT400 AGP] Host Bridge
bttv: Bt8xx card found (0).
PCI: Found IRQ 5 for device 00:09.0
PCI: Sharing IRQ 5 with 00:09.1
PCI: Sharing IRQ 5 with 00:0d.0
PCI: Sharing IRQ 5 with 00:10.1
bttv0: Bt878 (rev 17) at 00:09.0, irq: 5, latency: 32, mmio: 0xe2011000
bttv0: using: BT878( *** UNKNOWN/GENERIC **) [card=0,autodetected]
i2c-core.o: adapter bt848 #0 registered as adapter 0.
bttv0: detected by eeprom: Hauppauge (bt848) [card=2]
bttv0: Hauppauge eeprom: model=44801, tuner=Philips FI1236 MK2 (2), radio=no
bttv0: using tuner=2
bttv0: i2c: checking for MSP34xx @ 0x80... not found
bttv0: i2c: checking for TDA9875 @ 0xb0... not found
bttv0: i2c: checking for TDA7432 @ 0x8a... not found
tvaudio: TV audio decoder + audio/video mux driver
tvaudio: known chips: tda9840,tda9873h,tda9874h/a,tda9850,tda9855,tea6300,tea6420,tda8425,pic16c54 (PV951),ta8874z
i2c-core.o: driver generic i2c audio driver registered.
i2c-core.o: driver i2c TV tuner driver registered.
tuner: chip found @ 0xc2
tuner: type set to 2 (Philips NTSC (FI1236,FM1236 and compatibles))
i2c-core.o: client [Philips NTSC (FI1236,FM1236 and] registered to adapter [bt848 #0](pos. 0).
bttv0: registered device video0
bttv0: registered device vbi0
PCI: Found IRQ 5 for device 00:0d.0
PCI: Sharing IRQ 5 with 00:09.0
PCI: Sharing IRQ 5 with 00:09.1
PCI: Sharing IRQ 5 with 00:10.1

Be advised, I'm running Slack 9.1 (kernel 2.4.22) with i2c and v4l compiled in. (as mods)
Also ignore the "using 8 buffers" in dmesg, it's my own doing.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
TVtime dc2447 Linux - Software 0 09-11-2005 07:36 AM
TVTime fahad Linux - Software 1 06-04-2005 12:08 AM
tvtime help jag Linux - Software 0 09-24-2004 01:46 AM
Tvtime :s IffikaS Linux - Software 3 08-26-2004 12:51 PM
TVTime Ehuwiko Linux - Software 3 10-27-2003 08:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:58 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration