From owner-freebsd-questions@FreeBSD.ORG Fri Jan 1 14:38:21 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 110E81065692 for ; Fri, 1 Jan 2010 14:38:21 +0000 (UTC) (envelope-from frank@shute.org.uk) Received: from atmail-15.bnguk.net (atmail-15.bnguk.net [80.74.253.42]) by mx1.freebsd.org (Postfix) with ESMTP id 9C89D8FC19 for ; Fri, 1 Jan 2010 14:38:20 +0000 (UTC) Received: from 77-44-105-82.xdsl.murphx.net ([77.44.105.82] helo=orange.esperance-linux.co.uk) by atmail-15.bnguk.net with esmtp (Exim 4.69) (envelope-from ) id 1NQidd-000502-Gw; Fri, 01 Jan 2010 14:38:01 +0000 Received: by orange.esperance-linux.co.uk (Postfix, from userid 1001) id 0C6F84AC20; Fri, 1 Jan 2010 14:38:01 +0000 (GMT) Date: Fri, 1 Jan 2010 14:38:01 +0000 From: Frank Shute To: Manish Jain Message-ID: <20100101143801.GA56771@orange.esperance-linux.co.uk> Mail-Followup-To: Manish Jain , freebsd-questions@freebsd.org, rsmith@xs4all.nl References: <4B3DDCDE.4040205@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B3DDCDE.4040205@gmail.com> User-Agent: Mutt/1.4.2.3i X-Face: *}~{PHnDTzvXPe'wl_-f%!@+r5; VLhb':*DsX%wEOPg\fDrXWQJf|2\,92"DdS%63t*BHDyQ|OWo@Gfjcd72eaN!4%NE{0]p)ihQ1MyFNtWL X-Operating-System: FreeBSD 8.0-RELEASE-p1 amd64 X-Organisation: 'shute.org.uk' Cc: rsmith@xs4all.nl, freebsd-questions@freebsd.org Subject: Re: Need help configuring upsd, sound and logo saver on freebsd 8.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Frank Shute List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jan 2010 14:38:21 -0000 On Fri, Jan 01, 2010 at 05:00:38PM +0530, Manish Jain wrote: > > > Hello All, > > I recently installed FreeBSD 8.0 on my amd64 system attached to an APC > UPS via USB and a RealTek HDA onboard soundcard. I chose 'logo' as the > screensaver during installation, and put snd_hda_load="YES" in > /boot/loader.conf and upsd_enable="YES" in /etc/rc.conf. > > On booting, the sound driver gets loaded successfully and the APC UPS is > also detected (although there is no mention of the UPS in the output of > dmesg). I have the following problems : > > 1) There is no sound. AFAIK, there is a sysctl parameter to be tuned for > setting the correct audio channel (in my case hdac1), but I have > forgotten the parameter name. Can someone please remind me ? hw.snd.default_unit=1 in /etc/sysctl.conf ? > > 2) upsd complains of inappropriate ioctl no matter which USB device node > I set in /usr/local/etc/upsd.conf. How can I set the device name > correctly so that the OS can shut itself down properly on extended power > failure ? Have you tried sysutils/apcupsd. It's designed to work with APC upses. Fairly easy to install & configure. > > 3) For my console saver ('logo'), I get the following error message at > boot-time : > > module_register_init: MOD_LOAD (logo_saver, 0xffffffff81044010, 0) error 19 > > > Happy New Year and Thanks for any help > Manish Jain Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html