LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 04-10-2005, 10:00 PM   #31
mkoljack
Member
 
Registered: Jan 2005
Location: Chicago
Distribution: Fedora Core 4, Suse 9.3
Posts: 186

Rep: Reputation: 30
Problem


Atm--I placed the new code in the .asourndrc file and restrarted the sound server from the control ctr. with "fixed" as it was and I get an error msg, "device: fixed can't be opend for playback (No such file or directory). The sound server will continue, using trhe null output device" Any ideas?
 
Old 04-10-2005, 10:45 PM   #32
Atmchicago
Member
 
Registered: Apr 2003
Location: Baltimore
Distribution: Fedora
Posts: 220

Original Poster
Rep: Reputation: 32
If you use the default part, then no. It will automatically find it.
 
Old 04-12-2005, 07:51 PM   #33
mkoljack
Member
 
Registered: Jan 2005
Location: Chicago
Distribution: Fedora Core 4, Suse 9.3
Posts: 186

Rep: Reputation: 30
Thanks Again

Thanks again Atmchicago.
 
Old 04-30-2005, 05:28 PM   #34
moritzmahling
LQ Newbie
 
Registered: Apr 2005
Posts: 10

Rep: Reputation: 0
Hi guys!

Thanks for this little howto, now my audigy 2 nx works...but there ist again some cracking in the sound. I play my files with xmms, that showes a rate of 44 KhZ. My .asoundrc:
Code:
pcm.usb-audio {
           type hw
           card 0
        }

ctl.usb-audio {
           type hw
           card 0
        }

pcm.!default {
        type plug
        slave.pcm "dmixer"
}


pcm.dmixer {
    type dmix
    ipc_key 1025 # Should be a unique number
    slave {
                pcm "hw:0"
		rate 48000;
    }
    bindings {
           0 0
           1 1
    }
}
(I used that one of the HowTo and added the rate-attribute)
Can anyone help me to remove the cracking in the sound?

Best regards.

Btw: I've another little problem: My alsamixer-settings aren't saves. There should be a simple solution, but i can't find it...
 
Old 04-30-2005, 06:33 PM   #35
mkoljack
Member
 
Registered: Jan 2005
Location: Chicago
Distribution: Fedora Core 4, Suse 9.3
Posts: 186

Rep: Reputation: 30
Audigy 2 NX + XMMS

The ALSA settings are saved as soon as you log out of ALSA mixer. Just be sure the sliders are not off. If you use KDE, use the KMix to manipulate sound settings. Additionally and based on my experience and Atmchicago's help, I recommend for playing XMMS, disable KDE sound from the KDE Control Center, Sound & Multimedia. Then under XMMS preferences, select ALSA sound output. Play away and it should sound great. It has been difficult to have every sound application with no scratching. Atm has been the most help. Also, my sound applications are amaroK (music collection), kaffeine (xine) movies/video apps, streamtuner (audio streams), all the kde apps work great, and the above settings should resolve XMMS for you.

Regards and Hello to Atmchicago-

Mark

Last edited by mkoljack; 04-30-2005 at 06:37 PM.
 
Old 04-30-2005, 09:50 PM   #36
Atmchicago
Member
 
Registered: Apr 2003
Location: Baltimore
Distribution: Fedora
Posts: 220

Original Poster
Rep: Reputation: 32
XMMS also has a plugin for Arts. You should be able to use that in conjunction with the kde sound system. I would switch over to Beep-media player since it's a little nicer, but I haven't looked into getting a similar arts plugin for that, so i'm sticking with xmms when Juk decides to not play my ogg files.
 
Old 05-01-2005, 03:31 AM   #37
moritzmahling
LQ Newbie
 
Registered: Apr 2005
Posts: 10

Rep: Reputation: 0
So, theres a rather strange problem now: gentoo doesn't know my nx anymore. I booted today, tried alsamixer...and there's no device....lsusb....no device....?
I've no plan how this could happen, yeaterday, sound worked nearly well. Perhaps any kernel settings that I forgot to set?
 
Old 05-01-2005, 04:13 AM   #38
moritzmahling
LQ Newbie
 
Registered: Apr 2005
Posts: 10

Rep: Reputation: 0
The problem gets rather strange.. now I booted windows one time up, and suddenly, gentoo knows my nx again O_ò
Perhaps i should say that i doesn't use kde - i use fluxbux, so there's no kde-control-center. In XMMS, I already changed the default output to alsa, and this also works fine...up to this nasty cracking.
(And alsa mixer doesn't save the settings..i've to unmute the card on every boot)

btw: There is no 3d-output.(no subwoofer, no rear speakers) normal? or is there any solution?
 
Old 05-01-2005, 12:47 PM   #39
Atmchicago
Member
 
Registered: Apr 2003
Location: Baltimore
Distribution: Fedora
Posts: 220

Original Poster
Rep: Reputation: 32
Yeah, if you don't have KDE then I doubt you're using Arts, so don't bother with that. My subwoofer works, but I plugged my rear speakers into the headphone/middle speakers port because otherwise I don't get sound out of them. But my subwoofer works fine.
 
Old 05-01-2005, 01:07 PM   #40
moritzmahling
LQ Newbie
 
Registered: Apr 2005
Posts: 10

Rep: Reputation: 0
Okay, now also my rear speakers work well. But theres one big problem: This nasty cracking ... no hint, how to solve this?

Here's my ~/.asoundrc
Code:
pcm.usb-audio {
           type hw
           card 0
        }

ctl.usb-audio {
           type hw
           card 0
        }

pcm.!default {
        type plug
        slave.pcm "dmixer"   
}


pcm.dmixer {
    type dmix
    ipc_key 1025 # Should be a unique number
    slave {
                pcm "hw:0"
		rate 48000;
    }
    bindings {
           0 0
           1 1
    }
}
 
Old 05-01-2005, 01:33 PM   #41
Atmchicago
Member
 
Registered: Apr 2003
Location: Baltimore
Distribution: Fedora
Posts: 220

Original Poster
Rep: Reputation: 32
I have a question: by crackling, do you mean it's running at the wrong frequency? (ie 44.1khz vs 48khz) Or is it something else?

And 2: does that dmixer plugin allow multiple programs to access alsa at the same time? (sort of like arts can do)
 
Old 05-01-2005, 01:49 PM   #42
moritzmahling
LQ Newbie
 
Registered: Apr 2005
Posts: 10

Rep: Reputation: 0
Yes, I think the cracking comes from the 44khz frequency (also displayed in xmms).

2: Sometimes. ICQ can play sounds with aplay at the same time like xmms, but other programs (like games, cube f.e.) can not. Is installing arts a solution for this and waht do i have to do to remove the cracking?
 
Old 05-01-2005, 02:04 PM   #43
Atmchicago
Member
 
Registered: Apr 2003
Location: Baltimore
Distribution: Fedora
Posts: 220

Original Poster
Rep: Reputation: 32
Well arts is a daemon that takes control of alsa and sends all the audio through itself. Artsdsp can be used to launch some programs to use arts, but it doesn't work with stuff like UT2004 (it *used* to, but they gimped it...) But you shouldn't have to use arts.

Try using this as your default and see if it works:

Code:
pcm.!default {
        type plug
        slave {
                pcm "hw:0,0"
                rate 48000
        }
}
 
Old 05-01-2005, 02:18 PM   #44
moritzmahling
LQ Newbie
 
Registered: Apr 2005
Posts: 10

Rep: Reputation: 0
No, it doesn't work
 
Old 05-01-2005, 02:54 PM   #45
Atmchicago
Member
 
Registered: Apr 2003
Location: Baltimore
Distribution: Fedora
Posts: 220

Original Poster
Rep: Reputation: 32
So you mean that it still outputs the sound but at the wrong rate? Another problem could be if you have an integrated sound card that is default instead of the NX. Is that the case?
 
  


Reply



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
Problems on Soundblaster Audigy 2 NX USB Sound - suse 10 sb300869 Linux - Hardware 4 10-29-2005 11:07 AM
Soundblaster Audigy 2 NX USB Sound sb300869 SUSE / openSUSE 1 10-27-2005 10:20 AM
usb headset with soundblaster audigy 2 zs DropSig Linux - Hardware 1 10-24-2005 02:16 AM
USB SoundBlaster Audigy 2 NX lexington1776 Linux - Hardware 1 05-01-2005 02:08 PM
SoundBlaster Audigy 2 NX USB X2O Mandriva 1 08-25-2004 03:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:41 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration