SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have not used this script in several months and I can not remember. I do know that you need to cut and past it into kwrite and then save it with a title like sound or etc. then you need to make it executable by doing a " chmod +x sound " then I just do not remember from there but I believe that you will need to do a "./sound " to execute it. I am sure that someone will chime in with more knowledge of script writing than I have. I have been using it and it works well, it will give you more volume than you need on most any computer.
I have not used this script in several months and I can not remember. I do know that you need to cut and past it into kwrite and then save it with a title like sound or etc. then you need to make it executable by doing a " chmod +x sound " then I just do not remember from there but I believe that you will need to do a "./sound " to execute it. I am sure that someone will chime in with more knowledge of script writing than I have. I have been using it and it works well, it will give you more volume than you need on most any computer.
While I never compared the volume in Windows to Slackware, the volume on my current notebook is way lower than it was with my previous. I know different machines have different hardware, but even using the headphone jack the volume was really low. Anyway, I will try this bit of code out myself when I get home. If I see it right, it is actually NOT a script but a config file that you can put in either /etc/asoundrc for global settings or ~/.asoundrc for specific user. I currently have a basic asoundrc to get my HDMI working and it looks very similar to this code.
This is the way to install the script or conf file whichever it is, either way it just works'
Open kwrite, copy & paste the file into kwrite. Now save the file at /etc/asound.conf. The asound.conf was not there in slack 13.1 so kwrite created it. /etc/ is the directory, asound.conf is the new file name. You must reboot and maybe even stop/restart kmix for it to work, there will be a preamp slider on kmix now, just slide it to where you need it.
I can not get Kmix to display the pre-amp slider. It is not in the list of Available Channels. My /etc/asound.conf file is a straight copy/paste of the code here. I have restarted the machine as instructed. I am running 13.1_64. I have an Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03). A screenshot of my mixer windows is shown below. Any ideas?
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,647
Rep:
Quote:
Originally Posted by em21701
No hw does not make Pre-amp available. I just noticed that I have a file asound.state with the following contents:
Code:
state.Intel {
control.1 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 31'
comment.dbmin -3450
comment.dbmax 1200
iface MIXER
name 'Master Front Playback Volume'
value.0 31
value.1 31
}
[snipped the rest off ...]
I have a very similar asound.state for my card, which is also recognized as "Intel" (the Chip is a "Realtek ALC268"). And I have the same problem with the softvol plug -- no matter if I call it "plug" or "hw", I don't get an extra volume slider.
EDIT: Somehow ALSA has a problem with this card. dmix is not working, too, when I try "speaker-test". The second instance just tells me that the resource is busy.
Last edited by titopoquito; 08-06-2010 at 03:21 AM.
I can not get Kmix to display the pre-amp slider. It is not in the list of Available Channels. My /etc/asound.conf file is a straight copy/paste of the code here. I have restarted the machine as instructed. I am running 13.1_64. I have an Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03). A screenshot of my mixer windows is shown below. Any ideas?
Was late so i turn off my laptop a go to sleep, then when i come back to my laptop, i launch ncmpcpp and didn't work, so i try to use the command play and didn't either. So i went to alsamixer and see the Pre-Amp thing, i wasn't expecting that, Then i edit the file
Code:
vim /etc/asound.conf
and change, again,
Code:
type hw
for
Code:
type plug
reboot a there it is. It's amazing how much sound i was wasting in my laptop.
With the happiness of have the things working, i went back to ncmpcpp and works, but the volume was to high, and when i try to change the volume (you know with the arrow keys) didn't work now a can't change the volume inside the ncmpcpp will i have to go to alsamixer for that? i don't thing so, so much work, so i remove the /etc/asound.conf and reboot, just for see if that was the problem, and yes that's the problem.
Anyone have a suggestion for this problem?, with the ncmpcpp volume that don't work with the asound.conf fix of this thread.
Munra,
After reading your post I checked alsamixer again and there it was! I still don't have it in Kmix but I cranked it all the way up and stored it....nice now I can make some noise.
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,647
Rep:
I cannot tell what made it, but there it is too. Call it the pre-amplifier magic
Either it was jumping through the alsamixer play/record/all settings with the tab key or loading the sound module with an option for my laptop. Or my computer is just fooling me, that is what I suspect.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.