Support for Focusrite Scarlett, and in general usb soundcards

Discussions related to using VirtualBox on Linux hosts.
edufissure
Posts: 79
Joined: 8. Sep 2018, 19:27

Support for Focusrite Scarlett, and in general usb soundcards

Post by edufissure »

Hi, im using Ubuntu 18.04 as host and W10 64bits as guest. So id like to use my Focusrite Scarlet 4i4 but it doesnt work:
The model is: https://www.egitana.es/focusrite-scarle ... 496/?pes=1

Would be nice to have a generic driver for usb soundcards for djs and professional use.

Thanks
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Support for Focusrite Scarlett, and in general usb soundcards

Post by mpack »

VirtualBox is not usually in the business of providing hardware drivers, instead it emulates hardware which the guest OS already has drivers for. If vendor drivers are available for your chosen combo of USB device and guest OS then that's what you use. If the guest OS drivers are generic class drivers then so much the better: but writing that kind of driver is the province of those developing the OS.
edufissure
Posts: 79
Joined: 8. Sep 2018, 19:27

Re: Support for Focusrite Scarlett, and in general usb soundcards

Post by edufissure »

Sorry drivers is not the word.
I want/suggest virtualbox could use this kind of soundcards, using probably emulation.
Focusrite has already drivers for W10. But some how is not compatible with vms in virtualbox....

Thanks
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Support for Focusrite Scarlett, and in general usb soundcards

Post by scottgus1 »

When Virtualbox uses the host soundcard, the host provides the drivers for the soundcard (or you install host OS drivers for the soundcard on the host OS), and Virtualbox becomes one of the many apps that can use the soundcard, just like web browsers, games, and media players.

Since your device is USB, it should be passable into the VM using Virtualbox's USB filters. It can then be directly run by Windows 10 in the VM using the Windows drivers installed in the VM.

Carefully go through USB basics and troubleshooting. If you finish all the steps 1-7 and cannot get your USB device into the guest OS, carefully post the outputs of the commands in step 8 as text, not screenshots. Zip and post the logs step 8 call for, using the forum's Upload Attachment tab.

Moving this to Linux Hosts, as the Suggestions forum doesn't allow uploads.
edufissure
Posts: 79
Joined: 8. Sep 2018, 19:27

Re: Support for Focusrite Scarlett, and in general usb soundcards

Post by edufissure »

I posted it already 19 months ago... https://www.virtualbox.org/ticket/19869
No news or update.

I thought that may be forgotten, and publish it in the forums could make someone can make some things to solve the problem.

Thanks
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Support for Focusrite Scarlett, and in general usb soundcards

Post by scottgus1 »

edufissure wrote:I posted it already 19 months ago
That's not what the Bugtracker is for. The Bugtracker is for, wait for it ... Bugs. We are nowhere near bug-level status yet, and the devs simply ignore off-topic bug tickets, since they're too busy developing Virtualbox.

Re-run the tutorial diagnosis info and post it here. Please run new data, we don't want to see the 19-month-old moldy data.
edufissure
Posts: 79
Joined: 8. Sep 2018, 19:27

Re: Support for Focusrite Scarlett, and in general usb soundcards

Post by edufissure »

I thought it was a bug, because USB devices where recognized but it didnt work...

Linux host: Ubuntu 20.04.4 64bits
Windows guest: Windows 10 64bits
( both host and guest updated to latest versions).

Code: Select all

eduardo@MiPcLinux:~$ id
uid=1001(eduardo) gid=1001(eduardo) grupos=1001(eduardo),0(root),4(adm),5(tty),7(lp),10(uucp),20(dialout),27(sudo),29(audio),33(www-data),50(staff),109(lpadmin),124(sambashare),139(kvm),143(libvirtd),153(ubridge),998(wildfly),1006(vboxusers)

Code: Select all

eduardo@MiPcLinux:~$ VBoxManage list usbhost
Host USB Devices:

UUID:               01d7b9d3-ba09-42e0-a07c-2b72a4a8f500
VendorId:           0x1235 (1235)
ProductId:          0x8212 (8212)
Revision:           6.69 (0669)
Port:               9
USB version/speed:  2/High
Manufacturer:       Focusrite
Product:            Scarlett 4i4 USB
SerialNumber:       D8Q7CWR9505044
Address:            sysfs:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-10//device:/dev/vboxusb/001/002
Current State:      Busy

UUID:               4e48dc4e-4d35-4737-8a67-f4808f13b0f9
VendorId:           0x0bc2 (0BC2)
ProductId:          0xab24 (AB24)
Revision:           1.0 (0100)
Port:               6
USB version/speed:  3/Super
Manufacturer:       Seagate
Product:            BUP Slim RD
SerialNumber:       NA9CQ1XP
Address:            sysfs:/sys/devices/pci0000:00/0000:00:14.0/usb2/2-7//device:/dev/vboxusb/002/002
Current State:      Busy

UUID:               231debd0-f65d-4eee-9217-53916046ccbb
VendorId:           0x0764 (0764)
ProductId:          0x0501 (0501)
Revision:           0.1 (0001)
Port:               11
USB version/speed:  2/Full
Manufacturer:       CPS
Product:            CP1500EPFCLCD
SerialNumber:       CRMGV2000027
Address:            sysfs:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-12//device:/dev/vboxusb/001/004
Current State:      Busy

UUID:               0225a3b7-489b-4f8f-992e-59a464aad86a
VendorId:           0x058f (058F)
ProductId:          0x9540 (9540)
Revision:           1.32 (0132)
Port:               2
USB version/speed:  2/Full
Manufacturer:       Generic
Product:            EMV Smartcard Reader
Address:            sysfs:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-11/1-11.3//device:/dev/vboxusb/001/007
Current State:      Available

UUID:               86f86cc1-2508-43ab-a5be-212ad4518aa3
VendorId:           0x046d (046D)
ProductId:          0xc31c (C31C)
Revision:           100.0 (10000)
Port:               3
USB version/speed:  1/Low
Manufacturer:       Logitech
Product:            USB Keyboard
Address:            sysfs:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-11/1-11.4//device:/dev/vboxusb/001/008
Current State:      Busy

UUID:               457edf76-1075-4f49-b7dc-bb60dbfb8cd9
VendorId:           0x046d (046D)
ProductId:          0xc077 (C077)
Revision:           114.0 (11400)
Port:               0
USB version/speed:  2/Low
Manufacturer:       Logitech
Product:            USB Optical Mouse
Address:            sysfs:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-11/1-11.1//device:/dev/vboxusb/001/005
Current State:      Busy

UUID:               b20d651e-42e9-4152-8beb-8cb42f4a9fb4
VendorId:           0x046d (046D)
ProductId:          0x082d (082D)
Revision:           0.17 (0017)
Port:               1
USB version/speed:  2/High
Manufacturer:       Logitech, Inc.
Product:            HD Pro Webcam C920
SerialNumber:       DAE15B3F
Address:            sysfs:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-11/1-11.2//device:/dev/vboxusb/001/006
Current State:      Busy

Code: Select all

eduardo@MiPcLinux:~$ VBoxManage list usbfilters
Global USB Device Filters:

<none>

Code: Select all



eduardo@MiPcLinux:~$ VBoxManage showvminfo Windows10
Name:                        Windows10
Groups:                      /
Guest OS:                    Windows 10 (64-bit)
UUID:                        0f0e7a1e-80d0-403c-b83e-c86f795ceb3a
Config file:                 /media/Samsung/Maquinas VirtualBox/Clientes Windows/Windows10/Windows10.vbox
Snapshot folder:             /media/Samsung/Maquinas VirtualBox/Clientes Windows/Windows10/Snapshots
Log folder:                  /media/Samsung/Maquinas VirtualBox/Clientes Windows/Windows10/Logs
Hardware UUID:               a3dbf88c-ecfb-490a-9404-3a7bafd16384
Memory size:                 8192MB
Page Fusion:                 disabled
VRAM size:                   128MB
CPU exec cap:                100%
HPET:                        disabled
CPUProfile:                  host
Chipset:                     piix3
Firmware:                    BIOS
Number of CPUs:              4
PAE:                         disabled
Long Mode:                   enabled
Triple Fault Reset:          disabled
APIC:                        enabled
X2APIC:                      disabled
Nested VT-x/AMD-V:           disabled
CPUID Portability Level:     0
CPUID overrides:             None
Boot menu mode:              message and menu
Boot Device 1:               Floppy
Boot Device 2:               DVD
Boot Device 3:               HardDisk
Boot Device 4:               Not Assigned
ACPI:                        enabled
IOAPIC:                      enabled
BIOS APIC mode:              APIC
Time offset:                 0ms
RTC:                         local time
Hardware Virtualization:     enabled
Nested Paging:               enabled
Large Pages:                 disabled
VT-x VPID:                   enabled
VT-x Unrestricted Exec.:     enabled
Paravirt. Provider:          Default
Effective Paravirt. Prov.:   HyperV
State:                       powered off (since 2022-04-12T19:02:25.000000000)
Graphics Controller:         VBoxSVGA
Monitor count:               1
3D Acceleration:             disabled
2D Video Acceleration:       disabled
Teleporter Enabled:          disabled
Teleporter Port:             0
Teleporter Address:          
Teleporter Password:         
Tracing Enabled:             disabled
Allow Tracing to Access VM:  disabled
Tracing Configuration:       
Autostart Enabled:           disabled
Autostart Delay:             0
Default Frontend:            
VM process priority:         default
Storage Controller Name (0):            SATA
Storage Controller Type (0):            IntelAhci
Storage Controller Instance Number (0): 0
Storage Controller Max Port Count (0):  30
Storage Controller Port Count (0):      5
Storage Controller Bootable (0):        on
SATA (0, 0): /media/Samsung/Maquinas VirtualBox/Clientes Windows/Windows10/Windows10 clonar-disk1.vdi (UUID: f67fcd00-6e29-4877-bc01-2af059e5db19)
SATA (1, 0): /usr/share/virtualbox/VBoxGuestAdditions.iso (UUID: d39878ca-3b32-48db-9a0b-ce10e6cbf747)
NIC 1:                       MAC: 08002771E687, Attachment: Bridged Interface 'enp2s0', Cable connected: on, Trace: off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none
NIC 2:                       MAC: 0800275945E9, Attachment: Internal Network 'intnet', Cable connected: on, Trace: off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none
NIC 3:                       disabled
NIC 4:                       disabled
NIC 5:                       disabled
NIC 6:                       disabled
NIC 7:                       disabled
NIC 8:                       disabled
Pointing Device:             USB Tablet
Keyboard Device:             PS/2 Keyboard
UART 1:                      disabled
UART 2:                      disabled
UART 3:                      disabled
UART 4:                      disabled
LPT 1:                       disabled
LPT 2:                       disabled
Audio:                       enabled (Driver: PulseAudio, Controller: HDA, Codec: STAC9221)
Audio playback:              enabled
Audio capture:               enabled
Clipboard Mode:              Bidirectional
Drag and drop Mode:          Bidirectional
VRDE:                        disabled
OHCI USB:                    disabled
EHCI USB:                    disabled
xHCI USB:                    enabled

USB Device Filters:

Index:                       0
Active:                      yes
Name:                        CPS CP1500EPFCLCD [0001]
VendorId:                    0764
ProductId:                   0501
Revision:                    0001
Manufacturer:                CPS
Product:                     CP1500EPFCLCD
Remote:                      0
Serial Number:               CRMGV2000027

Index:                       1
Active:                      yes
Name:                        Generic EMV Smartcard Reader [0120]
VendorId:                    058f
ProductId:                   9540
Revision:                    0120
Manufacturer:                Generic
Product:                     EMV Smartcard Reader
Remote:                      0
Serial Number:               

Index:                       2
Active:                      no
Name:                        Logitech USB Keyboard [6400]
VendorId:                    046d
ProductId:                   c31c
Revision:                    6400
Manufacturer:                Logitech
Product:                     USB Keyboard
Remote:                      0
Serial Number:               

Index:                       3
Active:                      yes
Name:                        Logitech, Inc. HD Pro Webcam C920 [0011]
VendorId:                    046d
ProductId:                   082d
Revision:                    0011
Manufacturer:                
Product:                     HD Pro Webcam C920
Remote:                      0
Serial Number:               DAE15B3F

Index:                       4
Active:                      yes
Name:                        HP Photosmart C4100 series [0100]
VendorId:                    03f0
ProductId:                   5711
Revision:                    0100
Manufacturer:                HP
Product:                     Photosmart C4100 series
Remote:                      0
Serial Number:               MY72OJ10XW04J7

Index:                       5
Active:                      yes
Name:                        Focusrite Scarlett 4i4 USB [0645]
VendorId:                    1235
ProductId:                   8212
Revision:                    0645
Manufacturer:                Focusrite
Product:                     Scarlett 4i4 USB
Remote:                      0
Serial Number:               D8Q7CWR9505044

Index:                       6
Active:                      no
Name:                        Seagate BUP Slim RD [0100]
VendorId:                    0bc2
ProductId:                   ab24
Revision:                    0100
Manufacturer:                Seagate
Product:                     BUP Slim RD
Remote:                      0
Serial Number:               NA9CQ1XP

Bandwidth groups:  <none>

Shared folders:

Name: 'Samsung', Host path: '/media/Samsung' (machine mapping), writable, auto-mount
Name: 'eduardo', Host path: '/home/eduardo' (machine mapping), writable, auto-mount

Capturing:                   not active
Capture audio:               not active
Capture screens:             0
Capture file:                /media/Samsung/Maquinas VirtualBox/Clientes Windows/Windows10/Windows10.webm
Capture dimensions:          1024x768
Capture rate:                512kbps
Capture FPS:                 25kbps
Capture options:             ac_enabled=false

Description:
usuario : edufissure@msn.com password PIN: 5152
Guest:

Configured memory balloon size: 0MB
I think its all needed....if you need some more information just let me know
Thanks in advance
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Support for Focusrite Scarlett, and in general usb soundcards

Post by scottgus1 »

One problem I see right off:
edufissure wrote:VBoxManage list usbhost
Host USB Devices:

UUID:               01d7b9d3-ba09-42e0-a07c-2b72a4a8f500
VendorId:           0x1235 (1235)
ProductId:          0x8212 (8212)
Revision:           6.69 (0669)
Port:               9
USB version/speed:  2/High
Manufacturer:       Focusrite
Product:            Scarlett 4i4 USB
SerialNumber:       D8Q7CWR9505044
Address:            sysfs:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-10//device:/dev/vboxusb/001/002
edufissure wrote:Index:                       5
Active:                      yes
Name:                        Focusrite Scarlett 4i4 USB [0645]
VendorId:                    1235
ProductId:                   8212
Revision:                    0645
Manufacturer:                Focusrite
Product:                     Scarlett 4i4 USB
Remote:                      0
Serial Number:               D8Q7CWR9505044
This filter won't match.

The tutorial says a VM log is needed, generated according to the stated procedure. Also note post 4 step 3 about what to put in the filter.
edufissure
Posts: 79
Joined: 8. Sep 2018, 19:27

Re: Support for Focusrite Scarlett, and in general usb soundcards

Post by edufissure »

I do what you said, but doesnt work.
As happened before, seems that w10 ( guest) detects the soundcard and display sound in the speakers. But this sound doesnt output to the real speakers.
In the other hand if i use the soundcard integrated in motherboard, the sound works well ( so in my opinion i can discard problems of volume of speakers or physical connection).
Seems that vm cant output the sound the right way, so the host machine could reproduce them in the real speakers...

If you need anything else id do my best.

Thanks
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Support for Focusrite Scarlett, and in general usb soundcards

Post by scottgus1 »

edufissure wrote:I do what you said,
Looks like you haven't yet:
scottgus1 wrote:The tutorial says a VM log is needed, generated according to the stated procedure.
USB Basics and Troubleshooting wrote:Finally, a log from a cold_start / login / plug_USB / unplug_USB / complete_shutdown cycle:
Start the VM from cold-boot (not from a paused or saved state).
After you've logged in, plug the USB device. Wait (idling) for a minute or two. Unplug the USB device.
Shutdown the VM (not paused or saved).
Right-click on the VM in the VirtualBox Manager and select "Show Log".
Save only the first "VBox.log", ZIP it and attach it to your response (see the "Upload attachment" tab below the reply form).
You need to also find, ZIP and attach the "VBoxSVC.log", because the USB device enumeration and capturing is all done from VBoxSVC[1]:
Linux: "/home/<you>/.config/VirtualBox/VBoxSVC.log" (note the period in the folder name, ".")
OSX: "/Users/<you>/Library/VirtualBox/VBoxSVC.log"
Windows: "C:\Users\<you>\.VirtualBox\VBoxSVC.log" (note the period in the folder name, ".")
No log, no help.

Also, re-run and post VBoxManage showvminfo "Your Virtual Machine Name" so we can check on the modified filter because of the highlighted discrepancy in my last post.
edufissure
Posts: 79
Joined: 8. Sep 2018, 19:27

Re: Support for Focusrite Scarlett, and in general usb soundcards

Post by edufissure »

Sorry i didnt notice.... i attach the log file..... ( please take a look to thecomment of VBoxSVC.log....

I only followed the usb tutorial....

The re-run and post VBoxManage showvminfo "Your Virtual Machine Name" so we can check on the modified filter because of the highlighted discrepancy in my last post.

Code: Select all

eduardo@MiPcLinux:~$ VBoxManage showvminfo Windows10
Name:                        Windows10
Groups:                      /
Guest OS:                    Windows 10 (64-bit)
UUID:                        0f0e7a1e-80d0-403c-b83e-c86f795ceb3a
Config file:                 /media/Samsung/Maquinas VirtualBox/Clientes Windows/Windows10/Windows10.vbox
Snapshot folder:             /media/Samsung/Maquinas VirtualBox/Clientes Windows/Windows10/Snapshots
Log folder:                  /media/Samsung/Maquinas VirtualBox/Clientes Windows/Windows10/Logs
Hardware UUID:               a3dbf88c-ecfb-490a-9404-3a7bafd16384
Memory size:                 8192MB
Page Fusion:                 disabled
VRAM size:                   128MB
CPU exec cap:                100%
HPET:                        disabled
CPUProfile:                  host
Chipset:                     piix3
Firmware:                    BIOS
Number of CPUs:              4
PAE:                         disabled
Long Mode:                   enabled
Triple Fault Reset:          disabled
APIC:                        enabled
X2APIC:                      disabled
Nested VT-x/AMD-V:           disabled
CPUID Portability Level:     0
CPUID overrides:             None
Boot menu mode:              message and menu
Boot Device 1:               Floppy
Boot Device 2:               DVD
Boot Device 3:               HardDisk
Boot Device 4:               Not Assigned
ACPI:                        enabled
IOAPIC:                      enabled
BIOS APIC mode:              APIC
Time offset:                 0ms
RTC:                         local time
Hardware Virtualization:     enabled
Nested Paging:               enabled
Large Pages:                 disabled
VT-x VPID:                   enabled
VT-x Unrestricted Exec.:     enabled
Paravirt. Provider:          Default
Effective Paravirt. Prov.:   HyperV
State:                       powered off (since 2022-04-14T12:47:36.000000000)
Graphics Controller:         VBoxSVGA
Monitor count:               1
3D Acceleration:             disabled
2D Video Acceleration:       disabled
Teleporter Enabled:          disabled
Teleporter Port:             0
Teleporter Address:          
Teleporter Password:         
Tracing Enabled:             disabled
Allow Tracing to Access VM:  disabled
Tracing Configuration:       
Autostart Enabled:           disabled
Autostart Delay:             0
Default Frontend:            
VM process priority:         default
Storage Controller Name (0):            SATA
Storage Controller Type (0):            IntelAhci
Storage Controller Instance Number (0): 0
Storage Controller Max Port Count (0):  30
Storage Controller Port Count (0):      5
Storage Controller Bootable (0):        on
SATA (0, 0): /media/Samsung/Maquinas VirtualBox/Clientes Windows/Windows10/Windows10 clonar-disk1.vdi (UUID: f67fcd00-6e29-4877-bc01-2af059e5db19)
SATA (1, 0): /usr/share/virtualbox/VBoxGuestAdditions.iso (UUID: d39878ca-3b32-48db-9a0b-ce10e6cbf747)
NIC 1:                       MAC: 08002771E687, Attachment: Bridged Interface 'enp2s0', Cable connected: on, Trace: off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none
NIC 2:                       MAC: 0800275945E9, Attachment: Internal Network 'intnet', Cable connected: on, Trace: off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none
NIC 3:                       disabled
NIC 4:                       disabled
NIC 5:                       disabled
NIC 6:                       disabled
NIC 7:                       disabled
NIC 8:                       disabled
Pointing Device:             USB Tablet
Keyboard Device:             PS/2 Keyboard
UART 1:                      disabled
UART 2:                      disabled
UART 3:                      disabled
UART 4:                      disabled
LPT 1:                       disabled
LPT 2:                       disabled
Audio:                       enabled (Driver: PulseAudio, Controller: HDA, Codec: STAC9221)
Audio playback:              enabled
Audio capture:               enabled
Clipboard Mode:              Bidirectional
Drag and drop Mode:          Bidirectional
VRDE:                        disabled
OHCI USB:                    disabled
EHCI USB:                    disabled
xHCI USB:                    enabled

USB Device Filters:

Index:                       0
Active:                      yes
Name:                        CPS CP1500EPFCLCD [0001]
VendorId:                    0764
ProductId:                   0501
Revision:                    0001
Manufacturer:                CPS
Product:                     CP1500EPFCLCD
Remote:                      0
Serial Number:               CRMGV2000027

Index:                       1
Active:                      yes
Name:                        Generic EMV Smartcard Reader [0120]
VendorId:                    058f
ProductId:                   9540
Revision:                    0120
Manufacturer:                Generic
Product:                     EMV Smartcard Reader
Remote:                      0
Serial Number:               

Index:                       2
Active:                      no
Name:                        Logitech USB Keyboard [6400]
VendorId:                    046d
ProductId:                   c31c
Revision:                    6400
Manufacturer:                Logitech
Product:                     USB Keyboard
Remote:                      0
Serial Number:               

Index:                       3
Active:                      yes
Name:                        Logitech, Inc. HD Pro Webcam C920 [0011]
VendorId:                    046d
ProductId:                   082d
Revision:                    0011
Manufacturer:                
Product:                     HD Pro Webcam C920
Remote:                      0
Serial Number:               DAE15B3F

Index:                       4
Active:                      yes
Name:                        HP Photosmart C4100 series [0100]
VendorId:                    03f0
ProductId:                   5711
Revision:                    0100
Manufacturer:                HP
Product:                     Photosmart C4100 series
Remote:                      0
Serial Number:               MY72OJ10XW04J7

Index:                       5
Active:                      yes
Name:                        Soundcard
VendorId:                    1235
ProductId:                   8212
Revision:                    
Manufacturer:                
Product:                     
Remote:                      
Serial Number:               

Index:                       6
Active:                      no
Name:                        Seagate BUP Slim RD [0100]
VendorId:                    0bc2
ProductId:                   ab24
Revision:                    0100
Manufacturer:                Seagate
Product:                     BUP Slim RD
Remote:                      0
Serial Number:               NA9CQ1XP

Bandwidth groups:  <none>

Shared folders:

Name: 'Samsung', Host path: '/media/Samsung' (machine mapping), writable, auto-mount
Name: 'eduardo', Host path: '/home/eduardo' (machine mapping), writable, auto-mount

Capturing:                   not active
Capture audio:               not active
Capture screens:             0
Capture file:                /media/Samsung/Maquinas VirtualBox/Clientes Windows/Windows10/Windows10.webm
Capture dimensions:          1024x768
Capture rate:                512kbps
Capture FPS:                 25kbps
Capture options:             ac_enabled=false

Description:
usuario : edufissure@msn.com password PIN: 5152
Guest:

Configured memory balloon size: 0MB


Thanks for your help, i apreciated it a lot...
Attachments
VBoxSVC.log
Its located in /home/eduardo/.VirtualBox because the one you said in /home/eduardo/.config/Virtualbox, was from march 2014 ;)
(3.47 KiB) Downloaded 4 times
Windows10-2022-04-14-14-47-36.zip
(44.04 KiB) Downloaded 6 times
fth0
Volunteer
Posts: 5668
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Support for Focusrite Scarlett, and in general usb soundcards

Post by fth0 »

scottgus1 wrote:One problem I see right off: [...]Revision[...]
FWIW, this is a red herring. VBoxManage showvminfo decodes the Revision (USB standard: bcdDevice) incorrectly. The correct output for the Revision 0x0645 would be "6.4.5 (0645)". Note that 0x45 equates 69 decimal.

The VBox.log file in 19869 shows that the filter worked as expected in the past.
fth0
Volunteer
Posts: 5668
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Support for Focusrite Scarlett, and in general usb soundcards

Post by fth0 »

edufissure wrote:As happened before, seems that w10 ( guest) detects the soundcard and display sound in the speakers. But this sound doesnt output to the real speakers.
Please elaborate on that, by describing the whole path that the audio data is supposed to go. What is the audio source (e.g. Audio device or disk file), where does it go (e.g. audio device, disk file, VM, PC, speaker)? At which positions in the path can you verify that the audio data really comes along? In your description, try to imagine the VM and the PC as two separate PCs.
edufissure
Posts: 79
Joined: 8. Sep 2018, 19:27

Re: Support for Focusrite Scarlett, and in general usb soundcards

Post by edufissure »

Its difficult what you are asking for...but id try to do my best.
If something is missing, dont doubt to answer the post...

Linux Host: Connected to 2 speakers ( pioneer).
Windows guest:
Audio source -> whatever, youtube, disk file... ( from the same vm, not connected to any external device)
Windows10 seems to recoginze the usb soundcard, the volumenter is moving like something is playing. ( you can see the soundmeter very low but is moving....)
Selection_687.png
Selection_687.png (64.46 KiB) Viewed 3561 times
Here perhaps is better shown:
2022-04-15.png
2022-04-15.png (112.91 KiB) Viewed 3561 times
The Altavoces ( speakers) in Focusrite seems to work. but as said i cant hear anything in speakers of host computer.
When i change the output of w10 to Altavoces High Definiton Audio Devuce, everything works ok. Sound can be hear in speakers.
Again if i change to Focusrite, no output is listened in speakers.

But not sound is listening in speakers. Ont thing has changed from other day, when they told me to change usb filters, is that now from time to time you can hear a crackle when
usb soundcard is enabled. Before i heared absolutely nothing.
Obviously the usb soundcard works when no vm is started.

If you change the audio soundcard, from focusrite to the integrated audio soundcard in motherboard -> it works as expected.
So some how windows vm is throwing the sound, but host cant get it and make it sound by the speakers.

As said i tried to show the best i can, if you need something else let me know...

ps: i have made some tests, changing the guest vm from w10 to ubuntu 20.04 ( same as host). The problem is the same, i cant hear anything through speakers if i use the focusrite output.
Works perfect if i use the HDAD output. So seems a bug or incompatibility issue.
fth0
Volunteer
Posts: 5668
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Support for Focusrite Scarlett, and in general usb soundcards

Post by fth0 »

Ok, the audio source is within the VM. The Altavoces High Definition Audio Device is the virtual audio output device provided by VirtualBox to the VM, and if you use that, the audio will be playing on the standard audio output device of the host PC. This is expected behavior.

Additionally, there is the Altavoces Focusrite device, which is provided by VirtualBox as a USB device to the VM. Inside the Windows guest OS, it is configured as a phone device.

Then there is the Altavoces Boom Audio device, which is configured as the standard audio output device inside the Windows guest OS. What and where is this device, and what role does it play in your setup?

Up to now, this sounds like a configuration problem inside the Windows guest OS ...
Post Reply