But, I think this is OK. When device re-attached to the bus. Host will issue
USB Reset on the bus. When USB Function controller receives Reset, it can
assume that the Bus is be detached and re-attached again.
So, if you don't have good way to detect the VBUS, you can send out faked
Detach and Attach event when USB Function controller receives Reset Event. A
lot of Microsoft USB Function Controller code does this.
David Liao
<heav...@gmail.com> wrote in message
news:1177226575.1...@y5g2000hsa.googlegroups.com...