From owner-freebsd-usb@freebsd.org Tue Dec 4 20:48:20 2018 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4FA0313213BE for ; Tue, 4 Dec 2018 20:48:20 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [IPv6:2a01:4f8:c17:6c4b::2]) (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 1F30A72099 for ; Tue, 4 Dec 2018 20:48:18 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [178.17.145.230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id D49CC2600DC; Tue, 4 Dec 2018 21:48:16 +0100 (CET) Subject: Re: Add support for USB devices To: =?UTF-8?B?0JjQs9C+0YDRjCDQp9GD0LTQvtCy?= , freebsd-usb References: <1855191543868767@iva7-d29a8296bc3c.qloud-c.yandex.net> <12955961543941230@sas1-a3690af4eda2.qloud-c.yandex.net> From: Hans Petter Selasky Message-ID: <1734e8fe-1ddd-2312-3c76-2b8b54d9cab4@selasky.org> Date: Tue, 4 Dec 2018 21:47:42 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0.1 MIME-Version: 1.0 In-Reply-To: <12955961543941230@sas1-a3690af4eda2.qloud-c.yandex.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 1F30A72099 X-Spamd-Result: default: False [-6.28 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+a:mail.turbocat.net]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[selasky.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[mail.turbocat.net]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.98)[-0.976,0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; IP_SCORE(-2.99)[ip: (-8.86), ipnet: 2a01:4f8::/29(-3.60), asn: 24940(-2.49), country: DE(-0.01)]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Dec 2018 20:48:20 -0000 On 12/4/18 5:33 PM, Игорь Чудов wrote: > Hello! > > Thanks for the suggestion. I already tried that approach. webcamd is able to create the /dev/video0 device out of my webcam but it's not enough to get it working. Unfortunately I have to make deeper investigation of problems so I need someone who will be able to help me to study FreeBSD USB stack. Some useful tools: - usbdump can dump all traffic. - usbconfig can dump all config and device descriptors - webcamd can be compiled with debugging. Maybe an error is printed. --HPS