xawtv black, VHX + RHL7.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



I've just updated my system from Red Hat Linux 6.2 to 7.2 (+ updates).
xawtv now shows only black.  It worked under 6.2.

Sound works -- I can hear the TV stations, but only see black.

On the console (i.e. not an X window), I get a lot of 
	ioctl VIDIOCCAPTURE(0): Invalid argument
	ioctl VIDIOCCAPTURE(1): Invalid argument
They don't show up in dmesg.

Can anyone suggest how I can get a picture in my xawtv window?  Bonus
marks for pointing me in the direction of a program to play my radio.


- tuner card: Aimslab Video Highway Xtreme.  This card uses bt848.
  The manufacturer disappeared a while ago.

  It includes a Philips TEA5757H AM/FM "Self-Tuned Radio" chip
  (apparently called "matchbox" in the bttv code).  I've not tried the
  radio.

  It also has a Philips TDA7050 "low voltage mono/stereo power amp".

- computer: ABIT BP6 dual processor.  Two celeron 300a CPUs running at
  450MHz (overclocked, yes, but stable for two years).

- video card: ATI Rage 128.

- Software versions (standard with RHL7.2):
  + bttv 0.7.72
  + Kernel 2.4.9-13smp (not a Linus kernel)
  + xawtv-3.54
  + XFree86 4.1.0 (3.3.6 on RHL6.2; server from SuSE)

- interesting lines from /etc/modules.conf

  6.2:
	alias char-major-81 bttv
	# VHX: bttv.h:BTTV_VHX == 0x0e
	options bttv card=0x0e radio=1
	# VHX has Philips NTSC, I think: tuner.h:TUNER_PHILIPS_NTSC == 2 
	options tuner type=2
	below bttv tuner


  7.2 (also tried 6.2 version -- not really different, but this
  matches the documentation and adds to the debugging output):

	# i2c
	alias char-major-89     i2c-dev
	options i2c-core        i2c_debug=1
	options i2c-algo-bit    bit_test=1

	# bttv
	alias char-major-81     videodev
	alias char-major-81-0   bttv
	# VHX: bttv.h:BTTV_VHX == 0x0e
	options bttv            card=0x0e radio=1 bttv_verbose=2
	# VHX has Philips NTSC: tuner.h:TUNER_PHILIPS_NTSC == 2 
	options tuner           debug=1 type=2
	options tvaudio         debug=1

- interesting lines from dmesg / /var/log/messages.

 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.72 loaded
 bttv: using 2 buffers with 2080k (4160k total) for capture
 bttv: Host bridge needs ETBF enabled.
 bttv: Bt8xx card found (0).
 bttv0: Bt848 (rev 18) at 00:0f.0, irq: 16, latency: 32, memory: 0xdb002000
 bttv0: model: BT848A(Aimslab VHX) [insmod option]
 bttv0: enabling ETBF (430FX/VP3 compatibilty)
 i2c-algo-bit.o: Adapter: bt848 #0 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: bt848 #0 passed test.
 i2c-core.o: adapter bt848 #0 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 @ 0xc0
 bttv0: i2c attach [Philips NTSC]
 i2c-core.o: client [Philips NTSC] registered to adapter [bt848 #0](pos. 0).
 tuner: tv freq set to 67.25

- the messages under RHL6.2 are way more sparse, but the picture worked:
 i2c: initialized 
 Linux video capture interface: v1.00 
 bttv0: Brooktree Bt848 (rev 18) bus: 0, devfn: 120, irq: 16, memory: 0xdb002000.
 bttv: 1 Bt8xx card(s) found. 
 bttv0: NO fader chip: TEA6300 
 bttv0: model: BT848(Aimslab-VHX)

- my ~/.xawtv file was unchanged from 6.2.  Just to be safe, I then
  hid it and generated a new one with scantv.  Same results.  Since
  sound works, the channel information must be correct.  Here is the
  rest, as set by scantv (because it is short):

    [global]
    freqtab = us-cable

    [defaults]
    input = Television
    norm = NTSC

  Here's the config from 6.2 (with a slight change to "source"):

    [global]
    freqtab = us-cable
    pixsize = 128 x 96
    pixcols = 1
    jpeg-quality = 75
    mjpeg-quality = 75
    keypad-ntsc = no
    osd = yes

    # [Station name]
    # capture = overlay | grabdisplay | on | off
    # input = Television | Composite1 | S-Video | ...
    # norm = PAL | NTSC | SECAM | ...
    # channel = #
    # fine = # (-128..+127)
    # key = keysym | modifier+keysym
    # color = #
    # bright = #
    # hue = #
    # contrast = #

    [defaults]
    norm = NTSC
    capture = over
    source = television

- /usr/X11/XF86Config-4 includes "Load "v4l" in Section "Module".

- I've tried "xawtv -r" (after "xawtv").  No luck.

- Most testing was done as an ordinary user.  I did try running xawtv
  as root, but nothing improved.

- the bttv changelog for 0.7.55 has this scary mention of the VHX:

    * changed gpio pins for the tea5757 radio tuner from compile time
      to runtime. The "Aimslab VHX" uses the same chip but other gpio
      lines [VHX not working yet, needs more debugging].

  But since sound works well enough at the moment, this cannot be my
  problem.

Thanks!

Hugh Redelmeier
hugh@xxxxxxxxxx  voice: +1 416 482-8253





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux