problem with Jabra EVOLVE 20 headset, and usb quirk update

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

 



Hi,

This is a headset i.e. with both a ear set, and a microphone - the playback seems fine, but recording only accept one setting - and also I was having problem with zoom using it ("cannot get freq" see the tail end of this e-mail). switching via the gnome setting -> sound (from built-in hda) seems sluggish, and occasionally the volume is frozen to mute and unresponsive to unmute.

$ arecord -f S16_LE -D front:CARD=J20,DEV=0 -d 10 wonder.wav
Recording WAVE 'wonder.wav' : Signed 16 bit Little Endian, Rate 8000 Hz, Mono
Warning: rate is not accurate (requested = 8000Hz, got = 16000Hz)
         please, try the plug plugin 

and, also zoom seems to have problem getting at the microphone. I read that it is something to do with rate querying?

Attached is "lsusb -vvvv -d 0b0e:0301  > usb-audio-lsusb-vvvv-0b0e:0301".

I have tried just letting udev doing its thing, or preloading the module with with 
modprobe snd_usb_audio quirk_alias=0b0e0301:0b0e0349
or
modprobe snd_usb_audio quirk_alias=0b0e0301:0b0e030b
as below. But the "cannot get freq" message stays.

This is based on similar vendor ids - 

sound/usb/format.c:	if (chip->usb_id == USB_ID(0x0b0e, 0x030b)) {
sound/usb/quirks.c:	     chip->usb_id == USB_ID(0x0b0e, 0x0349) ||

The device does not seems to be under quirks.c:snd_usb_ctl_msg_quirk() ( I don't really get delays,  I think), 

format.c:formatparse_audio_format_rates_v1() seems to be somewhat related, but I don't have issue with playback, just capture.

Should I insert this vid/pid into bool snd_usb_get_sample_rate_quirk(struct snd_usb_audio *chip) as suggested elsewhere? I am just uncomfortable doing so as there isn't a quirk for this vendor there, yet. Also, related question: the format rate quirk routine and usb_ctl_msg_quirk routine does not seem to be affected by the alias_quirk list, as far as I understand and read the code?

Here is the dmesg, under plain udev autoprobe, and the two preloads. I hope this is enough info. Please feel free to ask for more.
(I also maintain https://github.com/HinTak/sound-usb-dkms/ as part of my previous job, but this device/usage is slightly complicated as I need to sign modified modules due to UEFI ; so I'd rather try something that has a chance of working, then just blindly try any modification)

[25475.773095] usbcore: registered new interface driver snd-usb-audio
[25482.559878] usb 2-2: new full-speed USB device number 6 using xhci_hcd
[25482.764666] usb 2-2: New USB device found, idVendor=0b0e, idProduct=0301, bcdDevice= 3.00
[25482.764669] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[25482.764671] usb 2-2: Product: Jabra EVOLVE 20
[25482.764672] usb 2-2: Manufacturer: GN Netcom A/S
[25482.764674] usb 2-2: SerialNumber: 0001B7518B0E07
[25482.770770] usb 2-2: device (0b0e:0301): applying quirk alias 0b0e:0349
[25482.794845] usb 2-2: 1:1: cannot get freq at ep 0x83
[25482.808838] usb 2-2: 2:1: cannot get freq at ep 0x4
[25483.133618] input: GN Netcom A/S Jabra EVOLVE 20 as /devices/pci0000:00/0000:00:10.0/usb2/2-2/2-2:1.3/0003:0B0E:0301.0004/input/input16
[25483.187155] jabra 0003:0B0E:0301.0004: input,hiddev96,hidraw0: USB HID v1.00 Device [GN Netcom A/S Jabra EVOLVE 20] on usb-0000:00:10.0-2/input3
[25483.444718] usb 2-2: 2:1: cannot get freq at ep 0x4

[25865.406518] usb 2-2: USB disconnect, device number 6
[25883.242957] usbcore: deregistering interface driver snd-usb-audio
[25895.379533] usb 2-2: new full-speed USB device number 7 using xhci_hcd
[25895.584862] usb 2-2: New USB device found, idVendor=0b0e, idProduct=0301, bcdDevice= 3.00
[25895.584868] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[25895.584871] usb 2-2: Product: Jabra EVOLVE 20
[25895.584874] usb 2-2: Manufacturer: GN Netcom A/S
[25895.584876] usb 2-2: SerialNumber: 0001B7518B0E07
[25895.640239] input: GN Netcom A/S Jabra EVOLVE 20 as /devices/pci0000:00/0000:00:10.0/usb2/2-2/2-2:1.3/0003:0B0E:0301.0005/input/input17
[25895.692123] jabra 0003:0B0E:0301.0005: input,hiddev96,hidraw0: USB HID v1.00 Device [GN Netcom A/S Jabra EVOLVE 20] on usb-0000:00:10.0-2/input3
[25895.875421] usb 2-2: 1:1: cannot get freq at ep 0x83
[25895.885726] usb 2-2: 2:1: cannot get freq at ep 0x4
[25896.060320] usbcore: registered new interface driver snd-usb-audio
[25896.149752] usb 2-2: 2:1: cannot get freq at ep 0x4
[25899.451644] usb 2-2: USB disconnect, device number 7


[25919.315839] usbcore: registered new interface driver snd-usb-audio
[25924.595119] usb 2-2: new full-speed USB device number 8 using xhci_hcd
[25924.797720] usb 2-2: New USB device found, idVendor=0b0e, idProduct=0301, bcdDevice= 3.00
[25924.797722] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[25924.797724] usb 2-2: Product: Jabra EVOLVE 20
[25924.797725] usb 2-2: Manufacturer: GN Netcom A/S
[25924.797726] usb 2-2: SerialNumber: 0001B7518B0E07
[25924.802782] usb 2-2: device (0b0e:0301): applying quirk alias 0b0e:030b
[25924.822715] usb 2-2: 1:1: cannot get freq at ep 0x83
[25924.832718] usb 2-2: 2:1: cannot get freq at ep 0x4
[25925.052655] input: GN Netcom A/S Jabra EVOLVE 20 as /devices/pci0000:00/0000:00:10.0/usb2/2-2/2-2:1.3/0003:0B0E:0301.0006/input/input18
[25925.104757] jabra 0003:0B0E:0301.0006: input,hiddev96,hidraw0: USB HID v1.00 Device [GN Netcom A/S Jabra EVOLVE 20] on usb-0000:00:10.0-2/input3
[25925.338094] usb 2-2: 2:1: cannot get freq at ep 0x4
[26253.731814] usb 2-2: USB disconnect, device number 8

Bus 002 Device 005: ID 0b0e:0301 GN Netcom Jabra EVOLVE 20
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x0b0e GN Netcom
  idProduct          0x0301 
  bcdDevice            3.00
  iManufacturer           1 GN Netcom A/S
  iProduct                2 Jabra EVOLVE 20
  iSerial                 3 0001B7518B0E07
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x010f
    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       0x0070
        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           0 
        iTerminal               0 
      AudioControl Interface Descriptor:
        bLength                10
        bDescriptorType        36
        bDescriptorSubtype      6 (FEATURE_UNIT)
        bUnitID                 2
        bSourceID              12
        bControlSize            1
        bmaControls(0)       0x03
          Mute Control
          Volume Control
        bmaControls(1)       0x00
        bmaControls(2)       0x00
        iFeature                0 
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             3
        wTerminalType      0x0301 Speaker
        bAssocTerminal          0
        bSourceID               2
        iTerminal               0 
      AudioControl Interface Descriptor:
        bLength                12
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             4
        wTerminalType      0x0201 Microphone
        bAssocTerminal          0
        bNrChannels             1
        wChannelConfig     0x0000
        iChannelNames           0 
        iTerminal               0 
      AudioControl Interface Descriptor:
        bLength                 8
        bDescriptorType        36
        bDescriptorSubtype      6 (FEATURE_UNIT)
        bUnitID                 5
        bSourceID               4
        bControlSize            1
        bmaControls(0)       0x03
          Mute Control
          Volume Control
        iFeature                0 
      AudioControl Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      5 (SELECTOR_UNIT)
        bUnitID                 9
        bNrInPins               1
        baSourceID(0)           5
        iSelector               0 
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             6
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bSourceID               9
        iTerminal               0 
      AudioControl Interface Descriptor:
        bLength                12
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID            10
        wTerminalType      0x0201 Microphone
        bAssocTerminal          0
        bNrChannels             2
        wChannelConfig     0x0003
          Left Front (L)
          Right Front (R)
        iChannelNames           0 
        iTerminal               6 Sidetone
      AudioControl Interface Descriptor:
        bLength                10
        bDescriptorType        36
        bDescriptorSubtype      6 (FEATURE_UNIT)
        bUnitID                11
        bSourceID              10
        bControlSize            1
        bmaControls(0)       0x03
          Mute Control
          Volume Control
        bmaControls(1)       0x00
        bmaControls(2)       0x00
        iFeature                0 
      AudioControl Interface Descriptor:
        bLength                13
        bDescriptorType        36
        bDescriptorSubtype      4 (MIXER_UNIT)
        bUnitID                12
        bNrInPins               2
        baSourceID(0)           1
        baSourceID(1)          11
        bNrChannels             2
        wChannelConfig     0x0003
          Left Front (L)
          Right Front (R)
        iChannelNames           0 
        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           6
        bDelay                  0 frames
        wFormatTag         0x0001 PCM
      AudioStreaming Interface Descriptor:
        bLength                11
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             1
        bSubframeSize           2
        bBitResolution         16
        bSamFreqType            1 Discrete
        tSamFreq[ 0]        16000
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes           13
          Transfer Type            Isochronous
          Synch Type               Synchronous
          Usage Type               Data
        wMaxPacketSize     0x00c0  1x 192 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        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           1
        bDelay                  0 frames
        wFormatTag         0x0001 PCM
      AudioStreaming Interface Descriptor:
        bLength                23
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             2
        bSubframeSize           2
        bBitResolution         16
        bSamFreqType            5 Discrete
        tSamFreq[ 0]         8000
        tSamFreq[ 1]        16000
        tSamFreq[ 2]        32000
        tSamFreq[ 3]        44100
        tSamFreq[ 4]        48000
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x04  EP 4 OUT
        bmAttributes           13
          Transfer Type            Isochronous
          Synch Type               Synchronous
          Usage Type               Data
        wMaxPacketSize     0x00c0  1x 192 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     295
         Report Descriptors: 
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0024  1x 36 bytes
        bInterval               8
Device Status:     0x0000
  (Bus Powered)

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux