hello everyone,
i'm told o start with "Usb 2.0 drivers" under "wdm architecture"(win 2k).
The preferred device was "Usb Mouse".
Now, i'm in a dilemma where to start with. Do i have to know about Human
input devices(hid) and exactly where my usb mouse driver will fit in the
wdm-hid-usb drivers. how to proceed. can anyone give me some guidance. just
reading ddk and wdm didnt help me, i'm not getting a starting point and
where to start with.

and also can anyone suggest me a good USB book which will explain the
concepts, by any author

Thanks in advance, hope i get the answers to my querries


--
Prashanth R M
--------------------------------------------------------
Global Edge Software Ltd.
No. 218, JP Royale, Sampige road,
Bangalore- 560003
Voice: 3467944 (ext) 475, Mobile : 98861-45641
Fax:3467948

Re: USB MOUSE- WDM by Eliyas

Eliyas
Tue Nov 18 10:41:05 CST 2003

What do you mean by preferred device? Is that the device your company is
making or that's the device you chose to learn about USB. USB devices for
keyboard, mouse & joysticks have to be HID devices. If you build a device
following the MS spec, you don't have to write any drivers. You can save
money on buying a WDM book.

Start here http://www.microsoft.com/whdc/hwdev/tech/input/default.mspx

--
-Eliyas
This posting is provided "AS IS" with no warranties, and confers no rights.
http://www.microsoft.com/whdc/hwdev/driver/kb-drv.mspx



Re: USB MOUSE- WDM by Ray

Ray
Tue Nov 18 14:54:38 CST 2003

If you do end up needing to write a driver (for a "mouse" that has
extended non-OS/HID-supported functionality but that needs to boot as a
mouse) there are a few options.

The most straightforward is giving the device a separate USB interface
for the extended functionality, and writing a standard USB driver for
that part of it.

It's also possible to install yourself in such a way as to be able to
"hijack" the HID mouse stack and tell your device to use an alternate
report for your extended functionality. However, be prepared for lots of
headaches in getting it to work right. It's an undocumented pain in the
butt.

Eliyas Yakub [MSFT] wrote:

> What do you mean by preferred device? Is that the device your company is
> making or that's the device you chose to learn about USB. USB devices for
> keyboard, mouse & joysticks have to be HID devices. If you build a device
> following the MS spec, you don't have to write any drivers. You can save
> money on buying a WDM book.
>
> Start here http://www.microsoft.com/whdc/hwdev/tech/input/default.mspx
>

--
../ray\..

Re: USB MOUSE- WDM by Robert

Robert
Wed Nov 19 02:52:53 CST 2003

Ray Trent wrote:
> If you do end up needing to write a driver (for a "mouse" that has
> extended non-OS/HID-supported functionality but that needs to boot as a
> mouse) there are a few options.
>
> The most straightforward is giving the device a separate USB interface
> for the extended functionality, and writing a standard USB driver for
> that part of it.

No. It is easier to handle that with feature reports.


Re: USB MOUSE- WDM by Prashanth

Prashanth
Fri Nov 21 03:08:04 CST 2003


hi
thanks for the concern
by "preferred device" means the one which is assigned to us. Ours is a
start up company and company wanted to build a drivers team and i'm assigned
to learn wdm- usb drivers. we are given a usb mouse to start with and we
need to learn how to write drivers for a usb mouse. so we need to code. i'm
not getting where exactly to start with and how to proceed. what all
knowledge i should have. i got "wdm" book by "walter oney" and "universal
serial bus system architecture" by "don anderson".
but i'm confused about hid concepts and driver layering. what exactly should
i do?
and i'm not given the data sheet for usb mouse(or any mouse), if somebody
got the data sheet can u please forward it to me
refer me some sites to get information about all these
thanks in advance
--
Prashanth R M
--------------------------------------------------------
Global Edge Software Ltd.
No. 218, JP Royale, Sampige road,
Bangalore- 560003
Voice: 3467944 (ext) 475, Mobile : 98861-45641
Fax:3467948
"Eliyas Yakub [MSFT]" <eliyasy@online.microsoft.com> wrote in message
news:OcL7DLfrDHA.2820@TK2MSFTNGP10.phx.gbl...
> What do you mean by preferred device? Is that the device your company is
> making or that's the device you chose to learn about USB. USB devices for
> keyboard, mouse & joysticks have to be HID devices. If you build a device
> following the MS spec, you don't have to write any drivers. You can save
> money on buying a WDM book.
>
> Start here http://www.microsoft.com/whdc/hwdev/tech/input/default.mspx
>
> --
> -Eliyas
> This posting is provided "AS IS" with no warranties, and confers no
rights.
> http://www.microsoft.com/whdc/hwdev/driver/kb-drv.mspx
>
>



Re: USB MOUSE- WDM by Ray

Ray
Fri Nov 21 17:24:42 CST 2003

The answer to this is: normally you don't write any drivers for USB
mice, you just set up the firmware correctly and let the HID system deal
with it for you.

Any other answer would require knowing what it is specifically that you
want to do.

Prashanth R M wrote:

> hi
> thanks for the concern
> by "preferred device" means the one which is assigned to us. Ours is a
> start up company and company wanted to build a drivers team and i'm assigned
> to learn wdm- usb drivers. we are given a usb mouse to start with and we
> need to learn how to write drivers for a usb mouse. so we need to code. i'm
> not getting where exactly to start with and how to proceed. what all
> knowledge i should have. i got "wdm" book by "walter oney" and "universal
> serial bus system architecture" by "don anderson".
> but i'm confused about hid concepts and driver layering. what exactly should
> i do?
> and i'm not given the data sheet for usb mouse(or any mouse), if somebody
> got the data sheet can u please forward it to me
> refer me some sites to get information about all these
> thanks in advance

--
../ray\..

Re: USB MOUSE- WDM by Prashanth

Prashanth
Mon Nov 24 04:03:34 CST 2003

thanks again,
but we are still in dilemma, what to do next, how to proceed
We chose Usb mouse for our learning purposes. to learn how to write usb
drivers under wdm . but now it seems to be difficult. is theres no way for
us to code and learn using usb mouse (hid)? we thought mouse will be simpler
to write

Sorry to disturb u all again





--
Prashanth R M
--------------------------------------------------------
Global Edge Software Ltd.
No. 218, JP Royale, Sampige road,
Bangalore- 560003
Voice: 3467944 (ext) 475, Mobile : 98861-45641
Fax:3467948
"Ray Trent" <rat@synaptics.com.spamblock> wrote in message
news:%23QjclaIsDHA.2440@TK2MSFTNGP12.phx.gbl...
> The answer to this is: normally you don't write any drivers for USB
> mice, you just set up the firmware correctly and let the HID system deal
> with it for you.
>
> Any other answer would require knowing what it is specifically that you
> want to do.
>
> Prashanth R M wrote:
>
> > hi
> > thanks for the concern
> > by "preferred device" means the one which is assigned to us. Ours is a
> > start up company and company wanted to build a drivers team and i'm
assigned
> > to learn wdm- usb drivers. we are given a usb mouse to start with and we
> > need to learn how to write drivers for a usb mouse. so we need to code.
i'm
> > not getting where exactly to start with and how to proceed. what all
> > knowledge i should have. i got "wdm" book by "walter oney" and
"universal
> > serial bus system architecture" by "don anderson".
> > but i'm confused about hid concepts and driver layering. what exactly
should
> > i do?
> > and i'm not given the data sheet for usb mouse(or any mouse), if
somebody
> > got the data sheet can u please forward it to me
> > refer me some sites to get information about all these
> > thanks in advance
>
> --
> ../ray\..