[PATCH] Add video device support to Solid

Will Stephenson wstephenson at kde.org
Sun Oct 28 00:12:20 BST 2007


On Saturday 27 October 2007 23:28:35 Kevin Ottens wrote:
> Le samedi 27 octobre 2007, Richard Moore a écrit :
> > I'm a little concerned that this patch might be an obstacle to adding
> > support for TV cards in a future version of solid. eg. it appears to
> > consider all v4l devices to be webcams. Is this something you've
> > considered?
> 
> Actually, the only place where it does this assumption is for the icon name 
> returned in the HAL backend. Nothing critical IMO, we don't have better 
icons 
> for the other cases for now, and it'll be easy to extend in the future in a 
> BC way.

Right, and HAL doesn't have better information for the other cases as yet - 
I've been through the git20071017 sources we have in SUSE Factory and the v4l 
support there is only a skeleton.  All you can find out from it is that a 
device is a v4l device and its device path, so I took webcam as the most 
common case.  Applications that need to care can then use v4l itself. 

Will




More information about the kde-core-devel mailing list