From owner-freebsd-questions Wed Jan 17 9:18: 7 2001 Delivered-To: freebsd-questions@freebsd.org Received: from comet.connix.com (comet.connix.com [198.69.10.4]) by hub.freebsd.org (Postfix) with ESMTP id 4B3C437B402 for ; Wed, 17 Jan 2001 09:17:46 -0800 (PST) Received: from connix.com (5.ct9.dyn.connix.net [209.66.147.12]) by comet.connix.com (8.9.3/8.9.3) with ESMTP id MAA00225; Wed, 17 Jan 2001 12:09:40 -0500 (EST) Message-ID: <3A65D377.C95E74F9@connix.com> Date: Wed, 17 Jan 2001 12:16:39 -0500 From: Stephen Fitzhugh X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: trini0 Cc: questions@freebsd.org Subject: Re: psmintr:out of sync References: <3A64C1E1.BC6F1C4C@connix.com> <3A65B22D.298CFA81@optonline.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thanks for your reply. As for the flags, as you know 0x*** is the format for a hexadecimal number, where each place can take the value of 0 through f (0-15). So each place is "worth" 4 bits, and 0x100 would be 0001 0000 0000 in binary, with bit 0 defined as the rightmost bit. So the 0x100 mask would set the 9th bit from the right, or in other words, "bit 8". I restarted the machine with boot -c again, set the 0x100 flag in psm and this time the mouse worked like a champ. Don't know why it didn't work yesterday. Now all I have to is figure out how to add it to the kernel. Regards, Steve Fitzhugh trini0 wrote: > This error happens alot with people with kvms, including myself. There has > been whispers that the psm flags could be adjusted which may make it work, > but I guess that is for the high priest voodoo magician eyes only. Read up > on the man page for psm, there are flag options which may be able to deal > with this. For the life of me, I can't seem to get these numbers to the > 0x????? format. Someone on here tried to explain it to me, but I guess my > memories of math in school are finally eluding me..... > Has anyone come across this error, recompiled their kernel with new psm > flags, and have it work then on out. The truth...... > How do you turn "bit 15" into 0x???? > > > _____________________________ > | trini0 | > | | > / ) | Systems Administrator | > / / | Network Engineer | > ( ( | email ==> | > (((\ \> |/ ) trini0@optonline.net | > (\\\\ \_/ /_________________________| > \ / > \ _/ > / / > / / -- Stephen L. Fitzhugh fitzhugh@connix.com Phone: (203) 458-2989 Fax: (203) 458-6555 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message