LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 10-16-2014, 03:24 AM   #16
slappisMekaniker
Member
 
Registered: Nov 2013
Location: The Blue planet
Distribution: Slackware 14.0
Posts: 64

Original Poster
Rep: Reputation: 6

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.
 
Old 10-16-2014, 03:31 AM   #17
slappisMekaniker
Member
 
Registered: Nov 2013
Location: The Blue planet
Distribution: Slackware 14.0
Posts: 64

Original Poster
Rep: Reputation: 6
Post

and so now ..
lsmod lists
Code:
bash-4.2# lsmod
Module                  Size  Used by
pci_stub                 961  1 
vboxpci                15028  0 
vboxnetadp             19239  0 
vboxnetflt             17331  0 
vboxdrv               234485  3 vboxnetflt,vboxnetadp,vboxpci
ipv6                  238549  46 
xt_tcpudp               1803  1 
nf_conntrack_ipv4       9556  1 
nf_defrag_ipv4          1007  1 nf_conntrack_ipv4
xt_state                 955  1 
nf_conntrack           44077  2 xt_state,nf_conntrack_ipv4
iptable_filter          1084  1 
ip_tables               9154  1 iptable_filter
x_tables               11437  4 ip_tables,iptable_filter,xt_state,xt_tcpudp
lp                      7119  0 
fuse                   58282  7 
snd_usb_audio          77996  1 
snd_usbmidi_lib        15636  1 snd_usb_audio
snd_rawmidi            14886  1 snd_usbmidi_lib
snd_seq_device          4596  1 snd_rawmidi
uvcvideo               55700  0 
videodev               66999  1 uvcvideo
usbhid                 31118  0 
hid                    65824  1 usbhid
i915                  372988  2 
e1000e                128963  0 
snd_hda_codec_hdmi     21952  1 
snd_hda_codec_realtek    91594  1 
processor              23020  0 
drm_kms_helper         22825  1 i915
drm                   151850  3 drm_kms_helper,i915
video                   9938  1 i915
thermal_sys            12122  2 video,processor
intel_agp               8712  1 i915
intel_gtt              11571  3 intel_agp,i915
ppdev                   4710  0 
parport_pc             16755  1 
hwmon                   1033  1 thermal_sys
i2c_i801                6952  0 
i2c_algo_bit            4543  1 i915
i2c_core               16454  6 i2c_algo_bit,i2c_i801,drm,drm_kms_helper,i915,videodev
agpgart                22087  3 intel_gtt,intel_agp,drm
button                  3665  1 i915
evdev                   7314  7 
mei                    27885  0 
snd_hda_intel          20180  1 
snd_hda_codec          79034  3 snd_hda_intel,snd_hda_codec_realtek,snd_hda_codec_hdmi
snd_hwdep               4962  2 snd_hda_codec,snd_usb_audio
snd_pcsp                6415  4 
parport                26159  3 parport_pc,ppdev,lp
snd_pcm                60459  6 snd_pcsp,snd_hda_codec,snd_hda_intel,snd_hda_codec_hdmi,snd_usb_audio
snd_page_alloc          5957  2 snd_pcm,snd_hda_intel
snd_timer              14926  2 snd_pcm
snd                    45910  22 snd_timer,snd_pcm,snd_pcsp,snd_hwdep,snd_hda_codec,snd_hda_intel,snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_seq_device,snd_rawmidi,snd_usbmidi_lib,snd_usb_audio
soundcore               4570  1 snd
loop                   14650  0
cat /proc/asound/.. | grep Codec
Code:
bash-4.2# cat /proc/asound/card*/codec* | grep Codec
Codec: Realtek ALC888
Codec: Intel IbexPeak HDMI
arecord -l
Code:
bash-4.2# arecord -l
**** List of CAPTURE Hardware Devices ****
card 1: Intel [HDA Intel], device 0: ALC888 Analog [ALC888 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Intel [HDA Intel], device 2: ALC888 Analog [ALC888 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: U0x46d0x825 [USB Device 0x46d:0x825], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
 
Old 10-16-2014, 03:49 AM   #18
slappisMekaniker
Member
 
Registered: Nov 2013
Location: The Blue planet
Distribution: Slackware 14.0
Posts: 64

Original Poster
Rep: Reputation: 6
Quote:
Originally Posted by Drakeo View Post
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
 
Old 10-16-2014, 04:32 AM   #19
slappisMekaniker
Member
 
Registered: Nov 2013
Location: The Blue planet
Distribution: Slackware 14.0
Posts: 64

Original Poster
Rep: Reputation: 6
Unhappy

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..
Click image for larger version

Name:	alsamixerPlayback.jpg
Views:	11
Size:	127.0 KB
ID:	16666

Click image for larger version

Name:	captureDevices.jpg
Views:	7
Size:	75.6 KB
ID:	16667

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¨
 
Old 10-16-2014, 06:58 AM   #20
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,090
Blog Entries: 3

Rep: Reputation: 324Reputation: 324Reputation: 324Reputation: 324
yaya remeber turn your boost up or you will not have sound 75 percent is ok.
you did great man and now that onboard chip is default. for skype here is what I did.
here is a link to the source build I used with multilib or you can build i486 or just x86_64 all 32bit and on 64bit please read the read me.

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.

Last edited by Drakeo; 10-16-2014 at 07:41 AM.
 
Old 10-16-2014, 07:20 AM   #21
slappisMekaniker
Member
 
Registered: Nov 2013
Location: The Blue planet
Distribution: Slackware 14.0
Posts: 64

Original Poster
Rep: Reputation: 6
Quote:
Originally Posted by Drakeo View Post
for skype here is what I did.

I installed my skype build. and a full install of pulse audio. if your using multilib I would install pulse audio full.
from here is my build. http://www.linuxquestions.org/questi...ml#post5214248

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
Quote:
bash-4.2# pavucontrol

(pavucontrol:4487): Gtk-CRITICAL **: IA__gtk_main_quit: assertion `main_loops != NULL' failed
is this normal?

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 07:54 AM.
 
Old 10-16-2014, 10:00 AM   #22
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,090
Blog Entries: 3

Rep: Reputation: 324Reputation: 324Reputation: 324Reputation: 324
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.
Code:
playback recording output devices input devices Configuration.
after you have set up configuration.

you really need to set up your /etc/pulse/default.pa
then do the above.

I added these two lines at the bottom of my /etc/pulse/default.pa
Code:
load-module module-alsa-sink device=dmix
load-module module-alsa-source device=dsnoop
then reboot.
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 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.

Last edited by Drakeo; 10-16-2014 at 10:19 AM.
 
Old 10-16-2014, 10:07 AM   #23
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 7,786

Rep: Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741
I didn't know pulseaudio was needed for skype - so I didn't install it, but Skype worked fine.

I don't think it's needed. Is your user in the audio group?
Code:
groupadd -aG audio slappisMekaniker
I would then try with console tools
aplay -l - lists audio devices

aplay something.wav - plays something. You're probably able to do more with it. Skype has a collection of short .wav files in the sounds directory.

arecord [options] filename - records something.
 
Old 10-16-2014, 10:20 AM   #24
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,090
Blog Entries: 3

Rep: Reputation: 324Reputation: 324Reputation: 324Reputation: 324
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.

did you build using my build sources i put together from SBO with build script. ? http://www.mediafire.com/download/ya...lti-lib.tar.gz

Last edited by Drakeo; 10-16-2014 at 10:29 AM.
 
Old 10-16-2014, 10:36 AM   #25
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,090
Blog Entries: 3

Rep: Reputation: 324Reputation: 324Reputation: 324Reputation: 324
Quote:
I didn't know pulseaudio was needed for skype - so I didn't install it, but Skype worked fine.

I don't think it's needed. Is your user in the audio group?
http://slackbuilds.org/repository/14.1/network/skype/ yes it requires it.
skype for linux http://www.skype.com/en/download-skype/skype-for-linux/ click system requirement. they drop support for alsa.
 
Old 10-16-2014, 12:12 PM   #26
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 7,786

Rep: Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741
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.
 
Old 10-17-2014, 06:22 AM   #27
slappisMekaniker
Member
 
Registered: Nov 2013
Location: The Blue planet
Distribution: Slackware 14.0
Posts: 64

Original Poster
Rep: Reputation: 6
Quote:
Originally Posted by Drakeo View Post
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
I use slackware14 32 bit.
Quote:
here is the other thread. I meant 112 post
http://www.linuxquestions.org/questi...ml#post5218946
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
Code:
load-module module-alsa-sink device=dmix
load-module module-alsa-source device=dsnoop
then reboot.
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 06:33 AM.
 
Old 10-17-2014, 06:28 AM   #28
slappisMekaniker
Member
 
Registered: Nov 2013
Location: The Blue planet
Distribution: Slackware 14.0
Posts: 64

Original Poster
Rep: Reputation: 6
Quote:
Originally Posted by business_kid View Post
I didn't know pulseaudio was needed for skype - so I didn't install it, but Skype worked fine.

I don't think it's needed.
http://alien.slackbook.org/blog/skyp...port-for-alsa/
Is your user in the audio group?
Code:
groupadd -aG audio slappisMekaniker
in the group already!!


Quote:
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.

Last edited by slappisMekaniker; 10-17-2014 at 06:30 AM.
 
Old 10-17-2014, 07:44 AM   #29
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,090
Blog Entries: 3

Rep: Reputation: 324Reputation: 324Reputation: 324Reputation: 324
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.

Last edited by Drakeo; 10-17-2014 at 07:50 AM.
 
Old 10-17-2014, 09:38 AM   #30
slappisMekaniker
Member
 
Registered: Nov 2013
Location: The Blue planet
Distribution: Slackware 14.0
Posts: 64

Original Poster
Rep: Reputation: 6
Unhappy

Quote:
Originally Posted by Drakeo View Post
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 09:41 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
AlsaMixer Lacks Microphone Items OtagoHarbour Linux - Hardware 4 05-08-2014 08:35 AM
FC17 Gnome login - every keystroke beeped, but eventually registers. What broke? ivordurham Fedora 3 03-13-2013 02:52 PM
Idle speculation: who will eventually take over Slackware? dugan Slackware 29 04-21-2012 08:45 PM
Microphone bar does not exist on alsamixer menu phys Slackware 9 02-14-2009 11:36 AM
microphone doesn't work, shown red in alsamixer ryukun Linux - Hardware 0 09-29-2006 07:15 PM


All times are GMT -5. The time now is 11:44 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration