Re: [sigrok-devel] [PATCH] usb: Add function to find serial devices via USB VID/PID.

2013-11-04 Thread Alex
On 11/04/2013 06:13 AM, poljar (Damir Jelić) wrote: > From: poljar (Damir Jelić) > > This patch adds a common function which tries to find USB serial devices via a > USB vendor and product ID. > Something like this has been proposed at least three times in the past, but Bert kept pulling the plug

Re: [sigrok-devel] [PATCH] usb: Add function to find serial devices via USB VID/PID.

2013-11-04 Thread Damir Jelić
On Mon, Nov 04, 2013 at 01:28:58PM +0100, Emil Brink wrote: >Hi! >That looks like a useful function to have. >Now, I'm not a sigrok developer, but still a micro-nitpick: shouldn't >the IDs be guint16, since they're actually only 16-bit values? >Regards, >/Emil Hi. Could be

Re: [sigrok-devel] [PATCH] usb: Add function to find serial devices via USB VID/PID.

2013-11-04 Thread Emil Brink
Hi! That looks like a useful function to have. Now, I'm not a sigrok developer, but still a micro-nitpick: shouldn't the IDs be guint16, since they're actually only 16-bit values? Regards, /Emil On Mon, Nov 4, 2013 at 1:13 PM, poljar (Damir Jelić) wrote: > From: poljar (Damir Jelić) > > Thi

[sigrok-devel] [PATCH] usb: Add function to find serial devices via USB VID/PID.

2013-11-04 Thread Damir Jelić
From: poljar (Damir Jelić) This patch adds a common function which tries to find USB serial devices via a USB vendor and product ID. This way a driver can automatically find the desired path to a serial device so the user doesn't have to specify a path on the command line. The function currentl