Simultaneous access to bttv device
The Setup:
I am using ffserver to feed a live flv stream from my ATI-TV Wonder (bttv) to a website. My system is on Gentoo with the 2.6.22-r8, AMD64 x2. I am also using scanimage to take periodic stills from the same /dev/video0 device. The card works great and this was running flawlessly a few months ago.
The Problem:
I did a system update which upgraded my kernel from 2.6.20? as well an sane and several (most) other packages. Now I can only access the /dev/video0 device by one app at a time. The common failure is having ffserver running and scanimage runs to grap the still. The error I get is below:
scanimage: sane_start: Invalid argument
I have tried just about everything that I can find on the web to solve this. From everything I can find, v4l2 (bttv should support this) allows simultaneous access. The strange thing is that it use to! The kernel update was performed via make oldconfig and I verified that everything in the old kernel was still supported in the new one.
Any ideas are welcome, and thanks for the help in advance. I expect there is a simple solution to this, but I have exhausted my knowledge without finding it.
PhilD
|