USB speakers, best practices?

Questions about hardware and drivers
Forum rules
Before you post please read this

USB speakers, best practices?

Postby betacentauri on Sun Oct 17, 2010 4:36 pm

Hi, I'm not new to Linux but never had tried Debian or Mint. I have just installed LMDE in my spouse's HP Mini netbook, thus obliterating the much malware-torn-down Windows XP it came with. I feel compelled to say right now that I'm absolute amazed at Mint and loved it the very same minute it booted up. I am insanely thankful for Mint. However I could use some tips on the audio side, a frequent hair-puller in my experience.
1. Everything worked just right until a bought a pair of USB speakers, with their own mute/unmute, vol up/down control pad. The thing just won't work OK with Rhythmbox. Though I can fiddle with pulseaudio preferences and make the sound come out thru the USB speakers from Rhythmbox, I can't stop a song while it is playing because PA will climb to 95% CPU and never return control to Rhythmbox. Audacious, however, doesn't show this quirk and works mostly OK.
2. If I unplug the USB speakers, then the sound goes back to the builtin speakers but it is reduced to an almost inaudible volume. When USB speakers are plugged again they are no longer found by PA, nor do they appear in PA Preferences until I reboot.
3. The control pad works, as I can see the proper graphic notices in the screen when I mute/unmute or turn vol up or down, but it does not modify the USB speakers volume in any way.
4. I'd like to have a one-button-press switch from USB to internal for my wife who is an extremely lazy/unknowledgeable user, what's the simplest bet? A user script launched from second button menu? Some other control I am missing?
I understand these must be ALSA issues - can somebody point me to solutions and some best practices to keep sanity in drivers/sound systems before I definitely screw up the machine?
Thank you in advance!
betacentauri
Level 1
Level 1
 
Posts: 18
Joined: Sun Oct 17, 2010 3:42 pm

Linux Mint is funded by ads and donations.
 

Re: USB speakers, best practices?

Postby kwevej on Sun Oct 17, 2010 5:58 pm

I'd say this is PA issue.
I have an USB DAC, had some problems - after removal of PA, gone.
Only thing I had to do, was to set USB card as default in .asoundrc.
User avatar
kwevej
Level 5
Level 5
 
Posts: 624
Joined: Mon Mar 22, 2010 3:35 pm
Location: Delft / Prague [@ LMDE]

Re: USB speakers, best practices?

Postby betacentauri on Sun Oct 17, 2010 8:43 pm

kwevej wrote:I'd say this is PA issue.
I have an USB DAC, had some problems - after removal of PA, gone.
Only thing I had to do, was to set USB card as default in .asoundrc.


Thank you, kwevej. I tried removing PA but then I don't know how to setup USB as a sound target.
Would you mind sharing the proper .asoundrc configuration?
betacentauri
Level 1
Level 1
 
Posts: 18
Joined: Sun Oct 17, 2010 3:42 pm

Re: USB speakers, best practices?

Postby kwevej on Mon Oct 18, 2010 3:58 am

That's what I use to make USB card the default one:

Code: Select all
pcm.!default {
type hw
card 1
}

ctl.!default {
type hw
card 1
}
User avatar
kwevej
Level 5
Level 5
 
Posts: 624
Joined: Mon Mar 22, 2010 3:35 pm
Location: Delft / Prague [@ LMDE]

Re: USB speakers, best practices?

Postby llogg on Tue Jun 14, 2011 8:16 am

Can anybody give me a moron's version of how to set up/edit the .asoundrc?
Intel Pentium Dual 2.00 GHz
2Gb RAM
Linux Mint Cinnamon 14
llogg
Level 3
Level 3
 
Posts: 112
Joined: Sat Feb 12, 2011 6:56 pm


Return to Hardware Support

Who is online

Users browsing this forum: No registered users and 1 guest