LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-09-2014, 03:33 AM   #226
fsLeg
Member
 
Registered: Dec 2013
Location: Russia, Moscow
Distribution: Slackware, EndeavourOS
Posts: 89

Rep: Reputation: Disabled

Quote:
Originally Posted by zerouno View Post
There is a reason becouse you want run skype as root?
I believe it was a joke, as in Windows programs work better (or at all) with administrator privileges.

Quote:
Originally Posted by juboba View Post
This is exactly what my SlackBuild does. Although, if you don't want to install PulseAudio system-wide, I would suggest a cleaner solution instead of this quick and dirty hack which might not even work tomorrow.
 
Old 09-09-2014, 03:52 AM   #227
zerouno
Member
 
Registered: Oct 2009
Location: Italy
Distribution: Slackware
Posts: 983

Rep: Reputation: 352Reputation: 352Reputation: 352Reputation: 352
Quote:
Originally Posted by fsLeg View Post
I believe it was a joke, as in Windows programs work better (or at all) with administrator privileges.
It's possible to run pulseaudio as root but with another configuration, non-default on skype all-in-one package (need modify the start script and changes on configuration files). I never tested (nor tried to test) that.
 
Old 09-09-2014, 04:24 AM   #228
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
yes I can but pulseaudio always complains that I am root and not suppose to but it runs anyway.
 
Old 09-09-2014, 11:42 AM   #229
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,781

Rep: Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431
Wow. Once again I am so indebted to LQ and especially the Slackware section, of course. In this case I am specifically indebted to AlienBob because I have no idea how Google Talk/Hangouts escaped my notice, but it did, and because of this thread and Eric's comment and others (notably Bertman and metageek) I have Google Talk/Hangouts working and it just rocks! It not only solves the Alsa vs/ Pulseaudio problem (to the curb foul beast!) but because a channel can handle up to 100 people it solves Raidcall issues which, now owned by MS, has followed the exact same path as Skype, forced "upgrades" that break anything that runs on Linux, even if in Wine. Shoot! it even has Whiteboarding which means I can use it in business as well as friends, family and gaming.
Many Thanks
 
Old 09-10-2014, 09:07 AM   #230
juboba
Member
 
Registered: Jun 2007
Distribution: Slackware
Posts: 30

Rep: Reputation: 15
zerouno's package is the best bet. Even for my multilib system. You can get the slackbuild at:
http://repository.slacky.eu/slackwar...network/skype/

Works like a charm. Thanks zerouno!
 
Old 09-10-2014, 10:43 AM   #231
StreamThreader
Member
 
Registered: Mar 2012
Location: Ukraine/Odesa
Distribution: Slackware
Posts: 152

Rep: Reputation: 64
It works!
 
Old 09-10-2014, 11:04 PM   #232
elnino
LQ Newbie
 
Registered: Aug 2011
Location: Japan
Distribution: Slackware
Posts: 1

Rep: Reputation: Disabled
zerouno's package worked for me as well (Slackware 14.1 64-bit, no multilib). Now I don't have to keep a laptop with Win7 running just for Skype...
If you have the slackpkg+ package, installing it is as easy as

slackpkg install skype

(provided slacky is in your repo list). Thank you very much, zerouno!
 
Old 09-14-2014, 08:10 PM   #233
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,308

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
everything works except webcam microphone

Slackware 14.1 64-bit, no multilib all up to date.

I had zerouno skype 4.1.0.20 for x86_64 working with same webcam, tried it today said Skype cannot connect, trying latest version skype-4.3.0.37-x86_64-1sl.txz.

Bus 003 Device 006: ID 046d:081b Logitech, Inc. Webcam C310

Under Skype Options/Sound Devices I see PulseAudio server (local) for Microphone, Speakers, Ringing.

Make a test sound plays the sound, Make a test call, plays the prompt, I say testing testing testing, nothing plays back.

Kmix shows USB Device 0X46d:0x81b, capture is checked, mic level is all the way up.

I can see myself in Options/Video Devices.

Is there log file or something that might show any relevant messages?

sh -x /usr/bin/skype
+ SKYPE=/usr/share/skype
+ '[' -e /usr/share/skype/lib64 ']'
+ LIB32=/usr/share/skype/lib
+ export GCONV_PATH=/usr/share/skype/lib/gconv
+ GCONV_PATH=/usr/share/skype/lib/gconv
+ export QT_PLUGIN_PATH=/usr/share/skype/lib/plugins
+ QT_PLUGIN_PATH=/usr/share/skype/lib/plugins
+ export LD_LIBRARY_PATH=:/usr/share/skype/lib:/usr/share/skype/lib64
+ LD_LIBRARY_PATH=:/usr/share/skype/lib:/usr/share/skype/lib64
+ grep -q pcm.skype_out /home/username/.asoundrc
+ /usr/share/skype/bin/pulseaudio --start
+ '[' 0 -ne 0 ']'
+ LD_PRELOAD=/usr/share/skype/lib/libv4l/v4l1compat.so
+ PULSE_LATENCY_MSEC=60
+ /usr/share/skype/skype
+ /usr/share/skype/bin/pulseaudio --kill

thanks
 
Old 09-15-2014, 06:09 AM   #234
irgunII
Member
 
Registered: Jan 2012
Location: Directly above the center of the earth
Distribution: Slackware. There's something else?
Posts: 383

Rep: Reputation: 72
I don't understand why Ekiga isn't used. It's been open-source for an awfully long time and it just works. It's the answer to getting rid of a Microshaft-centric PoS software that people don't trust (for good reason) yet keep using (which makes no sense to me) and actually complain about *because* it's closed-source and who owns it. I mean it's the old 'Can't see the forest for the trees' syndrome.
 
Old 09-15-2014, 06:56 AM   #235
zerouno
Member
 
Registered: Oct 2009
Location: Italy
Distribution: Slackware
Posts: 983

Rep: Reputation: 352Reputation: 352Reputation: 352Reputation: 352
@glorsplitz

the microphone works in other applications?

post your /home/username/.asoundrc
and the output of "arecord -l"

use alsamixer to be sure that your mic is really unmuted:
1) run alsamixer
2) press F6 to select the correct audiocard (if you have more than one)
3) press F4 to select capture device
you should have a lot of controls; one is "capture" that is the main; press SPACE and be sure that there is a red text "CAPTURE" uppercased; also you should have at least a microphone; select one and press SPACE, then tune the levels.

then run
Code:
arecord -f cd -D plug:skype_in |aplay -D plug:skype_out
you may need to modify "plug:skype_in" with "hw:1" or similar; the kde audio configurator can help you to select the correct device.
 
1 members found this post helpful.
Old 09-15-2014, 07:18 PM   #236
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,308

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
webcam mic or headphone mic?

arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC892 Analog [ALC892 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 2: ALC892 Alt Analog [ALC892 Alt Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: U0x46d0x81b [USB Device 0x46d:0x81b], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0


In alsamixer, F6 selected "USB Device 0X46d:0x81b" "This sound device does not have any playback controls.".

F6 again, selected "HDA Intel PCH", F4 selected Capture, made sure level was up, plugged in headphone mic and it worked.

Brought up Skype, test call played back my voice.

So I guess with my setup the USB mic isn't recognized?


With headphone mic plugged in:
arecord -f cd -D plug:skype_in |aplay -D plug:skype_out
I tapped on the headphone mic and could hear it.


I got something working now, thanks zerouno.
 
Old 09-16-2014, 08:22 AM   #237
zerouno
Member
 
Registered: Oct 2009
Location: Italy
Distribution: Slackware
Posts: 983

Rep: Reputation: 352Reputation: 352Reputation: 352Reputation: 352
try
arecord -f cd -D hw:1 |aplay -D plug:skype_out

be sure to stop skype&pulseaudio and all other application can use microphone.

is it an external webcam? try it in another computer (windows also)
 
Old 09-16-2014, 06:30 PM   #238
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,308

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
yes external webcam Logitech HD Webcam C310

with Skype and no other mic apps running

arecord -f cd -D hw:1 |aplay -D plug:skype_out

produced:
Recording WAVE 'stdin' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
arecord: set_params:1239: Channels count non available
aplay: playback:2715: read error

this webcam works fine in windows

thanks for helping
 
Old 09-19-2014, 03:57 PM   #239
fsLeg
Member
 
Registered: Dec 2013
Location: Russia, Moscow
Distribution: Slackware, EndeavourOS
Posts: 89

Rep: Reputation: Disabled
I was just sent what seems to be a solution to our PA-related problems. This is a PulseAudio emulator: https://github.com/i-rinat/apulse. I haven't tested it yet. Can anyone?

UPDATE. Just tested it. The sound seems to be working with no issues.

Last edited by fsLeg; 09-20-2014 at 05:04 AM.
 
2 members found this post helpful.
Old 09-20-2014, 07:05 AM   #240
moesasji
Member
 
Registered: May 2008
Distribution: Slackware Current / OpenBSD
Posts: 322

Rep: Reputation: 104Reputation: 104
Quote:
Originally Posted by glorsplitz View Post
yes external webcam Logitech HD Webcam C310

with Skype and no other mic apps running

arecord -f cd -D hw:1 |aplay -D plug:skype_out

produced:
Recording WAVE 'stdin' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
arecord: set_params:1239: Channels count non available
aplay: playback:2715: read error
I also have a Logitech webcam as well and also for me the microphone doesn't want to work with the package as provided by Zeroune and I get a similar error-message (it worked mostly when I build pulseaudio through SBo).

Part of the problem in testing is that the above arecord command fails to record if I don't set the default capture device in .asound.rc. In that case I need to use

arecord -f cd -D plughw:#,# -d 10 /filename

to be able to record sound and get around the above error. The key difference is the need to use plughw instead of hw. My understanding is that this makes sure that formats that are not supported by the hardware get converted.

Strangely enough piping the output of arecord into aplay as Zerouno suggest above with plughw instead of hw does play back the microphone but leads to the sound self-amplification, ie the sounds just gets stronger and stronger very rapidly and a very distinct echo. Very strange as that doesn't happen when I just save the sound to file.

So unfortunately I am still puzzled how to adapt the asound.rc file in the Zerouno package to get this running.
 
  


Reply

Tags
pulse audio, skype, skype slackware



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
Interruptions during Skype to Skype audio calls glupa4e Slackware 6 05-22-2013 02:46 PM
skype: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by skype Xeratul Debian 6 11-24-2012 02:12 AM
latest skype Skype 2.2.0.25 and Slackware --current anti_user Slackware 10 04-07-2011 02:22 PM
qt4-x11 >= 4.2 is needed by skype-2.1.0.47-fc10.i586 (From Installation of SKYPE)RHEL miaomiaoga Linux - Software 8 08-28-2010 07:15 AM
noise in skype to skype calls in skype v2.1 beta for fedora mq15 Linux - Software 0 01-20-2010 12:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:52 PM.

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