VectorLinux
September 18, 2014, 03:27:52 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1] 2
  Print  
Author Topic: alsa mixer help, how do I keep usb desktop mic from default  (Read 3693 times)
Herpy
Vectorite
***
Posts: 141



« on: December 17, 2011, 09:28:21 am »

Hi vectorians! I installed this neat little distro to my cpu but I have a small little issue. Whenever I boot into Vector with my usb mic pluged in, no sound cause alsa mixer is a derp and bumps it up to default sound card which would not be an issue maybe if it was a usb headset but no it's a desktop mic. So I have to unplug it and reboot then plug it back in to prevent alsa mixer from bumping it as default.

My question is, how do I prevent alsa mixer from bumping my usb mic to default?
Logged

Forever in a box
stretchedthin
Administrator
Vectorian
*****
Posts: 3780


WWW
« Reply #1 on: December 17, 2011, 10:52:41 am »

I've got three different things on the subject.

1. This tutorial here http://www.opensourcebistro.com/blog1/?p=111
really this was first published here in the How to section.
http://forum.vectorlinux.com/index.php?topic=4888.msg32619#msg32619

2. Here is another method
http://www.youtube.com/watch?v=TsgOFHCJAUE

3. This one is kind of a cop-out, but instead of shutting down the computer at the end of the day, simply suspend it instead.  This way the good settings are preserved and you get immediate start up time to boot.
« Last Edit: December 17, 2011, 11:12:02 am by stretchedthin » Logged

Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee
stretchedthin
Administrator
Vectorian
*****
Posts: 3780


WWW
« Reply #2 on: December 17, 2011, 11:10:30 am »

Also if you are willing to help me test an application I made to help with the problem then download vDefsound from gslapt.  It is a little utility I made that will detect if a usb device has been made the default sound card and pop up a window allowing you to change the selection.

Please if you do test it, I'd appreciate the feed back.
Logged

Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee
stretchedthin
Administrator
Vectorian
*****
Posts: 3780


WWW
« Reply #3 on: January 04, 2012, 01:23:16 am »

@herpy
What solution finaly worked for you?
Logged

Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee
Herpy
Vectorite
***
Posts: 141



« Reply #4 on: January 04, 2012, 07:19:43 pm »

@herpy
What solution finaly worked for you?
easy, I unplug it before booting it up, then plug it in afterwards.
Logged

Forever in a box
stretchedthin
Administrator
Vectorian
*****
Posts: 3780


WWW
« Reply #5 on: January 04, 2012, 11:28:49 pm »

That works.  Grin

But if you have the time please give the package vDefsound from gslapt a try.
Would be interested in finding out if it works for you.

Should just be a matter of installing vDefsound with gslapt, but if it does not start at boot up, download yad as well.
Logged

Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee
Pita
Vectorian
****
Posts: 1310


« Reply #6 on: January 07, 2012, 04:51:17 pm »

Also if you are willing to help me test an application I made to help with the problem then download vDefsound from gslapt.  It is a little utility I made that will detect if a usb device has been made the default sound card and pop up a window allowing you to change the selection.

Please if you do test it, I'd appreciate the feed back.


Tested it. The first command says "rm ~/.asoundrc", however, in VL7-LIGHT there is no such file.
Therefore vDefsound aborted:

$ vDefsound
rm: cannot remove `/home/peter/.asoundrc': No such file or directory
exiting

I did not run alsamixer yet. Will check later.
Logged
Herpy
Vectorite
***
Posts: 141



« Reply #7 on: January 25, 2012, 09:32:45 am »

That works.  Grin

But if you have the time please give the package vDefsound from gslapt a try.
Would be interested in finding out if it works for you.

Should just be a matter of installing vDefsound with gslapt, but if it does not start at boot up, download yad as well.
vDefsound works!!!! Nice find Ken!
Logged

Forever in a box
stretchedthin
Administrator
Vectorian
*****
Posts: 3780


WWW
« Reply #8 on: January 25, 2012, 11:24:41 am »

That works.  Grin

But if you have the time please give the package vDefsound from gslapt a try.
Would be interested in finding out if it works for you.

Should just be a matter of installing vDefsound with gslapt, but if it does not start at boot up, download yad as well.
vDefsound works!!!! Nice find Ken!

I didn't just find it, I wrote it.  So if you find any bugs I may be able to squash, let me know.

Quote
$ vDefsound
rm: cannot remove `/home/peter/.asoundrc': No such file or directory
exiting

vDefsound should not exit on this error.  It outputs the message if the file is not there but the script should continue.
Logged

Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee
Herpy
Vectorite
***
Posts: 141



« Reply #9 on: January 26, 2012, 12:49:49 pm »

That works.  Grin

But if you have the time please give the package vDefsound from gslapt a try.
Would be interested in finding out if it works for you.

Should just be a matter of installing vDefsound with gslapt, but if it does not start at boot up, download yad as well.
vDefsound works!!!! Nice find Ken!

I didn't just find it, I wrote it.  So if you find any bugs I may be able to squash, let me know.

Quote
$ vDefsound
rm: cannot remove `/home/peter/.asoundrc': No such file or directory
exiting

vDefsound should not exit on this error.  It outputs the message if the file is not there but the script should continue.

Skype randomly loses sound and it says audio playback problem
Logged

Forever in a box
stretchedthin
Administrator
Vectorian
*****
Posts: 3780


WWW
« Reply #10 on: January 26, 2012, 09:59:35 pm »

Herpy, was this fixed by the solution you had in your other post?
Logged

Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee
Herpy
Vectorite
***
Posts: 141



« Reply #11 on: January 26, 2012, 10:05:06 pm »

Herpy, was this fixed by the solution you had in your other post?
Yes, it seems to be in order. Will keep you posted if I run into more problems.
Logged

Forever in a box
Herpy
Vectorite
***
Posts: 141



« Reply #12 on: February 07, 2012, 12:21:16 pm »

Herpy, was this fixed by the solution you had in your other post?
Yep found a bug, it will only play one peice of audio at a time. Causing me to refresh. Big issue for me so see if you can work that bug out.
Logged

Forever in a box
stretchedthin
Administrator
Vectorian
*****
Posts: 3780


WWW
« Reply #13 on: February 07, 2012, 03:49:20 pm »

ok, thanks Herpy.  See what I can do.
Logged

Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee
sledgehammer
Vectorian
****
Posts: 1424



« Reply #14 on: April 29, 2012, 03:01:51 pm »

My Logitech usb headset works fine on twinkle and linphone, and on google voice, but when I play a youtube video, sound defaults to the laptop speakers. I tried vDefsound and it errors out, as follows:

Quote
johwhi:$ vDefsound
rm: cannot remove `/home/johwhi/.asoundrc': No such file or directory
exiting
vector:/~

Suggestions?
Logged

VL7.0 xfce4 Samsung RF511
Pages: [1] 2
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!