From: Aivils S. <ai...@un...> - 2005-10-07 06:38:04
|
On Piektdiena, 7. Oktobris 2005 02:40, Yitzhak Bar Geva wrote: > It is not clear how to configure sound devices using > Aivil's new faketty method. > Could someone please show me an example where for > example: > /dev/dsp0 is associated with /dev/ftty50 (vt50), > /dev/dsp1 (and associated mixer, etc.) is associated > with /dev/ftty51 (vt51), etc. You are on the wrong way! dspXX cannot be associated with any ttyXX or fttyXX. Sound devices can be assoiated with environment variable. gmd (desktop manager at least) is a parent of X servers. gmd creates unique environment variable for each X server. That variable is DISPLAY=":0" in my case. Any userspace program, which are started from this process tree can check out variable DISPLAY. Getting involved: # export # ps -AH foxy programs can replace /dev/dps0 symbolic links in runtime according environment variable DISPLAY. Please read carefuly README http://www.nnx.com/~pludov/sessiond/ This requires newest fuse http://fuse.sourceforge.net/ Aivils |