By Date: <-- -->
By Thread: <-- -->

mplayer still broken



Am Sonntag, den 26.03.2006, 03:46 +0100 schrieb Ricardo Cerqueira:
> Hi hermann;
> 
> On Sat, 2006-03-25 at 23:25 +0100, hermann pitton wrote:
> [...]
> 
> > Until I am able to catch something, only the dma sound problem remains
> > with mercurial from yesterday.
> > 
> 
> OK, this problem is now visible in all of our dma sound modules. There
> have been reports for saa7134-alsa, saa7134-oss, and at least one for
> cx88-alsa. Since there isn't all that much in common for all of these
> modules, except for some v4l buffer and PCI code, the problem can
> hopefully be narrowed down pretty fast.
> 
> Can you try revisions  8ca9f8a0e52b, 77be5e7a5665, and dc865e556caa,
> respectively at 
> http://linuxtv.org/hg/v4l-dvb/?ca=8ca9f8a0e52b;type=bz2
> http://linuxtv.org/hg/v4l-dvb/?ca=77be5e7a5665;type=bz2
> http://linuxtv.org/hg/v4l-dvb/?ca=dc865e556caa;type=bz2
> 
> (I suspect the bug was introduced in this last one with some videobuf
> changes)

Ricardo,

just start testing on that.

There is already trouble with the first one.

>   CC [M]  /mnt/xfer/mercurial/00-dma-sound-broken/01-hg-v4l-dvb-8ca9f8a0e52b/hg-v4l-dvb-8ca9f8a0e52b/v4l/saa711x.o
>   LD [M]  /mnt/xfer/mercurial/00-dma-sound-broken/01-hg-v4l-dvb-8ca9f8a0e52b/hg-v4l-dvb-8ca9f8a0e52b/v4l/em28xx.o
>   CC [M]  /mnt/xfer/mercurial/00-dma-sound-broken/01-hg-v4l-dvb-8ca9f8a0e52b/hg-v4l-dvb-8ca9f8a0e52b/v4l/saa7115.o
>   LD [M]  /mnt/xfer/mercurial/00-dma-sound-broken/01-hg-v4l-dvb-8ca9f8a0e52b/hg-v4l-dvb-8ca9f8a0e52b/v4l/cx25840.o
>   CC [M]  /mnt/xfer/mercurial/00-dma-sound-broken/01-hg-v4l-dvb-8ca9f8a0e52b/hg-v4l-dvb-8ca9f8a0e52b/v4l/saa7127.o
>   CC [M]  /mnt/xfer/mercurial/00-dma-sound-broken/01-hg-v4l-dvb-8ca9f8a0e52b/hg-v4l-dvb-8ca9f8a0e52b/v4l/bt832.o
>   CC [M]  /mnt/xfer/mercurial/00-dma-sound-broken/01-hg-v4l-dvb-8ca9f8a0e52b/hg-v4l-dvb-8ca9f8a0e52b/v4l/cx88-alsa.o
> /mnt/xfer/mercurial/00-dma-sound-broken/01-hg-v4l-dvb-8ca9f8a0e52b/hg-v4l-dvb-8ca9f8a0e52b/v4l/cx88-alsa.c:827: error: `SND_PCI_PM_CALLBACKS' undeclared here (not in a function)
> /mnt/xfer/mercurial/00-dma-sound-broken/01-hg-v4l-dvb-8ca9f8a0e52b/hg-v4l-dvb-8ca9f8a0e52b/v4l/cx88-alsa.c:827: error: initializer element is not constant
> /mnt/xfer/mercurial/00-dma-sound-broken/01-hg-v4l-dvb-8ca9f8a0e52b/hg-v4l-dvb-8ca9f8a0e52b/v4l/cx88-alsa.c:827: error: (near initialization for `cx88_audio_pci_driver.suspend')
> make[3]: *** [/mnt/xfer/mercurial/00-dma-sound-broken/01-hg-v4l-dvb-8ca9f8a0e52b/hg-v4l-dvb-8ca9f8a0e52b/v4l/cx88-alsa.o] Error 1
> make[2]: *** [_module_/mnt/xfer/mercurial/00-dma-sound-broken/01-hg-v4l-dvb-8ca9f8a0e52b/hg-v4l-dvb-8ca9f8a0e52b/v4l] Error 2
> make[2]: Leaving directory `/mnt/xfer/linux-fd/kernel-specs/builds/linux-2.6.16-rc5-git11'
> make[1]: *** [default] Fehler 2
> make[1]: Leaving directory `/mnt/xfer/mercurial/00-dma-sound-broken/01-hg-v4l-dvb-8ca9f8a0e52b/hg-v4l-dvb-8ca9f8a0e52b/v4l'
> make: *** [all] Fehler 2

After disabling cx88-alsa, which I can't test anyway, and copying videodev.ko manually and
modprobe saa7134-alsa debug=1 index=1,2,3,4 the result is

> tuner 4-0060: All bytes are equal. It is not a TEA5767
> tuner 4-0060: chip found  (at)  0xc0 (saa7134[3])
> tuner 4-0060: type set to 5 (Philips PAL_BG (FI1216 and compatibles))
> saa7134[3]: Huh, no eeprom present (err=-5)?
> saa7134[3]: registered device video3 [v4l2]
> saa7134[3]: registered device vbi3
> saa7134[3]: registered device radio3
> saa7134 ALSA driver for DMA sound loaded
> saa7134[0]/alsa: saa7134[0] at 0xcfffbc00 irq 17 registered as card 1

Hmm, this is a old revision, which usually results in an oops on unload.

saa7134[3]: registered device radio3
saa7134 ALSA driver for DMA sound loaded
saa7134[0]/alsa: saa7134[0] at 0xcfffbc00 irq 17 registered as card 1
saa7134[0]/alsa: rec_start: afmt=2 ch=2  =>  fmt=0xdd swap=-
saa7134[0]/alsa: rec_start: afmt=2 ch=2  =>  fmt=0xdd swap=-
saa7134[0]/alsa: rec_start: afmt=2 ch=2  =>  fmt=0xdd swap=-
saa7134[0]/alsa: rec_start: afmt=2 ch=2  =>  fmt=0xdd swap=-

As expected saa7134-alsa is functional.

I'll try the rest later and send this out already,
since I expect I have to reboot.

Cheers,
Hermann


--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request (at) redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list