[SOLVED] After trying to work a microphone on slackware eventually broke with alsamixer
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
THe strange thing I found is that when i play any audio or video file, it plays within cpu itself. I mean though speakers are connected audio output does not go to speakers.
sure well make sure that the kernel module is there is this a stock kernel or did you rebuild it. ?? if it is a stock kernel then I am lost I have that same card.
Code:
1. Check bios make sure it is enabled
2. make sure you are running slackware stock kernel
3. make sure you have the /etc/modprobe.d/ snd-hda-intel.conf and in it options snd-hda-intel model=auto
4. you may want to make it slot=0 in your sound.conf
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
options snd slots=snd-hda-intel
this makes it the default device
after that I am lost because I have the same card on my slack14.0 that is my set up.
here is a copy of my actual /etc/modprob.d sound.conf
Code:
alias char-major-116 snd
alias char-major-14 soundcore
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
options snd slots=snd-hda-intel,snd-usb-audio,snd-usb-audio
I have multiple usb sound devices I want loaded first after my built in card then I want my nvidia hdmi after them.
and now finally i added your instruction(although i dont know what it is)
now i got my got back my sounds perfectly!!! Hurray..
and my special thanks for business kid and Drakeo
However the point I started to make my microphone work is not yet successful.. I will mark this thread solved if I get to work my microphone in my slacky slackware
I think today is my lucky day.. After crashing my head for couple of times finally I found my microphone is working fine after going through this post no #22
I have attached the snapshots on current state of alsamixer..
I did enabled the capture column to capture level of 81 and my input source to front mic as I have connected my microphone jack at the front panel...!
Last but not least.. As everything went fine so far, skype fails to make call..throwing me the overlay window as ¨Sorry, call failed¨
and then in kde I go into sound settings and set my recording device default at my webcam if I want to use my web. if not i set it to my usb mic or I set my onboard card mic front or back . and then save it to devices. My pulse config with the build has it set to use the default recording device chosen.
now when skype comes on and I do a test call it capture the mic on my usb cam.
the only other problem I had was I configured pavucontrol and configured my onborad card not to be a recording device.
You see skype only listens to pulseaudio and pulse audio will listen to kde. I have one mic I use for internet DJing.
one on my skype and two analogs plugged in for backups or other things.
if you have a laptop then the webcam mic will be made the second slot.
you do realize slackware 14.0 the .29 kernel was updated to the .45 and I believe that has your fix.
Quote:
Mon Jun 3 22:10:16 UTC 2013
patches/packages/linux-3.2.45/*: Rebuilt.
One more reverted commit. This one was leading to hangs on systems with
Intel graphics. The previous revert was also reverted in 3.2.46, but it
seems safer to just get this one manually than to take the newer kernel and
still have to do another patch to it anyway. Hopefully the third time is
the charm.
+--------------------------+
Wed May 22 14:11:13 UTC 2013
patches/packages/linux-3.2.45/*: Rebuilt.
It appears a bad commit slipped into 3.2.45 and it's causing problems on
systems that use Intel graphics. The commit has been reverted in the kernel
source packages and the kernels and modules have been rebuilt. If you ran
into the black screen problem before, this should fix it up.
and then in kde I go into sound settings and set my recording device default at my webcam if I want to use my web. if not i set it to my usb mic or I set my onboard card mic front or back . and then save it to devices. My pulse config with the build has it set to use the default recording device chosen.
now when skype comes on and I do a test call it capture the mic on my usb cam.
the only other problem I had was I configured pavucontrol and configured my onborad card not to be a recording device.
You see skype only listens to pulseaudio and pulse audio will listen to kde. I have one mic I use for internet DJing.
one on my skype and two analogs plugged in for backups or other things.
if you have a laptop then the webcam mic will be made the second slot.
here is a link to the source build I usesd with multilib all on 64bit please read the read me. http://www.mediafire.com/download/lr...lti-lib.tar.gz
Thank you Drakeo.. But my Slackware is 32 bit.. I am not clear whether will it go good for this one while the package being for 64 bit??
And after making making my last post #19... I realized pulse audio is necessary for skype to function fully and installed it with pavucontrol and its dependencies. Then rebooted.. and found pulse audio server in skype options! okay but still i cannot make even a echo test call which throws me the window saying
>>> Sorry, Call failed.
Two things
>>> run skype as normal user, my audio server is pulse audio when skype opens.. But I cannot make even a test call
>>> run skype as super suer, my audio server is not pulse audio rather it shows virtual device. Yet I can make test call but audio is not working with it
Also found that i cannot run pavucontrol as superuser
after that I tried running pulseaudio as su which returned me some strings
Quote:
bash-4.2# pulseaudio
W: [pulseaudio] main.c: This program is not intended to be run as root (unless --system is specified).
E: [pulseaudio] alsa-sink.c: Failed to find any supported sample rates.
then I tried pulseaudio --system for which the service started.. and then i restarted my skype with pulse audio server.. but on clicking on the pulse audio volume control on the skype options window, it showed me no input devices!! for which the echo test call ran but no sound was recorded
eventually no audio output on playing normal multimedia file!!
Last edited by slappisMekaniker; 10-16-2014 at 06:54 AM.
yes sorry that was the early post for slackware 14.1 later in the thread sorry but the download I gave you is for building on slackware 14.0 here is the other thread. I meant 112 post http://www.linuxquestions.org/questi...ml#post5218946
no input devices because you may not have configured the input device.
Now in KDE go in to system-settings -> Multimedia -> Phonon
select on the left audio playback now on the right move the device to the top you want as default play back.
then on the left at the bottom Apply Devices device list.
Now on the left select Audio recording and then on the right move the device to the top you want to use.
bottom left click Apply Devices device list
I usually leave the video recording default skype will find your cam.
Now when you restart your machine kde will want to delete stuff go ahead let it.
now go back into Phonon make sure all your settings are the same. now it is time to start skype and
do a test call.
hey business_kid we got his card up and working now we are configuring skype to use pulse audio and his mic and webcam.
Quote:
bash-4.2# pulseaudio
W: [pulseaudio] main.c: This program is not intended to be run as root (unless --system is specified).
E: [pulseaudio] alsa-sink.c: Failed to find any supported sample rates.
this is a common reply for pulse in root. and three it is already running so it will fail to sync.
remember since we are having it use the alsa defaults it will pretty much not sync if you restart it.
I do not make the program I just get the thing to work.
Er, yes, sorry 'bout that. pulseaudio seems to be needed. it's not worth the effort setting that up to work. I'll dispense with a PC version and use skype on my tablet :-D.
The link in your 112 th thread is for 64 bit?
or can it work with mine 32 bit?
Quote:
no input devices because you may not have configured the input device.
ANd for your information i have installed pulse audio from slackbuilds.org and all of its dependencies along with pavucontrol aready.. and my doubt is do you still want me to install the package you have posted in the link?
you really need to set up your /etc/pulse/default.pa
then do the above.
Quote:
I added these two lines at the bottom of my /etc/pulse/default.pa
I have done that earlier as you mentioned in previous post!!!
Quote:
Code:
Now in KDE go in to system-settings -> Multimedia -> Phonon
select on the left audio playback now on the right move the device to the top you want as default play back.
then on the left at the bottom Apply Devices device list.
Now on the left select Audio recording and then on the right move the device to the top you want to use.
bottom left click Apply Devices device list
I am terribly sorry that although I dont use kde, i had installed it and i did this with kmix. is that okay?
Last edited by slappisMekaniker; 10-17-2014 at 05:33 AM.
those scripts will build the 32 bit ok
if you are running a 32 bit machine it will build and install 32 bit if running a 64 bit it will build and install 64 bit if you are runing multi-lib there is a buld for compat32.
you do not have to use it up to you what you use I have used all the builds and mine is the only one I that got all my stuff to work.
I have used the slacky build I have used every one out there . My build works for me and many others.
it was just configuring pulse. Skype reads pules and that is set by pavucontrol. Pulse will sync with alsa.
but for skype they rely on pavucontrol to set the devices up.
going to move to the skype thread bro.
those scripts will build the 32 bit ok
if you are running a 32 bit machine it will build and install 32 bit if running a 64 bit it will build and install 64 bit if you are runing multi-lib there is a buld for compat32.
you do not have to use it up to you what you use I have used all the builds and mine is the only one I that got all my stuff to work.
I have used the slacky build I have used every one out there . My build works for me and many others.
it was just configuring pulse. Skype reads pules and that is set by pavucontrol. Pulse will sync with alsa.
but for skype they rely on pavucontrol to set the devices up.
going to move to the skype thread bro.
Awesome bro i am not sure about your package installation method that is all. okay!! i ll install by morning and i´ll report here but before that.. one more doubt.! sorry for this noob question.. before installing your package, should i have to keep all those already installed pulseaudio, pavucontrol and their dependecies package or to remove. And either if i have to keep or remove, what package should it be?? or all of them?? got !!
Last edited by slappisMekaniker; 10-17-2014 at 08:41 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.