Created attachment 178945 [details] CM6206 spdif out patch This patch adds support for S/PDIF output with USB sound devices which are based on the C-Media CM6206 chipset. This includes such devices as "Startech 7.1 USB adapter".
Hi, Can you also include the usbdevs diff? error: use of undeclared identifier 'USB_PRODUCT_CMEDIA_CM6206' (uaa->info.idProduct == USB_PRODUCT_CMEDIA_CM6206)) { --HPS
Created attachment 178947 [details] CM6206 spdif out patch (revised) Original patch was missing the usbdevs entry
(In reply to Hans Petter Selasky from comment #1) Sorry about that; revised patch including usbdevs is attached.
A commit references this bug: Author: hselasky Date: Tue Jan 17 08:15:11 UTC 2017 New revision: 312338 URL: https://svnweb.freebsd.org/changeset/base/312338 Log: Add USB audio support for S/PDIF output with C-Media CM6206 devices. Submitted by: Julien Nadeau <vedge@hypertriton.com> PR: 216131 MFC after: 1 week Changes: head/share/man/man4/usb_quirk.4 head/sys/dev/sound/usb/uaudio.c head/sys/dev/usb/quirk/usb_quirk.c head/sys/dev/usb/quirk/usb_quirk.h head/sys/dev/usb/usbdevs
Hi, Your patch has been submitted with some modifications. The usb_quirk kernel module is used to keep track of the new functionality. Make sure usb_quirk.ko is loaded or in the kernel before testing. Please test the submitted patch as referred by this PR. Re-open if you find any bugs. Thank you! --HPS
A commit references this bug: Author: hselasky Date: Tue Mar 14 15:19:15 UTC 2017 New revision: 315248 URL: https://svnweb.freebsd.org/changeset/base/315248 Log: MFC r312338: Add USB audio support for S/PDIF output with C-Media CM6206 devices. Submitted by: Julien Nadeau <vedge@hypertriton.com> PR: 216131 Changes: _U stable/11/ stable/11/share/man/man4/usb_quirk.4 stable/11/sys/dev/sound/usb/uaudio.c stable/11/sys/dev/usb/quirk/usb_quirk.c stable/11/sys/dev/usb/quirk/usb_quirk.h stable/11/sys/dev/usb/usbdevs
A commit references this bug: Author: hselasky Date: Tue Mar 14 15:21:41 UTC 2017 New revision: 315249 URL: https://svnweb.freebsd.org/changeset/base/315249 Log: MFC r312338: Add USB audio support for S/PDIF output with C-Media CM6206 devices. Submitted by: Julien Nadeau <vedge@hypertriton.com> PR: 216131 Changes: _U stable/10/ stable/10/share/man/man4/usb_quirk.4 stable/10/sys/dev/sound/usb/uaudio.c stable/10/sys/dev/usb/quirk/usb_quirk.c stable/10/sys/dev/usb/quirk/usb_quirk.h stable/10/sys/dev/usb/usbdevs
A commit references this bug: Author: hselasky Date: Tue Mar 14 15:25:50 UTC 2017 New revision: 315250 URL: https://svnweb.freebsd.org/changeset/base/315250 Log: MFC r312338: Add USB audio support for S/PDIF output with C-Media CM6206 devices. Submitted by: Julien Nadeau <vedge@hypertriton.com> PR: 216131 Changes: _U stable/9/share/ _U stable/9/share/man/ _U stable/9/share/man/man4/ stable/9/share/man/man4/usb_quirk.4 _U stable/9/sys/ stable/9/sys/dev/sound/usb/uaudio.c stable/9/sys/dev/usb/quirk/usb_quirk.c stable/9/sys/dev/usb/quirk/usb_quirk.h stable/9/sys/dev/usb/usbdevs