From owner-freebsd-questions Mon Jan 24 14:33: 4 2000 Delivered-To: freebsd-questions@freebsd.org Received: from monsoon.mail.pipex.net (monsoon.mail.pipex.net [158.43.128.69]) by hub.freebsd.org (Postfix) with SMTP id 0BEDB14EBE for ; Mon, 24 Jan 2000 14:32:56 -0800 (PST) (envelope-from mark@dogma.freebsd-uk.eu.org) Received: (qmail 18696 invoked from network); 24 Jan 2000 22:29:01 -0000 Received: from userbf72.uk.uudial.com (HELO marder-1.) (62.188.142.93) by smtp.dial.pipex.com with SMTP; 24 Jan 2000 22:29:01 -0000 Received: (from mark@localhost) by marder-1. (8.9.3/8.9.3) id VAA01195; Mon, 24 Jan 2000 21:59:31 GMT (envelope-from mark) Date: Mon, 24 Jan 2000 21:59:31 +0000 From: Mark Ovens To: R Joseph Wright Cc: freebsd-questions@freebsd.org Subject: Re: pcm0 Message-ID: <20000124215931.A409@marder-1> References: <200001240250.DAA64581@dorifer.heim3.tu-clausthal.de> <388BEBD0.6D72D60F@nwlink.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mutt 1.0pre2i In-Reply-To: <388BEBD0.6D72D60F@nwlink.com> Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Jan 23, 2000 at 10:06:08PM -0800, R Joseph Wright wrote: > Oliver Fromme wrote: > > > R Joseph Wright wrote in list.freebsd-questions: > > > device pcm0 at isa? port ? tty irq 11 drq 1 flags 0x07 > > > ...although that may be completely wrong, I was sort of guessing on > > > things. I've heard of people having success based on only adding the > > > line "device pcm0" to the kernel config. > > > > That's true -- it's a PCI device, so all you need is: > > device pcm0 > > > > > Dmesg shows that my card is there: > > > es1: rev 0x07 int a irq 11 on pci0.11.0 > > > pcm1: using I/O space register mapping at 0x6c00 > > > es1371: codec vendor revision 0 > > > es1371: codec features Bass & Treble > > > es1371: stereo enhancement: no 3D stereo enhancement > > > ...there is also the line: > > > pcm0 not found > > You say that your card is a SB PCI 128? I added a SB PCI 128 Value (not sure what the difference "Value" makes). My kernel config has: device pcm0 at isa? port ? tty irq 10 drq 1 flags 0x0 and dmesg shows: es1: rev 0x06 int a irq 11 on pci0.11.0 pcm1: using I/O space register mapping at 0x6800 es1371: codec vendor CRY revision 19 es1371: codec features Bass & Treble Headphone out 20bit DAC 18bit ADC es1371: stereo enhancement: Crystal Semiconductor 3D Stereo Enhancement which is slightly different to yours. I also get: pcm0 not found > > That's perfectly OK. > > > > > After compiling I did ./MAKEDEV snd1, like I've read you're supposed to > > > do. So did I, here's what things look like in /dev: crw-rw-rw- 1 root wheel 30, 16 Jan 17 17:37 mixer1 crw-rw-rw- 1 root wheel 30, 17 Jan 17 17:37 sequencer1 lrwxrwxrwx 1 root wheel 6 Jan 17 17:37 audio -> audio1 lrwxrwxrwx 1 root wheel 6 Jan 17 17:37 mixer -> mixer1 lrwxrwxrwx 1 root wheel 10 Jan 17 17:37 sequencer -> sequencer1 lrwxrwxrwx 1 root wheel 4 Jan 17 17:37 dsp -> dsp1 lrwxrwxrwx 1 root wheel 5 Jan 17 17:37 dspW -> dspW1 lrwxrwxrwx 1 root wheel 6 Jan 17 17:37 music -> music1 lrwxrwxrwx 1 root wheel 4 Jan 17 17:37 pss -> pss1 crw-rw-rw- 1 root wheel 30, 6 Jan 17 17:37 sndstat crw-rw-rw- 1 root wheel 30, 20 Jan 17 17:37 audio1 crw-rw-rw- 1 root wheel 30, 18 Jan 17 17:37 midi1 crw-rw-rw- 1 root wheel 30, 21 Jan 17 17:37 dspW1 crw-rw-rw- 1 root wheel 30, 24 Jan 17 17:37 music1 crw-rw-rw- 1 root wheel 30, 25 Jan 17 17:37 pss1 > > > It didn't make any pcm* devices. > > > > That's OK, too. > > > > > I tried making links from > > > /dev/audio and /dev/audio1 to /dev/pcm0 and /dev/pcm1, also I tried > > > making links to /dev/dsp with no luck. > > Note that /dev/audio should be linked to /dev/audio1. Also, have you got /dev/music linked to /dev/music1 (this could be the culprit, since the CD player is not outputting any sound.) Once you have /dev/audio linked to /dev/audio1 try just cat(1)'ing a .au file to /dev/audio (if you've got python installed, try /usr/local/lib/python1.5/test/audiotest.au): # cat audiotest.au > /dev/audio > > There are no device entries /dev/pcm*. Don't try to create > > them. > > > > > The mixer is set on 100% every time I've checked it, so that isn't it. > > > I figure I'm pretty close to getting it to work if it's showing up in > > > dmesg. Can someone point me in the right direction? > > > > What is the problem, actually? What you described so far > > sounds like everything is alright.. So what's wrong, exactly? > > Well, I would say not having any sound is wrong. > Well mine just worked after MAKEDEV'ing snd1 and since you seem to be so close I'd suggest that it's just your symlinks in /dev that are the cause of the problem(s). HTH > > > > Are there any error messages? What happens if you try to, > > say, play an mp3 file with mpg123? > > There have been no error messages. I haven't tried any mp3's, but the kde cd > player, which worked find under oss, does not work. It behaves as if it's > playing the cd, counting down the songs, but no sound comes from the speakers. > > > > > > > > > Regards > > Oliver > > > > -- > > Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany > > (Info: finger userinfo:olli@dorifer.heim3.tu-clausthal.de) > > > > "In jedem Stück Kohle wartet ein Diamant auf seine Geburt" > > (Terry Pratchett) > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > -- > R Joseph Wright > > *I merely took the energy it takes to pout > and wrote some blues --Duke Ellington* > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- "there's a long-standing bug relating to the x86 architecture that allows you to install Windows too" -Matthew D. Fuller ________________________________________________________________ FreeBSD - The Power To Serve http://www.freebsd.org My Webpage http://ukug.uk.freebsd.org/~mark/ mailto:mark@ukug.uk.freebsd.org http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message