Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

how does windows know that usb mouse is plugged-in?

Status
Not open for further replies.

abdalla

Member level 4
Joined
Mar 22, 2006
Messages
79
Helped
2
Reputation
4
Reaction score
1
Trophy points
1,288
Activity points
1,802
HI,

how does windows know that usb mouse is plugged-in?

although i didn`t install any Driver??



thx
 

Re: how windows knows that mouse usb is plugged ?

abdalla said:
HI,


how windows knows that USB mouse is plugged in ?

although i didn`t install any Driver??



thx

Sure It asking Google :D:D:D:D:D:D
 

how windows knows that mouse usb is plugged ?

once we plug it in it gets supply from the port and it notifies it has been plugged in by setting a particular data line high or low...
 

Re: how windows knows that mouse usb is plugged ?

Hi,
Yes, to be more specific, when no device is plugged into a USB port, the D+ and D- lines of the USB port will be in low state. If the device pluggedin is a full speed USB device(12Mbps), a resistor connected to Vcc line of the port inside the device will pull up the D+ line and in case of a slow speed USB device (1.5Mbps), the D- line will be pulled up. This change of DC voltage of the data line will be detected by the USB hub.
The PC software regularly keeps polling each connected hub to find out if any new device is connected to it and the hub in turn replies back when a device connection is detected. Then the PC software initiates its enumeration checks and finds out the hardware details of the connected device. It in turn looks for matching device driver software that best suits the connected hardware and allocates to it. If no suitable software is found, it flashes on screen a message as an 'unknown device found'.
Regards,
Laktronics
 

Re: how windows knows that mouse usb is plugged ?

laktronics said:
Hi,
Yes, to be more specific, when no device is plugged into a USB port, the D+ and D- lines of the USB port will be in low state. If the device pluggedin is a full speed USB device(12Mbps), a resistor connected to Vcc line of the port inside the device will pull up the D+ line and in case of a slow speed USB device (1.5Mbps), the D- line will be pulled up. This change of DC voltage of the data line will be detected by the USB hub.
The PC software regularly keeps polling each connected hub to find out if any new device is connected to it and the hub in turn replies back when a device connection is detected. Then the PC software initiates its enumeration checks and finds out the hardware details of the connected device. It in turn looks for matching device driver software that best suits the connected hardware and allocates to it. If no suitable software is found, it flashes on screen a message as an 'unknown device found'.
Regards,
Laktronics

thx so much is there something called HID mouse protocol??

thx
 


Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top