Hi,

We are facing some problem with Audio driver output on Davinci board. When
we enable V4L2 streaming, audio write is getting hanged.

This problem is specific, when we are including the V4L2 driver.

We have a DVBS tuner, which we are interfacing to the Davinci processor
through CCD interface.

When we are running our application, it runs for 5 minutes and then Audio
and Video gets hanged. (Audio hangs first and then
Video after 3 seconds). After hanging, if we change the channel video is
coming for 3 seconds, but no audio, and the video hangs again, and this
continues. We can come back to Main GUI and all other functions(Scroll
down/UP) works properly.

When we debug the application, we found that it is not coming out of audio
write function. If we comment write() for audio and ioctl() for video
decoding process is going on more than an hour.

As an alternative,
We tried to run "TI Audio Decode demo" from the telnet section and V4L2
capture(test case) from the minicom. V4l2 capture test case will copy data
from kernel drivers and write into a file. Whenever we run the Video Capture
utility, it hangs the audio o/p.

When we had gone through the V4L2 driver code, whenever we call Stream_on,
which will enable the Video Capture from CCD interface, it hangs the Audio
o/p within some 5 minutes(it is random, sometimes it hags within 2 minutes).

With respect to this, we have performed following tests:
1. changing no.of pools in loadmodules
2. changing V4l2 Driver buffer address in kernel code and V4l2 app code
3. When we had decoded the "audio_write" call, it is getting stuct at
"wait_for_completion_interruptible" call. We had checked the ASP register
and DMA registers, ASP is enabled and DMA is also enabled.

>From hardware side
1. We have checked the hardware signals from tuner(data, clock, hsync,
Vsync), all signals are coming properly. W.R.T. audio driver we check the
the frame sync, clock and data signals, all are coming properly.
2. We have observed that, it shows different performance on different
boards, on one board it runs for some 5 minutes, other board for 20 second,
and one more board for 12 minutes.

Whether any body has faced similar problem?
Please let us know.

Regards,
Kalaiarasan,
TataElxsi.Ltd
Bangalore.


The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments contained in it.

Contact your Administrator for further information.

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to