Commit graph

31 commits

Author SHA1 Message Date
Tanu Kaskinen
4963db8dc0 udev: Add use_ucm module argument 2013-02-06 14:11:40 +02:00
Tanu Kaskinen
0f44b1e820 Log the reason for every suspend/resume.
I was looking at a log that showed that a suspend happened (at
a strange time), but the log didn't tell me why the suspend was done.
This patch tries to make sure that that won't happen again.
2012-12-19 12:31:47 +02:00
Marc-Antoine Perennou
54718450df udev: Don't use deprecated udev_get_*_path() functions
[These symbols were removed in libudev.so.1.0.0. Replace them with
hardcoded strings. -- heftig]

Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2012-05-29 09:17:18 +05:30
Lars R. Damerow
c07c4b353d alsa: fixed latency range handling for udev-detect 2011-11-03 21:31:27 +01:00
Colin Guthrie
aa3142ab20 volume: Rename 'sync volume' to 'deferred volume'.
This just covers Lennart's concern over the terminology used.

The majority of this change is simply the following command:
 grep -rli sync[-_]volume . | xargs sed -i 's/sync_volume/deferred_volume/g;s/PA_SINK_SYNC_VOLUME/PA_SINK_DEFERRED_VOLUME/g;s/PA_SOURCE_SYNC_VOLUME/PA_SOURCE_DEFERRED_VOLUME/g;s/sync-volume/deferred-volume/g'

Some minor tweaks were added on top to tidy up formatting and
a couple of phrases were clarified too.
2011-09-13 21:15:49 +01:00
Maarten Bosmans
c5dca7cf2b More spelling fixes 2011-08-25 11:27:47 +01:00
Maarten Bosmans
ecf09f2cd6 Fix up according to Coding Style
Only whitespace changes in here
2011-03-11 11:49:35 +00:00
Lennart Poettering
1250b5d735 ratelimit: fix log levels of log suppression messages
When logging a suppression message do so on the same log level as the
suppressed messages.

Cherry picked by Colin Guthrie from ec5a785712
with a couple of additional changes due to extra limiting in master
that was not present in stable-queue.
2011-01-31 11:36:24 +00:00
Jyri Sarha
3e53e3bba3 daemon-conf: Add sync volume parameters to daemon-conf
Signed-off-by: Jyri Sarha <jyri.sarha@nokia.com>
Reviewed-by: Tanu Kaskinen <tanu.kaskinen@digia.com>
Reviewd-by: Colin Guthrie <cguthrie@mandriva.org>
2010-10-16 11:53:39 +01:00
Jyri Sarha
43b3f39a2f udev-detect: Add sync_volume parameter
Signed-off-by: Jyri Sarha <jyri.sarha@nokia.com>
Reviewed-by: Tanu Kaskinen <tanu.kaskinen@digia.com>
Reviewd-by: Colin Guthrie <cguthrie@mandriva.org>
2010-10-16 11:53:39 +01:00
Tanu Kaskinen
6e33845783 module-udev-detect: When loading module-alsa-card, use namereg_fail=false. 2010-08-24 18:19:49 +03:00
Lennart Poettering
63ebd05464 udev: rework modem detection a bit
Check every single pcm device of a card whether it is a modem.
2010-02-09 22:34:10 +00:00
Daniel T. Chen
c2ab61c54d udev: handle sound cards with both modem and audio properly
http://pulseaudio.org/ticket/681
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/394500
2010-02-09 22:33:28 +00:00
Lennart Poettering
ce7bd05ca5 udev: make sure we get events only for sound devices 2010-02-09 22:32:14 +00:00
Lennart Poettering
66ddeede9e udev: don't forget to unref devices we are not interested in
https://bugzilla.redhat.com/show_bug.cgi?id=552932
2010-02-09 22:31:18 +00:00
Daniel T Chen
d3c71c92ce udev: Use SOUND_CLASS instead of SOUND_FORM_FACTOR when checking for modem
The fact whether an ALSA card is a modem is stored in the SOUND_CLASS,
not the SOUND_FORM_FACTOR property. So read it from there.

Patch from Whoopie.
2010-01-05 20:00:22 +01:00
Lennart Poettering
168be3830a use pa_fopen_cloexec() where applicable 2009-10-30 04:54:19 +01:00
Lennart Poettering
c2f1994968 udev: ratelimit device initializations 2009-09-09 02:41:58 +02:00
Lennart Poettering
d6fb8d1081 udev: check busy status of alsa cards before loading alsa modules and hence initiating profile probing 2009-08-22 23:10:45 +02:00
Lennart Poettering
560da5b0a1 udev: process all inotify events queued up, not just the first one in the queue 2009-08-22 21:59:17 +02:00
Lennart Poettering
066e160bbd udev: tell inotify to actually inform us about ACL changes 2009-08-21 23:24:40 +02:00
Lennart Poettering
2d0120485c udev: watch for both ACL changes and processes closing devices 2009-08-21 22:49:23 +02:00
Lennart Poettering
4ec701aa21 udev: don't access string after free() 2009-08-21 22:11:38 +02:00
Lennart Poettering
d06680afe8 udev: always verify access before loading modules 2009-08-21 22:06:23 +02:00
Lennart Poettering
5317e35543 udev: when a device appears that we cannot access right-away try again later on inotify 2009-08-21 14:55:05 +02:00
Lennart Poettering
d6f598ab3e udev: allow passing of ignore_dB= parameter to alsa modules 2009-08-19 02:29:59 +02:00
Lennart Poettering
2bbdf631f8 udev: explain what happened when inotify_add_watch() returned ENOSPC, rhbz #513571 2009-07-24 13:58:22 +02:00
Lennart Poettering
e3b0ce57e0 udev: don't fail if /dev/snd is not available right-away 2009-07-22 22:48:54 +02:00
Lennart Poettering
71ce195d3b udev: properly initialize userdata to 0 2009-06-07 00:40:48 +02:00
Lennart Poettering
bab4b94b56 udev: try to unsuspend devices whenever they are closed by other processes 2009-06-06 15:33:54 +02:00
Lennart Poettering
8080ab1259 udev: add module-udev-detect for discovering and configuring devices 2009-06-06 03:26:07 +02:00