<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forums.obdev.at/app.php/feed/topic/9981" />

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2015-08-17T01:16:48+02:00</updated>

	<author><name><![CDATA[Objective Development Forums]]></name></author>
	<id>https://forums.obdev.at/app.php/feed/topic/9981</id>

		<entry>
		<author><name><![CDATA[ulao]]></name></author>
		<updated>2015-08-17T01:16:48+02:00</updated>

		<published>2015-08-17T01:16:48+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=9981&amp;p=30127#p30127</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=9981&amp;p=30127#p30127"/>
		<title type="html"><![CDATA[xbox 360s, huge device config, will it work?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=9981&amp;p=30127#p30127"><![CDATA[
Will this even work on v-usb? Does v-usb have enough endpoints?<br /><br /><div class="codebox"><p>Code: </p><pre><code>9,        //bLength (length of interface descriptor 9 bytes)<br />  4,        //bDescriptorType (4 is interface)<br />  0,        //bInterfaceNumber (This is interface 0)<br />  0,        //bAlternateSetting (used to select alternate setting.  notused)<br />  2,        //bNumEndpoints (this interface has 2 endpoints)<br />  0xFF,      //bInterfaceClass (Vendor Defined is 255)<br />  0x5D,      //bInterfaceSubClass<br />  0x01,      //bInterfaceProtocol<br />  0,        //iInterface (Index of string descriptor for describing this notused)<br />  //Some sort of common descriptor? I pulled this from Message Analyzer dumps of an actual controller<br />  17,33,0,1,1,37,129,20,0,0,0,0,19,2,8,0,0,<br />  //Endpoint 1 IN<br />  7,        //bLength (length of ep1in in descriptor 7 bytes)<br />  5,        //bDescriptorType (5 is endpoint)<br />  0x81,      //bEndpointAddress (0x81 is IN1)<br />  0x03,      //bmAttributes (0x03 is interrupt no synch, usage type data)<br />  0x20, 0x00,    //wMaxPacketSize (0x0020 is 1x32 bytes)<br />  4,        //bInterval (polling interval in frames 4 frames)<br />  //Endpoint 2 OUT<br />  7,        //bLength (length of ep2out in descriptor 7 bytes)<br />  5,        //bDescriptorType (5 is endpoint)<br />  0x02,      //bEndpointAddress (0x02 is OUT2)<br />  0x03,      //bmAttributes (0x03 is interrupt no synch, usage type data)<br />  0x20, 0x00,    //wMaxPacketSize (0x0020 is 1x32 bytes)<br />  8,        //bInterval (polling interval in frames 8 frames)<br />//Interface 1<br />  9,        //bLength (length of interface descriptor 9 bytes)<br />  4,        //bDescriptorType (4 is interface)<br />  1,        //bInterfaceNumber (This is interface 1)<br />  0,        //bAlternateSetting (used to select alternate setting.  notused)<br />  4,        //bNumEndpoints (this interface has 4 endpoints)<br />  0xFF,      //bInterfaceClass (Vendor Defined is 255)<br />  0x5D,      //bInterfaceSubClass (93)<br />  0x03,      //bInterfaceProtocol (3)<br />  0,        //iInterface (Index of string descriptor for describing this notused)<br />  //A different common descriptor? I pulled this from Message Analyzer dumps of an actual controller<br />  27,33,0,1,1,1,131,64,1,4,32,22,133,0,0,0,0,0,0,22,5,0,0,0,0,0,0,<br />  //Endpoint 3 IN<br />  7,        //bLength (length of ep3in descriptor 7 bytes)<br />  5,        //bDescriptorType (5 is endpoint)<br />  0x83,      //bEndpointAddress (0x83 is IN3)<br />  0x03,      //bmAttributes (0x03 is interrupt no synch, usage type data)<br />  0x20, 0x00,    //wMaxPacketSize (0x0020 is 1x32 bytes)<br />  2,        //bInterval (polling interval in frames 2 frames)<br />  //Endpoint 4 OUT<br />  7,        //bLength (length of ep4out descriptor 7 bytes)<br />  5,        //bDescriptorType (5 is endpoint)<br />  0x04,      //bEndpointAddress (0x04 is OUT4)<br />  0x03,      //bmAttributes (0x03 is interrupt no synch, usage type data)<br />  0x20, 0x00,    //wMaxPacketSize (0x0020 is 1x32 bytes)<br />  4,        //bInterval (polling interval in frames 4 frames)<br />  //Endpoint 5 IN<br />  7,        //bLength (length of ep5in descriptor 7 bytes)<br />  5,        //bDescriptorType (5 is endpoint)<br />  0x85,      //bEndpointAddress (0x85 is IN5)<br />  0x03,      //bmAttributes (0x03 is interrupt no synch, usage type data)<br />  0x20, 0x00,    //wMaxPacketSize (0x0020 is 1x32 bytes)<br />  64,        //bInterval (polling interval in frames 64 frames)<br />  //Endpoint 5 OUT (shares endpoint number with previous)<br />  7,        //bLength (length of ep5out descriptor 7 bytes)<br />  5,        //bDescriptorType (5 is endpoint)<br />  0x05,      //bEndpointAddress (0x05 is OUT5)<br />  0x03,      //bmAttributes (0x03 is interrupt no synch, usage type data)<br />  0x20, 0x00,    //wMaxPacketSize (0x0020 is 1x32 bytes)<br />  16,        //bInterval (polling interval in frames 16 frames)<br />//Interface 2<br />  9,        //bLength (length of interface descriptor 9 bytes)<br />  4,        //bDescriptorType (4 is interface)<br />  2,        //bInterfaceNumber (This is interface 2)<br />  0,        //bAlternateSetting (used to select alternate setting.  notused)<br />  1,        //bNumEndpoints (this interface has 4 endpoints)<br />  0xFF,      //bInterfaceClass (Vendor Defined is 255)<br />  0x5D,      //bInterfaceSubClass (93)<br />  0x02,      //bInterfaceProtocol (3)<br />  0,        //iInterface (Index of string descriptor for describing this notused)<br />  //Common Descriptor.  Seems that these come after every interface description?<br />  9,33,0,1,1,34,134,7,0,<br />  //Endpoint 6 IN<br />  7,        //bLength (length of ep6in descriptor 7 bytes)<br />  5,        //bDescriptorType (5 is endpoint)<br />  0x86,      //bEndpointAddress (0x86 is IN6)<br />  0x03,      //bmAttributes (0x03 is interrupt no synch, usage type data)<br />  0x20, 0x00,    //wMaxPacketSize (0x0020 is 1x32 bytes)<br />  16,        //bInterval (polling interval in frames 64 frames)+<br />//Interface 3<br />//This is the interface on which all the security handshaking takes place<br />//We don't use this but it could be used for man-in-the-middle stuff<br />  9,        //bLength (length of interface descriptor 9 bytes)<br />  4,        //bDescriptorType (4 is interface)<br />  3,        //bInterfaceNumber (This is interface 3)<br />  0,        //bAlternateSetting (used to select alternate setting.  notused)<br />  0,        //bNumEndpoints (this interface has 0 endpoints ???)<br />  0xFF,      //bInterfaceClass (Vendor Defined is 255)<br />  0xFD,      //bInterfaceSubClass (253)<br />  0x13,      //bInterfaceProtocol (19)<br />  4,        //iInterface (Computer never asks for this, but an x360 would. so include one day?)<br />  //Another interface another Common Descriptor<br />  6,65,0,1,1,3</code></pre></div><p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=1281">ulao</a> — Mon Aug 17, 2015 1:16 am</p><hr />
]]></content>
	</entry>
	</feed>
