Summary: | Creative USB Sound Blaster X-Fi HD: No sound on SPDIF output | ||
---|---|---|---|
Product: | PulseAudio | Reporter: | Richard Körber <freedesktop> |
Component: | misc | Assignee: | pulseaudio-bugs |
Status: | RESOLVED NOTOURBUG | QA Contact: | pulseaudio-bugs |
Severity: | normal | ||
Priority: | medium | CC: | lennart |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
commented screenshot
Output of alsa-info.sh lsusb output (audio device only) |
Description
Richard Körber
2014-02-01 15:48:05 UTC
Created attachment 93173 [details]
commented screenshot
Commented screenshot of pavucontrol's "Output Devices" tab.
post the output of alsa-info.sh lsusb -vvvv post the output of your creative USB audio device only, please exclude the other USB devices Created attachment 93231 [details]
Output of alsa-info.sh
Created attachment 93232 [details]
lsusb output (audio device only)
(In reply to comment #0) > After searching the web, I found a solution [1], added this line to > /etc/pulse/system.pa and restarted PulseAudio: > > load-module module-alsa-sink device=hw:0,1 I made an error in my report. The original fix [1] mentioned /etc/pulse/system.pa, however changing it had no effect on my system. I actually modified /etc/pulse/default.pa. APLAY **** List of PLAYBACK Hardware Devices **** card 0: HD [USB Sound Blaster HD], device 0: USB Audio [USB Audio] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: HD [USB Sound Blaster HD], device 1: USB Audio [USB Audio #1] Subdevices: 1/1 Subdevice #0: subdevice #0 which playback device is analog or digital you need to add the device number of digital device into USB-Audio.pcm.iec958_device if device 0 is not the digital device http://git.alsa-project.org/?p=alsa-lib.git;a=blob;f=src/conf/cards/USB-Audio.conf;hb=HEAD # If a device does not use the first PCM device for digital data, the device # number for the iec958 device can be changed here. USB-Audio.pcm.iec958_device { there are two capture devices you have to ask alsa devel how to fix this if device 1 is not digital since the above changed the digital input device ARECORD **** List of CAPTURE Hardware Devices **** card 0: HD [USB Sound Blaster HD], device 0: USB Audio [USB Audio] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: HD [USB Sound Blaster HD], device 1: USB Audio [USB Audio #1] Subdevices: 1/1 Subdevice #0: subdevice #0 you can study how to define analog and digital playback and capture devices http://git.alsa-project.org/?p=alsa-lib.git;a=commitdiff;h=a9b1299556598fed12d0d42c80aaa933aced8a42;hp=efda3e2bc766b4147f35f4b006d315ea7b3c55fe Raymond, thank you very much for your explanation. I was able to get the SPDIF output work properly when modifying the /usr/share/alsa/cards/USB-Audio.conf like this: USB-Audio.pcm.iec958_device { "USB Sound Blaster HD" 1 } I assume the SPDIF input is also on device 1, but I cannot test that. The USB-Audio.conf header says that it is preferred to change /etc/asound.conf instead, but adding the line cards.USB-Audio.pcm.iec958_device."USB Sound Blaster HD" 1 did not help at all. I had to change the USB-Audio.conf instead. I will send a report to the ALSA project. The driver should change use a user friendly name for the device if it know that it is a digital device instead of analog device AudioStreaming Interface Descriptor: bLength 7 bDescriptorType 36 bDescriptorSubtype 1 (AS_GENERAL) bTerminalLink 4 bDelay 0 frames wFormatTag 8193 IEC1937_AC-3 AudioControl Interface Descriptor: bLength 12 bDescriptorType 36 bDescriptorSubtype 2 (INPUT_TERMINAL) bTerminalID 7 wTerminalType 0x0605 SPDIF interface bAssocTerminal 0 bNrChannels 2 wChannelConfig 0x0003 Left Front (L) Right Front (R) iChannelNames 0 iTerminal 0 I have the same problem, what could I write exactly in the terminal to fix the problem with creative xfi hd? I don't know what to do... I have Ubuntu 14.04 and creative xfi hd. I don't hear sound also if the card is recognized. I don't know how to fix this... Now it's all ok :) What is the url of the report send to Alsa? This seems to be resolved. Please feel free to reopen if it is not. (In reply to Pander from comment #13) > What is the url of the report send to Alsa? https://bugzilla.kernel.org/enter_bug.cgi?product=Drivers Sound alsa |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.