Re: [PATCHv2] media-ctl: support a bus-info string as argument to -d

2019-02-15 Thread Hans Verkuil
On 2/15/19 10:22 AM, Laurent Pinchart wrote: > Hi Hans, > > Thank you for the patch. > > On Fri, Feb 15, 2019 at 09:10:24AM +0100, Hans Verkuil wrote: >> If the device passed to the -d option is not found, then interpret it >> as a bus-info string and try to open all media devices and see which o

Re: [PATCHv2] media-ctl: support a bus-info string as argument to -d

2019-02-15 Thread Laurent Pinchart
Hi Hans, Thank you for the patch. On Fri, Feb 15, 2019 at 09:10:24AM +0100, Hans Verkuil wrote: > If the device passed to the -d option is not found, then interpret it > as a bus-info string and try to open all media devices and see which one > reports a bus-info string equal to the -d argument.

[PATCHv2] media-ctl: support a bus-info string as argument to -d

2019-02-15 Thread Hans Verkuil
If the device passed to the -d option is not found, then interpret it as a bus-info string and try to open all media devices and see which one reports a bus-info string equal to the -d argument. That makes it possible to open a specific media device without having to know the name of the media dev