saa7134 composite issue
- From: Alexey Fisher <bug-track (at) fisher-privat.net>
- Date: Fri, 12 May 2006 21:08:35 +0200
Hi PÃdraig.
I have similar problem with my with my ASUS My Sinema-P7131 card. The
problem is if i change composite input signal the sound will be lost.
I'm not expert and i made small workaround:
--- linux/drivers/media/video/saa7134/saa7134-video.c 2006-03-20
06:53:29.000000000 +0100
+++ saa7134-video.c 2006-05-12 21:04:38.000000000 +0200
(at) (at) -514,6 +514,7 (at) (at)
if (mux > 5)
luma_control |= 0x80; /* svideo */
+// --->>> Here may be your problem.
if (noninterlaced || dev->nosignal)
sync_control |= 0x20;
(at) (at) -2397,18 +2398,19 (at) (at)
(st2 & 0x40) ? "no" : "yes",
st[st1 & 0x03]);
dev->nosignal = (st1 & 0x40) || (st2 & 0x40);
+// --->>> Here is my problem.
if (dev->nosignal) {
/* no video signal -> mute audio */
- if (dev->ctl_automute)
- dev->automute = 1;
- saa7134_tvaudio_setmute(dev);
- saa_setb(SAA7134_SYNC_CTRL, 0x20);
+ // if (dev->ctl_automute)
+ // dev->automute = 1;
+ // saa7134_tvaudio_setmute(dev);
+ // saa_setb(SAA7134_SYNC_CTRL, 0x20);
} else {
/* wake up tvaudio audio carrier scan thread */
- saa7134_tvaudio_do_scan(dev);
- if (!noninterlaced)
- saa_clearb(SAA7134_SYNC_CTRL, 0x20);
+ // saa7134_tvaudio_do_scan(dev);
+ // if (!noninterlaced)
+ // saa_clearb(SAA7134_SYNC_CTRL, 0x20);
}
if (dev->mops && dev->mops->signal_change)
dev->mops->signal_change(dev);
PÃdraig Brady wrote:
> Hi,
>
> I'm trying to capture using VLC from the composite input of:
>
> saa7130/34: v4l2 driver version 0.2.14 loaded
> saa7133[0]: found at 0000:00:08.0, rev: 240, irq: 10, latency: 32, mmio:
> 0xee000000
> saa7133[0]: subsystem: 1131:0000, board: ProVideo PV-970 Mini
> [card=64,autodetected]
> saa7133[0]: board init: gpio is 0
> saa7133[0]: dsp access wait timeout [bit=WRR]
> : chip found (at) 0x96 (saa7133[0])
> tuner 0-004b: tuner: type set to tda8290+75
> saa7133[0]: Huh, no eeprom present (err=-5)?
> saa7133[0]: registered device video0 [v4l2]
> saa7133[0]: registered device vbi0
> saa7133[0]: registered device dsp1
> saa7133[0]: registered device mixer1
>
> The source is an external PAL TV tuner, and it works fine
> once I'm just displaying TV. However once I activate the
> external tuner's On Screen Display (by changing channel, or volume etc.)
> the VLC window will just go blank, and will stay blank even
> when the unit switches back to TV output.
>
> Now VLC is still is reading data as "normal" from /dev/video0,
> which suggests it's a problem in the driver or hardware?
>
> Checking on a LCD TV I have, shows that the tuner shows a blue screen,
> with white text for it's OSD. Could this be a different resolution or
> something that's causing the issue?
>
> Note reconnecting the composite line to the card does
> not get VLC/saa7134 out of this state, but note,
> power cycling the external tuner does (usually).
>
> Note also that sometimes VLC/saa7134 are able to capture a
> few frames of the OSD before hanging up.
>
> The VLC command used is:
> vlc -vvv v4l:/dev/video0:size=720x576:norm=pal:channel=2
>
> modprobe saa7134 video_debug=1 core_debug=1
> didn't should anything interesting, to my eyes at least.
>
> Any ideas welcome.
>
> thanks,
> PÃdraig.
>
> --
> video4linux-list mailing list
> Unsubscribe mailto:video4linux-list-request (at) redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/video4linux-list
>
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request (at) redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list