Running Ubuntu in a Virtualbox on windows 10 slow Teensy detection

Hello,

I have a slow Linux machine where I normally compile Teensy code on. Hence the compile time is slow, but the upload is fast.

My idea was to run Linux on my Windows 10 machine in Virtualbox to speed up compile times, which are way faster, but the upload takes 8 seconds due to slow detection of USB devices. (where this only takes about 1 second on native Linux).

Everything works, but the switch from Serial device to "Programeble device" takes 8 to 0 seconds:

Code:
[Dec27 11:58] usb 1-2: new high-speed USB device number 6 using xhci_hcd
[  +0.331670] usb 1-2: New USB device found, idVendor=16c0, idProduct=0483, bcdDevice= 2.79
[  +0.000002] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  +0.000001] usb 1-2: Product: USB Serial
[  +0.000001] usb 1-2: Manufacturer: Teensyduino
[  +0.000001] usb 1-2: SerialNumber: 8620210
[  +0.009307] cdc_acm 1-2:1.0: ttyACM0: USB ACM device
[  +9.723510] usb 1-2: USB disconnect, device number 6
[  +0.607020] usb 1-3: new high-speed USB device number 7 using xhci_hcd
[  +0.330832] usb 1-3: New USB device found, idVendor=16c0, idProduct=0478, bcdDevice= 1.05
[  +0.000002] usb 1-3: New USB device strings: Mfr=0, Product=0, SerialNumber=1
[  +0.000001] usb 1-3: SerialNumber: 000D2745
[  +0.008244] hid-generic 0003:16C0:0478.0003: hidraw1: USB HID v1.11 Device [HID 16c0:0478] on usb-0000:00:0c.0-3/input0

I do not want to do this under Windows because the whole workflow is setup to work under Linux.

Anyone any experience or idea on how I can speed up this device detection. I've searched to assign a dedicated USB port to the VM, but could not find any information about that.

Thank you.
 
Back
Top