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

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2010-06-06T18:15:54+02:00</updated>

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

		<entry>
		<author><name><![CDATA[mojo]]></name></author>
		<updated>2010-06-06T18:15:54+02:00</updated>

		<published>2010-06-06T18:15:54+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=4123&amp;p=14705#p14705</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=4123&amp;p=14705#p14705"/>
		<title type="html"><![CDATA[Re: Two HID joysticks from one device]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=4123&amp;p=14705#p14705"><![CDATA[
Kash, I guess you are referring to the Linux HID driver. I will pass the info on to my Linux guy and report back if it works. Thanks for the hint!<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=892">mojo</a> — Sun Jun 06, 2010 6:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2010-06-06T16:29:50+02:00</updated>

		<published>2010-06-06T16:29:50+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=4123&amp;p=14704#p14704</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=4123&amp;p=14704#p14704"/>
		<title type="html"><![CDATA[Re: Two HID joysticks from one device]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=4123&amp;p=14704#p14704"><![CDATA[
Get this problem solved. The only thing you have to do - specify &quot;HID_QUIRK_MULTI_INPUT&quot; for your device in drivers/hid/hidusb/hid-quirks.c<br /><div class="codebox"><p>Code: </p><pre><code>{ USB_VENDOR_ID_KASH, USB_DEVICE_ID_KASH_JOY, HID_QUIRK_MULTI_INPUT },</code></pre></div><br />USB_VENDOR_ID_KASH and USB_DEVICE_ID_KASH_JOY defined in drivers/hid/hid-ids.h. rebuild, reboot and you have two input interfaces.<br />Good luck.<p>Statistics: Posted by Guest — Sun Jun 06, 2010 4:29 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mojo]]></name></author>
		<updated>2010-04-25T12:32:45+02:00</updated>

		<published>2010-04-25T12:32:45+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=4123&amp;p=14243#p14243</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=4123&amp;p=14243#p14243"/>
		<title type="html"><![CDATA[Re: Two HID joysticks from one device]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=4123&amp;p=14243#p14243"><![CDATA[
I did understand what you were getting at and attempted to implement it. I must have done something wrong I suppose. It's not an elegant solution either way and presents further problems for me because my device (Retro Adapter) re-configures itself on the fly by disconnecting, changing the USB config, device and HID descriptors and then re-connecting. From the look of it V-USB needs EP3 support compiled in so I would have to make some further changes to deal with that.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=892">mojo</a> — Sun Apr 25, 2010 12:32 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Grendel]]></name></author>
		<updated>2010-04-25T07:54:05+02:00</updated>

		<published>2010-04-25T07:54:05+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=4123&amp;p=14238#p14238</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=4123&amp;p=14238#p14238"/>
		<title type="html"><![CDATA[Re: Two HID joysticks from one device]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=4123&amp;p=14238#p14238"><![CDATA[
When I said interface, I ment interface as described in USB 2.0 chapter 9.6.5. You need to add a 2nd interface descriptor to the configuration descriptor, followed by another HID descriptor and a endpoint descriptor for EP3. A 2nd report descriptor needs to be connected to that interface as well. I'm sure there's more that needs to be taken care of, hence I said &quot;needs some research&quot;.. <img class="smilies" src="./../../../images/smilies/icon_wink.gif" alt=";)" title="Wink" /><p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=101">Grendel</a> — Sun Apr 25, 2010 7:54 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mojo]]></name></author>
		<updated>2010-04-23T19:40:41+02:00</updated>

		<published>2010-04-23T19:40:41+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=4123&amp;p=14229#p14229</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=4123&amp;p=14229#p14229"/>
		<title type="html"><![CDATA[Re: Two HID joysticks from one device]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=4123&amp;p=14229#p14229"><![CDATA[
Well I think the short answer is that Linux users are boned.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=892">mojo</a> — Fri Apr 23, 2010 7:40 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ulao]]></name></author>
		<updated>2010-04-21T00:37:10+02:00</updated>

		<published>2010-04-21T00:37:10+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=4123&amp;p=14195#p14195</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=4123&amp;p=14195#p14195"/>
		<title type="html"><![CDATA[Re: Two HID joysticks from one device]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=4123&amp;p=14195#p14195"><![CDATA[
<blockquote class="uncited"><div>Oh, and I looked on Ralph's site but couldn't see where he did it that way.</div></blockquote> Yeah, Grendel fixed his post to clear up the confusion. I'd like to see how you make out.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=1281">ulao</a> — Wed Apr 21, 2010 12:37 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mojo]]></name></author>
		<updated>2010-04-20T22:29:10+02:00</updated>

		<published>2010-04-20T22:29:10+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=4123&amp;p=14193#p14193</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=4123&amp;p=14193#p14193"/>
		<title type="html"><![CDATA[Re: Two HID joysticks from one device]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=4123&amp;p=14193#p14193"><![CDATA[
Okay, so just for clarity, using two endpoints works and I should try implementing it?<br /><br />Oh, and I looked on Ralph's site but couldn't see where he did it that way.<br /><br />-- EDIT --<br /><br />I tried it and could not get it to work. To further complicate things even if it can be made to work then I need to be able to switch on the fly, which means dynamic configuration descriptors which do not appear to be supported in the driver as it references the descriptor by name rather than querying it.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=892">mojo</a> — Tue Apr 20, 2010 10:29 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Grendel]]></name></author>
		<updated>2010-04-20T21:47:20+02:00</updated>

		<published>2010-04-20T21:47:20+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=4123&amp;p=14190#p14190</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=4123&amp;p=14190#p14190"/>
		<title type="html"><![CDATA[Re: Two HID joysticks from one device]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=4123&amp;p=14190#p14190"><![CDATA[
<blockquote><div><cite>ulao wrote:</cite>Grendel, I believe the goal is to achieve two devices to show up. This is the acceptable work around others have done and in fact its what Ralh did on his page.</div></blockquote><br />Yes and no. The goal is to have two <em class="text-italics">joysticks</em> to show up. Using a single report descriptor w/ two reports seems to work w/ Windows (and it should) but not Linux. I just pointed out an alternative way to have two joysticks in one device.<br /><br />Edited my post above for clarity.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=101">Grendel</a> — Tue Apr 20, 2010 9:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ulao]]></name></author>
		<updated>2010-04-20T02:44:45+02:00</updated>

		<published>2010-04-20T02:44:45+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=4123&amp;p=14187#p14187</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=4123&amp;p=14187#p14187"/>
		<title type="html"><![CDATA[Re: Two HID joysticks from one device]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=4123&amp;p=14187#p14187"><![CDATA[
<blockquote class="uncited"><div>I noticed one thing which may be of interest. V-USB reports USB version 0x10, 0x01. Most USB 1.1 devices seem to go with 0x01, 0x01. I will send a test firmware to my Linux tester to see if it makes any difference.</div></blockquote> <br />If you look a few posts down you will see that was already answered.<br /><!-- l --><a class="postlink-local" href="http://forums.obdev.at/viewtopic.php?f=8&amp;t=4146">viewtopic.php?f=8&amp;t=4146</a><!-- l --><br /><br />Grendel, I believe the goal is to achieve two devices to show up. This is the acceptable work around others have done and in fact its what Ralh did on his page.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=1281">ulao</a> — Tue Apr 20, 2010 2:44 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Grendel]]></name></author>
		<updated>2010-04-20T21:52:59+02:00 </updated>

		<published>2010-04-20T02:41:07+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=4123&amp;p=14186#p14186</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=4123&amp;p=14186#p14186"/>
		<title type="html"><![CDATA[Re: Two HID joysticks from one device]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=4123&amp;p=14186#p14186"><![CDATA[
Instead of having two reports in one report descriptor you could set up a 2nd interface using endpoint 3 (optional EP in V-USB). Have one stick on EP 1, the other on on 3. This is from the top of my head (getting a bit rusty here <img class="smilies" src="./../../../images/smilies/icon_wink.gif" alt=";)" title="Wink" />), you'll have to research the specifics.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=101">Grendel</a> — Tue Apr 20, 2010 2:41 am</p><hr />
]]></content>
	</entry>
	</feed>
