Re: [PATCH v4 2/9] [media] v4l2-core: Add VFL_TYPE_TOUCH_SENSOR
From: Florian Echtler <hidden>
Date: 2016-06-22 20:38:14
Also in:
linux-media, lkml
On Wed, 22 Jun 2016, Nick Dyer wrote:
On 22/06/2016 12:48, Florian Echtler wrote:quoted
On 20.06.2016 14:00, Hans Verkuil wrote:quoted
On 06/17/2016 04:16 PM, Nick Dyer wrote:quoted
Use a new device prefix v4l-touch for these devices, to stop generic capture software from treating them as webcams.quoted
Come to think of it, wouldn't it make sense to expose the other touch devices as generic frame grabbers, too, so you can easily view the debug output with any generic tool like cheese?While I like the idea of being able to use the generic tools, I think we needed to do something to stop these devices turning up in e.g. video conferencing software - it would cause a lot of confusion. There's nothing stopping particular tools adding the necessary code to handle touch devices if they feel their users want it.
Just to clarify: from the userspace point-of-view, would this change simply modify the prefix of the device node (i.e. /dev/video1 -> /dev/v4l-touch1), or would it somehow affect the API? If it's just the device node name, then that shouldn't be a problem after all, because e.g. reacTIVision requires you to specify the exact camera to be used anyway. Florian -- "_Nothing_ brightens up my morning. Coffee simply provides a shade of grey just above the pitch-black of the infinite depths of the _abyss_."