Date: Tue, 19 Dec 2000 14:06:01 -0800 From: "David Schultz" <vvortex1@home.com> To: "trini0" <trini0@optonline.net>, "FreeBSD Questions" <questions@FreeBSD.ORG> Subject: Re: psm option flags Message-ID: <008801c06a07$dfa63160$0100a8c0@mshome.net> References: <3A3F0055.44550ED8@optonline.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> Hey, all. Im trying to see if I could get my mouse working with my > "new" kvm. I read up on the psm man page about the optional flags. How > do I convert the bits into a flag number? Thanks for your help. The value of the nth bit should be 2^n if the bit is set, and 0 otherwise. Simply add all of the bits. For example, if you wanted to set HOOKRESUME (bit 13) and INITAFTERSUSPEND (bit 14), you'd have 2^13 + 2^14 = 0x6000. You could then make an entry in your kernel configuration file similar to this: device psm0 at atkbdc? irq 12 flags 0x6000 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?008801c06a07$dfa63160$0100a8c0>