Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: ordep on March 05, 2016, 01:47:58 AM

Title: Pulesaudio/Pavucontrol not working
Post by: ordep on March 05, 2016, 01:47:58 AM
Loaded Puseaudio and Pavucontrol

Code: [Select]
~$ pulseaudio
W: [pulseaudio] caps.c: Normally all extra capabilities would be dropped now, but that's impossible because this Pulseaudio was built without libcap support.
E: [pulseaudio] core-util.c: Failed to connect to system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
E: [pulseaudio] core-util.c: Failed to connect to system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
....snip....
E: [alsa-source-USB Audio] core-util.c: Failed to connect to system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
E: [pulseaudio] bluetooth-util.c: Failed to get D-Bus connection: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
E: [pulseaudio] module.c: Failed to load module "module-bluetooth-discover" (argument: ""): initialization failed.
E: [pulseaudio] main.c: Module load failed.
E: [pulseaudio] main.c: Failed to initialize daemon.

Code: [Select]
~$ pavucontrol
W: [pulseaudio] caps.c: Normally all extra capabilities would be dropped now, but that's impossible because this Pulseaudio was built without libcap support.

Can that be corrected?
Title: Re: Pulesaudio/Pavucontrol not working
Post by: Juanito on March 05, 2016, 09:42:57 AM
It looks like you didn't start the dbus daemon?
Title: Re: Pulesaudio/Pavucontrol not working
Post by: ordep on March 05, 2016, 10:48:41 PM
dbus daemon is, has been started.

opening skype from terminal I get now this error that Pulseaudio was built without libcap support.
Meaning skype is looking for pulseaudio and pavucontrol to set sound.
Title: Re: Pulesaudio/Pavucontrol not working
Post by: Juanito on March 06, 2016, 12:21:45 AM
The libcap error can be ignored, pulseaudio sound works without it.
Title: Re: Pulesaudio/Pavucontrol not working
Post by: Juanito on March 06, 2016, 02:52:10 AM
I just tried with skype-4.3.0.37 and the test call worked - I was only able to select pulseaudio and not alsa.
Title: Re: Pulesaudio/Pavucontrol not working
Post by: ordep on March 07, 2016, 03:08:51 AM
So what could possibly be amiss in my box?

BTW the video is working.
Title: Re: Pulesaudio/Pavucontrol not working
Post by: ordep on March 07, 2016, 03:53:28 AM

So what could possibly be amiss in my box?

pavucontrol will just not open due to error that Pulseaudio was built without libcap support.
Therefore I have no sound in skype.

BTW the video is working.
Title: Re: Pulesaudio/Pavucontrol not working
Post by: Misalf on March 07, 2016, 04:24:01 AM
This works for me on 7.x x86:
Code: [Select]
tce-load -i dbus pulseaudio qt-4.x-webkit skype
sudo /usr/local/etc/init.d/dbus start
dbus-launch --sh-syntax --exit-with-session
start-pulseaudio-x11
skype

As you mentioned (http://forum.tinycorelinux.net/index.php/topic,19701.msg122253.html#msg122253), using  qt-4.x-webkit.tcz  from 4.x repo (http://tinycorelinux.net/4.x/x86/tcz/qt-4.x-webkit.tcz) since not available in 7.x.
Title: Re: Pulesaudio/Pavucontrol not working
Post by: Juanito on March 07, 2016, 09:07:52 AM
Your problem is here:
Code: [Select]
E: [pulseaudio] core-util.c: Failed to connect to system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
..the dbus daemon is not running
Title: Re: Pulesaudio/Pavucontrol not working
Post by: ordep on March 07, 2016, 09:48:39 PM
Thanks Misalf & Juanito.

Did only
Code: [Select]
sudo /usr/local/etc/init.d/dbus start
and skype got a sound after some adjustments in pavucontrol.

I put that "...dbus start" line into bootlocal.sh and on reboot skype came-up working :D

Always thought that dbus would start on its own when booting.