Page 1 of 1
serial mouse driver
Posted: Thu Oct 02, 2003 8:04 pm
by shahzad
hi,
i'm trying to write serial mouse driver.
if any one has code or some links of serial mose driver .please post it on this thread
Re:serial mouse driver
Posted: Tue Oct 07, 2003 11:05 am
by shahzad
hi,
i've posted this message for almost 2 weeks.
is there anyone who has worked on serial mouse driver?????????
Re:serial mouse driver
Posted: Tue Oct 07, 2003 11:19 am
by BI lazy
This tone of command in your lines is not welcome.
as for your question: try
www.osdever.net. or the quicklinkz section
Re:serial mouse driver
Posted: Wed Oct 08, 2003 4:26 am
by shahzad
hi,
sorry i never meant that but i'll take care of my words in future.
Re:serial mouse driver
Posted: Wed Oct 08, 2003 7:49 am
by Pype.Clicker
i've recovered some burried links from this forum, but they're all about PS2 mice rather than pure 'serial' mice (those that had a trapezoidal connector on COM1)
http://www.mega-tokyo.com/forum/index.p ... eadid=3888
http://www.mega-tokyo.com/forum/index.p ... eadid=4004
but i guess this is not what you want
Re:serial mouse driver
Posted: Wed Oct 08, 2003 10:56 am
by Slasher
basically you need 2 types of docs. One on how to program the serial ports and the second one on the format of data send by serial mice.
Re:serial mouse driver
Posted: Mon Oct 13, 2003 10:34 pm
by Chris Giese
http://my.execpc.com/~geezer/temp/serial.c
I guess everyone else is using PS/2 mice...?
Re:serial mouse driver
Posted: Tue Oct 14, 2003 3:42 am
by shahzad
gr8 work.
why don't u post the links that u used for development of this code.so that i can understand serial communicatin and data transmitted by serial mouse.
Re:serial mouse driver
Posted: Tue Oct 14, 2003 3:52 am
by Pype.Clicker
you should read the "how to ask questions the smart way" document before people begin to feel offended by your style. I know there's no offending intention, but some other people may not feel it as i do ...
I suppose that if Chris didn't post the documents you required, it's either because he doesn't have such links easily accessible
<joke "not really Chris's way of doing things"> or that you're smart enough to locate
google?"serial mouse programming" yourself ...
</joke>
I suggest you make a quick trip through the
Operating System Resource Center (see .:QuickLinkz:., again) and check how the UART is programmed (iirc, this is the chip that sends/receives bytes through COMx interfaces, thus the chip you'll have to program to communicate with serial mice).
Re:serial mouse driver
Posted: Tue Oct 14, 2003 4:58 am
by BI lazy
Chris also might have some hefty books at hands: H. P. Messmer: The Indispensable Hardware Book, or. Guillaume: The Undocumented PC. These volumes are full of nifty details about hardware - the UART too.
offending intention ... *snort* maybe that lad's not capable of the english language like other guys are so that he can use it in a distinguished manner -he seems not to be placing dots but *logs*.
Well, Offendi Yoda *bg*, your's is the patience.:p
Stay safe.
PS. @chris giese: Aye, I for my part have done some ps/2-mouse coding.
Re:serial mouse driver
Posted: Tue Oct 14, 2003 6:15 am
by Pype.Clicker
fortunately enough BI is there (even if lazy
to make sure
i am not becoming offending :p
Re:serial mouse driver
Posted: Tue Oct 14, 2003 11:26 am
by shahzad
actualy i'm not so good in english.so communication is problem for me.still i try my best to choose the right words.
Re:serial mouse driver
Posted: Tue Oct 14, 2003 10:27 pm
by Chris Giese
shahzad wrote:
gr8 work.
why don't u post the links that u used for development of this code.so that i can understand serial communicatin and data transmitted by serial mouse.
This is the spec sheet I used for the serial chip:
http://www.national.com/pf/PC/PC16550D.html
There are different serial chips; older and newer.
Protocol for Microsoft (2-button) serial mouse:
http://www.hut.fi/~then/mytexts/mouse.html
It still took some experimentation and trial-and-error
to get working code.
And I wouldn't be so hard on shahzad -- we were all
newbies once. It was easy for me to find those links,
but
I already knew what to look for.
Re:serial mouse driver
Posted: Wed Oct 15, 2003 2:15 am
by Pype.Clicker
all those good links have now been integrated into the .:QuickLinkz:. page for later reference. Thanks for asking the question, shazad.