[SOLVED] No sound with newly installed Creative X-Fi card
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Hi all, I've installed a PCI soundcard, where previously I was using onboard sound only, and can get no sound out of it at all. I've checked the things I know how to check and have run out of ways to address the problem. The card is Creative X-Fi XtremeMusic (SB0460), the driver (snd_ctxfi) is loaded on boot, the card seems recognised e.g. in alsamixer. I have now installed qjackctl as recommended by some advice articles I have checked on the web, but can't immediately see if it would help me. Any advice appreciated.
Extract from /var/log/dmesg:
[ 4.633377] ACPI: resource nForce2_smbus [io 0x0600-0x063f] conflicts with ACPI region SMRG [io 0x600-0x6ff]
[ 4.633380] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[ 4.633384] ACPI: resource nForce2_smbus [io 0x0700-0x073f] conflicts with ACPI region SM00 [io 0x700-0x73f]
[ 4.633386] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[ 4.660422] ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 16
[ 4.660438] snd_ctxfi 0000:01:07.0: PCI INT A -> Link[LNKB] -> GSI 16 (level, low) -> IRQ 16
[ 4.667083] Error: Driver 'pcspkr' is already registered, aborting...
[ 4.774338] [drm] Initialized drm 1.1.0 20060810
[ 4.863735] wmi: Mapper loaded
[ 4.957587] snd_hda_intel 0000:00:07.0: power state changed by ACPI to D0
[ 4.957590] snd_hda_intel 0000:00:07.0: power state changed by ACPI to D0
[ 4.957730] ACPI: PCI Interrupt Link [LAZA] enabled at IRQ 21
[ 4.957733] snd_hda_intel 0000:00:07.0: PCI INT A -> Link[LAZA] -> GSI 21 (level, low) -> IRQ 21
[ 4.957735] hda_intel: Disabling MSI
[ 4.957753] snd_hda_intel 0000:00:07.0: setting latency timer to 64
I'm running Debian wheezy, the kernel is compiled by me but from stock source, no tweaks. Sound output from the motherboard (Asus M4N78) onboard sound worked OK but I wanted something better quality.
Linux hostname 3.2.15-1-amd64 #1 SMP Sat Apr 28 19:03:26 BST 2012 x86_64 GNU/Linux
Hi, no pulseaudio isn't installed, but I did install JACK which I believe is an alternative - both are sound servers. And that helped solve the problem. I've got sound working now. I needed to change settings in ~/.asoundrc.asoundconf
In case it's useful for anyone else reading this, I'll explain some more about the problem and the solution. I'm running Debian wheezy, but because I'm quite particular about desktop environments I only ever install a base system and work with a fairly bare setup. I run the window manager i3 and very little in the way of desktop utilities - no panels or anything. Just the way I like it. But it does mean my life gets harder when I choose to mess around with my hardware, I guess.
By installing a PCI card on top of onboard sound, I ended up with two sound devices, of which one should be the default. When I ran test sounds at the command line (using aplay) I could hear them, and similarly when I started the jackd server I could specify the device on the command line, and sound came through loud and clear. But Iceweasel (== Firefox) along with other apps had its own idea of which card to use (i.e. they stuck to the old default).
The default setting comes from two config files in my home directory called .asoundrc and .asoundrc.asoundconf. The .asoundrc.asoundconf file begins with a warning not to edit it, so initially I did not.
It starts like this:
# ALSA library configuration file managed by asoundconf(1).
# MANUAL CHANGES TO THIS FILE WILL BE OVERWRITTEN!
# Manual changes to the ALSA library configuration should be implemented
# by editing the ~/.asoundrc file, not by editing this file.
But when I checked I found there isn't any asoundconf installed and I can't find a package for it in the repository. So where this config file has come from I don't know. Anyway, I decided to change it and see what happened. If it got overwritten I could try using .asoundrc instead. But in fact simply ignoring the warning and altering NVidia to XFi in the above example worked fine. I've got music in my ears now.