-
-
Save matoken/457f5e5f0ecb35d7f252 to your computer and use it in GitHub Desktop.
Bus 003 Device 010: ID 0d8c:013c C-Media Electronics, Inc. CM108 Audio Controller | |
Device Descriptor: | |
bLength 18 | |
bDescriptorType 1 | |
bcdUSB 1.10 | |
bDeviceClass 0 (Defined at Interface level) | |
bDeviceSubClass 0 | |
bDeviceProtocol 0 | |
bMaxPacketSize0 8 | |
idVendor 0x0d8c C-Media Electronics, Inc. | |
idProduct 0x013c CM108 Audio Controller | |
bcdDevice 1.00 | |
iManufacturer 1 C-Media Electronics Inc. | |
iProduct 2 USB PnP Sound Device | |
iSerial 0 | |
bNumConfigurations 1 | |
Configuration Descriptor: | |
bLength 9 | |
bDescriptorType 2 | |
wTotalLength 153 | |
bNumInterfaces 3 | |
bConfigurationValue 1 | |
iConfiguration 0 | |
bmAttributes 0x80 | |
(Bus Powered) | |
MaxPower 100mA | |
Interface Descriptor: | |
bLength 9 | |
bDescriptorType 4 | |
bInterfaceNumber 0 | |
bAlternateSetting 0 | |
bNumEndpoints 0 | |
bInterfaceClass 1 Audio | |
bInterfaceSubClass 1 Control Device | |
bInterfaceProtocol 0 | |
iInterface 0 | |
AudioControl Interface Descriptor: | |
bLength 9 | |
bDescriptorType 36 | |
bDescriptorSubtype 1 (HEADER) | |
bcdADC 1.00 | |
wTotalLength 55 | |
bInCollection 1 | |
baInterfaceNr( 0) 1 | |
AudioControl Interface Descriptor: | |
bLength 12 | |
bDescriptorType 36 | |
bDescriptorSubtype 2 (INPUT_TERMINAL) | |
bTerminalID 2 | |
wTerminalType 0x0201 Microphone | |
bAssocTerminal 0 | |
bNrChannels 1 | |
wChannelConfig 0x0001 | |
Left Front (L) | |
iChannelNames 0 | |
iTerminal 0 | |
AudioControl Interface Descriptor: | |
bLength 9 | |
bDescriptorType 36 | |
bDescriptorSubtype 3 (OUTPUT_TERMINAL) | |
bTerminalID 7 | |
wTerminalType 0x0101 USB Streaming | |
bAssocTerminal 0 | |
bSourceID 8 | |
iTerminal 0 | |
AudioControl Interface Descriptor: | |
bLength 7 | |
bDescriptorType 36 | |
bDescriptorSubtype 5 (SELECTOR_UNIT) | |
bUnitID 8 | |
bNrInPins 1 | |
baSource( 0) 10 | |
iSelector 0 | |
AudioControl Interface Descriptor: | |
bLength 9 | |
bDescriptorType 36 | |
bDescriptorSubtype 6 (FEATURE_UNIT) | |
bUnitID 10 | |
bSourceID 2 | |
bControlSize 1 | |
bmaControls( 0) 0x43 | |
Mute Control | |
Volume Control | |
Automatic Gain Control | |
bmaControls( 1) 0x00 | |
iFeature 0 | |
AudioControl Interface Descriptor: | |
bLength 9 | |
bDescriptorType 36 | |
bDescriptorSubtype 6 (FEATURE_UNIT) | |
bUnitID 13 | |
bSourceID 2 | |
bControlSize 1 | |
bmaControls( 0) 0x03 | |
Mute Control | |
Volume Control | |
bmaControls( 1) 0x00 | |
iFeature 0 | |
Interface Descriptor: | |
bLength 9 | |
bDescriptorType 4 | |
bInterfaceNumber 1 | |
bAlternateSetting 0 | |
bNumEndpoints 0 | |
bInterfaceClass 1 Audio | |
bInterfaceSubClass 2 Streaming | |
bInterfaceProtocol 0 | |
iInterface 0 | |
Interface Descriptor: | |
bLength 9 | |
bDescriptorType 4 | |
bInterfaceNumber 1 | |
bAlternateSetting 1 | |
bNumEndpoints 1 | |
bInterfaceClass 1 Audio | |
bInterfaceSubClass 2 Streaming | |
bInterfaceProtocol 0 | |
iInterface 0 | |
AudioStreaming Interface Descriptor: | |
bLength 7 | |
bDescriptorType 36 | |
bDescriptorSubtype 1 (AS_GENERAL) | |
bTerminalLink 7 | |
bDelay 1 frames | |
wFormatTag 1 PCM | |
AudioStreaming Interface Descriptor: | |
bLength 14 | |
bDescriptorType 36 | |
bDescriptorSubtype 2 (FORMAT_TYPE) | |
bFormatType 1 (FORMAT_TYPE_I) | |
bNrChannels 1 | |
bSubframeSize 2 | |
bBitResolution 16 | |
bSamFreqType 2 Discrete | |
tSamFreq[ 0] 48000 | |
tSamFreq[ 1] 44100 | |
Endpoint Descriptor: | |
bLength 9 | |
bDescriptorType 5 | |
bEndpointAddress 0x82 EP 2 IN | |
bmAttributes 9 | |
Transfer Type Isochronous | |
Synch Type Adaptive | |
Usage Type Data | |
wMaxPacketSize 0x0064 1x 100 bytes | |
bInterval 1 | |
bRefresh 0 | |
bSynchAddress 0 | |
AudioControl Endpoint Descriptor: | |
bLength 7 | |
bDescriptorType 37 | |
bDescriptorSubtype 1 (EP_GENERAL) | |
bmAttributes 0x01 | |
Sampling Frequency | |
bLockDelayUnits 0 Undefined | |
wLockDelay 0 Undefined | |
Interface Descriptor: | |
bLength 9 | |
bDescriptorType 4 | |
bInterfaceNumber 2 | |
bAlternateSetting 0 | |
bNumEndpoints 1 | |
bInterfaceClass 3 Human Interface Device | |
bInterfaceSubClass 0 No Subclass | |
bInterfaceProtocol 0 None | |
iInterface 0 | |
HID Device Descriptor: | |
bLength 9 | |
bDescriptorType 33 | |
bcdHID 1.00 | |
bCountryCode 0 Not supported | |
bNumDescriptors 1 | |
bDescriptorType 34 Report | |
wDescriptorLength 60 | |
Report Descriptors: | |
** UNAVAILABLE ** | |
Endpoint Descriptor: | |
bLength 7 | |
bDescriptorType 5 | |
bEndpointAddress 0x87 EP 7 IN | |
bmAttributes 3 | |
Transfer Type Interrupt | |
Synch Type None | |
Usage Type Data | |
wMaxPacketSize 0x0004 1x 4 bytes | |
bInterval 2 | |
Device Status: 0x0000 | |
(Bus Powered) |
matoken
commented
Jul 21, 2014
dmesg
[28236.386689] usb 3-1.2: new full-speed USB device number 6 using ehci-pci
[28236.480860] usb 3-1.2: New USB device found, idVendor=0d8c, idProduct=013c
[28236.480864] usb 3-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[28236.480866] usb 3-1.2: Product: USB PnP Sound Device
[28236.480868] usb 3-1.2: Manufacturer: C-Media Electronics Inc.
[28236.495021] input: C-Media Electronics Inc. USB PnP Sound Device as /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.2/3-1.2:1.2/0003:0D8C:013C.0003/input/input21
[28236.495202] hid-generic 0003:0D8C:013C.0003: input,hidraw1: USB HID v1.00 Device [C-Media Electronics Inc. USB PnP Sound Device] on usb-0000:00:1a.0-1.2/input2
$ arecord -l
**** List of CAPTURE Hardware Devices ****
card 1: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
$ AUDIODRIVER=alsa AUDIODEV=plughw:1,0 rec test.mp3
Input File : 'plughw:1,0' (alsa)
Channels : 2
Sample Rate : 48000
Precision : 16-bit
Sample Encoding: 16-bit Signed Integer PCM
In:0.00% 00:00:12.54 [00:00:00.00] Out:598k [ | ] Clip:0 ^C
Aborted.