|
From: ludovic p. <pl...@nn...> - 2005-08-16 11:12:41
|
Le Mardi 16 Ao=C3=BBt 2005 08:05, vous avez =C3=A9crit : > On Otrdiena, 9. Augusts 2005 03:04, ludovic pollet wrote: > > Hello, > > > > I adressed the sound card issue with multiple X display. > > > > It is a little filesystem for fuse (http://fuse.sourceforge.net/). > > Basically, it provides a symlink which depends on the DISPLAY environ= ment > > variable. > > > > When a process will open /dev/dsp, the symlink will resolve depending= on > > the DISPLAY variable of the process. From there, it is easy to make > > process on first display open the first dsp, and so on... > > > > This should works for any program using OSS (this covers most unfrien= dly > > ones, like Mozilla plugin, OpenOffice or vmware, ...), or ALSA in > > emulation mode (for native mode, alsalib is our friend :-). > > > > Source and binary are available at http://www.nnx.com/~pludov/session= d/ > > It should work out of the box for Fedora core 3, (with fuse installed= )... > > > > Any feedback is welcome ! > > Hm. How easy is /dev/ttyXX redirect? > After /dev/tty redirect to new/fake driver all X switch-tty patches goe= s > away. So i have in my mind unpatched linux and X. > > Aivils I don't really understand why tty redirection is interesting ! But it should be just the same : Replace the existing /dev/ttyXX=20 to /var/session/currents/current/ttyXX and then, create the per display l= ink=20 in /var/session/:0 or /var/session/:1 Then link in /var/session/:X will be used regarding the DISPLAY variable. Regards Ludovic Pollet --=20 panic("IRQ, you lose..."); =C2=A0 =C2=A0 =C2=A0 =C2=A0 linux-2.2.16/arch/mips/sgi/kernel/indy_int.c |