Re: Need help configuring upsd, sound and logo saver on freebsd 8.0

2010-01-02 Thread Manish Jain

On 01/01/10 20:26, Matthew Seaman wrote:

Manish Jain wrote:


3) For my console saver ('logo'), I get the following error message at
boot-time :

module_register_init: MOD_LOAD (logo_saver, 0x81044010, 0)
error 19


Seems to be a long standing bug on amd64 systems: graphics based console
screen savers don't work. Any of the text based screen savers will function
correctly, although they don't look as nice.

Cheers,

Matthew




Hello Matthew,

Thanks for your reply. The only point that remains to be made is that I 
find the 'Cheers' at the end of your message quite ironic.


Being the owner of 2 kittens, I must dutifully assert that there is 
nothing to cheer about under the current situation. For the three of us, 
it has been a long-standing favourite pastime to watch Chuck in action. 
We would miss football (for some reason called soccer in the US) games / 
cricket games / movies / all other forms of entertainment, just to wait 
and watch for Chuck to show up. My kittens never managed to grab him, 
despite numerous valiant efforts. But this never undermined the 
fascination all three of us shared for Chuck.


If ever the FreeBSD operating system or AMD processors had a bug, this 
would be it. Above all, even to someone not in love with cats, having a 
genial and smiling mouse would be infinitely preferable to having such a 
nasty bug.



Cheers

Manish Jain
invalid.poin...@gmail.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Need help configuring upsd, sound and logo saver on freebsd 8.0

2010-01-02 Thread Pieter de Goeje
On Saturday 02 January 2010 19:37:23 Manish Jain wrote:
 On 01/01/10 20:26, Matthew Seaman wrote:
  Manish Jain wrote:
  3) For my console saver ('logo'), I get the following error message at
  boot-time :
 
  module_register_init: MOD_LOAD (logo_saver, 0x81044010, 0)
  error 19
 
  Seems to be a long standing bug on amd64 systems: graphics based console
  screen savers don't work. Any of the text based screen savers will
  function correctly, although they don't look as nice.
 
  Cheers,
 
  Matthew

 Hello Matthew,

 Thanks for your reply. The only point that remains to be made is that I
 find the 'Cheers' at the end of your message quite ironic.

 Being the owner of 2 kittens, I must dutifully assert that there is
 nothing to cheer about under the current situation. For the three of us,
 it has been a long-standing favourite pastime to watch Chuck in action.
 We would miss football (for some reason called soccer in the US) games /
 cricket games / movies / all other forms of entertainment, just to wait
 and watch for Chuck to show up. My kittens never managed to grab him,
 despite numerous valiant efforts. But this never undermined the
 fascination all three of us shared for Chuck.

 If ever the FreeBSD operating system or AMD processors had a bug, this
 would be it. Above all, even to someone not in love with cats, having a
 genial and smiling mouse would be infinitely preferable to having such a
 nasty bug.


 Cheers

 Manish Jain
 invalid.poin...@gmail.com

I can report that logo_saver works great on FreeBSD-CURRENT/amd64 with vesa 
loaded and options SC_PIXEL_MODE in the kernel configuration. Vesa support 
for amd64 systems was introduced after FreeBSD 8 was branched. 

Regards,

Pieter
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Need help configuring upsd, sound and logo saver on freebsd 8.0

2010-01-01 Thread Manish Jain


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, 0x81044010, 0) error 19


Happy New Year and Thanks for any help
Manish Jain
invalid.poin...@gmail.com



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Need help configuring upsd, sound and logo saver on freebsd 8.0

2010-01-01 Thread Roland Smith
On Fri, Jan 01, 2010 at 05:00:38PM +0530, Manish Jain wrote:
 
 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 :

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 
 setting the correct audio channel (in my case hdac1), but I have 
 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 
 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 ?

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.
 
 3) For my console saver ('logo'), I get the following error message at 
 boot-time :
 
 module_register_init: MOD_LOAD (logo_saver, 0x81044010, 0) error 19

Can't help you here. I never use it.

Roland
-- 
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)


pgp5lVEv4djoz.pgp
Description: PGP signature


Re: Need help configuring upsd, sound and logo saver on freebsd 8.0

2010-01-01 Thread Frank Shute
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, 0x81044010, 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


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Need help configuring upsd, sound and logo saver on freebsd 8.0

2010-01-01 Thread Matthew Seaman

Manish Jain wrote:

3) For my console saver ('logo'), I get the following error message at 
boot-time :


module_register_init: MOD_LOAD (logo_saver, 0x81044010, 0) error 19


Seems to be a long standing bug on amd64 systems: graphics based console
screen savers don't work.  Any of the text based screen savers will function
correctly, although they don't look as nice.

Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature