From owner-freebsd-virtualization@FreeBSD.ORG Thu Feb 12 23:54:24 2015 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E18FC290 for ; Thu, 12 Feb 2015 23:54:23 +0000 (UTC) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6FDBEFDA for ; Thu, 12 Feb 2015 23:54:23 +0000 (UTC) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 7F3E928428; Fri, 13 Feb 2015 00:54:21 +0100 (CET) Received: from illbsd.quip.test (ip-89-177-50-74.net.upcbroadband.cz [89.177.50.74]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 2035A28426; Fri, 13 Feb 2015 00:54:20 +0100 (CET) Message-ID: <54DD3D2B.10506@quip.cz> Date: Fri, 13 Feb 2015 00:54:19 +0100 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:35.0) Gecko/20100101 Firefox/35.0 SeaMonkey/2.32 MIME-Version: 1.0 To: Maurizio Vairani , freebsd-virtualization@freebsd.org Subject: Re: virtualbox-ose-4.3.16 USB passthrough does not work References: <54D927E5.6050601@quip.cz> <54D9E455.1080506@cloverinformatica.it> <54DD33AE.5070100@quip.cz> In-Reply-To: <54DD33AE.5070100@quip.cz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Feb 2015 23:54:24 -0000 Miroslav Lachman wrote on 02/13/2015 00:13: > Maurizio Vairani wrote on 02/10/2015 11:58: >> Il 09/02/2015 22:34, Miroslav Lachman ha scritto: >>> Hi, >>> I have virtualbox-ose-4.3.16 and virtualbox-ose-kmod-4.3.16 installed >>> on my PC-BSD (FreeBSD 10.1-RELEASE-p8 amd64 GENERIC). I tried to >>> connect DJ mixer Rane TTM57SL and pass it's USB device (Serato sound >>> card + special HID) to VBox guest Windows 7 Ultimated 32bit. > > [...] > >>> VirtualBox is running as root. >>> >>> Is USB passthrough supported on this version of VirtualBox? >>> >>> Should I have some special settings on host to allow this device for >>> VBox guest? >>> >>> Miroslav Lachman > > >> Hi, >> this bug was solved in version 4.3.20_1. Look at >> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194196 > > Thank you for your reply. I upgraded VirtualBox to version 4.3.20_4 but > now I have a different problem. > > I must modified devd/usb.conf to disable loading of kernel modules > snd_uaudio and uhid, I also disabled webcamd because it was launched by > USB device connect event. I also tried to stop devd. > > The problem is, that Windows 7 in VirtualBox does see the Serato USB > device as Sound card (listed in Windows Device Manager) > > # VBoxManage list usbhost > > UUID: d692318e-eff6-4aeb-8acc-c4a0b8d48dcd > VendorId: 0x13e5 (13E5) > ProductId: 0x0003 (0003) > Revision: 0.0 (0000) > Port: 0 > USB version/speed: 0/1 > Manufacturer: Serato > Product: TTM57SL > SerialNumber: TTM.01.00 > Address: /dev/ugen1.4 > Current State: Captured > > but when I run Serato Scratch Live or drivers install, the device > disappeared from the guest. > > > VBoxManage shows it as Busy and with different UUID and different ProductId > > > # VBoxManage list usbhost > > UUID: 7dff504b-adea-4740-b146-0d2c487dd961 > VendorId: 0x13e5 (13E5) > ProductId: 0x8003 (8003) > Revision: 0.0 (0000) > Port: 0 > USB version/speed: 0/1 > Manufacturer: Serato > Product: TTM57SL > SerialNumber: TTM.01.00 > Address: /dev/ugen1.4 > Current State: Busy > > > These two lines are written in to /var/log/messages in the event of the > disappearance from guest. > > Feb 13 00:02:18 xxx kernel: ugen1.4: at usbus1 (disconnected) > Feb 13 00:02:19 xxx kernel: ugen1.4: at usbus1 > > > Is there something more I can try to tune up? I got it. The Serato device is detected as soundcard by default, but when the manufacturer's software touch it, it is internally switched to some special device, no longer detected as soundcard and this is why it changes it's ProductId. VirtualBox guest must have both type of devices added as USB filter. Miroslav Lachman