Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

USB HID Driver stops working after an hour of being idle

Status
Not open for further replies.

alzomor

Advanced Member level 2
Joined
Jun 9, 2005
Messages
678
Helped
39
Reputation
78
Reaction score
8
Trophy points
1,298
Location
Cairo
Activity points
6,417
Hi

I have developed a USB HID driver using the hid.dll of windows.
but I face the following problem
If i didn't send any commands to the USB device for About an hour and then try sending again the USB devise don't respont.
In order to get the application respond again I close the application and open it again.

Do you have any sugetions?
Dose Windows OS unload the drivers after timeout of being idle , and how to overcome this problem ? if this is the problem

Salam
Hossam Alzomor
 

Guees

Newbie level 4
Joined
Jul 23, 2005
Messages
7
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,342
usbhiddriver

Hi, sorry I can't help you to solve your problem because I'm a newbie. >"<
Anyway I have a question to ask you. How did you indicated to the PC what device is that? For example if I plugin a mouse to the PC's USB port how the PC knows it is a mouse? Because I'm doing my project & have this difficulty. Hope you can give me some guide. Thanks

Best regards,
Noobie
 

alzomor

Advanced Member level 2
Joined
Jun 9, 2005
Messages
678
Helped
39
Reputation
78
Reaction score
8
Trophy points
1,298
Location
Cairo
Activity points
6,417
usb hid driver

Hi

You can use the device Discreptors to specify your prephiral function
Read some information about USB discriptors & HID.

you can find

"USB compelete" under the ebooks of edaboard


you can search the net for "usb in a nutshell "

Salam
Hossam
 

mami_hacky

Full Member level 6
Joined
Mar 28, 2002
Messages
337
Helped
18
Reputation
36
Reaction score
11
Trophy points
1,298
Location
Some where
Activity points
3,428
how to use usbhiddriver.dll

What is your USB device? Is it build by yourself? Are you sure that your hardware is ok?

I'm wondering why not to use windows available drivers. Why did you develope a driver yourself?
 

alzomor

Advanced Member level 2
Joined
Jun 9, 2005
Messages
678
Helped
39
Reputation
78
Reaction score
8
Trophy points
1,298
Location
Cairo
Activity points
6,417
usbhid in a nutshell

My Device is ST72F621J4T
I built the HW & FW myself
I think so becuse my device work good with Jungo windriver
Actually I am using the available windows driver HID.dll , I just built an application to use this dll

Salam
Hossam Alzomor
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top