We're having a problem with an iMX28 design whereby the "ifconfig eth0 up" causes a video recording to freeze. The recording is started with something like:
gst-launch v4l2src ! image/jpeg,width=640,height=480,framerate=5/1 ! queue ! avimux ! filesink location=/tmp/xxx.avi sync=false
(Using module uvcvideo and a Logitech USB camera).
The recording proceeds OK with the file growing steadily. An 'ifconfig eth0 down" has no effect but a subsequent "ifconfig eth0 up" causes the stream to stop writing to the file. The gst process doesn't exit. If we ^C the gst process and start it again and everything is OK again.
The second scenario is to bring the eth0 down first. In this case, sometimes, the recording stream doesn't start, _but_ when "ifconfig eth0 up" is issued, the stream starts recording!
Does anyone have any idea how ethernet (ifconfig) can affect the USB video stream?
We're using hardware that, in the area of ethernet and USB, is equivalent to the iMX28-evk reference design. ARM kernel is 184.108.40.206. (220.127.116.11-571-gcca29a0-svn55052 #8 PREEMPT Mon Feb 25 17:22:26 EST 2013 armv5tejl GNU/Linux). All processes are run as root for this embedded hardware.