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

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2009-09-22T10:21:44+02:00</updated>

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

		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2009-09-22T10:21:44+02:00</updated>

		<published>2009-09-22T10:21:44+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=3196&amp;p=11049#p11049</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=3196&amp;p=11049#p11049"/>
		<title type="html"><![CDATA[Re: 2 V-USB Devices merged to a Composite Device?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=3196&amp;p=11049#p11049"><![CDATA[
You can replace every USB descriptor with your own version by defining USB_CFG_DESCR_PROPS_DEVICE, USB_CFG_DESCR_PROPS_CONFIGURATION and so on. You can supply your own version in flash memory or as return value from a function call.<br /><br />Don't know whether you actually need a composite device, though. You can easily send your custom requests to a CDC (or whatever) class device and they will arrive in usbFunctionSetup(). Just make sure that your request IDs don't conflict with the class requests.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Tue Sep 22, 2009 10:21 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Kai.n]]></name></author>
		<updated>2009-09-02T12:42:37+02:00</updated>

		<published>2009-09-02T12:42:37+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=3196&amp;p=10793#p10793</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=3196&amp;p=10793#p10793"/>
		<title type="html"><![CDATA[2 V-USB Devices merged to a Composite Device?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=3196&amp;p=10793#p10793"><![CDATA[
Hey!<br /><br />we got 2 V-USB driven USB-Devices, a CDC device and a costum device.<br />Our aim is now to get these two devices to one single composite device, but we actually don't have a real idea how <img class="smilies" src="./../../../images/smilies/icon_smile.gif" alt=":)" title="Smile" /><br /><br />What we found out by now:<br />- We need to modify the descriptors to multiple interfaces<br />- We need to change the event-handler so the Packet with the right ID gets to the right Interface.<br /><br />Now we have 2 problems:<br />- with the descriptor setting based on #define's i have no idea how to change the descriptor. Is there a way to change the descriptor directly? (well, beneath changing the lib itself <img class="smilies" src="./../../../images/smilies/icon_wink.gif" alt=";)" title="Wink" /> )<br /><br />- the event-handler bases on USB_Poll, how do we get the right data to the right interface?<br /><br />Maybe it should have been the first question, but is it possible using the V-USB library?<br />The Wiki doesn't even know the word &quot;composite&quot; <img class="smilies" src="./../../../images/smilies/icon_sad.gif" alt=":(" title="Sad" /><br /><br />Any help will be appreciated,<br />Thanks,<br />Kai<br /><br /><br />*edit* and one more thing:<br />it is correct that combining them in a composite is the right way as we don't want to change ANYTHING on the drive for the costum device, is it?<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=2742">Kai.n</a> — Wed Sep 02, 2009 12:42 pm</p><hr />
]]></content>
	</entry>
	</feed>
