Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Mar 2000 18:24:54 +0000
From:      Mark Ovens <mark@ukug.uk.freebsd.org>
To:        Joe Park <joepark@uclink4.berkeley.edu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: help on sound please
Message-ID:  <20000314182453.A239@parish>
In-Reply-To: <4.2.0.58.20000314020623.00c81d70@uclink4.berkeley.edu>; from joepark@uclink4.berkeley.edu on Tue, Mar 14, 2000 at 02:09:20AM -0800
References:  <4.2.0.58.20000314020623.00c81d70@uclink4.berkeley.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Mar 14, 2000 at 02:09:20AM -0800, Joe Park wrote:
> Hello,
> 
> I finally bought a ensoniq pci audio (es1371 chip) card.  First I set up
> a kernel with just this:
> ######################
> device pcm0
> ######################
> 
> With that setting, I got sound.  dmesg gave me this:
> ######################
> es1: <AudioPCI ES1371> rev 0x08 int a irq 3 on pci0.17.0
> pcm1: using I/O space register mapping at 0x1480
 ^^^^^^

[snip]

> After that, it worked just the same.  I did "sh /dev/MAKEDEV snd0" but I
> don't see snd0 in /dev.(Do I need to do this every time I restart?  Do I
> even need to do this?  I mean it worked before I executed that
> command...I'm guessing it's needed for mixer functions)  When I did
> "mixer", it says "mixer: /dev/mixer: Device not configured"  I remember
> dmesg gave me identical messages as above.
> 

It's found at pcm1 so you need to do ``sh MAKEDEV snd1''. Under 3.x
you specify pcm0 in the kernel config file, but that is reserved or
ISA cards. If it finds a PCI card then it is pcm1 (don't try changing
the config file to ``device pcm1 ....'' or you card will be pcm2 and
you'll have to MAKEDEV snd2). 

> And that was yesterday.  Today, it appears that my roommate just pressed
> reset button while I was gone.  (I see that my drive was not unmounted
> properly)  When I reboot, the sound worked for a while.  While I was
> playing MP3, I did "sh /dev/MAKEDEV snd0" as root.  (in attempt to bring
> mixer to work)  A bit later, sound just stopped.  dmesg gave me rows
> after rows of
> "pcm0: unit not configured, perhaps you want pcm1 ? "

Guess why ;-)

> And for some wield reason, my custom prompt stop working.  Instead of
> useful info like current directory, time, etc, my prompt now gives me
> this :
> \n***** \! *** <\u@\h> *** $(dirs) *****\n\t \$
> 
> I configured prompt at .profile file (I'm using bash)

Hmm, I don't use bash(1) so I can't help you with this one, but maybe
``man bash'' can.

> 
> I rebuilt kernel again, thinking that it will fix the problem, but gave
> me same result.  The initial dmesg while it was booting gave me correct
> messages regarding sound card (same as above).  But I can't play any
> sound.  Can anyone help me?  I think I probably can get my sound back
> after tweaking around a bit but I still can't figure out how to improve
> sound quality.  Any comments from people who has Ensoniq AudioPCI are
> appreciated. (Is yours sound ok?) 

Well mine is a SB PCI128, but it's the same card re-badged by Creative
after they bought Ensoniq, and it sounds just fine. Get it working
again properly, as detailed above, and we'll take it from there.

HTH

> Does anyone know what exactly
> happened here?  I mean, why my prompt all of sudden stop working?  My
> other FreeBSD box with exact same .profile works.
> 
> I'm using bash and FreeBSD is 3.4-stable.  Sorry for long messages and
> thank you for help.
> 
> Joe
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

-- 
	Microsoft: Where do you want to go today?
	Linux:     Where do you want to go tomorrow?
	BSD:       Are you guys coming, or what?
			              -Poster at LinuxWorld 2000
________________________________________________________________
      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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000314182453.A239>