problem with Jabra EVOLVE 20 headset, and usb quirk update

Hin-Tak Leung htl10 at users.sourceforge.net
Sat Jun 27 00:24:00 CEST 2020


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

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: usb-audio-lsusb-vvvv-0b0e:0301.txt
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20200626/359e9d23/attachment-0001.txt>


More information about the Alsa-devel mailing list