C-Media USB speakers do not work on AMD USB 2.0 port

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




My C-Media USB speakers do not work on Ubuntu 16.10 with 4.8.0 on my AMD KABINI USB 2.0 port. Using Ubuntu 16.04 with 4.4.0 on the same machine at the same port with the same cable fixes the issue. If I put the speakers on any USB 3.0 connector then it works both in 16.10 and 16.04!!

Why do I get a different driver on the same port with a different kernel?

Here is what gets logged normally,

on Ubuntu 16.10:
[ 50.252683] usb 4-1: new full-speed USB device number 2 using ohci-pci [ 50.438712] usb 4-1: New USB device found, idVendor=0d8c, idProduct=0103 [ 50.438719] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[   50.438725] usb 4-1: Product: C-Media USB Audio
[   50.438731] usb 4-1: Manufacturer: C-Media INC.
[ 50.542693] usb 4-1: Warning! Unlikely big volume range (=9472), cval->res is probably wrong. [ 50.542700] usb 4-1: [13] FU [PCM Playback Volume] ch = 2, val = -9473/-1/1
[   50.543246] usbcore: registered new interface driver snd-usb-audio
[ 62.867422] ohci-pci 0000:00:13.0: HcDoneHead not written back; disabled
[   62.867435] ohci-pci 0000:00:13.0: HC died; cleaning up
[   62.867489] usb 4-1: USB disconnect, device number 2

on Ubuntu 16.04:
[ 1168.662575] usb 7-4: new full-speed USB device number 4 using xhci_hcd [ 1168.833911] usb 7-4: New USB device found, idVendor=0d8c, idProduct=0103 [ 1168.833921] usb 7-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1168.833927] usb 7-4: Product: C-Media USB Audio
[ 1168.833931] usb 7-4: Manufacturer: C-Media INC.
[ 1168.867900] usb 7-4: Warning! Unlikely big volume range (=9472), cval->res is probably wrong. [ 1168.867910] usb 7-4: [13] FU [PCM Playback Volume] ch = 2, val = -9473/-1/1


Here is what gets logged with dynamic debug on Ubuntu 16.10:
[  142.470105] hub 7-0:1.0: state 7 ports 4 chg 0000 evt 0010
[  142.470195] usb usb7-port4: status 0100, change 0001, 12 Mb/s
[  142.470205] usb 7-4: USB disconnect, device number 2
[  142.470211] usb 7-4: unregistering device
[  142.470219] usb 7-4: unregistering interface 7-4:1.0
[  142.471046] usb 7-4: unregistering interface 7-4:1.1
[  142.471156] usb 7-4: usb_disable_device nuking all URBs
[ 142.617718] usb usb7-port4: debounce total 100ms stable 100ms status 0x100
[  142.617740] hub 7-0:1.0: hub_suspend
[  142.617758] usb usb7: bus auto-suspend, wakeup 1
[  146.469232] usb usb2: usb wakeup-resume
[  146.469244] usb usb2: usb auto-resume
[  146.469266] hub 2-0:1.0: hub_resume
[  146.469317] usb usb2-port1: status 0501 change 0001
[  146.577174] hub 2-0:1.0: state 7 ports 4 chg 0002 evt 0000
[  146.577218] usb usb2-port1: status 0501, change 0000, 480 Mb/s
[  146.637229] hub 2-0:1.0: port_wait_reset: err = -16
[  146.637232] usb usb4: usb wakeup-resume
[  146.637236] usb usb2-port1: not enabled, trying reset again...
[  146.637240] usb usb4: usb auto-resume
[  146.733258] hub 4-0:1.0: hub_resume
[  146.733297] usb usb4-port1: status 0101 change 0001
[  146.841378] hub 4-0:1.0: state 7 ports 4 chg 0002 evt 0000
[  146.841419] usb usb4-port1: status 0101, change 0000, 12 Mb/s
[  146.846199] hub 2-0:1.0: state 7 ports 4 chg 0000 evt 0002
[  146.846241] usb usb2-port1: status 0100, change 0001, 12 Mb/s
[ 146.989494] usb usb2-port1: debounce total 100ms stable 100ms status 0x100
[  146.989521] hub 2-0:1.0: hub_suspend
[  146.989549] usb usb2: bus auto-suspend, wakeup 1
[ 147.017493] usb 4-1: new full-speed USB device number 2 using ohci-pci
[  147.193619] usb 4-1: ep0 maxpacket = 8
[  147.197803] usb 4-1: skipped 4 descriptors after interface
[  147.197811] usb 4-1: skipped 2 descriptors after interface
[  147.197819] usb 4-1: skipped 1 descriptor after endpoint
[  147.199795] usb 4-1: default language 0x0409
[  147.203795] usb 4-1: udev 2, busnum 4, minor = 385
[ 147.203803] usb 4-1: New USB device found, idVendor=0d8c, idProduct=0103 [ 147.203809] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  147.203815] usb 4-1: Product: C-Media USB Audio
[  147.203820] usb 4-1: Manufacturer: C-Media INC.
[  147.204195] usb 4-1: usb_probe_device
[  147.204205] usb 4-1: configuration #1 chosen from 1 choice
[  147.205806] usb 4-1: adding 4-1:1.0 (config #1, interface 0)
[  147.205977] snd-usb-audio 4-1:1.0: usb_probe_interface
[  147.205990] snd-usb-audio 4-1:1.0: usb_probe_interface - got id
[ 147.231803] usb 4-1: Warning! Unlikely big volume range (=9472), cval->res is probably wrong. [ 147.231812] usb 4-1: [13] FU [PCM Playback Volume] ch = 2, val = -9473/-1/1
[  147.232567] usb 4-1: adding 4-1:1.1 (config #1, interface 1)
[  147.232808] hub 4-0:1.0: state 7 ports 4 chg 0000 evt 0002
[ 150.127718] ohci-pci 0000:00:13.0: HcDoneHead not written back; disabled
[  150.127735] ohci-pci 0000:00:13.0: HC died; cleaning up
[  150.127833] hub 4-0:1.0: state 0 ports 4 chg 0000 evt 0000
[  150.127846] usb 4-1: USB disconnect, device number 2
[  150.127852] usb 4-1: unregistering device
[  150.127860] usb 4-1: unregistering interface 4-1:1.0
[  150.128862] usb 4-1: unregistering interface 4-1:1.1
[  150.129038] usb 4-1: usb_disable_device nuking all URBs


As far as the volume warning is concerned, I have not observed any problem.


Here is the device on 16.04:
Bus 007 Device 004: ID 0d8c:0103 C-Media Electronics, Inc. CM102-A+/102S+ Audio Controller
Couldn't open device, some information will be missing
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          0x0103 CM102-A+/102S+ Audio Controller
  bcdDevice            0.10
  iManufacturer           1
  iProduct                2
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          116
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    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           43
        bInCollection           1
        baInterfaceNr( 0)       1
      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           0
        iTerminal               0
      AudioControl Interface Descriptor:
        bLength                13
        bDescriptorType        36
        bDescriptorSubtype      6 (FEATURE_UNIT)
        bUnitID                13
        bSourceID               1
        bControlSize            2
        bmaControls( 0)      0x01
        bmaControls( 0)      0x02
          Mute Control
          Loudness Control
        bmaControls( 1)      0x02
        bmaControls( 1)      0x00
          Volume Control
        bmaControls( 2)      0x02
        bmaControls( 2)      0x00
          Volume Control
        iFeature                0
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             3
        wTerminalType      0x0301 Speaker
        bAssocTerminal          0
        bSourceID              13
        iTerminal               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              1 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]        44100
        tSamFreq[ 1]        48000
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x06  EP 6 OUT
        bmAttributes            9
          Transfer Type            Isochronous
          Synch Type               Adaptive
          Usage Type               Data
        wMaxPacketSize     0x00c0  1x 192 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

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux