Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Why my USB bulk device driver hangs and requires a restart ofmachine? Experts and Guru's please comment.



 

Hi All,

 

I am also facing this problem. What I did in Application:

 

1. Open the device

2. Get Configuration descriptor from device

3. Set the configuration value on device

4. Close the device

 

When I run the above steps in succession, my application hangs at third step that is while set the configuration value. The gdb shows following trace

#0  0x90007878 in mach_msg_trap ()

#1  0x900073f8 in mach_msg ()

#2  0x901c16e0 in __CFRunLoopRun ()

#3  0x901c5e6c in CFRunLoopRunSpecific ()

#4  0x92885f60 in RunCurrentEventLoopInMode ()

#5  0x9288c6c8 in ReceiveNextEventCommon ()

#6  0x928ae6a0 in BlockUntilNextEventMatchingListInMode ()

#7  0x92e827bc in _DPSNextEvent ()

#8  0x92e99240 in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] ()

#9  0x92ead5c0 in -[NSApplication run] ()

#10 0x72421b2c in +[AWTStarter startAWT:] ()

#11 0x90a4b120 in __NSFireMainThreadPerform ()

#12 0x90214618 in __CFRunLoopPerformPerform ()

#13 0x901c3c88 in __CFRunLoopDoSources0 ()

#14 0x901c1540 in __CFRunLoopRun ()

#15 0x901c5e6c in CFRunLoopRunSpecific ()

#16 0x00006698 in ?? ()

#17 0x00003d10 in ?? ()

#18 0x00003b84 in ?? ()

 

Any pointers what could be wrong ?? I have observed this behavior on Panther 10.3.9 and Tiger 10.4.5. Could it be the problem of number of bytes expected for configuration value(4 bytes vs 12 bytes))??

Appreciate your any inputs on this issue.

TIA,

-Priti


The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

www.wipro.com
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Usb mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/usb/email@hidden

This email sent to email@hidden

References: 
 >Why my USB bulk device driver hangs and requires a restart of machine? Experts and Guru's please comment. (From: "rohit dhamija" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.