From owner-freebsd-questions Sun Jun 25 6:22:52 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mta03-svc.ntlworld.com (mta03-svc.ntlworld.com [62.253.162.43]) by hub.freebsd.org (Postfix) with ESMTP id 5096237B6B2 for ; Sun, 25 Jun 2000 06:22:43 -0700 (PDT) (envelope-from mark@ukug.uk.freebsd.org) Received: from parish.my.domain ([62.253.89.214]) by mta03-svc.ntlworld.com (InterMail vM.4.01.02.27 201-229-119-110) with ESMTP id <20000625132240.RMQG290.mta03-svc.ntlworld.com@parish.my.domain>; Sun, 25 Jun 2000 14:22:40 +0100 Received: (from mark@localhost) by parish.my.domain (8.9.3/8.9.3) id OAA01040; Sun, 25 Jun 2000 14:21:55 +0100 (BST) (envelope-from mark) Date: Sun, 25 Jun 2000 14:21:55 +0100 From: Mark Ovens To: Adam Hefetz Cc: freebsd-questions@freebsd.org Subject: Re: sound & permissions Message-ID: <20000625142155.F233@parish> References: <20000625122735.27588.qmail@hotmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20000625122735.27588.qmail@hotmail.com>; from adam_hefetz@hotmail.com on Sun, Jun 25, 2000 at 12:27:35PM +0000 Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Jun 25, 2000 at 12:27:35PM +0000, Adam Hefetz wrote: > Hi, > 1) After adding sound support to my kernel with these lines: > > controller pnp0 > device pcm0 at isa? port 0x220 tty irq 5 drq 1 flags 0x0 vector pemintr > > I rebooted and when freebsd was checking the hardware I noticed this: > > Probing for PnP devices: > pcm1 (SB16pnp sn 0x00061739) at 0x220-0x22f irq 5 drq 1 flags > 0x15 on isa > > Probing for devices on the ISA bus: > pcm0 not probed due to I/O address conflict with pcm1 at 0x220 > > Whats wrong?? > Is this FreeBSD 4.0? If so change ``device pcm0'' to ``device pcm'' in the kernel config file and your card will be found as pcm0. The 0 device is now no longer reserved for ISA devices as it used to be. > 2) When typing as a reguler user 'reboot' I get 'Operation not permited'. I > know you have to change the permissions using chmod but I don't know what > arguments to use. > Don't change the perms, use ``shutdown [-h] [-r] now'' as a regular user. ``-h'' will halt the system, ``-r'' will reboot, and using neither (i.e. ``shutdown now'') will drop you to single user mode. Note that the user must be a member of the wheel group to use shutdown(8). > Thanks, Adam > ________________________________________________________________________ > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- If I buy a copy of WinDelete, and it doesn't delete Windows, am I entitled to my money back? ________________________________________________________________ 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