Am Samstag, 26. Juli 2003 06:56 schrieb David Mills: > Gnomemeeting uses /dev/dsp0 for both record and play. Whereas I need > /dev/adsp0 for record and /dev/dsp0 for play. > > I tried it anyway. I moved /dev/dsp0 to /dev/dsp0z and created a symlink > to /dev/adsp0 and then started gnomemeeting. Look at the device > preferences showed "/dev/dsp0z". So it must look for devices with a fixed > major and minor device number. > > David. The mapping of OSS Devices (/dev/[a]dsp?) to alsa devices (hw:?,?) can be changed. Normally, the first subdevice of the first card (hw:0,0) is mapped to /dev/dsp0, the second subdevice of the third card (hw:2,1) is mapped to /dev/adsp2. If you want to have hw:0,1 (which is normally mapped to /dev/adsp0) mapped to /dev/dsp0, you should add the folowing to your /etc/modules.conf: options snd-pcm-oss dsp_map=1 The parameter of dsp_map is an array, the elements are the values for different cards. If you have for example dsp_map=3,0, then /dev/dsp0 would use the fourth subdevice of the first card, and /dev/dsp1 would use the first subdevice of the second card. There is also an option adsp_map, which does the same for the /dev/adsp? devices. For more details, see: http://www.alsa-project.org/~iwai/OSS-Emulation.html Greetings, Stefan -- Stefan Brüns / Kastanienweg 6 - Zimmer 1206 / 52074 Aachen mailto:lurch gmx li http://www.kawo1.rwth-aachen.de/~lurchi/ fax: +49-89-1488204565 phone: +49-160-7532733
Attachment:
pgp4mGRXCE8yr.pgp
Description: signature