Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved]Sound + Systemd
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Facu
n00b
n00b


Joined: 18 Nov 2013
Posts: 47
Location: Localhost

PostPosted: Tue Mar 11, 2014 3:55 am    Post subject: [Solved]Sound + Systemd Reply with quote

Hi all. I'm using gentoo with systemd.

I was following the wiki: http://wiki.gentoo.org/wiki/PulseAudio#Permissions

getfacl /dev/snd/controlC0:
Code:

# file: dev/snd/controlC0
# owner: root
# group: audio
user::rw-
group::rw-
mask::rw-
other::---


amixer:
Quote:

ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Access denied
amixer: Mixer attach default error: Connection refused


lspci -v:
Code:

00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
   Subsystem: ASUSTeK Computer Inc. Device 8534
   Flags: bus master, fast devsel, latency 0, IRQ 45
   Memory at f7c14000 (64-bit, non-prefetchable) [size=16K]
   Capabilities: [50] Power Management version 2
   Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit-
   Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
   Kernel driver in use: snd_hda_intel


alsactl init:
Code:

Found hardware: "HDA-Intel" "Intel Haswell HDMI" "HDA:80862807,80860101,00100000" "0x1043" "0x8534"
Hardware is initialized using a generic method


systemdctl status: http://pastebin.com/W3cqLwfr

I hope someone can help me please. Thanx!


Last edited by Facu on Tue Mar 11, 2014 7:16 pm; edited 1 time in total
Back to top
View user's profile Send private message
ulenrich
Veteran
Veteran


Joined: 10 Oct 2010
Posts: 1480

PostPosted: Tue Mar 11, 2014 10:21 am    Post subject: Reply with quote

Currently on my Debian-siduction-systemd-204
shows as root
Code:
# amixer
No protocol specified
xcb_connection_has_error() returned true
No protocol specified
xcb_connection_has_error() returned true
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Access denied

amixer: Mixer attach default error: Connection refused
as normal user:
Code:
$ amixer
Simple mixer control 'Master',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 65536
  Mono:
  Front Left: Playback 39975 [61%] [on]
  Front Right: Playback 39975 [61%] [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch cswitch-joined
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 65536
  Front Left: Capture 65536 [100%] [on]
  Front Right: Capture 65536 [100%] [on]

The minimal audio knowledge I have: Normally it is not a good idea to mix any of alsa with pulseaudio. I disabled all of USE flag "alsa" on my system. (Of course in my kernel .config ALSA is needed. ).

This is an area where the absolute dumb newbies not knowing the term "alsa" are in advance: They don't touch sound configs with alsa tools. This only should do pulseaudio: It is its only purpose.
Back to top
View user's profile Send private message
Facu
n00b
n00b


Joined: 18 Nov 2013
Posts: 47
Location: Localhost

PostPosted: Tue Mar 11, 2014 7:16 pm    Post subject: Reply with quote

Thank you ulenrich!

I dont know what I made, but I have sound now ._.

I think maybe is because re-emerge systemd. But i'm not sure what i made ._.

Solved! ;)
Back to top
View user's profile Send private message
b0fh
Guru
Guru


Joined: 16 Jun 2003
Posts: 426

PostPosted: Sun Mar 23, 2014 11:09 am    Post subject: Reply with quote

Do you have any idea how you solved this?

I have the same problem, no permissions to my sound devices as normal user:

Code:
getfacl /dev/snd/controlC0
getfacl: Removing leading '/' from absolute path names
# file: dev/snd/controlC0
# owner: root
# group: audio
user::rw-
group::rw-
other::---


Systemd seems to be set up correctly and I have the proper kernel options set - at least I get no warnings when re-emerging systemd.
Any ideas?
Back to top
View user's profile Send private message
Facu
n00b
n00b


Joined: 18 Nov 2013
Posts: 47
Location: Localhost

PostPosted: Sun Mar 23, 2014 11:25 am    Post subject: Reply with quote

No :/ I don't have any idea...

Maybe something in USE flags? This is weird :?

Code:

USE="-cups bindist fontconfig X a52 aac acpi alsasound alsa avx avx2 asf x264 bash-completion -bluetooth branding bzip2 -java -cairo crypt curl -doc -emacs exif ffmpeg ftp gimp gif gpm gzip hddtemp -ipv6 -kde -gnome -gnome-keyring -emacs -gtk -qt3 -gt4 -qt5 fat ntfs opengl truetype xorg jack jpeg jpeg2k matroska nmap mmx mp3 mp4 mpeg xv xcomposite multilib png pdf spell ssh posix pulseaudio rss sse sse2 sse3 sse4_1 ssl systemd svg threads tiff -xemacs -zsh-completion -debug pop smtp imap sasl efi -joystick"



I'm sure I didn't touch configs or anything like that (except USE flags of course), maybe you can try to rebuild the system.

emerge -e world

But this is heavy and I dont think this could fix anything... Or just rebuild alsa, pulseaudio, systemd, and similars... Maybe someone in the forum can give better ideas. I'm not an expert as you can see jeje.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum