Re: Bug: Two device nodes created in /dev for a single UVC webcam

2018-03-04 Thread Alexandre-Xavier Labonté-Lamoureux
Hi Laurent, I see why. `make install` installed my newly built modules into `/lib/modules/4.9.0-5-amd64`, but I was running version 4.9.0-6 of the kernel. Each kernel version has its own folder with its own modules. I tried to revert the four commits, but they created conflicts. I wasn't able to

Re: Bug: Two device nodes created in /dev for a single UVC webcam

2018-02-25 Thread Laurent Pinchart
Hi Alexandre-Xavier, On Sunday, 25 February 2018 10:19:51 EET Alexandre-Xavier Labonté-Lamoureux wrote: > Hi Laurent, > > Sorry for the late reply. > > I've been trying to reproduce the issue again. I cloned the entire > media repository later during the week and I haven't been able to >

Re: Bug: Two device nodes created in /dev for a single UVC webcam

2018-02-25 Thread Alexandre-Xavier Labonté-Lamoureux
Hi Laurent, Sorry for the late reply. I've been trying to reproduce the issue again. I cloned the entire media repository later during the week and I haven't been able to reproduce the issue after I installed the modules. A metadata node is no longer created for my webcam. The four commits that

Re: Bug: Two device nodes created in /dev for a single UVC webcam

2018-02-20 Thread Laurent Pinchart
Hi Devin, On Tuesday, 20 February 2018 20:18:16 EET Devin Heitmueller wrote: > On Mon, Feb 19, 2018 at 11:19 AM, Laurent Pinchart wrote: > > I've tested VLC (2.2.8) and haven't noticed any issue. If a program is > > directed to the metadata video node and tries to capture video from it it > >

Re: Bug: Two device nodes created in /dev for a single UVC webcam

2018-02-20 Thread Devin Heitmueller
Hi Laurent, On Mon, Feb 19, 2018 at 11:19 AM, Laurent Pinchart wrote: > I've tested VLC (2.2.8) and haven't noticed any issue. If a program is > directed to the metadata video node and tries to capture video from it it will > obviously fail. That being said,

Re: Bug: Two device nodes created in /dev for a single UVC webcam

2018-02-19 Thread Laurent Pinchart
Hi Alexandre-Xavier, On Monday, 19 February 2018 19:29:24 EET Alexandre-Xavier Labonté-Lamoureux wrote: > Hi Kieran, > > This is how I built the drivers: > > $ git clone --depth=1 git://linuxtv.org/media_build.git > $ cd media_build > $ ./build --main-git > > I then installed the newly built

Re: Bug: Two device nodes created in /dev for a single UVC webcam

2018-02-19 Thread Alexandre-Xavier Labonté-Lamoureux
Hi Kieran, This is how I built the drivers: $ git clone --depth=1 git://linuxtv.org/media_build.git $ cd media_build $ ./build --main-git I then installed the newly built kernel modules: $ sudo make install Once the modules were updated, I restarted my computer to make sure every module got

Re: Bug: Two device nodes created in /dev for a single UVC webcam

2018-02-19 Thread Laurent Pinchart
Hello, On Monday, 19 February 2018 15:58:40 EET Guennadi Liakhovetski wrote: > On Mon, 19 Feb 2018, Kieran Bingham wrote: > > On 17/02/18 20:47, Alexandre-Xavier Labonté-Lamoureux wrote: > >> Hi, > >> > >> I'm running Linux 4.9.0-5-amd64 on Debian. I built the drivers from > >> the latest git

Re: Bug: Two device nodes created in /dev for a single UVC webcam

2018-02-19 Thread Guennadi Liakhovetski
Hi Kieran, On Mon, 19 Feb 2018, Kieran Bingham wrote: > Hi Alexandre, > > Thankyou for your bug report, > > On 17/02/18 20:47, Alexandre-Xavier Labonté-Lamoureux wrote: > > Hi, > > > > I'm running Linux 4.9.0-5-amd64 on Debian. I built the drivers from > > the latest git and installed the

Re: Bug: Two device nodes created in /dev for a single UVC webcam

2018-02-19 Thread Kieran Bingham
Hi Alexandre, Thankyou for your bug report, On 17/02/18 20:47, Alexandre-Xavier Labonté-Lamoureux wrote: > Hi, > > I'm running Linux 4.9.0-5-amd64 on Debian. I built the drivers from > the latest git and installed the modules. Could you please be specific here? Are you referring to

Bug: Two device nodes created in /dev for a single UVC webcam

2018-02-17 Thread Alexandre-Xavier Labonté-Lamoureux
Hi, I'm running Linux 4.9.0-5-amd64 on Debian. I built the drivers from the latest git and installed the modules. Now, two device nodes are created for my webcam. This is not normal as it has never happened to me before. If I connect another webcam to my laptop, two more device nodes will be

segfault with UVC webcam

2016-04-10 Thread Yan Seiner
Hi everyone: I am trying to use a Samsung branded webcam and it's resulting in a segfault. This happens with both 3.13 and 4.3.6 kernels. Googling around doesn't reveal anything useful. [ 110.605327] usb 2-1.2: new high-speed USB device number 5 using ehci-pci [ 110.698450] usb 2-1.2:

Re: Query regarding the support and testing of MJPEG frame type in the UVC webcam gadget

2012-08-03 Thread Laurent Pinchart
in the UVC webcam gadget. I see that in the webcam.c gadget, the 720p and VGA MJPEG uvc formats are supported. I was trying the same out and got confused because the data arriving from a real video capture video supporting JPEG will have no fixed size. We will have the JPEG defined

RE: Query regarding the support and testing of MJPEG frame type in the UVC webcam gadget

2012-08-03 Thread Bhupesh SHARMA
type in the UVC webcam gadget Hi Bhupesh, On Wednesday 01 August 2012 21:29:30 Bhupesh SHARMA wrote: On Wednesday, August 01, 2012 6:46 PM Laurent Pinchart wrote: On Wednesday 01 August 2012 14:26:33 Bhupesh SHARMA wrote: Hi Laurent, I have a query for you regarding the support

Query regarding the support and testing of MJPEG frame type in the UVC webcam gadget

2012-08-01 Thread Bhupesh SHARMA
Hi Laurent, I have a query for you regarding the support and testing of MJPEG frame type in the UVC webcam gadget. I see that in the webcam.c gadget, the 720p and VGA MJPEG uvc formats are supported. I was trying the same out and got confused because the data arriving from a real video capture

Re: Query regarding the support and testing of MJPEG frame type in the UVC webcam gadget

2012-08-01 Thread Laurent Pinchart
Hi Bhupesh, On Wednesday 01 August 2012 14:26:33 Bhupesh SHARMA wrote: Hi Laurent, I have a query for you regarding the support and testing of MJPEG frame type in the UVC webcam gadget. I see that in the webcam.c gadget, the 720p and VGA MJPEG uvc formats are supported. I was trying

RE: Query regarding the support and testing of MJPEG frame type in the UVC webcam gadget

2012-08-01 Thread Bhupesh SHARMA
the support and testing of MJPEG frame type in the UVC webcam gadget Hi Bhupesh, On Wednesday 01 August 2012 14:26:33 Bhupesh SHARMA wrote: Hi Laurent, I have a query for you regarding the support and testing of MJPEG frame type in the UVC webcam gadget. I see that in the webcam.c

RE: [PATCH 4/5] usb: gadget/uvc: Port UVC webcam gadget to use videobuf2 framework

2012-07-25 Thread Bhupesh SHARMA
-...@vger.kernel.org; ba...@ti.com; linux- me...@vger.kernel.org; gre...@linuxfoundation.org Subject: Re: [PATCH 4/5] usb: gadget/uvc: Port UVC webcam gadget to use videobuf2 framework Hi Bhupesh, On Tuesday 03 July 2012 23:42:59 Bhupesh SHARMA wrote: Hi Laurent, Thanks for your review and sorry

Re: [Regression 3.1-3.2, bisected] UVC-webcam: kernel panic when starting capturing

2012-07-16 Thread Frank Schäfer
Am 16.07.2012 01:24, schrieb Laurent Pinchart: Hi Frank, On Sunday 15 July 2012 21:39:47 Frank Schäfer wrote: Am 15.07.2012 14:07, schrieb Laurent Pinchart: On Thursday 12 July 2012 21:07:56 Frank Schäfer wrote: Hi, when I start capturing from the UVC-webcam 2232:1005 (WebCam SCB-0385N

Re: [Regression 3.1-3.2, bisected] UVC-webcam: kernel panic when starting capturing

2012-07-15 Thread Laurent Pinchart
Hi Frank, Thanks for the report. On Thursday 12 July 2012 21:07:56 Frank Schäfer wrote: Hi, when I start capturing from the UVC-webcam 2232:1005 (WebCam SCB-0385N) of my netbook, I get a kernel panic. You can find a screenshot of the backtrace here: http://imageshack.us/photo/my-images

Re: [Regression 3.1-3.2, bisected] UVC-webcam: kernel panic when starting capturing

2012-07-15 Thread Frank Schäfer
Am 15.07.2012 14:07, schrieb Laurent Pinchart: Hi Frank, Thanks for the report. On Thursday 12 July 2012 21:07:56 Frank Schäfer wrote: Hi, when I start capturing from the UVC-webcam 2232:1005 (WebCam SCB-0385N) of my netbook, I get a kernel panic. You can find a screenshot

Re: [Regression 3.1-3.2, bisected] UVC-webcam: kernel panic when starting capturing

2012-07-15 Thread Laurent Pinchart
Hi Frank, On Sunday 15 July 2012 21:39:47 Frank Schäfer wrote: Am 15.07.2012 14:07, schrieb Laurent Pinchart: On Thursday 12 July 2012 21:07:56 Frank Schäfer wrote: Hi, when I start capturing from the UVC-webcam 2232:1005 (WebCam SCB-0385N) of my netbook, I get a kernel panic. You

Re: [PATCH 4/5] usb: gadget/uvc: Port UVC webcam gadget to use videobuf2 framework

2012-07-07 Thread Laurent Pinchart
Hi Bhupesh, On Tuesday 03 July 2012 23:42:59 Bhupesh SHARMA wrote: Hi Laurent, Thanks for your review and sorry for being late with my replies. I have a lot on my plate these days :) No worries, I'm no less busy anyway :-) On Tuesday, June 19, 2012 4:19 AM Laurent Pinchart wrote: On

RE: [PATCH 4/5] usb: gadget/uvc: Port UVC webcam gadget to use videobuf2 framework

2012-07-03 Thread Bhupesh SHARMA
-...@vger.kernel.org; ba...@ti.com; linux- me...@vger.kernel.org; gre...@linuxfoundation.org Subject: Re: [PATCH 4/5] usb: gadget/uvc: Port UVC webcam gadget to use videobuf2 framework Hi Bhupesh, Thanks for the patch. It looks quite good, please see below for various small comments. On Friday 01 June

RE: [PATCH 4/5] usb: gadget/uvc: Port UVC webcam gadget to use videobuf2 framework

2012-06-18 Thread Bhupesh SHARMA
; gre...@linuxfoundation.org; Bhupesh SHARMA Subject: [PATCH 4/5] usb: gadget/uvc: Port UVC webcam gadget to use videobuf2 framework This patch reworks the videobuffer management logic present in the UVC webcam gadget and ports it to use the more apt videobuf2 framework for video buffer

Re: [PATCH 4/5] usb: gadget/uvc: Port UVC webcam gadget to use videobuf2 framework

2012-06-18 Thread Laurent Pinchart
Hi Bhupesh, Thanks for the patch. It looks quite good, please see below for various small comments. On Friday 01 June 2012 15:08:57 Bhupesh Sharma wrote: This patch reworks the videobuffer management logic present in the UVC webcam gadget and ports it to use the more apt videobuf2 framework

RE: [PATCH 3/5] usb: gadget/uvc: Add super-speed support to UVC webcam gadget

2012-06-15 Thread Bhupesh SHARMA
-speed support to UVC webcam gadget Hi Bhupesh, (Dropping Greg from the CC list, I think he gets enough e-mails already without our help :-)) Ofcourse :) On Saturday 09 June 2012 13:39:34 Bhupesh SHARMA wrote: Hi Laurent, Thanks for your review comments. Please find my comments

Re: [PATCH 3/5] usb: gadget/uvc: Add super-speed support to UVC webcam gadget

2012-06-11 Thread Laurent Pinchart
4/5 and 5/5 and ask you to post a new version. I'll send incremental patches for 1/5 to 3/5 myself. On Friday 01 June 2012 15:08:56 Bhupesh Sharma wrote: This patch adds super-speed support to UVC webcam gadget. Also in this patch: - We add the configurability to pass bInterval

Re: [PATCH 3/5] usb: gadget/uvc: Add super-speed support to UVC webcam gadget

2012-06-08 Thread Laurent Pinchart
Sharma wrote: This patch adds super-speed support to UVC webcam gadget. Also in this patch: - We add the configurability to pass bInterval, bMaxBurst, mult factors for video streaming endpoint (ISOC IN) through module parameters. - We use config_ep_by_speed helper

RE: [PATCH 3/5] usb: gadget/uvc: Add super-speed support to UVC webcam gadget

2012-06-08 Thread Bhupesh SHARMA
for re-review and incorporation in gadget-next. On Friday 01 June 2012 15:08:56 Bhupesh Sharma wrote: This patch adds super-speed support to UVC webcam gadget. Also in this patch: - We add the configurability to pass bInterval, bMaxBurst, mult factors for video streaming endpoint

RE: [PATCH 4/5] usb: gadget/uvc: Port UVC webcam gadget to use videobuf2 framework

2012-06-04 Thread Bhupesh SHARMA
4/5] usb: gadget/uvc: Port UVC webcam gadget to use videobuf2 framework On Fri, Jun 01, 2012 at 03:08:57PM +0530, Bhupesh Sharma wrote: This patch reworks the videobuffer management logic present in the UVC webcam gadget and ports it to use the more apt videobuf2 framework for video

Re: [PATCH 4/5] usb: gadget/uvc: Port UVC webcam gadget to use videobuf2 framework

2012-06-04 Thread Felipe Balbi
On Fri, Jun 01, 2012 at 03:08:57PM +0530, Bhupesh Sharma wrote: This patch reworks the videobuffer management logic present in the UVC webcam gadget and ports it to use the more apt videobuf2 framework for video buffer management. To support routing video data captured from a real V4L2 video

Re: [PATCH 4/5] usb: gadget/uvc: Port UVC webcam gadget to use videobuf2 framework

2012-06-04 Thread Felipe Balbi
-media@vger.kernel.org; gre...@linuxfoundation.org Subject: Re: [PATCH 4/5] usb: gadget/uvc: Port UVC webcam gadget to use videobuf2 framework On Fri, Jun 01, 2012 at 03:08:57PM +0530, Bhupesh Sharma wrote: This patch reworks the videobuffer management logic present in the UVC

RE: [PATCH 4/5] usb: gadget/uvc: Port UVC webcam gadget to use videobuf2 framework

2012-06-04 Thread Bhupesh SHARMA
: gadget/uvc: Port UVC webcam gadget to use videobuf2 framework On Mon, Jun 04, 2012 at 11:21:13PM +0800, Bhupesh SHARMA wrote: Hi Felipe, -Original Message- From: Felipe Balbi [mailto:ba...@ti.com] Sent: Monday, June 04, 2012 8:44 PM To: Bhupesh SHARMA Cc

Re: [PATCH 4/5] usb: gadget/uvc: Port UVC webcam gadget to use videobuf2 framework

2012-06-04 Thread Felipe Balbi
@vger.kernel.org; gre...@linuxfoundation.org Subject: Re: [PATCH 4/5] usb: gadget/uvc: Port UVC webcam gadget to use videobuf2 framework On Mon, Jun 04, 2012 at 11:21:13PM +0800, Bhupesh SHARMA wrote: Hi Felipe, -Original Message- From: Felipe Balbi [mailto:ba

RE: [PATCH 4/5] usb: gadget/uvc: Port UVC webcam gadget to use videobuf2 framework

2012-06-04 Thread Bhupesh SHARMA
: [PATCH 4/5] usb: gadget/uvc: Port UVC webcam gadget to use videobuf2 framework Hi, On Mon, Jun 04, 2012 at 11:37:59PM +0800, Bhupesh SHARMA wrote: -Original Message- From: Felipe Balbi [mailto:ba...@ti.com] Sent: Monday, June 04, 2012 8:59 PM To: Bhupesh SHARMA Cc: ba

Re: [PATCH 4/5] usb: gadget/uvc: Port UVC webcam gadget to use videobuf2 framework

2012-06-04 Thread Laurent Pinchart
management logic present in the UVC webcam gadget and ports it to use the more apt videobuf2 framework for video buffer management. To support routing video data captured from a real V4L2 video capture device with a zero copy operation on videobuffers (as they pass from the V4L2

Re: [PATCH 4/5] usb: gadget/uvc: Port UVC webcam gadget to use videobuf2 framework

2012-06-04 Thread Felipe Balbi
+0530, Bhupesh Sharma wrote: This patch reworks the videobuffer management logic present in the UVC webcam gadget and ports it to use the more apt videobuf2 framework for video buffer management. To support routing video data captured from a real V4L2 video capture device

[PATCH 0/5] UVC webcam gadget related changes

2012-06-01 Thread Bhupesh Sharma
This patchset tries to take the UVC webcam gadget one step closer to being used with a real V4L2 video capture device (via a user-space application which is responsible for ensuring correct sequence of operations being performed on both UVC gadget and V4L2 capture device end). A major change

[PATCH 3/5] usb: gadget/uvc: Add super-speed support to UVC webcam gadget

2012-06-01 Thread Bhupesh Sharma
This patch adds super-speed support to UVC webcam gadget. Also in this patch: - We add the configurability to pass bInterval, bMaxBurst, mult factors for video streaming endpoint (ISOC IN) through module parameters. - We use config_ep_by_speed helper routine

[PATCH 4/5] usb: gadget/uvc: Port UVC webcam gadget to use videobuf2 framework

2012-06-01 Thread Bhupesh Sharma
This patch reworks the videobuffer management logic present in the UVC webcam gadget and ports it to use the more apt videobuf2 framework for video buffer management. To support routing video data captured from a real V4L2 video capture device with a zero copy operation on videobuffers

Re: Using UVC webcam gadget with a real v4l2 device

2012-05-02 Thread Laurent Pinchart
Hi Bhupesh, On Monday 30 April 2012 18:47:24 Bhupesh SHARMA wrote: On Monday, April 30, 2012 3:51 PM Laurent Pinchart wrote: On Thursday 26 April 2012 13:23:59 Bhupesh SHARMA wrote: Hi Laurent, Sorry to jump-in before your reply on my previous mail, but as I was studying the

Re: Using UVC webcam gadget with a real v4l2 device

2012-04-30 Thread Laurent Pinchart
Hi Bhupesh, On Thursday 26 April 2012 13:23:59 Bhupesh SHARMA wrote: Hi Laurent, Sorry to jump-in before your reply on my previous mail, but as I was studying the USERPTR stuff in more detail, I have a few more queries which I believe you can include in your reply as well.. [snip] I am

RE: Using UVC webcam gadget with a real v4l2 device

2012-04-30 Thread Bhupesh SHARMA
Hi Laurent, -Original Message- From: Laurent Pinchart [mailto:laurent.pinch...@ideasonboard.com] Sent: Monday, April 30, 2012 3:51 PM To: Bhupesh SHARMA Cc: linux-...@vger.kernel.org; linux-media@vger.kernel.org; ba...@ti.com; g.liakhovet...@gmx.de Subject: Re: Using UVC webcam

RE: Using UVC webcam gadget with a real v4l2 device

2012-04-29 Thread Bhupesh SHARMA
Hi Laurent, -Original Message- From: Bhupesh SHARMA Sent: Thursday, April 26, 2012 10:54 AM To: 'Laurent Pinchart' Cc: 'linux-...@vger.kernel.org'; 'linux-media@vger.kernel.org'; 'ba...@ti.com'; 'g.liakhovet...@gmx.de' Subject: RE: Using UVC webcam gadget with a real v4l2 device

RE: Using UVC webcam gadget with a real v4l2 device

2012-04-25 Thread Bhupesh SHARMA
Hi Laurent, -Original Message- From: Laurent Pinchart [mailto:laurent.pinch...@ideasonboard.com] Sent: Tuesday, April 24, 2012 2:26 AM To: Bhupesh SHARMA Cc: linux-...@vger.kernel.org; linux-media@vger.kernel.org; ba...@ti.com; g.liakhovet...@gmx.de Subject: Re: Using UVC webcam

RE: Using UVC webcam gadget with a real v4l2 device

2012-04-25 Thread Bhupesh SHARMA
To: 'Laurent Pinchart' Cc: linux-...@vger.kernel.org; linux-media@vger.kernel.org; ba...@ti.com; g.liakhovet...@gmx.de Subject: RE: Using UVC webcam gadget with a real v4l2 device Hi Laurent, -Original Message- From: Laurent Pinchart [mailto:laurent.pinch...@ideasonboard.com

Re: Using UVC webcam gadget with a real v4l2 device

2012-04-24 Thread Laurent Pinchart
On Tuesday 24 April 2012 08:36:34 Peter Chen wrote: On Mon, Apr 23, 2012 at 2:24 AM, Bhupesh SHARMA wrote: Hi Laurent, I have been doing some experimentation with the UVC webcam gadget along with the UVC user-space application which you have written. I have tried UVC webcam gadget

Re: Using UVC webcam gadget with a real v4l2 device

2012-04-23 Thread Laurent Pinchart
Hi Bhupesh, On Monday 23 April 2012 02:24:53 Bhupesh SHARMA wrote: Hi Laurent, I have been doing some experimentation with the UVC webcam gadget along with the UVC user-space application which you have written. The UVC webcam gadget works fine with the user space application handling

RE: Using UVC webcam gadget with a real v4l2 device

2012-04-23 Thread Bhupesh SHARMA
Hi Laurent, -Original Message- From: Laurent Pinchart [mailto:laurent.pinch...@ideasonboard.com] Sent: Monday, April 23, 2012 7:47 PM To: Bhupesh SHARMA Cc: linux-...@vger.kernel.org; linux-media@vger.kernel.org; ba...@ti.com; g.liakhovet...@gmx.de Subject: Re: Using UVC webcam

Re: Using UVC webcam gadget with a real v4l2 device

2012-04-23 Thread Laurent Pinchart
Hi Bhupesh, On Tuesday 24 April 2012 02:46:22 Bhupesh SHARMA wrote: On Monday, April 23, 2012 7:47 PM Laurent Pinchart wrote: On Monday 23 April 2012 02:24:53 Bhupesh SHARMA wrote: Hi Laurent, I have been doing some experimentation with the UVC webcam gadget along with the UVC

Re: Using UVC webcam gadget with a real v4l2 device

2012-04-23 Thread Peter Chen
On Mon, Apr 23, 2012 at 2:24 AM, Bhupesh SHARMA bhupesh.sha...@st.com wrote: Hi Laurent, I have been doing some experimentation with the UVC webcam gadget along with the UVC user-space application which you have written. I have tried UVC webcam gadget at Freescale i.mx platform

Re: UVC Webcam

2010-05-05 Thread Laurent Pinchart
Hi Gijo, On Thursday 29 April 2010 12:54:16 Gijo Prems wrote: Hello, I have some queries related to linux uvc client driver(uvcvideo) and general uvc webcam functionality. 1. There is a wDelay (during probe-commit) parameter which camera exposes to the host signifying the delay (Latency

UVC Webcam

2010-04-30 Thread Gijo Prems
Hello, I have some queries related to linux uvc client driver(uvcvideo) and general uvc webcam functionality. 1. There is a wDelay (during probe-commit) parameter which camera exposes to the host signifying the delay (Latency) inside the camera. Does the UVC driver on Linux Host expose