Solved!
 
I used "usbmon | grep <device>".
-  Anytime I disconnect, a package with 2 = 0800 (\0) is send.
-  Anytime I reconnect, I get 2 = 0880.
 
See the following datadump:
 
b7561700 4084115033 C Ii:1:011:1 0:1 29 = 000000f0 00000000 00000000 
00000000 00000000 00000000 00000000 00
b7561700 4084115124 S Ii:1:011:1 -115:1 32 <
b7561700 4084121118 C Ii:1:011:1 0:1 29 = 000100f0 00130000 000089fa 
c802bafd f4fe0000 00000000 00000000 00
b7561700 4084121178 S Ii:1:011:1 -115:1 32 <
b7561700 4084132241 C Ii:1:011:1 0:1 29 = 000000f0 00000000 00000000 
00000000 00000000 00000000 00000000 00
b7561700 4084132274 S Ii:1:011:1 -115:1 32 <
b7561700 4085828438 C Ii:1:011:1 0:1 29 = 000100f0 00130000 000089fa 
c8024ffc f4fe0000 00000000 00000000 00
b7561700 4085828492 S Ii:1:011:1 -115:1 32 <
b7561700 4086345138 C Ii:1:011:1 0:1 *2 = 0800*
b7561700 4086345161 S Ii:1:011:1 -115:1 32 <
b7561700 1171227 C Ii:1:011:1 0:1 *2 = 0880*
b7561700 1171254 S Ii:1:011:1 -115:1 32 <
b7561700 1173350 C Ii:1:011:1 0:1 29 = 000f00f0 00ccff91 0d10b3c1 e0500020 
1323201d 30034001 5001ffff ff
b7561700 1173431 S Ii:1:011:1 -115:1 32 <
b7561700 1174983 C Ii:1:011:1 0:1 29 = 00010013 22130000 000089fa c0fb9000 
77fe0000 00000000 00000000 00
b7561700 1175043 S Ii:1:011:1 -115:1 32 <
b7561700 1181980 C Ii:1:011:1 0:1 29 = 00010000 20130000 000008fb c0fb0901 
77fe0000 00000000 00000000 00
b7561700 1182035 S Ii:1:011:1 -115:1 32 <
 
So I trigger on that. How to trigger?
 
Search for usbmon.c / usbmon.h.
 
Include usbmon.h
Get the IOCTL-Event and some Data Structurers from usbmon.c 
 

Andre

 

 

 

 

 

 

 
 
 

-- 
You received this message because you are subscribed to the Google Groups 
"xboxdrv" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/xboxdrv.
For more options, visit https://groups.google.com/d/optout.

Reply via email to