This Microsoft optical mouse is not sold in a serial version (it may require too much power) but on closer examination it does come with a PS/2 adapter. The adapter seems to be a mechanical fitting with two 4.7k pull up resistors. There is no sign of any "smarts" in the adapter. Somehow the mouse's USB chip must sense the adapter and switch to a PS/2 mode. This is looking promising again! Sherpa Doug > -----Original Message----- > From: Niklas Wennerstrand [mailto:niklas.wennerstrand@TELIA.COM] > Sent: Thursday, June 14, 2001 4:05 PM > To: PICLIST@MITVMA.MIT.EDU > Subject: [PIC]: PIC as USB Master? >=20 >=20 > OK, you probably have a very good reason to use the USB=20 > mouse. If not, I > would use an ordinary mouse. I know that much of USB after=20 > reading some > books about it that I wont use it unless I had a project that did not > absolutely need it. Maybe you can do some reverse engineering=20 > on the vendor > number and other stuff in the USB mouse and find away around=20 > a complete > master but I still would go for an ordinary mouse. But maybe=20 > you just want > to have it as a project to play and learn with and then I=20 > wish you good > luck. > Niklas Wennerstrand >=20 > -----Ursprungligt meddelande----- > Fr=E5n: pic microcontroller discussion list=20 > [mailto:PICLIST@MITVMA.MIT.EDU] > F=F6r Douglas Butler > Skickat: den 14 juni 2001 20:25 > Till: PICLIST@MITVMA.MIT.EDU > =C4mne: Re: [PIC]: PIC as USB Master? >=20 > In my case I don't need it to be a general purpose USB=20 > master. It only > has to handle one specific type of mouse. I was thinking I could skip > all of the enumeration and identification stuff. If anything=20 > other than > that model of mouse is attached it can send a fatal error message and > halt. >=20 > Douglas Butler (aka Sherpa Doug) > Senior Engineer > Imetrix Inc. > 1235 Route 28A > P.O. Box 152 > Cataumet, MA 02534-0152 > tel. (508) 564-6460 > Fax (508) 564-6860 > dbutler@imetrix.com >=20 > > -----Original Message----- > > From: Niklas Wennerstrand [mailto:niklas.wennerstrand@TELIA.COM] > > Sent: Thursday, June 14, 2001 2:01 PM > > To: PICLIST@MITVMA.MIT.EDU > > Subject: [PIC]: PIC as USB Master? > > > > > > I'm not a USB guru but my guess is that's impossible to make > > a PIC a USB > > master. > > I base that guess on that the USB protocol is not a walk in > > the park and its > > developed by guys like Microsoft. If it was easy I guess that > > USB support > > under Linux would have been developed much faster than it > > have. My guess is > > that it require a lot off code and memory (That is not a > > problem with todays > > PC). As Linux is open source you might take a look on how its > > done in Linux. > > My guess is that you will see a lot of code and realise that > > that will never > > fit a PICmicro. USB is a standard and to conform to that > > standard requires > > that you have the full support and do not strip it. If you > > could strip it > > then it would not be USB. > > Niklas Wennerstrand > > > > > > -----Ursprungligt meddelande----- > > Fr=E5n: pic microcontroller discussion list > > [mailto:PICLIST@MITVMA.MIT.EDU] > > F=F6r Douglas Butler > > Skickat: den 14 juni 2001 15:13 > > Till: PICLIST@MITVMA.MIT.EDU > > =C4mne: [PIC]: PIC as USB Master? > > > > I would like to connect one or two USB optical mice to a PIC > > (or Cypress > > if necessary) microcontroller for a motion digitizer project > > with no PC > > involved. I can find very little info on how the write code > > for the USB > > master. Minimal mouse function and usual mouse data rates are fine. > > > > Can anyone help? > > > > Douglas Butler > > Senior Engineer > > Imetrix Inc. > > 1235 Route 28A > > P.O. Box 152 > > Cataumet, MA 02534-0152 > > tel. (508) 564-6460 > > Fax (508) 564-6860 > > dbutler@imetrix.com > > > > -- > > http://www.piclist.com#nomail Going offline? Don't AutoReply us! > > email listserv@mitvma.mit.edu with SET PICList DIGEST in the body > > > > -- > > http://www.piclist.com#nomail Going offline? Don't AutoReply us! > > email listserv@mitvma.mit.edu with SET PICList DIGEST in the body > > > > >=20 > -- > http://www.piclist.com#nomail Going offline? Don't AutoReply us! > email listserv@mitvma.mit.edu with SET PICList DIGEST in the body >=20 > -- > http://www.piclist.com#nomail Going offline? Don't AutoReply us! > email listserv@mitvma.mit.edu with SET PICList DIGEST in the body >=20 >=20 -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body