You are not logged in.

#1 2012-10-31 22:44:54

amadar
Banned
Registered: 2011-04-15
Posts: 147

[SOLVED] alsa-utils is installed but no alsa-store.service?

I've installed alsa-utils but there seem to be no such alsa-store or alsa-restore .service files for systemd. Am I supposed to create them or something? Or does systemd handle alsa stuff automatically?

EDIT: I was wrong, they're there, but when you try tab completion they aren't listed because (i think) they have "no [Install] section".

If you just type out the whole command manually you get this message:

The unit files have no [Install] section. They are not meant to be enabled using systemctl.

Based on the message, I'm guessing systemd does something with alsa on it's own. Is that right?

Last edited by amadar (2012-10-31 23:15:16)

Offline

#2 2012-10-31 22:48:33

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,725
Website

Re: [SOLVED] alsa-utils is installed but no alsa-store.service?

I don't believe you.

$ pacman -Ql alsa-utils|grep "alsa-\(re\|\)store.service"
alsa-utils /usr/lib/systemd/system/alsa-restore.service
alsa-utils /usr/lib/systemd/system/alsa-store.service
alsa-utils /usr/lib/systemd/system/basic.target.wants/alsa-restore.service
alsa-utils /usr/lib/systemd/system/shutdown.target.wants/alsa-store.service

Last edited by WorMzy (2012-10-31 22:50:44)


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2012-10-31 22:50:57

amadar
Banned
Registered: 2011-04-15
Posts: 147

Re: [SOLVED] alsa-utils is installed but no alsa-store.service?

WorMzy wrote:

I don't believe you.

$ pacman -Ql alsa-utils|grep "alsa-store.service\|alsa-restore.service"
alsa-utils /usr/lib/systemd/system/alsa-restore.service
alsa-utils /usr/lib/systemd/system/alsa-store.service
alsa-utils /usr/lib/systemd/system/basic.target.wants/alsa-restore.service
alsa-utils /usr/lib/systemd/system/shutdown.target.wants/alsa-store.service

Yep. I've updated my initial post.

Offline

#4 2012-10-31 23:04:36

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,725
Website

Re: [SOLVED] alsa-utils is installed but no alsa-store.service?

Aww, I updated my post with a much more fancy grep command, but you quoted my crappy one. tongue

Anyway, in regards to your suspicions, you are right:

systemctl status alsa-store.service 
alsa-store.service - Store Sound Card State
	  Loaded: loaded (/usr/lib/systemd/system/alsa-store.service; static)

Note the "static" at the end of the 'Loaded' line. Unfortunately documentation about this is difficult to find (at least while drunk), but "static" services are somewhat special in that they run without being explicitly enabled, and indeed, cannot be disabled (at least, not without masking or manually removing the relevent *.target symlink).


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#5 2012-10-31 23:14:36

amadar
Banned
Registered: 2011-04-15
Posts: 147

Re: [SOLVED] alsa-utils is installed but no alsa-store.service?

haha. Cool, thanks for that info. Cheers

EDIT: For reference: dbus.service is also static like alsa-{re,}store.service.

Last edited by amadar (2012-10-31 23:29:53)

Offline

Board footer

Powered by FluxBB