# vikings wiki

It's better when it's simple

User Tools

Site Tools


hardware:usb_sound_adapter_aud_usbcryf_usbaryf
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


hardware:usb_sound_adapter_aud_usbcryf_usbaryf [2023/04/15 15:29] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +====== USB Audio Sound Adapter ======
 +
 +The [[https://store.vikings.net/en/usbc-stereo-sound-adapter-fsf-ryf-certified|AUD-USBCRYF]] and [[https://store.vikings.net/en/usb-stereo-sound-adapter-fsf-ryf-certified|AUD-USBARYF]] are external USB audio adapters with a C-Media CM119 chip. Driver/firmware is already included in Linux 2.6.27+ (approx. post October 2008).
 +
 +===== FSF RYF Certification =====
 +
 +===== Various outputs under GNU/Linux =====
 +
 +==== lsusb ====
 +
 +  C-Media Electronics, Inc. Audio Adapter (Unitek Y-247A)
 +
 +==== usb-devices ====
 +<code text>
 + P:  Vendor=0d8c ProdID=0014 Rev=01.00
 + S:  Manufacturer=C-Media Electronics Inc.
 + S:  Product=USB Audio Device
 + C:  #Ifs= 4 Cfg#= 1 Atr=80 MxPwr=100mA
 + I:  If#=0x0 Alt= 0 #EPs= 0 Cls=01(audio) Sub=01 Prot=00 Driver=snd-usb-audio
 + I:  If#=0x1 Alt= 1 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
 + I:  If#=0x2 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
 + I:  If#=0x3 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=00 Prot=00 Driver=usbhid 
 +</code>
 +
 +==== lspci -vv ====
 +<code text lscpi_out.txt>
 +Bus 003 Device 002: ID 0d8c:0014 C-Media Electronics, Inc. Audio Adapter (Unitek Y-247A)
 + Device Descriptor:
 +  bLength                18
 +  bDescriptorType         1
 +  bcdUSB               1.10
 +  bDeviceClass            0 
 +  bDeviceSubClass         
 +  bDeviceProtocol         
 +  bMaxPacketSize0         8
 +  idVendor           0x0d8c C-Media Electronics, Inc.
 +  idProduct          0x0014 Audio Adapter (Unitek Y-247A)
 +  bcdDevice            1.00
 +  iManufacturer           1 C-Media Electronics Inc.
 +  iProduct                2 USB Audio Device
 +  iSerial                 
 +  bNumConfigurations      1
 +  Configuration Descriptor:
 +    bLength                 9
 +    bDescriptorType         2
 +    wTotalLength       0x00fd
 +    bNumInterfaces          4
 +    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                10
 +        bDescriptorType        36
 +        bDescriptorSubtype      1 (HEADER)
 +        bcdADC               1.00
 +        wTotalLength       0x0064
 +        bInCollection           2
 +        baInterfaceNr(0)        1
 +        baInterfaceNr(1)        2
 +      AudioControl Interface Descriptor:
 +        bLength                12
 +        bDescriptorType        36
 +        bDescriptorSubtype      2 (INPUT_TERMINAL)
 +        bTerminalID             1
 +        wTerminalType      0x0101 USB Streaming
 +        bAssocTerminal          0
 +        bNrChannels             2
 +        wChannelConfig     0x0003
 +          Left Front (L)
 +          Right Front (R)
 +        iChannelNames           
 +        iTerminal               
 +      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           
 +        iTerminal               
 +      AudioControl Interface Descriptor:
 +        bLength                 9
 +        bDescriptorType        36
 +        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
 +        bTerminalID             6
 +        wTerminalType      0x0301 Speaker
 +        bAssocTerminal          0
 +        bSourceID               9
 +        iTerminal               
 +      AudioControl Interface Descriptor:
 +        bLength                 9
 +        bDescriptorType        36
 +        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
 +        bTerminalID             7
 +        wTerminalType      0x0101 USB Streaming
 +        bAssocTerminal          0
 +        bSourceID               8
 +        iTerminal               
 +      AudioControl Interface Descriptor:
 +        bLength                 7
 +        bDescriptorType        36
 +        bDescriptorSubtype      5 (SELECTOR_UNIT)
 +        bUnitID                 8
 +        bNrInPins               1
 +        baSourceID(0)          10
 +        iSelector               
 +      AudioControl Interface Descriptor:
 +        bLength                10
 +        bDescriptorType        36
 +        bDescriptorSubtype      6 (FEATURE_UNIT)
 +        bUnitID                 9
 +        bSourceID              15
 +        bControlSize            1
 +        bmaControls(0)       0x01
 +          Mute Control
 +        bmaControls(1)       0x02
 +          Volume Control
 +        bmaControls(2)       0x02
 +          Volume Control
 +        iFeature                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 
 +      AudioControl Interface Descriptor:
 +        bLength                13
 +        bDescriptorType        36
 +        bDescriptorSubtype      4 (MIXER_UNIT)
 +        bUnitID                15
 +        bNrInPins               2
 +        baSourceID(0)           1
 +        baSourceID(1)          13
 +        bNrChannels             2
 +        wChannelConfig     0x0003
 +          Left Front (L)
 +          Right Front (R)
 +        iChannelNames           
 +        bmControls(0)        0x00
 +        iMixer                  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           1
 +        bDelay                  1 frames
 +        wFormatTag         0x0001 PCM
 +      AudioStreaming Interface Descriptor:
 +        bLength                14
 +        bDescriptorType        36
 +        bDescriptorSubtype      2 (FORMAT_TYPE)
 +        bFormatType             1 (FORMAT_TYPE_I)
 +        bNrChannels             2
 +        bSubframeSize           2
 +        bBitResolution         16
 +        bSamFreqType            2 Discrete
 +        tSamFreq[ 0]        48000
 +        tSamFreq[ 1]        44100
 +      Endpoint Descriptor:
 +        bLength                 9
 +        bDescriptorType         5
 +        bEndpointAddress     0x01  EP 1 OUT
 +        bmAttributes            9
 +          Transfer Type            Isochronous
 +          Synch Type               Adaptive
 +          Usage Type               Data
 +        wMaxPacketSize     0x00c8  1x 200 bytes
 +        bInterval               1
 +        bRefresh                0
 +        bSynchAddress           0
 +        AudioStreaming Endpoint Descriptor:
 +          bLength                 7
 +          bDescriptorType        37
 +          bDescriptorSubtype      1 (EP_GENERAL)
 +          bmAttributes         0x01
 +            Sampling Frequency
 +          bLockDelayUnits         1 Milliseconds
 +          wLockDelay         0x0001
 +    Interface Descriptor:
 +      bLength                 9
 +      bDescriptorType         4
 +      bInterfaceNumber        2
 +      bAlternateSetting       0
 +      bNumEndpoints           0
 +      bInterfaceClass         1 Audio
 +      bInterfaceSubClass      2 Streaming
 +      bInterfaceProtocol      0 
 +      iInterface              0 
 +    Interface Descriptor:
 +      bLength                 9
 +      bDescriptorType         4
 +      bInterfaceNumber        2
 +      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         0x0001 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           13
 +          Transfer Type            Isochronous
 +          Synch Type               Synchronous
 +          Usage Type               Data
 +        wMaxPacketSize     0x0064  1x 100 bytes
 +        bInterval               1
 +        bRefresh                0
 +        bSynchAddress           0
 +        AudioStreaming Endpoint Descriptor:
 +          bLength                 7
 +          bDescriptorType        37
 +          bDescriptorSubtype      1 (EP_GENERAL)
 +          bmAttributes         0x01
 +            Sampling Frequency
 +          bLockDelayUnits         0 Undefined
 +          wLockDelay         0x0000
 +    Interface Descriptor:
 +      bLength                 9
 +      bDescriptorType         4
 +      bInterfaceNumber        3
 +      bAlternateSetting       0
 +      bNumEndpoints           1
 +      bInterfaceClass         3 Human Interface Device
 +      bInterfaceSubClass      0 
 +      bInterfaceProtocol      0 
 +      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)
 +</code>
  
hardware/usb_sound_adapter_aud_usbcryf_usbaryf.txt · Last modified: 2023/04/15 15:29 by thum