<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div><span>Thanks for the input but using pulseaudio is not an option.<br></span></div><div> </div><div>An wise Scandinavian old man once said: "in the end, everything is going to be alright"<br></div> <div style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1"> <b><span style="font-weight:bold;">From:</span></b> linux-service.be bvba <guy@linux-service.be><br> <b><span style="font-weight: bold;">To:</span></b> xorg@lists.x.org <br> <b><span style="font-weight: bold;">Sent:</span></b> Monday, June 18, 2012 5:56 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: defining sound card in xorg.conf<br> </font> </div> <br>
start such script when user is logging in:<br><br>#!/bin/bash<br><br># in order to match a screen-set to a pulseaudio sink :<br><br>if [ "$DISPLAY" ]<br>then<br> if [ "$DISPLAY" = ":1" ]<br> then<br>sleep 3<br> pacmd "set-default-sink alsa_output.usb-0d8c_C-Media_USB_Headphone_Set-00-Set_1.analog-stereo"<br>pulseaudio -D<br> fi<br> if [ "$DISPLAY" = ":2" ]<br> then<br>sleep 3<br> pacmd "set-default-sink alsa_output.usb-0d8c_C-Media_USB_Headphone_Set-00-Set.analog-stereo"<br>pulseaudio -D<br> fi<br>if [ "$DISPLAY" = ":3" ]<br> then<br>sleep 3<br> pacmd "set-default-sink alsa_output.usb-0d8c_C-Media_USB_Headphone_Set-00-Set_2.analog-stereo"<br>pulseaudio -D<br> fi<br>fi<br><br><br>ofcourse edit script with your sound devices and find out where the sound is going to( at which
display).<br>Make sure the user's /home/user/.pulse is empty upon login.<br>Enjoy<br>guy<br><br>> Hi,<br>> Actually it goes out of scope space of X.<br>> You should ask to sound system developers, how i can set default sound<br>> card according to my environment variables with multiple sound cards<br>> on board.<br>> <br>> Here is little outdated link:<br>> http://perso.nnx.com/pludov/sessiond/<br>> <br>> This tool will replace sound device files like /dev/dsp* with links to<br>> each sound card files<br>> depending of DISPLAY variable.<br>> <br>> Aivils<br>> <br>> Citējot "<a ymailto="mailto:StompDagger1@yahoo.com" href="mailto:StompDagger1@yahoo.com">StompDagger1@yahoo.com</a>" <<a ymailto="mailto:stompdagger1@yahoo.com" href="mailto:stompdagger1@yahoo.com">stompdagger1@yahoo.com</a>>:<br>> > Hello,<br>> > <br>> > Thanks for the replay but I'm not sure how this answers my
question.<br>> > using xorg I can "seats", e.g. xorg will run a session limited to a<br>> > specific combination of gpu, screen, keyboard and mouse.<br>> > I just want to add sound card to it.<br>> > <br>> > <br>> > An wise Scandinavian old man once said: "in the end, everything is<br>> > going to be alright"<br>> > <br>> > <br>> > ________________________________<br>> > <br>> > From: Giuseppe Penone <<a ymailto="mailto:giuspen@gmail.com" href="mailto:giuspen@gmail.com">giuspen@gmail.com</a>><br>> > <br>> > To: "<a ymailto="mailto:StompDagger1@yahoo.com" href="mailto:StompDagger1@yahoo.com">StompDagger1@yahoo.com</a>" <<a ymailto="mailto:stompdagger1@yahoo.com" href="mailto:stompdagger1@yahoo.com">stompdagger1@yahoo.com</a>><br>> > Cc: "<a ymailto="mailto:xorg@lists.freedesktop.org"
href="mailto:xorg@lists.freedesktop.org">xorg@lists.freedesktop.org</a>" <<a ymailto="mailto:xorg@lists.freedesktop.org" href="mailto:xorg@lists.freedesktop.org">xorg@lists.freedesktop.org</a>><br>> > Sent: Monday, June 18, 2012 9:31 AM<br>> > Subject: Re: defining sound card in xorg.conf<br>> > <br>> > <br>> > for usb audio cards there's a good explanation here<br>> > <a href="https://help.ubuntu.com/community/UbuntuStudio/UsbAudioDevices" target="_blank">https://help.ubuntu.com/community/UbuntuStudio/UsbAudioDevices</a><br>> > <br>> > anyway to make it simple:<br>> > <br>> > 1) check that your system recognized the usb audio:<br>> > cat/proc/asound/cards<br>> > <br>> > 2) set the desired card as default used:<br>> > sudo nano /etc/modprobe.d/alsa-base<br>> > go to the bottom and change the index of the default card from -2 to 0<br>> > <br>>
> cheers.<br>> > <br>> > <br>> > <br>> > <br>> > <br>> > On Sat, Jun 16, 2012 at 10:54 PM, <a ymailto="mailto:StompDagger1@yahoo.com" href="mailto:StompDagger1@yahoo.com">StompDagger1@yahoo.com</a><br>> > <<a ymailto="mailto:stompdagger1@yahoo.com" href="mailto:stompdagger1@yahoo.com">stompdagger1@yahoo.com</a>> wrote:<br>> > <br>> > Hello All,<br>> > <br>> >> I'm about to reinstate my 3 way multiseat configuration (2 seats<br>> >> and one for the tv), up until now I didn't used the sound cards but<br>> >> now as I got a usb sound card I want to add sound support.<br>> >> <br>> >> <br>> >> is there a way to define in xorg.conf what sound card will be used<br>> >> by what seat?<br>> >> <br>> >> <br>> >> Thanks.<br>> >> <br>> >> <br>> >> An wise Scandinavian old man
once said: "in the end, everything is<br>> >> going to be alright"<br>> >> _______________________________________________<br>> >> <a ymailto="mailto:xorg@lists.x.org" href="mailto:xorg@lists.x.org">xorg@lists.x.org</a>: X.Org support<br>> >> Archives: http://lists.freedesktop.org/archives/xorg<br>> >> Info: http://lists.x.org/mailman/listinfo/xorg<br>> >> Your subscription address: <a ymailto="mailto:giuspen@gmail.com" href="mailto:giuspen@gmail.com">giuspen@gmail.com</a><br>> > <br>> > _______________________________________________<br>> > <a ymailto="mailto:xorg@lists.x.org" href="mailto:xorg@lists.x.org">xorg@lists.x.org</a>: X.Org support<br>> > Archives: <a href="http://lists.freedesktop.org/archives/xorg" target="_blank">http://lists.freedesktop.org/archives/xorg</a><br>> > Info: <a href="http://lists.x.org/mailman/listinfo/xorg"
target="_blank">http://lists.x.org/mailman/listinfo/xorg</a><br>> > Your subscription address: <a ymailto="mailto:stompdagger1@yahoo.com" href="mailto:stompdagger1@yahoo.com">stompdagger1@yahoo.com</a><br>> <br>> _______________________________________________<br>> <a ymailto="mailto:xorg@lists.x.org" href="mailto:xorg@lists.x.org">xorg@lists.x.org</a>: X.Org support<br>> Archives: <a href="http://lists.freedesktop.org/archives/xorg" target="_blank">http://lists.freedesktop.org/archives/xorg</a><br>> Info: <a href="http://lists.x.org/mailman/listinfo/xorg" target="_blank">http://lists.x.org/mailman/listinfo/xorg</a><br>> Your subscription address: <a ymailto="mailto:guy@linux-service.be" href="mailto:guy@linux-service.be">guy@linux-service.be</a><br>_______________________________________________<br><a ymailto="mailto:xorg@lists.x.org" href="mailto:xorg@lists.x.org">xorg@lists.x.org</a>: X.Org support<br>Archives: <a
href="http://lists.freedesktop.org/archives/xorg" target="_blank">http://lists.freedesktop.org/archives/xorg</a><br>Info: <a href="http://lists.x.org/mailman/listinfo/xorg" target="_blank">http://lists.x.org/mailman/listinfo/xorg</a><br>Your subscription address: <a ymailto="mailto:stompdagger1@yahoo.com" href="mailto:stompdagger1@yahoo.com">stompdagger1@yahoo.com</a><br><br> </div> </div> </div></body></html>