* SoundBlaster X-fi HD SPDIF fix
@ 2014-04-06 21:36 Richard Körber
2014-04-07 9:02 ` Takashi Iwai
0 siblings, 1 reply; 9+ messages in thread
From: Richard Körber @ 2014-04-06 21:36 UTC (permalink / raw)
To: alsa-devel
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
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: SoundBlaster X-fi HD SPDIF fix
2014-04-06 21:36 SoundBlaster X-fi HD SPDIF fix Richard Körber
@ 2014-04-07 9:02 ` Takashi Iwai
2015-01-21 0:02 ` [PATCH] USB-audio: Sound Blaster HD iec958 is on device 1 Richard Körber
0 siblings, 1 reply; 9+ messages in thread
From: Takashi Iwai @ 2014-04-07 9:02 UTC (permalink / raw)
To: Richard Körber; +Cc: alsa-devel
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
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
^ permalink raw reply [flat|nested] 9+ messages in thread* [PATCH] USB-audio: Sound Blaster HD iec958 is on device 1
2014-04-07 9:02 ` Takashi Iwai
@ 2015-01-21 0:02 ` Richard Körber
2015-01-21 20:05 ` Takashi Iwai
0 siblings, 1 reply; 9+ messages in thread
From: Richard Körber @ 2015-01-21 0:02 UTC (permalink / raw)
To: alsa-devel
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
--
2.1.0
^ permalink raw reply related [flat|nested] 9+ messages in thread* Re: [PATCH] USB-audio: Sound Blaster HD iec958 is on device 1
2015-01-21 0:02 ` [PATCH] USB-audio: Sound Blaster HD iec958 is on device 1 Richard Körber
@ 2015-01-21 20:05 ` Takashi Iwai
2015-01-21 21:57 ` Richard Körber
0 siblings, 1 reply; 9+ messages in thread
From: Takashi Iwai @ 2015-01-21 20:05 UTC (permalink / raw)
To: Richard Körber; +Cc: alsa-devel
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
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: [PATCH] USB-audio: Sound Blaster HD iec958 is on device 1
2015-01-21 20:05 ` Takashi Iwai
@ 2015-01-21 21:57 ` Richard Körber
2015-03-28 11:06 ` Richard Körber
0 siblings, 1 reply; 9+ messages in thread
From: Richard Körber @ 2015-01-21 21:57 UTC (permalink / raw)
To: alsa-devel
[-- Attachment #1: Type: text/plain, Size: 351 bytes --]
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.
--
Richard Körber
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: usb-soundblaster-hd.patch --]
[-- Type: text/x-patch; name="usb-soundblaster-hd.patch", Size: 1047 bytes --]
>From b4e51c2ef6e8226021964465714c99c5a735ce3a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Richard=20K=C3=B6rber?= <dev@shredzone.de>
Date: Wed, 21 Jan 2015 22:50:27 +0100
Subject: [PATCH] USB-audio: Sound Blaster HD iec958 is on device 1
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Creative Sound Blaster X-Fi HD uses device 1 for iec958 output.
Signed-off-by: Richard Körber <dev@shredzone.de>
---
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
--
2.1.0
[-- Attachment #3: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply related [flat|nested] 9+ messages in thread
end of thread, other threads:[~2015-04-05 19:09 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-06 21:36 SoundBlaster X-fi HD SPDIF fix Richard Körber
2014-04-07 9:02 ` Takashi Iwai
2015-01-21 0:02 ` [PATCH] USB-audio: Sound Blaster HD iec958 is on device 1 Richard Körber
2015-01-21 20:05 ` Takashi Iwai
2015-01-21 21:57 ` Richard Körber
2015-03-28 11:06 ` Richard Körber
2015-03-28 13:48 ` Takashi Iwai
2015-03-28 13:53 ` Richard Körber
2015-04-05 19:09 ` Takashi Iwai
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).