Ask Your Question
0

Capture audio from USB sound card on Linux

asked 2022-04-30 08:54:34 +0000

eduardo74 gravatar image

updated 2022-05-01 02:12:55 +0000

Guy Harris gravatar image

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

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-05-01 02:11:38 +0000

Guy Harris gravatar image

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.

edit flag offensive delete link more

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 gravatar imageeduardo74 ( 2022-05-01 17:38:59 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2022-04-30 08:54:34 +0000

Seen: 343 times

Last updated: May 01 '22