Date: Sat, 23 Aug 2003 22:21:01 +0000 From: Alexander.Farber@t-online.de (Alexander Farber) To: freebsd-questions@freebsd.org Subject: 2 sound cards, no sound, no /dev/dsp Message-ID: <20030823222100.GA12455@pref.my.domain>
next in thread | raw e-mail | index | archive | help
Hi, sorry for a bit helpless question but I couldn't find the answer in the handbook and in the "man psm" myself. I have put "device pcm" into my kernel config and compiled it. Since I use FreeBSD 5.1, I haven't run MAKEDEV. Now I have: newhope:mpg321 {564} dmesg | grep pcm pcm0: <CMedia CMI8738> port 0xd400-0xd4ff at device 14.0 on pci0 pcm1: <VIA VT8235> port 0xe000-0xe0ff irq 9 at device 17.5 on pci0 pcm1: <Avance Logic ALC650 AC97 Codec> Also I have different dsp* devices, but no /dev/dsp: newhope:mpg321 {565} ll /dev/dsp* crw-rw-rw- 1 root wheel 30, 3 Aug 23 23:56 /dev/dsp0.0 crw-rw-rw- 1 root wheel 30, 0x00010003 Aug 23 22:07 /dev/dsp0.1 crw-rw-rw- 1 root wheel 30, 19 Aug 23 22:07 /dev/dsp1.0 crw-rw-rw- 1 root wheel 30, 0x00010013 Aug 23 22:07 /dev/dsp1.1 crw-rw-rw- 1 root wheel 30, 0x00020013 Aug 23 22:07 /dev/dsp1.2 crw-rw-rw- 1 root wheel 30, 0x00030013 Aug 23 22:07 /dev/dsp1.3 crw-rw-rw- 1 root wheel 30, 0x00040013 Aug 23 22:07 /dev/dsp1.4 crw-rw-rw- 1 root wheel 30, 0x00050013 Aug 23 22:07 /dev/dsp1.5 crw-rw-rw- 1 root wheel 30, 5 Aug 23 22:07 /dev/dspW0.0 crw-rw-rw- 1 root wheel 30, 0x00010005 Aug 23 22:07 /dev/dspW0.1 crw-rw-rw- 1 root wheel 30, 21 Aug 23 22:07 /dev/dspW1.0 crw-rw-rw- 1 root wheel 30, 0x00010015 Aug 23 22:07 /dev/dspW1.1 crw-rw-rw- 1 root wheel 30, 0x00020015 Aug 23 22:07 /dev/dspW1.2 crw-rw-rw- 1 root wheel 30, 0x00030015 Aug 23 22:07 /dev/dspW1.3 crw-rw-rw- 1 root wheel 30, 0x00040015 Aug 23 22:07 /dev/dspW1.4 crw-rw-rw- 1 root wheel 30, 0x00050015 Aug 23 22:07 /dev/dspW1.5 crw-rw-rw- 1 root wheel 30, 11 Aug 23 22:07 /dev/dspr0.0 crw-rw-rw- 1 root wheel 30, 27 Aug 23 22:07 /dev/dspr1.0 And no /dev/audio: newhope:mpg321 {566} ll /dev/audio* crw-rw-rw- 1 root wheel 30, 4 Aug 23 22:07 /dev/audio0.0 crw-rw-rw- 1 root wheel 30, 0x00010004 Aug 23 22:07 /dev/audio0.1 crw-rw-rw- 1 root wheel 30, 20 Aug 23 22:07 /dev/audio1.0 crw-rw-rw- 1 root wheel 30, 0x00010014 Aug 23 22:07 /dev/audio1.1 crw-rw-rw- 1 root wheel 30, 0x00020014 Aug 23 22:07 /dev/audio1.2 crw-rw-rw- 1 root wheel 30, 0x00030014 Aug 23 22:07 /dev/audio1.3 crw-rw-rw- 1 root wheel 30, 0x00040014 Aug 23 22:07 /dev/audio1.4 crw-rw-rw- 1 root wheel 30, 0x00050014 Aug 23 22:07 /dev/audio1.5 So the system seems to recognize both of my sound cards, but how can I use them and do I have to create /dev/dsp and /dev/audio manually? For example I don't have sound with mpg321. I've tried: mpg321 -v -a 0 file.mp3 and mpg321 -v -a 1 file.mp3 and see something is happening, but there's no sound to hear. Mplayer plays from 1 sound card, but how do I select which card to use and also the sound is not so good (interrupts). Also in KDE in the settings dialog for "Sound system", should I start aRts and set "Use custom sound device" to /dev/dsp0.1 (won't that be mono sound out of the 1st sound card)? Thank you for any advices, I'm a bit confused how to set it up. Alex
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030823222100.GA12455>