First time here? Check out the FAQ!
THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.
0

Capture audio from USB sound card on Linux

Hi, i want to capture the usb traffic from focusrite scarlett in a linux host. Is this usb 2.0 ( i have other usb devices connected to the host). I need to debug why as my soundcard seems to work, i cant hear anything from speakers.

The device using lsusb: Bus 001 Device 002: ID 1235:8212 Focusrite-Novation Scarlett 4i4 USB

So how can i do this ? I can see interfaces usbmon1,usbmons2... but i dont know which device, what filter put...im newbie here.

Also if i start a windows 10 guest vm with virtualbox, id like how to capture traffic in the vm.

Thanks

eduardo74's avatar
1
eduardo74
asked 2022-04-30 08:54:34 +0000
Guy Harris's avatar
19.9k
Guy Harris
updated 2022-05-01 02:12:55 +0000
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

The device using lsusb: Bus 001 Device 002: ID 1235:8212 Focusrite-Novation Scarlett 4i4 USB

So how can i do this ? I can see interfaces usbmon1,usbmons2... but i dont know which device, what filter put...im newbie here.

"Bus 001" means that it's on bus 1; you would sniff on usbmon1 to capture traffic to and from that device, as that's the "bus 1" device.

Also if i start a windows 10 guest vm with virtualbox, id like how to capture traffic in the vm.

That's an unrelated question; ask it separately.

Guy Harris's avatar
19.9k
Guy Harris
answered 2022-05-01 02:11:38 +0000
edit flag offensive 0 remove flag delete link

Comments

But there are some other devices in same bus1: my lsusb is:

Bus 002 Device 002: ID 0bc2:ab24 Seagate RSS LLC Backup Plus Portable Drive
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 0764:0501 Cyber Power System, Inc. CP1500 AVR UPS
Bus 001 Device 008: ID 046d:c31c Logitech, Inc. Keyboard K120
Bus 001 Device 007: ID 058f:9540 Alcor Micro Corp. AU9540 Smartcard Reader
Bus 001 Device 006: ID 046d:082d Logitech, Inc. HD Pro Webcam C920
Bus 001 Device 005: ID 046d:c077 Logitech, Inc. M105 Optical Mouse
Bus 001 Device 003: ID 05e3:0606 Genesys Logic, Inc. USB 2.0 Hub / D-Link DUB-H4 USB 2.0 Hub
Bus 001 Device 002: ID 1235:8212 Focusrite-Novation Scarlett 4i4 USB
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

So can i use ... (more)

eduardo74's avatar eduardo74 (2022-05-01 17:38:59 +0000) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer