From owner-freebsd-multimedia@freebsd.org Tue Apr 7 16:35:44 2020 Return-Path: Delivered-To: freebsd-multimedia@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8572C274914 for ; Tue, 7 Apr 2020 16:35:44 +0000 (UTC) (envelope-from marc@blackend.org) Received: from smtp4-g21.free.fr (smtp4-g21.free.fr [IPv6:2a01:e0c:1:1599::13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48xY1W3BM6z3Pph for ; Tue, 7 Apr 2020 16:35:42 +0000 (UTC) (envelope-from marc@blackend.org) Received: from emphyrio.blackend.org (unknown [82.64.86.146]) by smtp4-g21.free.fr (Postfix) with ESMTPS id 10AF519F5CE for ; Tue, 7 Apr 2020 18:35:30 +0200 (CEST) Received: from emphyrio.blackend.org (localhost [127.0.0.1]) by emphyrio.blackend.org (8.15.2/8.15.2) with ESMTPS id 037GZTNN004644 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Tue, 7 Apr 2020 18:35:29 +0200 (CEST) (envelope-from marc@emphyrio.blackend.org) Received: (from marc@localhost) by emphyrio.blackend.org (8.15.2/8.15.2/Submit) id 037GZSax004643 for freebsd-multimedia@freebsd.org; Tue, 7 Apr 2020 18:35:28 +0200 (CEST) (envelope-from marc) Date: Tue, 7 Apr 2020 18:35:28 +0200 From: Marc Fonvieille To: freebsd-multimedia@freebsd.org Subject: Re: OV511 based webcam and webcamd Message-ID: <20200407163528.GA1027@emphyrio.blackend.org> Mail-Followup-To: freebsd-multimedia@freebsd.org References: <20200403120447.GA2599@emphyrio.blackend.org> <20200404134530.GA1250@emphyrio.blackend.org> <207e9fe4-8872-fb8d-4612-1f59a58b1d09@selasky.org> <20200406135820.GA5552@emphyrio.blackend.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200406135820.GA5552@emphyrio.blackend.org> X-Rspamd-Queue-Id: 48xY1W3BM6z3Pph X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of marc@blackend.org has no SPF policy when checking 2a01:e0c:1:1599::13) smtp.mailfrom=marc@blackend.org X-Spamd-Result: default: False [0.47 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.79)[-0.790,0]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; IP_SCORE(-0.01)[ip: (4.80), ipnet: 2a01:e00::/26(-3.23), asn: 12322(-1.62), country: FR(0.00)]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-multimedia@freebsd.org]; TO_DN_NONE(0.00)[]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; DMARC_NA(0.00)[freebsd.org]; NEURAL_SPAM_LONG(0.07)[0.069,0]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[blackend@freebsd.org,marc@blackend.org]; RECEIVED_SPAMHAUS_PBL(0.00)[146.86.64.82.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:12322, ipnet:2a01:e00::/26, country:FR]; FROM_NEQ_ENVFROM(0.00)[blackend@freebsd.org,marc@blackend.org]; RCVD_TLS_ALL(0.00)[]; TO_DOM_EQ_FROM_DOM(0.00)[] X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Apr 2020 16:35:44 -0000 On 06.04.2020 15:58, Marc Fonvieille wrote: > webcamd-usb-interface : ov511_i2c_w 19 05 > webcamd-usb-interface : SET 02 0000 0042 19 > webcamd-usb-interface : SET 02 0000 0045 05 > webcamd-usb-interface : SET 02 0000 0040 01 > webcamd-usb-interface : GET 03 0000 0040 00 > webcamd-usb-interface : SET 02 0000 0052 02 > webcamd-usb-interface : SET 02 0000 0052 00 > webcamd-usb-interface : restarting > webcamd-usb-interface : SET 02 0000 0055 01 > webcamd-usb-interface : isoc irq > webcamd-usb-interface : isoc irq > Ok, I read /media_tree/drivers/media/usb/gspca/ov519.c These are the last steps from sd_start function. So, I get a "ugen0.3: at usbus0 (disconnected)" and webcamd ends, always at the same place. >From what I understand (which can be totally wrong), communication with Endpoint0 is working but when the system tries to get the data (video) from Endpoint1, it fails. -- Marc