serial mouse driver

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
shahzad

serial mouse driver

Post 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
shahzad

Re:serial mouse driver

Post by shahzad »

hi,

i've posted this message for almost 2 weeks.

is there anyone who has worked on serial mouse driver?????????
BI lazy

Re:serial mouse driver

Post 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
shahzad

Re:serial mouse driver

Post by shahzad »

hi,

sorry i never meant that but i'll take care of my words in future.
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:serial mouse driver

Post 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 :(
Slasher

Re:serial mouse driver

Post 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.
Chris Giese

Re:serial mouse driver

Post by Chris Giese »

http://my.execpc.com/~geezer/temp/serial.c

I guess everyone else is using PS/2 mice...?
shahzad

Re:serial mouse driver

Post 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.
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:serial mouse driver

Post 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).
BI lazy

Re:serial mouse driver

Post 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.
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:serial mouse driver

Post by Pype.Clicker »

fortunately enough BI is there (even if lazy ;) to make sure i am not becoming offending :p
shahzad

Re:serial mouse driver

Post 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.
Chris Giese

Re:serial mouse driver

Post 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.
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:serial mouse driver

Post by Pype.Clicker »

all those good links have now been integrated into the .:QuickLinkz:. page for later reference. Thanks for asking the question, shazad.
Post Reply