USB in Host?

KenHorse

Member
Mar 18, 2022
50
0
6
69
Do I need to do anything special to access a USB device from the host?

lsusb shows it but I can't seem to access it from a program running on the host

Code:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 006: ID 8087:0026 Intel Corp.
Bus 001 Device 005: ID 04ca:002f Lite-On Technology Corp. USB Multimedia Keyboard
Bus 001 Device 004: ID 0d8c:013a C-Media Electronics, Inc. USB PnP Sound Device
Bus 001 Device 003: ID 046d:c054 Logitech, Inc. Bluetooth mini-receiver
Bus 001 Device 002: ID 0573:1573 Zoran Co. Personal Media Division (Nogatech) USB Audio and HID
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

The device is 004

ls /dev doesn't show it:
 
Last edited:
As I posted, I'm trying to make it accessible to the HOST, not a VM
Check the output of dmesg for entries related to your device. What device is this? The kernel seems to detect it as sound cardC-Media Electronics, Inc. USB PnP Sound Device.
 
Check the output of dmesg for entries related to your device. What device is this? The kernel seems to detect it as sound cardC-Media Electronics, Inc. USB PnP Sound Device.

Yes, it is a USB sound device (CM119 codec)

# dmesg |grep PnP
[ 12.465487] pnp: PnP ACPI init
[ 12.468749] pnp: PnP ACPI: found 6 devices
[ 14.554352] usb 1-3: Product: USB PnP Sound Device
[ 15.145397] input: C-Media Electronics Inc. USB PnP Sound Device as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.3/0003:0D8C:013A.0002/input/input4
[ 15.204402] hid-generic 0003:0D8C:013A.0002: input,hidraw1: USB HID v1.00 Device [C-Media Electronics Inc. USB PnP Sound Device] on usb-0000:00:14.0-3/input3
 
Last edited:
Yes, it is a USB sound device (CM119 codec)

# dmesg |grep PnP
[ 12.465487] pnp: PnP ACPI init
[ 12.468749] pnp: PnP ACPI: found 6 devices
[ 14.554352] usb 1-3: Product: USB PnP Sound Device
[ 15.145397] input: C-Media Electronics Inc. USB PnP Sound Device as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.3/0003:0D8C:013A.0002/input/input4
[ 15.204402] hid-generic 0003:0D8C:013A.0002: input,hidraw1: USB HID v1.00 Device [C-Media Electronics Inc. USB PnP Sound Device] on usb-0000:00:14.0-3/input3
Well the device is recognized, can you see it in the output of, e.g. pactl list sinks short or via alsamixer?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!