LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-14-2003, 04:36 PM   #1
mikeybsae
LQ Newbie
 
Registered: Jun 2003
Location: albany, ny
Distribution: debian
Posts: 18

Rep: Reputation: 0
bttv, xawtv - capture causes crash


I have a pixelview PV878P+ rev 9d card. TV watching, channel changing, and sound all seem to work fine after I have reloaded the bttv module with the correct card=37 and tuner=2 options. When I use the -noxv switch for xawtv I can grab images without a problem, but I cannot capture video. The recording seems to be going ok while in progress, but when it finishes (or I tell it to stop) xawtv crashes. When I kill xawtv the windows and picture go away, but I keep hearing the sound from the tv card which is still tuned to the same channel I was recording. The only way I've finally gotten the sound to go away after killing xawtv is to reboot. The video that was recorded had no sound and was too slow. I am using the soundcard on my VIA KT133 motherboard which has the tv card sound plugged into its input channel and have alsa 0.9.6 installed and working. After booting I need to remove the bttv module and reload it with the correct card and tuner info. It doesn't seem to autodetect it correctly.

I just updated from bttv-0.7.107 and v4l to bttv-0.9.11 and v4l2 hoping to solve this problem. I used the kernal patch on kernel 2.4.22. That transition seems to have gone a little strange, as the kernel initially loaded the old 0.7.107 drivers and then replaced them with the new drivers later. Here is the output from my kernel log. There is a bunch of stuff happening in there I am not comfortable with. Especially the "bttv: readee error". I am not sure if the last line, "8259A interrupt: IRQ7" is related or not, so I though I'd include it. I still need to reload the bttv with card and tuner options after booting.


Oct 14 15:16:40 athlon kernel: lirc_dev: IR Remote Control driver registered, at major 61
Oct 14 15:16:40 athlon kernel: Linux video capture interface: v1.00
Oct 14 15:16:40 athlon kernel: bttv: driver version 0.7.107 loaded
Oct 14 15:16:40 athlon kernel: bttv: using 4 buffers with 2080k (8320k total) for capture
Oct 14 15:16:40 athlon kernel: bttv: Host bridge is VIA Technologies, Inc. VT8363/8365 [KT133/KM133]
Oct 14 15:16:40 athlon kernel: bttv: Host bridge is VIA Technologies, Inc. VT82C686 [Apollo Super ACPI]
Oct 14 15:16:40 athlon kernel: bttv: Bt8xx card found (0).
Oct 14 15:16:40 athlon kernel: PCI: Found IRQ 10 for device 00:0b.0
Oct 14 15:16:40 athlon kernel: PCI: Sharing IRQ 10 with 00:07.2
Oct 14 15:16:40 athlon kernel: PCI: Sharing IRQ 10 with 00:07.3
Oct 14 15:16:40 athlon kernel: PCI: Sharing IRQ 10 with 00:0b.1
Oct 14 15:16:40 athlon kernel: bttv0: Bt878 (rev 17) at 00:0b.0, irq: 10, latency: 32, mmio: 0xd8001000
Oct 14 15:16:40 athlon kernel: bttv0: using: BT878( *** UNKNOWN/GENERIC **) [card=0,autodetected]
Oct 14 15:16:40 athlon kernel: i2c-dev.o: Registered 'bt848 #0' as minor 3
Oct 14 15:16:40 athlon kernel: i2c-core.o: adapter bt848 #0 registered as adapter 3.
Oct 14 15:16:40 athlon kernel: bttv: readee error
Oct 14 15:16:40 athlon kernel: bttv0: using tuner=-1
Oct 14 15:16:40 athlon kernel: bttv0: i2c: checking for MSP34xx @ 0x80... not found
Oct 14 15:16:40 athlon kernel: bttv0: i2c: checking for TDA9875 @ 0xb0... not found
Oct 14 15:16:40 athlon kernel: bttv0: i2c: checking for TDA7432 @ 0x8a... not found
Oct 14 15:16:40 athlon kernel: bttv0: registered device video0
Oct 14 15:16:40 athlon kernel: bttv0: registered device vbi0
Oct 14 15:16:40 athlon kernel: bttv: driver version 0.9.11 loaded
Oct 14 15:16:40 athlon kernel: bttv: using 8 buffers with 2080k (520 pages) each for capture
Oct 14 15:16:40 athlon kernel: bttv: Host bridge is VIA Technologies, Inc. VT8363/8365 [KT133/KM133]
Oct 14 15:16:40 athlon kernel: bttv: Host bridge is VIA Technologies, Inc. VT82C686 [Apollo Super ACPI]
Oct 14 15:16:40 athlon kernel: lirc_gpio (-1): card type 0x0, id 0x0
Oct 14 15:16:40 athlon kernel: lirc_gpio (-1): cannot detect TV card nr 0!
Oct 14 15:16:40 athlon kernel: bttv0: unloading
Oct 14 15:16:40 athlon kernel: i2c-core.o: adapter unregistered: bt848 #0
Oct 14 15:16:40 athlon kernel: eth0: link up.
Oct 14 15:16:40 athlon kernel: eth0: Setting full-duplex based on negotiated link capability.
Oct 14 15:16:50 athlon kernel: Linux video capture interface: v1.00
Oct 14 15:16:50 athlon kernel: bttv: driver version 0.9.11 loaded
Oct 14 15:16:50 athlon kernel: bttv: using 8 buffers with 2080k (520 pages) each for capture
Oct 14 15:16:50 athlon kernel: bttv: Host bridge is VIA Technologies, Inc. VT8363/8365 [KT133/KM133]
Oct 14 15:16:50 athlon kernel: bttv: Host bridge is VIA Technologies, Inc. VT82C686 [Apollo Super ACPI]
Oct 14 15:16:50 athlon kernel: bttv: Bt8xx card found (0).
Oct 14 15:16:50 athlon kernel: PCI: Found IRQ 10 for device 00:0b.0
Oct 14 15:16:50 athlon kernel: PCI: Sharing IRQ 10 with 00:07.2
Oct 14 15:16:50 athlon kernel: PCI: Sharing IRQ 10 with 00:07.3
Oct 14 15:16:50 athlon kernel: PCI: Sharing IRQ 10 with 00:0b.1
Oct 14 15:16:50 athlon kernel: bttv0: Bt878 (rev 17) at 00:0b.0, irq: 10, latency: 32, mmio: 0xd8001000
Oct 14 15:16:50 athlon kernel: bttv0: using: BT878( *** UNKNOWN/GENERIC **) [card=0,autodetected]
Oct 14 15:16:50 athlon kernel: i2c-dev.o: Registered 'bt848 #0' as minor 3
Oct 14 15:16:50 athlon kernel: i2c-core.o: adapter bt848 #0 registered as adapter 3.
Oct 14 15:16:50 athlon kernel: bttv: readee error
Oct 14 15:16:50 athlon kernel: bttv0: using tuner=-1
Oct 14 15:16:50 athlon kernel: bttv0: i2c: checking for MSP34xx @ 0x80... not found
Oct 14 15:16:50 athlon kernel: bttv0: i2c: checking for TDA9875 @ 0xb0... not found
Oct 14 15:16:50 athlon kernel: bttv0: i2c: checking for TDA7432 @ 0x8a... not found
Oct 14 15:16:50 athlon kernel: bttv0: registered device video0
Oct 14 15:16:50 athlon kernel: bttv0: registered device vbi0
Oct 14 15:16:56 athlon kernel: spurious 8259A interrupt: IRQ7.


I initially solved the problem of the 0.7.107 loading, by simply deleting the old bttv module. Here is my latest boot. I still need to reload the bttv with card and tuner options after booting.


Oct 14 17:11:55 athlon kernel: lirc_dev: IR Remote Control driver registered, at major 61
Oct 14 17:11:55 athlon kernel: Linux video capture interface: v1.00
Oct 14 17:11:55 athlon kernel: bttv: driver version 0.9.11 loaded
Oct 14 17:11:55 athlon kernel: bttv: using 8 buffers with 2080k (520 pages) each for capture
Oct 14 17:11:55 athlon kernel: bttv: Host bridge is VIA Technologies, Inc. VT8363/8365 [KT133/KM133]
Oct 14 17:11:55 athlon kernel: bttv: Host bridge is VIA Technologies, Inc. VT82C686 [Apollo Super ACPI]
Oct 14 17:11:55 athlon kernel: bttv: Bt8xx card found (0).
Oct 14 17:11:55 athlon kernel: PCI: Found IRQ 10 for device 00:0b.0
Oct 14 17:11:55 athlon kernel: PCI: Sharing IRQ 10 with 00:07.2
Oct 14 17:11:55 athlon kernel: PCI: Sharing IRQ 10 with 00:07.3
Oct 14 17:11:55 athlon kernel: PCI: Sharing IRQ 10 with 00:0b.1
Oct 14 17:11:55 athlon kernel: bttv0: Bt878 (rev 17) at 00:0b.0, irq: 10, latency: 32, mmio: 0xd8001000
Oct 14 17:11:55 athlon kernel: bttv0: using: BT878( *** UNKNOWN/GENERIC **) [card=0,autodetected]
Oct 14 17:11:55 athlon kernel: i2c-dev.o: Registered 'bt848 #0' as minor 3
Oct 14 17:11:55 athlon kernel: i2c-core.o: adapter bt848 #0 registered as adapter 3.
Oct 14 17:11:55 athlon kernel: bttv: readee error
Oct 14 17:11:55 athlon kernel: bttv0: using tuner=-1
Oct 14 17:11:55 athlon kernel: bttv0: i2c: checking for MSP34xx @ 0x80... not found
Oct 14 17:11:55 athlon kernel: bttv0: i2c: checking for TDA9875 @ 0xb0... not found
Oct 14 17:11:55 athlon kernel: bttv0: i2c: checking for TDA7432 @ 0x8a... not found
Oct 14 17:11:55 athlon kernel: bttv0: registered device video0
Oct 14 17:11:55 athlon kernel: bttv0: registered device vbi0
Oct 14 17:11:55 athlon kernel: lirc_gpio (-1): card type 0x0, id 0x0
Oct 14 17:11:55 athlon kernel: lirc_gpio (-1): cannot detect TV card nr 0!
Oct 14 17:11:55 athlon kernel: bttv0: unloading
Oct 14 17:11:55 athlon kernel: i2c-core.o: adapter unregistered: bt848 #0
Oct 14 17:11:55 athlon kernel: eth0: link up.
Oct 14 17:11:55 athlon kernel: eth0: Setting full-duplex based on negotiated link capability.
Oct 14 17:12:05 athlon kernel: Linux video capture interface: v1.00
Oct 14 17:12:06 athlon kernel: bttv: driver version 0.9.11 loaded
Oct 14 17:12:06 athlon kernel: bttv: using 8 buffers with 2080k (520 pages) each for capture
Oct 14 17:12:06 athlon kernel: bttv: Host bridge is VIA Technologies, Inc. VT8363/8365 [KT133/KM133]
Oct 14 17:12:06 athlon kernel: bttv: Host bridge is VIA Technologies, Inc. VT82C686 [Apollo Super ACPI]
Oct 14 17:12:06 athlon kernel: bttv: Bt8xx card found (0).
Oct 14 17:12:06 athlon kernel: PCI: Found IRQ 10 for device 00:0b.0
Oct 14 17:12:06 athlon kernel: PCI: Sharing IRQ 10 with 00:07.2
Oct 14 17:12:06 athlon kernel: PCI: Sharing IRQ 10 with 00:07.3
Oct 14 17:12:06 athlon kernel: PCI: Sharing IRQ 10 with 00:0b.1
Oct 14 17:12:06 athlon kernel: bttv0: Bt878 (rev 17) at 00:0b.0, irq: 10, latency: 32, mmio: 0xd8001000
Oct 14 17:12:06 athlon kernel: bttv0: using: BT878( *** UNKNOWN/GENERIC **) [card=0,autodetected]
Oct 14 17:12:06 athlon kernel: i2c-dev.o: Registered 'bt848 #0' as minor 3
Oct 14 17:12:06 athlon kernel: i2c-core.o: adapter bt848 #0 registered as adapter 3.
Oct 14 17:12:06 athlon kernel: bttv: readee error
Oct 14 17:12:06 athlon kernel: bttv0: using tuner=-1
Oct 14 17:12:06 athlon kernel: bttv0: i2c: checking for MSP34xx @ 0x80... not found
Oct 14 17:12:06 athlon kernel: bttv0: i2c: checking for TDA9875 @ 0xb0... not found
Oct 14 17:12:06 athlon kernel: bttv0: i2c: checking for TDA7432 @ 0x8a... not found
Oct 14 17:12:06 athlon kernel: bttv0: registered device video0
Oct 14 17:12:06 athlon kernel: bttv0: registered device vbi0
Oct 14 17:12:06 athlon kernel: spurious 8259A interrupt: IRQ7.


Here are the modules for both after an "lsmod" after reloading bttv with correct tuner and card options
0.7.107:
bttv 99040 0 (autoclean)
tuner 1 #couldn't copy and paste it in, but I remember it was there for 0.7.107
videodev 5920 2 (autoclean) [bttv]
soundcore 3524 5 [bttv snd]

and 0.9.11:
bttv 99040 0 (autoclean)
video-buf 10448 0 (autoclean) [bttv]
btcx-risc 1912 0 (autoclean) [bttv]
videodev 5920 2 (autoclean) [bttv]
v4l2-common 3008 0 (autoclean) [bttv]
soundcore 3524 5 [bttv snd]

On a side note...It seems that the -noxv switch is necessary for both picture grabbing as well as video capture. It also causes a black border around the picture when in fullscreen mode, any way to get rid of this black border?

Thanks a bunch to anyone who makes it through this.

MikeyB
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
BTTV Capture Card: Configuring what inputs it has?! matthewuw Linux - Hardware 0 07-16-2004 05:10 PM
help me install v4l2 (bttv, xawtv, drivers please. carboncopy Linux - Hardware 5 07-15-2004 02:19 AM
XAWTV video capture error seaelf Slackware 2 07-12-2004 01:11 PM
how to capture, xawtv netdur Linux - Software 2 12-26-2003 01:37 PM
Audio Issues with XawTV and its BTTV Module weezil317 Linux - Software 10 05-30-2003 12:43 AM

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

All times are GMT -5. The time now is 11:43 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration