LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 10-20-2012, 11:53 AM   #1
FrankP
Member
 
Registered: Aug 2003
Location: Britain
Distribution: Debian, MacOSX, FreeBSD
Posts: 65

Rep: Reputation: 18
No sound with newly installed Creative X-Fi card


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.

#uname -a
Linux hostname 3.2.15-1-amd64 #1 SMP Sat Apr 28 19:03:26 BST 2012 x86_64 GNU/Linux

#lspci
00:00.0 RAM memory: NVIDIA Corporation MCP78S [GeForce 8200] Memory Controller (rev a2)
00:01.0 ISA bridge: NVIDIA Corporation MCP78S [GeForce 8200] LPC Bridge (rev a2)
00:01.1 SMBus: NVIDIA Corporation MCP78S [GeForce 8200] SMBus (rev a1)
00:01.2 RAM memory: NVIDIA Corporation MCP78S [GeForce 8200] Memory Controller (rev a1)
00:01.3 Co-processor: NVIDIA Corporation MCP78S [GeForce 8200] Co-Processor (rev a2)
00:01.4 RAM memory: NVIDIA Corporation MCP78S [GeForce 8200] Memory Controller (rev a1)
00:02.0 USB controller: NVIDIA Corporation MCP78S [GeForce 8200] OHCI USB 1.1 Controller (rev a1)
00:02.1 USB controller: NVIDIA Corporation MCP78S [GeForce 8200] EHCI USB 2.0 Controller (rev a1)
00:04.0 USB controller: NVIDIA Corporation MCP78S [GeForce 8200] OHCI USB 1.1 Controller (rev a1)
00:04.1 USB controller: NVIDIA Corporation MCP78S [GeForce 8200] EHCI USB 2.0 Controller (rev a1)
00:06.0 IDE interface: NVIDIA Corporation MCP78S [GeForce 8200] IDE (rev a1)
00:07.0 Audio device: NVIDIA Corporation MCP72XE/MCP72P/MCP78U/MCP78S High Definition Audio (rev a1)
00:08.0 PCI bridge: NVIDIA Corporation MCP78S [GeForce 8200] PCI Bridge (rev a1)
00:09.0 IDE interface: NVIDIA Corporation MCP78S [GeForce 8200] SATA Controller (non-AHCI mode) (rev a2)
00:0a.0 Ethernet controller: NVIDIA Corporation MCP77 Ethernet (rev a2)
00:10.0 PCI bridge: NVIDIA Corporation MCP78S [GeForce 8200] PCI Express Bridge (rev a1)
00:12.0 PCI bridge: NVIDIA Corporation MCP78S [GeForce 8200] PCI Express Bridge (rev a1)
00:13.0 PCI bridge: NVIDIA Corporation MCP78S [GeForce 8200] PCI Bridge (rev a1)
00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor HyperTransport Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Miscellaneous Control
00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Link Control
01:07.0 Multimedia audio controller: Creative Labs SB X-Fi
02:00.0 VGA compatible controller: NVIDIA Corporation G86 [GeForce 8400 GS] (rev a1)
 
Old 10-20-2012, 11:55 AM   #2
nugat
Member
 
Registered: Sep 2012
Posts: 122

Rep: Reputation: 31
Have you tried the alsaunmute command?
 
Old 10-20-2012, 03:23 PM   #3
FrankP
Member
 
Registered: Aug 2003
Location: Britain
Distribution: Debian, MacOSX, FreeBSD
Posts: 65

Original Poster
Rep: Reputation: 18
I don't seem to have the alsaunmute command - I have alsa-tools and alsa-utils installed, should it be part of one of those? But I did check in alsamixer that the channels are not muted.

BUT - the problem is partially solved since I posted. I tried using aplay to play WAVs from the command line and can get sound by specifying the device and options.

I have also installed jackd sound server and can play audio CDs. But I have no sound in Firefox for example. I notice there is another questioner asking about a problem which may be similar http://www.linuxquestions.org/questi...ey-4175433248/
 
Old 10-21-2012, 07:26 AM   #4
nugat
Member
 
Registered: Sep 2012
Posts: 122

Rep: Reputation: 31
Quote:
Originally Posted by FrankP View Post
I don't seem to have the alsaunmute command - I have alsa-tools and alsa-utils installed, should it be part of one of those?
on my systems, it comes with the alsa-utils package.
Quote:
Originally Posted by FrankP View Post
But I did check in alsamixer that the channels are not muted.
that should be sufficient. FYI, alsaunmute is just a shell script, it seems, containing this:
Code:
#!/bin/sh

exec /sbin/alsactl \
  -E ALSA_CONFIG_PATH=/etc/alsa/alsactl.conf \
  --initfile=/lib/alsa/init/00main \
  init
Quote:
Originally Posted by FrankP View Post
BUT - the problem is partially solved since I posted. I tried using aplay to play WAVs from the command line and can get sound by specifying the device and options.

I have also installed jackd sound server and can play audio CDs. But I have no sound in Firefox for example. I notice there is another questioner asking about a problem which may be similar http://www.linuxquestions.org/questi...ey-4175433248/
Do you by chance have pulseaudio installed? I have mixed experience w/it, but when I am using GNOME, I usually need to have that running to get sound working with apps (vs just the command line).
 
Old 10-22-2012, 05:01 PM   #5
FrankP
Member
 
Registered: Aug 2003
Location: Britain
Distribution: Debian, MacOSX, FreeBSD
Posts: 65

Original Poster
Rep: Reputation: 18
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.
!defaults.pcm.card NVidia
defaults.ctl.card NVidia
defaults.pcm.device 0

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.

Thanks for advising,
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sound is not working on newly installed sidux sleek_monkey Linux - Software 1 07-05-2007 07:14 PM
[SOLVED] Newly installed slk11 fail on net card. brave heart Slackware 3 06-04-2007 04:52 AM
No sound in newly installed Fedora maokc Linux - Newbie 1 03-05-2006 08:49 PM
newly installed netgear wg311 pci card does not show up in lspci a_south Linux - Hardware 1 03-31-2005 09:16 AM
How do you detect a newly self installed eithernet card? godzilla_roar20 Linux - Newbie 5 07-19-2004 12:47 AM


All times are GMT -5. The time now is 01:44 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration