LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 11-27-2012, 10:27 AM   #1
Cultist
Member
 
Registered: Feb 2010
Location: Chicago, IL
Distribution: Slackware64 14.1
Posts: 777

Rep: Reputation: 102Reputation: 102
Making a DAC work correctly in Slackware64 14.0


I'm trying to get a USB DAC to work on my Slackware laptop (digital to analog converter, basically just a USB soundcard).

It was recommended to me to create a file named ~/.asoundrc. aplay -L gave me the following output: http://pastebin.com/1aZEH3d7

Using that, I created ~/.asoundrc, which has the following in it:
Code:
pcm.!default front:DAC
In KDE's system settings under multimedia hardware, in the Phonon menu (which appears to have a list of all the connected sound output devices), there were two or three DAC entries, which I moved to the top of the list on each Audio Playback header. I also rebooted for good measure.

Now, what happens is that only *some* of the sound I play actually goes through the DAC, while the rest goes through my laptop's internal sound card. When I have an audio player open, every other song I play goes through the DAC, while the rest go through the onboard card. So I might start a single album, and track 1 will be the DAC, track 2 will be the on board card, track 3 will be the dac again, and so forth. And each time a new track starts, it rotates, even if I just start the same track twice in a row, it will begin playing through the other card.

The end result that I'm aiming for is that whenever my USB DAC is plugged in, all sound output is routed through it, but when it isn't plugged in, everything goes through the onboard sound card.

I've researched online and I'm honestly completely lost at this point. I don't even see how this rotating effect is possible. Any help at all would be very greatly appreciated. Thanks!

EDIT: The alternating track thing now seems to be confined specifically to Clementine. Is this now a software problem or is it still a configuration issue?

Last edited by Cultist; 11-27-2012 at 11:26 AM.
 
Old 11-27-2012, 11:44 AM   #2
dugan
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,683

Rep: Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441
http://alsa.opensrc.org/MultipleCards

Try, in /etc/modprobe.d/alsa.conf:

Code:
options snd slots=snd-usb-audio,snd-hda-intel
Or:

Code:
options snd-usb-audio index=0
options snd-hda-intel index=1
I always also disable OSS emulation by commenting out the load_alsa_oss_modules lines in /etc/rc.d/rc.alsa. It's amazing how many problems that solves.

Last edited by dugan; 11-27-2012 at 12:24 PM.
 
1 members found this post helpful.
Old 12-06-2012, 12:03 AM   #3
jjthomas
Member
 
Registered: Jan 2004
Location: Tacoma, WA
Distribution: Slackware 14
Posts: 242
Blog Entries: 2

Rep: Reputation: 28
Quote:
Originally Posted by dugan View Post
I always also disable OSS emulation by commenting out the load_alsa_oss_modules lines in /etc/rc.d/rc.alsa. It's amazing how many problems that solves.
I've been pulling my hair out for the last two days trying to get sound back on my EMU1616. I disabled the load_alsa_oss_modules line, restarted rc.alsa and I have sound.

-JJ

EMU10K1
 
  


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
Getting wine to work in Slackware64 (13.0) benbizz Slackware 7 03-09-2011 05:22 AM
Making rhythmbox work in Slackware64 13.1 -current: errors .. (helper script missing) GrapefruiTgirl Slackware 8 08-09-2010 05:08 AM
Slackware64 for making Music: Hardware recommendations? gargamel Slackware 10 01-04-2010 05:53 PM
Slackware64 for making Music: Hardware recommendations? gargamel Slackware 2 01-04-2010 05:08 AM


All times are GMT -5. The time now is 01:59 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