Discussion:
[Alsa-user] Asus Xonar U3 USB - Optical Output - Unsettable?
Scott Kilau
2012-10-20 03:57:05 UTC
Permalink
Hi all,
New member here.

I just bought the Asus Xonar U3 USB product.
It has 2 connections, where one of them can have optical/SPDIF output
enabled on it.
Clemens Ladisch
2012-10-20 14:05:46 UTC
Permalink
Post by Scott Kilau
I just bought the Asus Xonar U3 USB product.
Alsamixer does NOT offer an option to turn the S/PDIF output at all.
The Xonar U1 enables its digital output with a vendor-specific command;
see snd_usb_mixer_apply_create_quirk() in sound/usb/mixer.c. It's
possible that the U3 uses the same command; try adding your product ID
there.


Regards,
Clemens
Scott Kilau
2012-10-20 16:11:24 UTC
Permalink
Post by Clemens Ladisch
Post by Scott Kilau
I just bought the Asus Xonar U3 USB product.
Alsamixer does NOT offer an option to turn the S/PDIF output at all.
The Xonar U1 enables its digital output with a vendor-specific command;
see snd_usb_mixer_apply_create_quirk() in sound/usb/mixer.c. It's
possible that the U3 uses the same command; try adding your product ID
there.
Regards,
Clemens
Sweet!
That absolutely worked like a champ!
Tested it, and not only do I get the telltale red light coming out, but I
quickly hooked it up, and tested it to my stereo over optical, and it
worked perfectly!


Below is the diff:

diff -uprN -X linux-3.6.2.orig/
Documentation/dontdiff linux-3.6.2.orig/sound/usb/mixer_quirks.c ./linu
x-3.6.2/sound/usb/mixer_quirks.c
--- linux-3.6.2.orig/sound/usb/mixer_quirks.c 2012-10-12
15:50:59.000000000 -0500
+++ ./linux-3.6.2/sound/usb/mixer_quirks.c 2012-10-20
09:35:34.273150950 -0500
@@ -1065,6 +1065,7 @@ int snd_usb_mixer_apply_create_quirk(str

case USB_ID(0x0b05, 0x1739):
case USB_ID(0x0b05, 0x1743):
+ case USB_ID(0x0b05, 0x17a0):
err = snd_xonar_u1_controls_create(mixer);
break;



Is there somewhere I should forward this to?
The devel list?

Thanks again for the hint!
Scott
Clemens Ladisch
2012-10-21 11:17:55 UTC
Permalink
Post by Scott Kilau
Tested it, and not only do I get the telltale red light coming out, but I
quickly hooked it up, and tested it to my stereo over optical, and it
worked perfectly!
--- linux-3.6.2.orig/sound/usb/mixer_quirks.c 2012-10-12 15:50:59.000000000 -0500
+++ ./linux-3.6.2/sound/usb/mixer_quirks.c 2012-10-20 09:35:34.273150950 -0500
@@ -1065,6 +1065,7 @@ int snd_usb_mixer_apply_create_quirk(str
err = snd_xonar_u1_controls_create(mixer);
break;
Is there somewhere I should forward this to?
The devel list?
Yes; also see Documentation/SubmittingPatches.
And that ID is _not_ for the U1, so it deserves a comment.


Regards,
Clemens

Loading...