Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jan 2017 22:03:37 +1100
From:      Graham Menhennitt <graham@menhennitt.com.au>
To:        Alfred Perlstein <alfred@freebsd.org>, Hans Petter Selasky <hps@selasky.org>
Cc:        freebsd-ports@freebsd.org, vbox@FreeBSD.org, jkim@freebsd.org
Subject:   Re: VirtualBox port not working with USB
Message-ID:  <e71e47e7-39dc-fff5-2626-bc87027955f3@menhennitt.com.au>
In-Reply-To: <4688B879-09A3-40FC-8018-F25A41ECA426@freebsd.org>
References:  <49a336e6-3954-1536-6a59-150bb63e667a@menhennitt.com.au> <442573a6-27f9-2eb3-39ef-334a61dbce1b@freebsd.org> <8e7ce173-63d9-4466-6f33-d96d4f17f48e@selasky.org> <4688B879-09A3-40FC-8018-F25A41ECA426@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 24/01/2017 04:19, Alfred Perlstein wrote:
> Graham, can you follow what Hans is asking and report back please?
>
>
>> On Jan 23, 2017, at 8:14 AM, Hans Petter Selasky <hps@selasky.org> wrote:
>>
>>
>> There hasn't been any big changes in the FreeBSD userspace interfaces used by virtualbox for a while. Maybe you can try to collect output from "usbdump -i usbusX -f Y -s 65536 > log.txt" where X and Y are the numbers after ugenX.Y for the device in question. I'll give virtualbox from FreeBSD ports a spin and see if there is something obvious broken.
>>


Alfred,

Thanks for putting me in touch with Hans.



Hans,

Thanks for replying and looking into this.

Unfortunately, there is no USB activity logged with the failing versions 
- please see below.

In both cases, I start VirtualBox, then on the Device->USB menu I try to 
tick Epson Scanner. On version 5.0.26, the box next to that menu item 
appears ticked. On version 5.1.14, it doesn't. Trying to tick it again 
gives the error message that I put in the PR.

Thanks again,

     Graham


Firstly:

# dmesg|grep -i epson
ugen2.2: <EPSON EPSON Scanner> at usbus2

Then, with version 5.1.14 which fails:

# usbdump -i usbus2 -f 2 -s 65536
^C

0 packets captured
0 packets received by filter
0 packets dropped by kernel
#

Finally, with version 5.0.26 which works correctly:

# usbdump -i usbus2 -f 2 -s 65536
19:55:12.862903 usbus2.2 SUBM-CTRL-EP=00000080,SPD=HIGH,NFR=2,SLEN=8,IVAL=0
19:55:12.863686 usbus2.2 
DONE-CTRL-EP=00000080,SPD=HIGH,NFR=2,SLEN=20,IVAL=0,ERR=0
19:55:12.863708 usbus2.2 SUBM-CTRL-EP=00000080,SPD=HIGH,NFR=2,SLEN=8,IVAL=0
19:55:12.863806 usbus2.2 
DONE-CTRL-EP=00000080,SPD=HIGH,NFR=2,SLEN=12,IVAL=0,ERR=0
19:55:12.964663 usbus2.2 SUBM-CTRL-EP=00000080,SPD=HIGH,NFR=2,SLEN=8,IVAL=0
19:55:12.965599 usbus2.2 
DONE-CTRL-EP=00000080,SPD=HIGH,NFR=2,SLEN=32,IVAL=0,ERR=0
19:55:13.239772 usbus2.2 SUBM-CTRL-EP=00000080,SPD=HIGH,NFR=2,SLEN=8,IVAL=0
19:55:13.240505 usbus2.2 
DONE-CTRL-EP=00000080,SPD=HIGH,NFR=2,SLEN=4,IVAL=0,ERR=0
19:55:13.245722 usbus2.2 SUBM-CTRL-EP=00000080,SPD=HIGH,NFR=2,SLEN=8,IVAL=0
19:55:13.246249 usbus2.2 
DONE-CTRL-EP=00000080,SPD=HIGH,NFR=2,SLEN=28,IVAL=0,ERR=0
19:55:13.251713 usbus2.2 SUBM-CTRL-EP=00000080,SPD=HIGH,NFR=2,SLEN=8,IVAL=0
19:55:13.251999 usbus2.2 
DONE-CTRL-EP=00000080,SPD=HIGH,NFR=2,SLEN=4,IVAL=0,ERR=0
19:55:13.257704 usbus2.2 SUBM-CTRL-EP=00000080,SPD=HIGH,NFR=2,SLEN=8,IVAL=0
19:55:13.258494 usbus2.2 
DONE-CTRL-EP=00000080,SPD=HIGH,NFR=2,SLEN=28,IVAL=0,ERR=0
^C
14 packets captured
14 packets received by filter
0 packets dropped by kernel
#




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e71e47e7-39dc-fff5-2626-bc87027955f3>