From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A85FBC433EF for ; Mon, 31 Jan 2022 03:18:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1357434AbiAaDSl (ORCPT ); Sun, 30 Jan 2022 22:18:41 -0500 Received: from mx1.librem.one ([138.201.176.93]:37636 "EHLO mx1.librem.one" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236781AbiAaDSj (ORCPT ); Sun, 30 Jan 2022 22:18:39 -0500 Received: from smtp.librem.one (unknown [192.241.214.14]) by mx1.librem.one (Postfix) with ESMTPS id 11CDB81E77; Sun, 30 Jan 2022 19:18:36 -0800 (PST) Authentication-Results: name mx1.librem.one; dmarc=fail (p=none dis=none) header.from=librem.one Authentication-Results: mx1.librem.one; dkim=pass (2048-bit key; unprotected) header.d=librem.one header.i=@librem.one header.b="q+/GhYr8"; dkim-atps=neutral Subject: Re: Get j5 WebCam JVCU100 supported by Linux UVC driver DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=librem.one; s=smtp; t=1643599114; bh=MSorFXKB7fGGg0Mbko7XKcZSEV4UPHratsg44B8gO2o=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=q+/GhYr8zH5Q8NxFhN8VQMg1VzO5jCCluGM40V8+yOSY5/Ih61t7Bz8O9kQwAhr9G HBzMJ77pxycgTufnFCpBvDEYQr3bYcDFm4CvGbUQpkf8swK8Ivo+meRLNXOs4NVDjG LQAjzqvQp9kwHzg5Hj8wER6OawTu9VUkNqC3/KEgv8w8M22BB3rkp1LHTGZIA/rjrd pYuLvdFd4K529GMKjKJM+swVnSmUDrdsCETZjlMFoE45dcT0wQPBbzEfP/Gqp9jQ3b nNMrlVEDIhF5w22I+MXYHwgQ0HXgYQpV4Tq/uQ4jAzDT4nJ66PTg0ibHPkDqGrUw6f esOMLPBlS0z6w== To: Laurent Pinchart Cc: Ricardo Ribalda , linux-media@vger.kernel.org References: <38609c2c-8b15-4aa1-a1a1-c219d4ff4e83@librem.one> From: Mohammad Message-ID: <6cc718e4-87ee-cc91-1208-6f48419bad31@librem.one> Date: Sun, 30 Jan 2022 21:18:32 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Hi Laurent, As it happens, I have two Windows machines; one with Windows 7 and another with Windows 10.  Which version of Windows should I test it on, and how do I capture a USB trace in Windows?  I appreciate the help! On 1/30/22 6:00 PM, Laurent Pinchart wrote: > Hi Mohammad, > > On Sun, Jan 30, 2022 at 12:12:53PM -0600, Mohammad wrote: >> Is there a way around this problem?  Would I have to reach out to the >> device manufacturer? > If you have access to a Windows machine, it could be useful to check if > it works there. If it doesn't, the device is likely faulty. If it does, > then a debugging session would be required, which could involve > capturing a USB trace when using the camera under Windows, to figure out > what is different between Windows and Linux. > >> On 1/28/22 4:47 AM, Laurent Pinchart wrote: >>> On Fri, Jan 28, 2022 at 09:31:43AM +0100, Ricardo Ribalda wrote: >>>> I received out of list the dmesg output from Mohammad >>>> >>>> It looks like a hardware error to me: >>>> >>>> [ 48.729618] iTCO_wdt: unable to reset NO_REBOOT flag, device disabled by hardware/BIOS >>>> [ 48.749361] uvcvideo: Found UVC 1.00 device j5 WebCam JVCU100 (0711:3108) >>>> [ 48.751876] uvcvideo: Failed to query (129) UVC probe control : -32 (exp. 26). >>> A GET_CUR failure on the video probe control is indeed fairly bad. If I >>> had to guess, I would suspect either an issue at the USB level, or a >>> firmware bug in the webcam. >>> >>>> [ 48.751879] uvcvideo: Failed to initialize the device (-5). >>>> [ 48.751930] usbcore: registered new interface driver uvcvideo >>>> >>>> On Wed, 26 Jan 2022 at 17:23, Ricardo Ribalda wrote: >>>>> Hi Mohammad >>>>> >>>>> Could you share the output of dmesg when you connect the device? >>>>> >>>>> And also lsusb -vvvv -d 0711:3108 >>>>> >>>>> >>>>> Thanks! >>>>> >>>>> On Wed, 26 Jan 2022 at 17:20, Mohammad wrote: >>>>>> Greetings, >>>>>> >>>>>> I have been trying to use the j5 WebCam JVCU100 on Linux and it doesn't >>>>>> function properly. Cheese cannot seem to find it, and I did not see it >>>>>> listed on your list of supported devices, so I thought I would bring it >>>>>> to your attention. Here is what I see from running lsusb: >>>>>> >>>>>> Bus 001 Device 006: ID 0711:3108 Magic Control Technology Corp. j5 >>>>>> WebCam JVCU100 >>>>>> >>>>>> Also, running lsusb -d 0711:3108 -v | grep "14 Video" returns >>>>>> >>>>>> Couldn't open device, some information will be missing >>>>>> bFunctionClass 14 Video >>>>>> bInterfaceClass 14 Video >>>>>> bInterfaceClass 14 Video >>>>>> bInterfaceClass 14 Video >>>>>> bInterfaceClass 14 Video >>>>>> >>>>>> So, looks like the Linux UVC driver at least recognizes the webcam. >>>>>> Please let me know if you can help with this, thanks!