Re: [PATCH 1/2] v4l-utils: do not query capabilities of sub-devices.

2017-10-20 Thread Sakari Ailus
Hi Hans, On Fri, Oct 20, 2017 at 01:56:48PM +0200, Hans Verkuil wrote: > On 19/10/17 16:53, Sakari Ailus wrote: > > Hi Harald and Hans, > > > > On Thu, Oct 19, 2017 at 03:09:15PM +0200, Harald Dankworth wrote: > >> Find the major and minor numbers of the device. Check if the > >> file /dev/dev/ch

Re: [PATCH 1/2] v4l-utils: do not query capabilities of sub-devices.

2017-10-20 Thread Hans Verkuil
On 19/10/17 16:53, Sakari Ailus wrote: > Hi Harald and Hans, > > On Thu, Oct 19, 2017 at 03:09:15PM +0200, Harald Dankworth wrote: >> Find the major and minor numbers of the device. Check if the >> file /dev/dev/char/major:minor/uevent contains "DEVNAME=v4l-subdev". >> If so, the device is a sub-d

Re: [PATCH 1/2] v4l-utils: do not query capabilities of sub-devices.

2017-10-19 Thread Sakari Ailus
Hi Harald and Hans, On Thu, Oct 19, 2017 at 03:09:15PM +0200, Harald Dankworth wrote: > Find the major and minor numbers of the device. Check if the > file /dev/dev/char/major:minor/uevent contains "DEVNAME=v4l-subdev". > If so, the device is a sub-device. > > Signed-off-by: Harald Dankworth > R

[PATCH 1/2] v4l-utils: do not query capabilities of sub-devices.

2017-10-19 Thread Harald Dankworth
Find the major and minor numbers of the device. Check if the file /dev/dev/char/major:minor/uevent contains "DEVNAME=v4l-subdev". If so, the device is a sub-device. Signed-off-by: Harald Dankworth Reviewed-by: Hans Verkuil --- utils/v4l2-ctl/v4l2-ctl.cpp | 56 +++