From owner-freebsd-questions@FreeBSD.ORG Fri Jan 1 11:30:16 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 C84B81065697 for ; Fri, 1 Jan 2010 11:30:16 +0000 (UTC) (envelope-from invalid.pointer@gmail.com) Received: from mail-pz0-f185.google.com (mail-pz0-f185.google.com [209.85.222.185]) by mx1.freebsd.org (Postfix) with ESMTP id 9B7818FC12 for ; Fri, 1 Jan 2010 11:30:16 +0000 (UTC) Received: by pzk15 with SMTP id 15so9281549pzk.3 for ; Fri, 01 Jan 2010 03:30:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:content-type :content-transfer-encoding; bh=zhvNFTx+C9vchRed392ezcMwW7wLQnWro2MD01EQL+0=; b=MB5frgLIh4GZKg2BTOA1gHYPpUShvSr3As2heO2AkVoWybY927P9zajGq3OM5zJppH mRwUxA8rcWFZHwGHjqQ6ibu43ejOzeg7Z0R3dlVnVJmH3azIMSQml/uomPaIuzGFyEOK aZsIiuim2X9YKZ2uwC6qIyz26tf3jnVo6y9Ws= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :content-type:content-transfer-encoding; b=bd4a++3W0nPO7SqjedRG6/pwOR0Q5MOB5Hk2pzHMJsk8zthYdtBpyLSbLpQIOgsFxz j+Bpe0VaP2VjfbRvnQ+tsJZooWHjBKocv9nLpJ0mcUgGUpynHLgo7FCfaHRJeVE2fRCt wSMcmQYwZOmZKnSGGmpnt1clkU7oQ0QkRIeBg= Received: by 10.141.100.20 with SMTP id c20mr14433271rvm.81.1262345409315; Fri, 01 Jan 2010 03:30:09 -0800 (PST) Received: from freebsd-pbbi.airtel.localdomain ([122.161.1.2]) by mx.google.com with ESMTPS id 21sm15206056pzk.7.2010.01.01.03.30.05 (version=SSLv3 cipher=RC4-MD5); Fri, 01 Jan 2010 03:30:08 -0800 (PST) Message-ID: <4B3DDCDE.4040205@gmail.com> Date: Fri, 01 Jan 2010 17:00:38 +0530 From: Manish Jain User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.5) Gecko/20091229 Thunderbird/3.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: rsmith@xs4all.nl Subject: 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 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jan 2010 11:30:16 -0000 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 ? 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 ? 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 invalid.pointer@gmail.com