From: Hugo V. <hvw...@ya...> - 2006-01-14 21:19:12
|
Hi, I just found out that my SB/Live 24 bit Audigy works good with kernel 2.6.15-ck1 (did not 6 months ago with 2.6.12.11) So that opens up the possibility of 2 audio cards for 2 simultaneous users. This means alsa however. Anybody run simultaneous alsa devices for different users? Thanks! Hugo __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: ludovic p. <pl...@nn...> - 2006-01-14 21:41:11
|
Hello, For most alsa application, correctly setting the following environment=20 variable will do the trick : ALSA_CARD=3D1 ALSA_CTL_CARD=3D1 ALSA_PCM_CARD=3D1 You can force SDL games to use alsa with : SDL_AUDIODRIVER=3Dalsa But applications which use the OSS API will cause problems (mozilla plugi= ns,=20 openoffice, old games, ...)=20 For those, you will need to make the device entries point to different fi= les=20 depending on the DISPLAY : I do that at home. Have a look at=20 http://www.nnx.com/~pludov/sessiond/ Regards, Ludovic P Le Samedi 14 Janvier 2006 22:17, Hugo Vanwoerkom a =E9crit : > Hi, > > I just found out that my SB/Live 24 bit Audigy works > good with kernel 2.6.15-ck1 (did not 6 months ago with > 2.6.12.11) > > So that opens up the possibility of 2 audio cards for > 2 simultaneous users. > > This means alsa however. > > Anybody run simultaneous alsa devices for different > users? > > Thanks! > > Hugo > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files for problems? Stop! Download the new AJAX search engine that ma= kes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=3D7637&alloc_id=3D16865&op=3Dclick > _______________________________________________ > Linuxconsole-dev mailing list > Lin...@li... > https://lists.sourceforge.net/lists/listinfo/linuxconsole-dev --=20 If it's worth hacking on well, it's worth hacking on for money. |
From: Hugo V. <hvw...@ya...> - 2006-01-15 16:00:46
|
--- ludovic pollet <pl...@nn...> wrote: > Hello, > > For most alsa application, correctly setting the > following environment > variable will do the trick : > > ALSA_CARD=1 > ALSA_CTL_CARD=1 > ALSA_PCM_CARD=1 > > You can force SDL games to use alsa with : > > SDL_AUDIODRIVER=alsa > > > But applications which use the OSS API will cause > problems (mozilla plugins, > openoffice, old games, ...) > > For those, you will need to make the device entries > point to different files > depending on the DISPLAY : I do that at home. Have a > look at > http://www.nnx.com/~pludov/sessiond/ > Indeed, I saw your page, good job! Did you write sessiond? Thanks! Hugo __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: vinu <vi...@hc...> - 2006-01-16 06:06:02
Attachments:
vinu.vcf
|
Hugo Vanwoerkom wrote: >--- ludovic pollet <pl...@nn...> wrote: > > > >>Hello, >> >>For most alsa application, correctly setting the >>following environment >>variable will do the trick : >> >>ALSA_CARD=1 >>ALSA_CTL_CARD=1 >>ALSA_PCM_CARD=1 >> >>You can force SDL games to use alsa with : >> >>SDL_AUDIODRIVER=alsa >> >> >>But applications which use the OSS API will cause >>problems (mozilla plugins, >>openoffice, old games, ...) >> >>For those, you will need to make the device entries >>point to different files >>depending on the DISPLAY : I do that at home. Have a >>look at >>http://www.nnx.com/~pludov/sessiond/ >> >> >> > >Indeed, I saw your page, good job! > >Did you write sessiond? > >Thanks! > >Hugo > > > > > >__________________________________________________ >Do You Yahoo!? >Tired of spam? Yahoo! Mail has the best spam protection around >http://mail.yahoo.com > > >------------------------------------------------------- >This SF.net email is sponsored by: Splunk Inc. Do you grep through log files >for problems? Stop! Download the new AJAX search engine that makes >searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click >_______________________________________________ >Linuxconsole-dev mailing list >Lin...@li... >https://lists.sourceforge.net/lists/listinfo/linuxconsole-dev > > > A few months ago i had made a similar setup, but with shell script only, but i used an alsa imulation of oss, and was working fine. after some times i tried with the flash plugin for firefox, but wat happened is only if v play some sound apps, using firefox, only one user can use it. the other users will not b able to use the sound device, whatever be the mapping. So we just tracked the working of the plugin and foundout that it's creating a lock on the /tmp device which v cannot remove. So what v had done is on each session creation the /tmp will be mounted locally and do a chroot, so the flash plugin will think that this is another tmp and and works happily. But this method is having many security and relaibilty issues,and also this setup higly affects the speed. Actually v were working on a 6 terminal environment, so the insteability increases as each user logged in. Is there some way to fix this? regards vineesh |
From: Aivils S. <ai...@un...> - 2006-01-16 07:25:58
|
> Hugo Vanwoerkom wrote: > >--- ludovic pollet <pl...@nn...> wrote: > > > > =A0 > > > >>Hello, > >> > >>For most alsa application, correctly setting the > >>following environment > >>variable will do the trick : > >> > >>ALSA_CARD=3D1 > >>ALSA_CTL_CARD=3D1 > >>ALSA_PCM_CARD=3D1 > >> > >>You can force SDL games to use alsa with : > >> > >>SDL_AUDIODRIVER=3Dalsa > >> > >> > >>But applications which use the OSS API will cause > >>problems (mozilla plugins, > >>openoffice, old games, ...) > >> > >>For those, you will need to make the device entries > >>point to different files > >>depending on the DISPLAY : I do that at home. Have a > >>look at > >>http://www.nnx.com/~pludov/sessiond/ SDL driver is one , which have hardcoded /dev/sound/dsp Please use Ludovic recomendations. Create a user login script: SDL_AUDIODRIVER=3D"oss" AUDIODEVICE=3D"/dev/dsp" export $SDL_AUDIODRIVER $AUDIODEVICE I am not udev expert, but that /dev/sound is artifical, created by udev config scripts - so is _not_ forced to create /dev/sound at all. Edit udev scripts and You have dspXX where You want. Under Mandriva edit /etc/udev/rules.d/50-mdk.rules =46or appliaction , which does suspicious things # strace -oapp.log application-bin Analyze app.log or simpler method # strings application-bin | grep dsp or # strings lib-plugin.so | grep dsp Aivils |
From: Helge H. <hel...@ai...> - 2006-01-24 13:35:37
|
Hugo Vanwoerkom wrote: >Hi, > >I just found out that my SB/Live 24 bit Audigy works >good with kernel 2.6.15-ck1 (did not 6 months ago with >2.6.12.11) > >So that opens up the possibility of 2 audio cards for >2 simultaneous users. > >This means alsa however. > >Anybody run simultaneous alsa devices for different >users? > > I have been using the same device for different users. (The trident driver, with alsa and OSS emulation.) This device is supposed to do hardware mixing, so several processes/user may use the same sound device at the same time. Provided, of course, that they are next to each other. This usually works fine, but in some cases one user gets strange echoey or chopped-up sound. A driver bug/limitation I guess. The card supports front and rear speakers, perhaps that can be used to provide independent stereo without having to use more cards. Helge Hafting |