Date: Fri, 1 Jan 2010 12:56:00 +0100 From: Roland Smith <rsmith@xs4all.nl> To: Manish Jain <invalid.pointer@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Need help configuring upsd, sound and logo saver on freebsd 8.0 Message-ID: <20100101115600.GA69250@slackbox.xs4all.nl> In-Reply-To: <4B3DDCDE.4040205@gmail.com> References: <4B3DDCDE.4040205@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--tKW2IUtsqtDRztdT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jan 01, 2010 at 05:00:38PM +0530, Manish Jain wrote: >=20 > I recently installed FreeBSD 8.0 on my amd64 system attached to an APC=20 > UPS via USB and a RealTek HDA onboard soundcard. I chose 'logo' as the=20 > screensaver during installation, and put snd_hda_load=3D"YES" in=20 > /boot/loader.conf and upsd_enable=3D"YES" in /etc/rc.conf. >=20 > On booting, the sound driver gets loaded successfully and the APC UPS is= =20 > also detected (although there is no mention of the UPS in the output of= =20 > dmesg). I have the following problems : If there is nothing in dmesg, how do you know if it is detected? > 1) There is no sound. AFAIK, there is a sysctl parameter to be tuned for= =20 > setting the correct audio channel (in my case hdac1), but I have=20 > forgotten the parameter name. Can someone please remind me ? I think 'hw.snd.default_unit' is the one you are looking for. The command '= cat /dev/sndstat' gives you an overview of which devices are available. Also have a look at the output of 'mixer'. Maybe some volume is just set to 0. :-) > 2) upsd complains of inappropriate ioctl no matter which USB device node= =20 > I set in /usr/local/etc/upsd.conf. How can I set the device name=20 > correctly so that the OS can shut itself down properly on extended power= =20 > failure ? If the UPS daemon acts as a serial device, it binds to the ucom(4) driver. = So you'd expect to see a /dev/cuaU? and /dev/ttyU? device. =20 > 3) For my console saver ('logo'), I get the following error message at=20 > boot-time : >=20 > module_register_init: MOD_LOAD (logo_saver, 0xffffffff81044010, 0) error = 19 Can't help you here. I never use it. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --tKW2IUtsqtDRztdT Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAks94s8ACgkQEnfvsMMhpyUGJwCgmhn6IWRWpF9BKcSGW1mAwoZ7 msoAn0bF+ebsMWZL+3hwZtk2Ek9PklZh =LAPg -----END PGP SIGNATURE----- --tKW2IUtsqtDRztdT--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100101115600.GA69250>