Date: Wed, 17 Jan 2001 13:22:46 -0500 From: trini0 <trini0@optonline.net> To: Daniel Frazier <dfrazier@magpage.com> Cc: fitzhugh@connix.com, FreeBSD Questions <questions@freebsd.org> Subject: Re: psmintr:out of sync Message-ID: <3A65E2F6.60611BD0@optonline.net> References: <3A64C1E1.BC6F1C4C@connix.com> <3A65B22D.298CFA81@optonline.net> <3A65CFD2.7D62A1EE@magpage.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hey, that was the guy who originally told me about setting the flags. Stephen L. Fitzhugh fitzhugh@connix.com, put up a nice example to follow. Ill have to study this, and see. If I remember correctly, to add what you did to the kernel, put in ==> device psm0 at atkbdc? irq 12 flags 0x100 and recompile it. Ill try it out later today, and post my findings. Thanks Daniel Frazier wrote: > 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???? > > > > I'm shamelessly stealing someone elses (actually "David Schultz" > <vvortex1@home.com>) answer. I had saved this email for future reference. > > <PLAGARISM> > > > 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 > > </PLAGARISM> > > -- > ---------------------------------------------------------------------- > Daniel Frazier <dfrazier@magpage.com> Tel: 302-239-5900 Ext. 231 > Systems Administrator Fax: 302-239-3909 > MAGPAGE, We Power the Internet WWW: http://www.magpage.com/ > > "They that can give up essential liberty to obtain a little temporary > safety deserve neither liberty nor safety." > - Benjamin Franklin, Historical Review of Pennsylvania, 1759. -- _____________________________ | trini0 | | | / ) | Systems Administrator | / / | Network Engineer | ( ( | email ==> | (((\ \> |/ ) trini0@optonline.net | (\\\\ \_/ /_________________________| \ / \ _/ / / / / 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?3A65E2F6.60611BD0>