<?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/1019" />

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2007-12-10T12:00:04+02:00</updated>

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

		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2007-12-10T12:00:04+02:00</updated>

		<published>2007-12-10T12:00:04+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1019&amp;p=3441#p3441</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1019&amp;p=3441#p3441"/>
		<title type="html"><![CDATA[Where is the Control Endpoint?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1019&amp;p=3441#p3441"><![CDATA[
The default control endpoint is endpoint 0. It need not be listed in the configuration descriptor's list of endpoints because it's always there and MUST be a control endpoint.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Mon Dec 10, 2007 12:00 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2007-12-05T17:01:52+02:00</updated>

		<published>2007-12-05T17:01:52+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1019&amp;p=3399#p3399</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1019&amp;p=3399#p3399"/>
		<title type="html"><![CDATA[Where is the Control Endpoint?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1019&amp;p=3399#p3399"><![CDATA[
Hi All,<br /><br />I started designing a little device which uses the obdev USB implementation<br /> <br />For the communication between the host and the device I would like to use the control endpoint. The problem is that the USB-Prober on Mac OS X says that the device has no endpoints:<br /><br /><br />        Device Class:   0   (Composite)<br />        Device Subclass:   0<br />        Device Protocol:   0<br />        Device MaxPacketSize:   8<br />        Device VendorID/ProductID:   0x1214/0x04E0   (unknown vendor)<br />        Device Version Number:   0x0001<br />        Number of Configurations:   1<br /><br />        Interface #0 - Unknown   <br />            Alternate Setting   0<br /> ---&gt;     Number of Endpoints   0<br />            Interface Class:   0   (Unknown)<br />            Interface Subclass;   0<br />            Interface Protocol:   0<br /><br />I guess this is not correct.<br /><br />The documentation says that the control endpint is the default and is alwas enabled, isn't it?<br /><br /><br />Is there anything I have to configure? I used the PowerSwitch firmware and removed most of the code from main.c to get a basic starting point for my own implementation.<br /><br />Here is what I call in the main function:<br /><div class="codebox"><p>Code: </p><pre><code>    usbInit&#40;&#41;;<br />   ir_init&#40;&#41;;<br />    sei&#40;&#41;;<br />    for&#40;;;&#41;&#123;    /* main event loop */<br />        usbPoll&#40;&#41;;<br />    &#125;<br />    return 0;<br /></code></pre></div><br /><br />What do I miss? I have tried other firmware implementations like the firmware for the IgorPlug, which shows me one endpint. <br />So, I think the hardware is basically ok.<br /><br />Thanks!<br /><br />Stefan<p>Statistics: Posted by Guest — Wed Dec 05, 2007 5:01 pm</p><hr />
]]></content>
	</entry>
	</feed>
