Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jan 2001 12:16:39 -0500
From:      Stephen Fitzhugh <fitzhugh@connix.com>
To:        trini0 <trini0@optonline.net>
Cc:        questions@freebsd.org
Subject:   Re: psmintr:out of sync
Message-ID:  <3A65D377.C95E74F9@connix.com>
References:  <3A64C1E1.BC6F1C4C@connix.com> <3A65B22D.298CFA81@optonline.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A65D377.C95E74F9>