Quantcast
Channel: Embedded Software (Read Only)
Viewing all articles
Browse latest Browse all 25965

Forum Post: VIDIOC_DQBUF Hangs after reboot

$
0
0

Hi ,guys:

My platform is DM365+Tvp5150 + DVSDK4.0 + Kernel2.6.32.17

When first power up, the system runs ok, (it requires a video buf and send out),But if I reboot the board with "reset button" or "watch dog", the encode app cannot get buffer from v4l2 driver,it hangs in DVSDK->Capture.c->Capture_get()

if (ioctl(hCapture->fd, VIDIOC_DQBUF, &v4l2buf) < 0) {
        Dmai_err1("VIDIOC_DQBUF failed (%s)\n", strerror(errno));
        return Dmai_EFAIL;
    }

Only after disconnect the power and connect again, the system can run ok.

First I thought it's because the VPSS - reset BUG, so I check the UBL code ,the VPSS did reset by code after cool reset.

What will be the reason?


Viewing all articles
Browse latest Browse all 25965

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>