[alsa-devel] SoundBlaster X-fi HD SPDIF fix
Hi!
I own a Creative USB SoundBlaster X-fi HD and tried to use its SPDIF optical output. However it didn't work with ALSA out of the box. The reason is that for SPDIF output device #1 must be used.
The fix is: In /usr/share/alsa/cards/USB-Audio.conf, change the iec958_device block like this:
USB-Audio.pcm.iec958_device { "USB Sound Blaster HD" 1 }
Digital output works fine for me after that.
BTW, I tried this line in /etc/asound.conf
cards.USB-Audio.pcm.iec958_device."USB Sound Blaster HD" 1
but it didn't have any effect. Why was that?
Thank you!
Regards Richard Körber
At Sun, 06 Apr 2014 23:36:31 +0200, Richard Körber wrote:
Hi!
I own a Creative USB SoundBlaster X-fi HD and tried to use its SPDIF optical output. However it didn't work with ALSA out of the box. The reason is that for SPDIF output device #1 must be used.
The fix is: In /usr/share/alsa/cards/USB-Audio.conf, change the iec958_device block like this:
USB-Audio.pcm.iec958_device { "USB Sound Blaster HD" 1 }
Digital output works fine for me after that.
Could you submit a patch to add the entry in alsa-lib git tree?
BTW, I tried this line in /etc/asound.conf
cards.USB-Audio.pcm.iec958_device."USB Sound Blaster HD" 1
but it didn't have any effect. Why was that?
The line above doesn't work like a way to append a list entry.
thanks,
Takashi
Creative Sound Blaster X-Fi HD uses device 1 for iec958 output. --- src/conf/cards/USB-Audio.conf | 1 + 1 file changed, 1 insertion(+)
diff --git a/src/conf/cards/USB-Audio.conf b/src/conf/cards/USB-Audio.conf index 05e5d09..bae7669 100644 --- a/src/conf/cards/USB-Audio.conf +++ b/src/conf/cards/USB-Audio.conf @@ -36,6 +36,7 @@ USB-Audio.pcm.surround40_type { # number for the iec958 device can be changed here. USB-Audio.pcm.iec958_device { # "NoiseBlaster 3000" 42 + "USB Sound Blaster HD" 1
# The below don't have digital in/out, so prevent them from being opened. "Andrea PureAudio USB-SA Headset" 999
At Wed, 21 Jan 2015 01:02:34 +0100, Richard Körber wrote:
Creative Sound Blaster X-Fi HD uses device 1 for iec958 output.
src/conf/cards/USB-Audio.conf | 1 + 1 file changed, 1 insertion(+)
diff --git a/src/conf/cards/USB-Audio.conf b/src/conf/cards/USB-Audio.conf index 05e5d09..bae7669 100644 --- a/src/conf/cards/USB-Audio.conf +++ b/src/conf/cards/USB-Audio.conf @@ -36,6 +36,7 @@ USB-Audio.pcm.surround40_type { # number for the iec958 device can be changed here. USB-Audio.pcm.iec958_device { # "NoiseBlaster 3000" 42
"USB Sound Blaster HD" 1
The patch can't be applied cleanly due to the space breakage likely by your MUA. Please fix the setup or use an attachment.
Also, don't forget your sign-off.
thanks,
Takashi
Takashi Iwai wrote:
The patch can't be applied cleanly due to the space breakage likely by your MUA. Please fix the setup or use an attachment.
Also, don't forget your sign-off.
I'm sorry for the mistakes. It's my first time providing a git patch by mail.
You'll find the signed-off patch file attached.
Hi!
You'll find the signed-off patch file attached.
I noticed that the patch was not merged yet. If there is something still missing, I would be happy to provide it.
At Sat, 28 Mar 2015 12:06:20 +0100, Richard Körber wrote:
Hi!
You'll find the signed-off patch file attached.
I noticed that the patch was not merged yet. If there is something still missing, I would be happy to provide it.
Please resend the patch.
thanks,
Takashi
Hi!
Please resend the patch.
You can find it here:
http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20150121/68...
At Sat, 28 Mar 2015 14:53:56 +0100, Richard Körber wrote:
Hi!
Please resend the patch.
You can find it here:
http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20150121/68...
OK, applied now. But at the next time, please just resend the patch when requested. It was requested for reviewing, not for taking the patch as is. From the same reason, try to avoid attachments as much as possible. If only attachment is available, embed the patch in addition to attachments.
thanks,
Takashi
participants (2)
-
Richard Körber
-
Takashi Iwai