Date: Fri, 25 Apr 2003 12:22:28 -0700 From: K Anderson <freebsduser@attbi.com> To: Fuzzy <fuzzy@pooh.ASARian.org> Cc: FreeBSD Questions <questions@FreeBSD.ORG> Subject: Re: sound device? Message-ID: <3EA98AF4.7040907@attbi.com> References: <Pine.BSF.4.44.0304251208120.6901-100000@pooh.ASARian.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Fuzzy wrote: > On Fri, 25 Apr 2003, K Anderson wrote: > > >> >>Fuzzy wrote: >> >>>dmesg output for device: >>> >>>pcm0: <VIA VT82C686A> port 0xe400-0xe403,0xe000-0xe003,0xdc00-0xdcff >>> irq 11 at device 7.5 on pci0 >>>pcm0: <ICEnsemble ICE1232 ac97 codec> >>> >>>/dev/sndstat contains: >>> >>>FreeBSD Audio Driver (newpcm) >>>Installed devices: >>>pcm0: <VIA VT82C686A> at io 0xdc00 irq 11 (1p/1r/0v channels duplex) >>> >> >>MAKEDEV will create a group of device nodes, including: >>Device Description >>/dev/audio SPARC-compatible audio device >>/dev/dsp Digitized voice device >>/dev/dspW Like /dev/dsp, but 16 bits per sample >>/dev/midi Raw midi access device >>/dev/mixer Control port mixer device >>/dev/music Level 2 sequencer interface >>/dev/sequencer Sequencer device >>/dev/pss Programmable device interface >> >> >>Check with fstat | grep dsp if another application is holding the device >>open. Noteworthy troublemakers are esound and KDE's sound support. >> > > > OK > > I've done this, and gotten then above device nodes in /dev. > > KDE's audio system, still can't open /dev/audio > > (ls from /dev) > > crw-rw-rw- 1 root wheel 30, 20 Apr 25 03:02 /dev/audio > crw-rw-rw- 1 root wheel 30, 4 Apr 25 03:02 /dev/audio0 > crw-rw-rw- 1 root wheel 30, 4 Apr 25 03:02 /dev/audio0.0 > crw-rw-rw- 1 root wheel 30, 0x00010004 Apr 25 03:02 /dev/audio0.1 > crw-rw-rw- 1 root wheel 30, 0x00020004 Apr 25 03:02 /dev/audio0.2 > crw-rw-rw- 1 root wheel 30, 0x00030004 Apr 25 03:02 /dev/audio0.3 > crw-rw-rw- 1 root wheel 30, 20 Apr 25 03:02 /dev/audio1 > crw-rw-rw- 1 root wheel 30, 20 Apr 25 03:02 /dev/audio1.0 > crw-rw-rw- 1 root wheel 30, 0x00010014 Apr 25 03:02 /dev/audio1.1 > crw-rw-rw- 1 root wheel 30, 0x00020014 Apr 25 03:02 /dev/audio1.2 > crw-rw-rw- 1 root wheel 30, 0x00030014 Apr 25 03:02 /dev/audio1.3 > > > Fuz > > Did the cdcontrol produce sound? Hmm, something is screwy up there... here's my ls lrwxrwxrwx 1 root wheel 6 Feb 13 16:44 audio -> audio0 lrwxrwxrwx 1 root wheel 8 Feb 13 16:44 audio0 -> audio0.0 crw-rw-rw- 1 root wheel 30, 4 Apr 25 00:40 audio0.0 crw-rw-rw- 1 root wheel 30, 0x00010004 Feb 13 16:44 audio0.1 crw-rw-rw- 1 root wheel 30, 0x00020004 Feb 13 16:44 audio0.2 crw-rw-rw- 1 root wheel 30, 0x00030004 Feb 13 16:44 audio0.3 lrwxrwxrwx 1 root wheel 8 Feb 11 19:02 audio1 -> audio1.0 crw-rw-rw- 1 root wheel 30, 20 Oct 27 15:50 audio1.0 crw-rw-rw- 1 root wheel 30, 0x00010014 Jul 17 2002 audio1.1 crw-rw-rw- 1 root wheel 30, 0x00020014 Jul 17 2002 audio1.2 crw-rw-rw- 1 root wheel 30, 0x00030014 Jul 17 2002 audio1.3 If you notice, my /dev/audio is linked to audio0, audio0 is linked to audio0.0 (don't ask me why, maybe my nodes are fubarred but it works) while your /dev/audio isn't. hmmmm. Also, are you getting any errors?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EA98AF4.7040907>