- Code: Select all
# lspci | grep Audio
Moderator: Moderators
# lspci | grep Audiomeshedgedx rules.d # lspci | grep Audio
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)
01:00.1 Audio device: ATI Technologies Inc Redwood HDMI Audio [Radeon HD 5600 Series]
meshedgedx rules.d #


#!/bin/sh
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
# USA.
set -e
[ -z "$PULSE_SERVER" ]
# check if pulseaudio has already been started by someone else
if /usr/bin/pulseaudio --check; then
EXIT_WITH_X_SESSION=no
else
EXIT_WITH_X_SESSION=yes
fi
/usr/bin/pulseaudio --start "$@"
if [ x"$DISPLAY" != x ] ; then
/usr/bin/pactl load-module module-x11-publish "display=$DISPLAY" > /dev/null
/usr/bin/pactl load-module module-x11-cork-request "display=$DISPLAY" > /dev/null
if [ x"$SESSION_MANAGER" != x ] ; then
/usr/bin/pactl load-module module-x11-xsmp "display=$DISPLAY session_manager=$SESSION_MANAGER" > /dev/null
fi
fi
# fork and wait for X-session to end, then quit pulseaudio
if [ "$EXIT_WITH_X_SESSION" = yes ]; then
/usr/bin/xprop -root -spy > /dev/null 2>&1 || true
/usr/bin/pulseaudio --kill
fi &ls -la /usr/bin/start-pulseaudio-x11
-rwxr-xr-x 1 root root 1184 Aug 16 19:25 /usr/bin/start-pulseaudio-x11Users browsing this forum: No registered users and 1 guest