Date: Fri, 1 Jan 2010 14:38:01 +0000 From: Frank Shute <frank@shute.org.uk> To: Manish Jain <invalid.pointer@gmail.com> Cc: rsmith@xs4all.nl, freebsd-questions@freebsd.org Subject: Re: Need help configuring upsd, sound and logo saver on freebsd 8.0 Message-ID: <20100101143801.GA56771@orange.esperance-linux.co.uk> In-Reply-To: <4B3DDCDE.4040205@gmail.com> References: <4B3DDCDE.4040205@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100101143801.GA56771>