Duplicate endpoint : Sound Devices MixPre-D (sound interface)

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

 



Hello.

The team at libusb says that this is a kernel issue so here it is.
Device : Sound Devices MixPre-D
This is an external audio interface that worked simultaneously as input and output with older kernels and libusb versions (see far below with fedora 26, kernel 4.13.13-200, libusb 0.1.5-8 from an older mothballed machine). With newer versions of the kernel and libusb it works only as output (see just below with a current fedora 32, kernel 5.7.15-200, libusb-0.1.5-16).

An online search shows that the dmesg output "duplicate endpoint" is identical to the one referenced in this permalink :
http://archive.lwn.net:8080/linux-kernel/20200201105829.5682c887@acme7.acmenet/
So I guess that the solution is the same, adding in drivers/usb/core/quirks.c (adapted to the specific hardware identification) :
+    /* Sound Devices MixPre-D */
+    { USB_DEVICE(0x0926, 0x0208), .driver_info = USB_QUIRK_ENDPOINT_BLACKLIST },
+
Would it be possible to add this exception to quirks.c ?
Thanks


Fedora 32

[jcb@localhost ~]$ dmesg
[181470.940975] usb 3-9: new high-speed USB device number 6 using xhci_hcd
[181471.067606] usb 3-9: config 1 interface 2 altsetting 1 has a duplicate endpoint with address 0x85, skipping [181471.067609] usb 3-9: config 1 interface 2 altsetting 2 has a duplicate endpoint with address 0x85, skipping [181471.067913] usb 3-9: New USB device found, idVendor=0926, idProduct=0208, bcdDevice= 1.00 [181471.067915] usb 3-9: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[181471.067916] usb 3-9: Product: MixPre-D
[181471.067918] usb 3-9: Manufacturer: Sound Devices
[181471.067919] usb 3-9: SerialNumber: JP0713320007
[181471.074743] usb 3-9: 1:3 : UAC_AS_GENERAL descriptor not found
[181471.076196] hid-generic 0003:0926:0208.0021: hiddev99,hidraw7: USB HID v1.01 Device [Sound Devices MixPre-D] on usb-0000:00:14.0-9/input3

[jcb@localhost ~]$ rpm -qi libusb
Name        : libusb
Epoch       : 1
Version     : 0.1.5
Release     : 16.fc32
Architecture: x86_64
Install Date: mar. 04 août 2020 12:55:36
Group       : Unspecified
Size        : 73011
License     : LGPLv2+
Signature   : RSA/SHA256, jeu. 30 janv. 2020 06:10:05, Key ID 6c13026d12c944d0
Source RPM  : libusb-0.1.5-16.fc32.src.rpm
Build Date  : mer. 29 janv. 2020 12:47:36
Build Host  : buildhw-12.phx2.fedoraproject.org
Packager    : Fedora Project
Vendor      : Fedora Project
URL         : http://sourceforge.net/projects/libusb/
Bug URL     : https://bugz.fedoraproject.org/libusb
Summary     : A library which allows userspace access to USB devices
Description :
This package provides a way for applications to access USB devices.
Legacy libusb-0.1 is no longer supported by upstream, therefore content of this package was replaced by libusb-compat. It provides compatibility layer allowing
applications written for libusb-0.1 to work with libusb-1.0.

[jcb@localhost ~]$ rpm -qi kernel
Name        : kernel
Version     : 5.7.15
Release     : 200.fc32
Architecture: x86_64
Install Date: mer. 19 août 2020 07:01:19
Group       : Unspecified
Size        : 0
License     : GPLv2 and Redistributable, no modification permitted
Signature   : RSA/SHA256, mer. 12 août 2020 18:52:02, Key ID 6c13026d12c944d0
Source RPM  : kernel-5.7.15-200.fc32.src.rpm
Build Date  : mar. 11 août 2020 18:20:17
Build Host  : bkernel01.iad2.fedoraproject.org
Packager    : Fedora Project
Vendor      : Fedora Project
URL         : https://www.kernel.org/
Bug URL     : https://bugz.fedoraproject.org/kernel
Summary     : The Linux kernel
Description :
The kernel meta package

Fedora 26

[jcb@localhost ~]$ dmesg
[  439.668052] usb 5-2: new full-speed USB device number 2 using uhci_hcd
[  439.800080] usb 5-2: not running at top speed; connect to a high speed hub
[  439.829086] usb 5-2: New USB device found, idVendor=0926, idProduct=0208
[  439.829090] usb 5-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  439.829093] usb 5-2: Product: MixPre-D
[  439.829096] usb 5-2: Manufacturer: Sound Devices
[  439.829099] usb 5-2: SerialNumber: JP0713320007
[  439.843083] usb 5-2: 1:3 : UAC_AS_GENERAL descriptor not found
[  439.855889] hid-generic 0003:0926:0208.0002: hiddev96,hidraw0: USB HID v1.01 Device [Sound Devices MixPre-D] on usb-0000:00:1d.0-2/input3

[root@lund ~]# rpm -qi libusb
Name        : libusb
Epoch       : 1
Version     : 0.1.5
Release     : 8.fc26
Architecture: x86_64
Install Date: sam. 26 août 2017 09:20:08 CEST
Group       : System Environment/Libraries
Size        : 64043
License     : LGPLv2+
Signature   : RSA/SHA256, dim. 12 févr. 2017 00:30:17 CET, Key ID 812a6b4b64dab85d
Source RPM  : libusb-0.1.5-8.fc26.src.rpm
Build Date  : sam. 11 févr. 2017 05:07:06 CET
Build Host  : buildvm-21.phx2.fedoraproject.org
Relocations : (not relocatable)
Packager    : Fedora Project
Vendor      : Fedora Project
URL         : http://sourceforge.net/projects/libusb/
Summary     : A library which allows userspace access to USB devices
Description :
This package provides a way for applications to access USB devices.
Legacy libusb-0.1 is no longer supported by upstream, therefore content of this package was replaced by libusb-compat. It provides compatibility layer allowing
applications written for libusb-0.1 to work with libusb-1.0.

[root@lund ~]# rpm -qi kernel
Name        : kernel
Version     : 4.13.13
Release     : 200.fc26
Architecture: x86_64
Install Date: sam. 25 nov. 2017 10:02:52 CET
Group       : System Environment/Kernel
Size        : 0
License     : GPLv2 and Redistributable, no modification permitted
Signature   : RSA/SHA256, mer. 15 nov. 2017 22:47:36 CET, Key ID 812a6b4b64dab85d
Source RPM  : kernel-4.13.13-200.fc26.src.rpm
Build Date  : mer. 15 nov. 2017 18:16:48 CET
Build Host  : bkernel01.phx2.fedoraproject.org
Relocations : (not relocatable)
Packager    : Fedora Project
Vendor      : Fedora Project
URL         : http://www.kernel.org/
Summary     : The Linux kernel
Description :
The kernel meta package




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

  Powered by Linux