[pulseaudio-discuss] pulseaudio-discuss Digest, Vol 61, Issue 38

Submitted by Frédéric Henry-Couannier on May 27, 2016, 12:07 p.m.

Details

Message ID 487166222.541382.1464350871689.JavaMail.yahoo@mail.yahoo.com
State New
Headers show
Series "pulseaudio-discuss Digest, Vol 61, Issue 38" ( rev: 1 ) in PulseAudio

Not browsing as part of any series.

Commit Message

Frédéric Henry-Couannier May 27, 2016, 12:07 p.m.
hello
thank you , i eventually tried to follow the instructions on this page https://wiki.gentoo.org/wiki/Multiseatto avoid system wide pulseaudio on my multiseat.
So i load modules (driver) statically and then i have no problem to give each seat its hdmi output and webcam (audio input).The problem is that my webcams are only detected by pulseaudio but not seen in pavucontrol as input devices , ... apparantly the webcams need to be automatically loaded with udev to be operational, but of course if i use the automatic audio drivers loading then i cant avoid that the first loging seat  takes the two  hdmi "sound cards" and the second one has no more "hdmi sound" access : hdmi seen unplugged!
i'm wondering if there is something wrong with my manual loading of the webcams, for instance this one
load-module module-alsa-card device_id="3" name="pci-0000:00:1d.0-usb-0:1.7:1.2" card_name="alsa_card.usb-046d_0825_D568E1A0-02-U0x46d0x825" tsched=yes ignore_dB=no
i took device id, cardname and name from a pactlist:

Card #2        Name : alsa_card.usb-046d_0825_D568E1A0-02-U0x46d0x825        Driver : module-alsa-card.c        Proprietary Module  : 7        Properties :                alsa.card = "3"                alsa.card_name = "USB Device 0x46d:0x825"                alsa.long_card_name = "USB Device 0x46d:0x825 at usb-0000:00:1d.0-1.7, high speed"                alsa.driver_name = "snd_usb_audio"                device.bus_path = "pci-0000:00:1d.0-usb-0:1.7:1.2"                sysfs.path = "/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.7/2-1.7:1.2/sound/card3"                udev.id = "usb-046d_0825_D568E1A0-02-U0x46d0x825"                device.bus = "usb"                device.vendor.id = "046d"                device.vendor.name = "Logitech, Inc."                device.product.id = "0825"                device.product.name = "Webcam C270"                device.serial = "046d_0825_D568E1A0"                device.form_factor = "webcam"                device.string = "3"                device.description = "Webcam C270"                device.icon_name = "camera-web-usb"        Profils :                input:analog-mono: Mono analogique Input (sinks: 0, sources: 1, priority: 1, available: yes)                off: Éteint (sinks: 0, sources: 0, priority: 0, available: yes)        Profil actif : input:analog-mono        Ports :                analog-input-mic: Microphone (priority: 8700, latency offset: 0 usec)                        Properties:                                device.icon_name = "audio-input-microphone"                        Part of profile(s): input:analog-mono

is there a missing or bad options ? something else to do to get fully working webcams ?
thank you in advance
regards,
F H-C


 

    Le Jeudi 26 mai 2016 14h00, "pulseaudio-discuss-request@lists.freedesktop.org" <pulseaudio-discuss-request@lists.freedesktop.org> a écrit :
 

 Send pulseaudio-discuss mailing list submissions to
    pulseaudio-discuss@lists.freedesktop.org

To subscribe or unsubscribe via the World Wide Web, visit
    https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
or, via email, send a message with subject or body 'help' to
    pulseaudio-discuss-request@lists.freedesktop.org

You can reach the person managing the list at
    pulseaudio-discuss-owner@lists.freedesktop.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of pulseaudio-discuss digest..."


Today's Topics:

  1. Re: system mode alternative for multiseats (Tanu Kaskinen)
  2. [PATCH] Don't set font-size on widgets (Aidan Gauland)


----------------------------------------------------------------------

Message: 1
Date: Thu, 26 May 2016 12:31:04 +0300
From: Tanu Kaskinen <tanuk@iki.fi>
To: pulseaudio-discuss@lists.freedesktop.org
Subject: Re: [pulseaudio-discuss] system mode alternative for
    multiseats
Message-ID: <1464255064.13843.76.camel@iki.fi>
Content-Type: text/plain; charset="UTF-8"

On Thu, 2016-05-26 at 04:42 +0000, Frédéric Henry-Couannier wrote:
> Dear,
> I know it's not recommended to run pulseaudio in system mode...
> however is there any alternative for multiusers (multiseats) to share
> a single sound card simultaneously ?

I'm sure there is some alternative. I doubt that it's much better than
just using the system mode, however. I recommend using the system mode.

> Moreover in my distro it seems that the system mode could be
> activated with the parameter PULSE_SERVER_TYPE=system in a file
> /etc/sysconfig/pulseaudiohowever the following comment in the file
> makes me doubt that this is actually available anymore :#   system  
>  Start a system wide daemon (not yet implemented)
> 
> in the past i remember i always had pulse and pulse_access groups in
> my distro (Mageia)... which is not the case anymore ... did you
> recently change your policy regarding the system mode : decide to
> unactivate it ?thank you for your help ...

We haven't changed anything in this regard. The distribution is
responsible for creating users and groups in the system. I suppose you
can create them yourself too, though. When pulseudio runs in the system
mode, it switches from root to user "pulse". That (and only that) is
what the "pulse" user and group are for. The "pulse-access" group is
for authorizing users to use pulseaudio, so you have to add your users
to that group.

-- 
Tanu


------------------------------

Message: 2
Date: Wed, 25 May 2016 22:26:42 +1200
From: Aidan Gauland <aidalgol@fastmail.net>
To: pulseaudio-discuss@lists.freedesktop.org
Cc: Aidan Gauland <aidalgol@fastmail.net>
Subject: [pulseaudio-discuss] [PATCH] Don't set font-size on widgets
Message-ID: <1464172002-15340-1-git-send-email-aidalgol@fastmail.net>

Setting the font-size CSS property on a widget overrides the system
font-size, and since qpaeq provides no mechanism for setting the
application's font-size, we should not do this.

This commit also removes the font-size property from commented-out calls to
setStyleSheet() so that if these are ever reinstated, this behaviour is
not reintroduced.
---
 src/utils/qpaeq | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Patch hide | download patch | download mbox

diff --git a/src/utils/qpaeq b/src/utils/qpaeq
index 4b00e3a..ac4b9e4 100755
--- a/src/utils/qpaeq
+++ b/src/utils/qpaeq
@@ -299,7 +299,7 @@  class SliderArray(QtGui.QWidget):
    def __init__(self,filter_state,parent=None):
        super(SliderArray,self).__init__(parent)
        #self.setStyleSheet('padding: 0px; border-width: 0px; margin: 0px;')
-        #self.setStyleSheet('font-size: 7pt; font-family: monospace;'+outline%('blue'))
+        #self.setStyleSheet('font-family: monospace;'+outline%('blue'))
        self.filter_state=filter_state
        self.setLayout(QtGui.QHBoxLayout())
        self.sub_array=None
@@ -367,7 +367,7 @@  class SliderArraySub(QtGui.QWidget):
        self.slider=[None]*len(self.filter_state.frequencies)
        self.label=[None]*len(self.slider)
        #self.setStyleSheet('padding: 0px; border-width: 0px; margin: 0px;')
-        #self.setStyleSheet('font-size: 7pt; font-family: monospace;'+outline%('blue'))
+        #self.setStyleSheet('font-family: monospace;'+outline%('blue'))
        qt=QtCore.Qt
        #self.layout().setHorizontalSpacing(1)
        def add_slider(slider,label, c):
@@ -385,7 +385,7 @@  class SliderArraySub(QtGui.QWidget):
        for i,hz in enumerate(self.filter_state.frequencies):
            slider,label=create_slider(self.hz2label(hz))
            self.slider[i]=slider
-            #slider.setStyleSheet('font-size: 7pt; font-family: monospace;'+outline%('red',))
+            #slider.setStyleSheet('font-family: monospace;'+outline%('red',))
            self.label[i]=label
            c=i+1
            add_slider(slider,label,i+1)
@@ -465,7 +465,7 @@  class SliderLabel(QtGui.QLabel):
    clicked=QtCore.pyqtSignal()
    def __init__(self,label_text,filter_state,parent=None):
        super(SliderLabel,self).__init__(parent)
-        self.setStyleSheet('font-size: 7pt; font-family: monospace;')
+        self.setStyleSheet('font-family: monospace;')
        self.setText(label_text)
        self.setMinimumSize(self.sizeHint())
    def mouseDoubleClickEvent(self, event):