I'm not having much luck with bttv2/xawtv-3.28 and kernel 2.4.0
If I use bttv2, it core dumps when I change the channel.
This is xawtv-3.28, running on Linux/i686 (2.4.0)
visual: id=0x23 class=4 (TrueColor), depth=24
visual: id=0x24 class=4 (TrueColor), depth=24
visual: id=0x25 class=5 (DirectColor), depth=24
visual: id=0x26 class=5 (DirectColor), depth=24
image format list for port 46
0x32595559 (YUY2) packed
0x32315659 (YV12) planar
0x30323449 (I420) planar
Xv: using port 46 for hw scaling
x11: 1280x1024, 32 bit/pixel, 5120 byte/scanline, DGA
v4l2: device is Bttv2(0) - Video
v4l2: framebuffer info
cap: clipping
flags: extern
base: 0xf4000000 (nil) (nil)
format: 1280x1024, BGR4, 0 byte
config: invalid value for input: Television
ioctl VIDIOC_PREVIEW: Invalid argument
ioctl VIDIOC_S_FMT: Invalid argument
grab: no match for: 384x288 16 bit YUV 4:2:2
ioctl VIDIOC_REQBUFS: Invalid argument
ioctl VIDIOC_DQBUF: Invalid argument
Memory fault (core dumped)
Any suggestions? Additional details below.
If there are other steps for debugging this, please let me know
,
Traceback of the core dump shows:
#0 0x402afb1e in memcpy () from /lib/libc.so.6
#1 0x805c2f5 in v4l2_streaming () at grab-v4l2.c:830
#2 0x8058a37 in grabber_capture (dest=0x0, dest_linelength=0, size=0x0)
at grab.c:363
#3 0x804e1f6 in pixit () at main.c:1105
#4 0x805dfb3 in setstation_handler (name=0x806c9d1 "", argc=1,
argv=0xbffff048) at commands.c:547
#5 0x805e348 in setchannel_handler (name=0x8098168 "setchannel", argc=1,
argv=0x809818c) at commands.c:626
#6 0x805d648 in do_command (argc=2, argv=0x8098188) at commands.c:212
#7 0x40100b78 in HandleActions () from /usr/X11R6/lib/libXt.so.6
#8 0x40100fd8 in HandleSimpleState () from /usr/X11R6/lib/libXt.so.6
#9 0x4010150a in _XtTranslateEvent () from /usr/X11R6/lib/libXt.so.6
#10 0x400df129 in XtDispatchEventToWidget () from /usr/X11R6/lib/libXt.so.6
#11 0x400dfa40 in _XtDefaultDispatcher () from /usr/X11R6/lib/libXt.so.6
#12 0x400dfc82 in XtDispatchEvent () from /usr/X11R6/lib/libXt.so.6
#13 0x400e007e in XtAppMainLoop () from /usr/X11R6/lib/libXt.so.6
#14 0x8051942 in main (argc=1, argv=0xbffff3dc) at main.c:2635
#15 0x40248b65 in __libc_start_main (main=0x8051150 <main>, argc=1,
ubp_av=0xbffff3dc, init=0x804b51c <_init>, fini=0x8067e4c <_fini>,
rtld_fini=0x4000df24 <_dl_fini>, stack_end=0xbffff3d4)
at ../sysdeps/generic/libc-start.c:111
/var/log/messages shows:
i2c-core.o: i2c core module
i2c-algo-bit.o: i2c bit algorithm module
Video for Linux One (2.2.16) / Two (V0.20 alpha). Major device: 81
bttv: driver version 0.7.53 loaded
bttv: Bt8xx card found (0).
bttv0: Bt878 (rev 2) at 00:0d.0, irq: 11, latency: 64, memory: 0xfd9fe000
bttv0: subsystem: 1461:0002 => Avermedia TVCapture 98 => card=13
bttv0: model: BT878(AVerMedia TVCapture 98) [autodetected]
i2c-algo-bit.o: Adapter: bttv0: i2c adapter scl: 1 sda: 1 -- testing...
i2c-algo-bit.o:1 scl: 1 sda: 0
i2c-algo-bit.o:2 scl: 1 sda: 1
i2c-algo-bit.o:3 scl: 0 sda: 1
i2c-algo-bit.o:4 scl: 1 sda: 1
i2c-algo-bit.o: bttv0: i2c adapter passed test.
i2c-core.o: adapter bttv0: i2c adapter registered as adapter 0.
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,tda9850,tda9855,tea6300,tea6420,tda8425,pic16c54 (PV951)
i2c-core.o: driver generic i2c audio driver registered.
i2c-core.o: driver i2c TV tuner driver registered.
tuner: chip found @ 0x61
bttv0: i2c attach [Temic 4036 FY5 NTSC]
i2c-core.o: client [Temic 4036 FY5 NTSC] registered to adapter [bttv0: i2c
adapter](pos. 0).
V4L2: Registered "BT878(AVerMedia TVCapture 98)" as char device 81, 0
V4L2: Registered "Bttv2 VBI device 0" as char device 81, 224
bttv0: Cannot activate preview without window/overlay.
bttv0: Cannot activate preview without window/overlay.
bttv0: Turning preview on.
bttv0: Turning preview off.
bttv0: Turning preview on.
bttv0: Turning preview on.
bttv0: Granting 1 buffers.
bttv0: s_fmt - invalid image size
bttv0: buffers already requested!
bttv0: DQBUF nothing on done queue
bttv0: Turning preview off.
--
Eric M. Boehm [EMAIL PROTECTED]
_______________________________________________
Video4linux-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/video4linux-list