LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-02-2018, 06:06 PM   #1
anyusername
LQ Newbie
 
Registered: Aug 2009
Posts: 8

Rep: Reputation: 0
ALSA volume too low


I have Google assistant running on a headless system. The sound output is via a USB sound card but the volume is too low, even with volume set to max on alsamixer. I've been trying to figure out how to enable pre-amp, but have been unsuccessful. The current asoundrc is:

Code:
pcm.!default {
 type asym
 capture.pcm "mic"
 playback.pcm "speaker"
}
pcm.mic {
 type plug
 slave {
 pcm "hw:0,0"
 format S16_LE
 }
}
pcm.speaker {
 type plug
 slave {
 pcm "hw:2,0"
 }
}
Any ideas on how I can enable pre-amp or otherwise increase the volume?
 
Old 02-02-2018, 06:35 PM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Open the terminal and type alsamixer.

Raise up the volume, pcm and the front mic's on the column.

https://www.youtube.com/watch?v=x1YUp_g6JMw

A double MM at the bottom of the column means it's muted. A double 00 means unmuted:-

HTH
 
Old 02-02-2018, 07:09 PM   #3
anyusername
LQ Newbie
 
Registered: Aug 2009
Posts: 8

Original Poster
Rep: Reputation: 0
This is all I have available:

https://i.imgur.com/WcSmEMK.png
 
Old 02-02-2018, 07:34 PM   #4
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,803

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Expose your sound card controls in alsamixer by pressing F6 (choose the appropriate card) and adjust as necessary.
 
Old 02-02-2018, 07:45 PM   #5
anyusername
LQ Newbie
 
Registered: Aug 2009
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ferrari View Post
Expose your sound card controls in alsamixer by pressing F6 (choose the appropriate card) and adjust as necessary.
The screenshot is the appropriate card. The speaker volume is at max but still far too quiet. Same USB sound card on a pulseaudio system is significantly louder, so issue is with alsa.
 
Old 02-02-2018, 08:00 PM   #6
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,803

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
And the PCM level?
 
Old 02-03-2018, 04:08 AM   #7
anyusername
LQ Newbie
 
Registered: Aug 2009
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ferrari View Post
And the PCM level?
Makes no difference to the volume.
 
Old 02-03-2018, 02:30 PM   #8
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,803

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
So why did you mark it solved now?
 
Old 02-03-2018, 04:45 PM   #9
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
What's the output of:

Code:
aplay -l
 
Old 02-04-2018, 04:37 AM   #10
anyusername
LQ Newbie
 
Registered: Aug 2009
Posts: 8

Original Poster
Rep: Reputation: 0
I've figured it out.

It's nothing to do with Alsa, rather the Google Assistant API has the ability to control volume, i.e. "Hey Google, volume level 8".
 
Old 02-04-2018, 04:48 AM   #11
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,803

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Thanks for the update. It may be of benefit to others who come searching.
 
Old 02-04-2018, 06:00 PM   #12
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by anyusername View Post
I've figured it out.

It's nothing to do with Alsa, rather the Google Assistant API has the ability to control volume, i.e. "Hey Google, volume level 8".
Where are the settings for the API at?
 
Old 02-05-2018, 12:57 AM   #13
anyusername
LQ Newbie
 
Registered: Aug 2009
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Ztcoracat View Post
Where are the settings for the API at?
I changed it through voice command, i.e. "Hey Google, set volume to 8" or "Hey Google, set volume to 75%".
 
Old 02-05-2018, 06:57 PM   #14
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by anyusername View Post
I changed it through voice command, i.e. "Hey Google, set volume to 8" or "Hey Google, set volume to 75%".
Cool-

Any idea where the settings are if someone doesn't have voice cmd?
 
Old 02-06-2018, 01:02 AM   #15
anyusername
LQ Newbie
 
Registered: Aug 2009
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Ztcoracat View Post
Cool-

Any idea where the settings are if someone doesn't have voice cmd?
Sorry, but I did not go any further than setting them by voice. How would one interact with Google Assistant without voice command?
 
  


Reply

Tags
alsa, volume



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
Low volume with alsa on nVidia audio device duffydac Debian 3 03-06-2010 05:31 PM
Volume Too Low, Different Chipset on Alsa and OSS Mixer btbx Linux - Embedded & Single-board computer 2 02-24-2010 07:02 AM
Very very low volume XMarticus Debian 1 02-23-2009 09:14 AM
Volume Control: Intel 82801DB-ICH4 (Alsa mixer) won't save volume levels. cayspekko Linux - Newbie 2 01-31-2008 12:17 AM
Audigy LS, ALSA v1.0.13, low mic volume DarkSun84 Linux - Hardware 13 10-24-2006 11:23 AM

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

All times are GMT -5. The time now is 11:51 AM.

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