<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: HID USB Driver / Library for .Net / C#</title>
	<atom:link href="http://www.florian-leitner.de/index.php/2007/08/03/hid-usb-driver-library/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.florian-leitner.de/index.php/2007/08/03/hid-usb-driver-library/</link>
	<description></description>
	<lastBuildDate>Sat, 18 Feb 2012 08:06:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: SANGWOO</title>
		<link>http://www.florian-leitner.de/index.php/2007/08/03/hid-usb-driver-library/#comment-3260</link>
		<dc:creator>SANGWOO</dc:creator>
		<pubDate>Sat, 18 Feb 2012 08:06:00 +0000</pubDate>
		<guid isPermaLink="false">http://florian-leitner.de/wordpress/index.php/2007/08/03/hid-usb-driver-library/#comment-3260</guid>
		<description>Your usb driver for embedded system is very helpful for but I have a little problem.

When WriteFile function (a function of krrnel.dll) is called,
it also returns error.
I got all true for usbconnection and CreatFile.
The deive is Atmel at91sam3u4e. I think the device should return some ack to the host PC.
Please help me to solve this problem. Thank you very much.</description>
		<content:encoded><![CDATA[<p>Your usb driver for embedded system is very helpful for but I have a little problem.</p>
<p>When WriteFile function (a function of krrnel.dll) is called,<br />
it also returns error.<br />
I got all true for usbconnection and CreatFile.<br />
The deive is Atmel at91sam3u4e. I think the device should return some ack to the host PC.<br />
Please help me to solve this problem. Thank you very much.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: emandel</title>
		<link>http://www.florian-leitner.de/index.php/2007/08/03/hid-usb-driver-library/#comment-3259</link>
		<dc:creator>emandel</dc:creator>
		<pubDate>Wed, 15 Feb 2012 16:15:42 +0000</pubDate>
		<guid isPermaLink="false">http://florian-leitner.de/wordpress/index.php/2007/08/03/hid-usb-driver-library/#comment-3259</guid>
		<description>Hi,
First of all, I wanted to thank you for publishing the code. Saved me alot of work... I modified it a bit to allow to specify from &quot;outside&quot; the vendorId, and PID but otherwise works fine. But....(there&#039;s always a but) after I encountered problems and narrowing it down a bit, I realized that it apparently doesn&#039;t support 64-bit. So... my question is... (a) Have you added support for this ? (b) Can you point me to to what needs to be changed for 64-bit to work ? (c) Do you know of someone else that has had the same issue and may have resolved it ?
Appreciate your help....</description>
		<content:encoded><![CDATA[<p>Hi,<br />
First of all, I wanted to thank you for publishing the code. Saved me alot of work&#8230; I modified it a bit to allow to specify from &#8220;outside&#8221; the vendorId, and PID but otherwise works fine. But&#8230;.(there&#8217;s always a but) after I encountered problems and narrowing it down a bit, I realized that it apparently doesn&#8217;t support 64-bit. So&#8230; my question is&#8230; (a) Have you added support for this ? (b) Can you point me to to what needs to be changed for 64-bit to work ? (c) Do you know of someone else that has had the same issue and may have resolved it ?<br />
Appreciate your help&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian</title>
		<link>http://www.florian-leitner.de/index.php/2007/08/03/hid-usb-driver-library/#comment-3258</link>
		<dc:creator>Christian</dc:creator>
		<pubDate>Sun, 12 Feb 2012 15:28:30 +0000</pubDate>
		<guid isPermaLink="false">http://florian-leitner.de/wordpress/index.php/2007/08/03/hid-usb-driver-library/#comment-3258</guid>
		<description>Hi!

I am playing around with this lib and trying to hack the Dream Cheeky USB Panik Button. I can read the data and detect if the button is pushed or not.

My problem now is: currently, I also have to run the original driver, as it seems to poll the button for its state ... and I would like to do this myself.

I have found out, that I would have to send
Set report 00 00 00 00 00 00 00 02
to it, in order to get the button state (doing so with e.g. SimpleHIDWrite.exe works fine).

If I now want to use your write-method, it seems to fail.
I get an &quot;The supplied user buffer is not valid for the requested operation&quot; error (implemented the windows error tracking:
		[DllImport( &quot;kernel32.dll&quot;, CharSet=CharSet.Auto )]
		public static extern int GetLastError();
)



Here is my piece of write code:

Byte[] writeBytes = new Byte[8];

writeBytes[0] = 0x00;
//writeBytes[0] = 0x00;
//writeBytes[1] = 0x00;
//writeBytes[2] = 0x00;
//writeBytes[3] = 0x00;
//writeBytes[4] = 0x00;
//writeBytes[5] = 0x00;
//writeBytes[6] = 0x00;
writeBytes[7] = 0x02;
//writeBytes[0] = 2;

bool ok = usb.write( writeBytes );



ok is always false.
Do you have any ideas?

Thanks!</description>
		<content:encoded><![CDATA[<p>Hi!</p>
<p>I am playing around with this lib and trying to hack the Dream Cheeky USB Panik Button. I can read the data and detect if the button is pushed or not.</p>
<p>My problem now is: currently, I also have to run the original driver, as it seems to poll the button for its state &#8230; and I would like to do this myself.</p>
<p>I have found out, that I would have to send<br />
Set report 00 00 00 00 00 00 00 02<br />
to it, in order to get the button state (doing so with e.g. SimpleHIDWrite.exe works fine).</p>
<p>If I now want to use your write-method, it seems to fail.<br />
I get an &#8220;The supplied user buffer is not valid for the requested operation&#8221; error (implemented the windows error tracking:<br />
		[DllImport( "kernel32.dll", CharSet=CharSet.Auto )]<br />
		public static extern int GetLastError();<br />
)</p>
<p>Here is my piece of write code:</p>
<p>Byte[] writeBytes = new Byte[8];</p>
<p>writeBytes[0] = 0&#215;00;<br />
//writeBytes[0] = 0&#215;00;<br />
//writeBytes[1] = 0&#215;00;<br />
//writeBytes[2] = 0&#215;00;<br />
//writeBytes[3] = 0&#215;00;<br />
//writeBytes[4] = 0&#215;00;<br />
//writeBytes[5] = 0&#215;00;<br />
//writeBytes[6] = 0&#215;00;<br />
writeBytes[7] = 0&#215;02;<br />
//writeBytes[0] = 2;</p>
<p>bool ok = usb.write( writeBytes );</p>
<p>ok is always false.<br />
Do you have any ideas?</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jedineon</title>
		<link>http://www.florian-leitner.de/index.php/2007/08/03/hid-usb-driver-library/#comment-3254</link>
		<dc:creator>Jedineon</dc:creator>
		<pubDate>Sat, 28 Jan 2012 17:46:58 +0000</pubDate>
		<guid isPermaLink="false">http://florian-leitner.de/wordpress/index.php/2007/08/03/hid-usb-driver-library/#comment-3254</guid>
		<description>here I wrote a small tutorial with the mod I made to the code... hope it works for you!
http://xene.it/index.php/en/fsx-cockpiteng/37-hid-usb-driver-library-for-c-mod-to-florian-leitners-libr.html</description>
		<content:encoded><![CDATA[<p>here I wrote a small tutorial with the mod I made to the code&#8230; hope it works for you!<br />
<a href="http://xene.it/index.php/en/fsx-cockpiteng/37-hid-usb-driver-library-for-c-mod-to-florian-leitners-libr.html" rel="nofollow">http://xene.it/index.php/en/fsx-cockpiteng/37-hid-usb-driver-library-for-c-mod-to-florian-leitners-libr.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mard</title>
		<link>http://www.florian-leitner.de/index.php/2007/08/03/hid-usb-driver-library/#comment-3253</link>
		<dc:creator>mard</dc:creator>
		<pubDate>Sat, 28 Jan 2012 16:14:49 +0000</pubDate>
		<guid isPermaLink="false">http://florian-leitner.de/wordpress/index.php/2007/08/03/hid-usb-driver-library/#comment-3253</guid>
		<description>Hi Jedineon: I am now looking for some solution about false usbhid.write() function. I examined the USBHIDLIBRARY source code and I am not sure that the hidHandle is created two times. Are you sure? May you public your modification? If you have no possible place to publish the correct version, I offer to you that you can freely to publish it at our server www.mcu.cz.</description>
		<content:encoded><![CDATA[<p>Hi Jedineon: I am now looking for some solution about false usbhid.write() function. I examined the USBHIDLIBRARY source code and I am not sure that the hidHandle is created two times. Are you sure? May you public your modification? If you have no possible place to publish the correct version, I offer to you that you can freely to publish it at our server <a href="http://www.mcu.cz" rel="nofollow">http://www.mcu.cz</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ram</title>
		<link>http://www.florian-leitner.de/index.php/2007/08/03/hid-usb-driver-library/#comment-3251</link>
		<dc:creator>ram</dc:creator>
		<pubDate>Wed, 25 Jan 2012 16:31:52 +0000</pubDate>
		<guid isPermaLink="false">http://florian-leitner.de/wordpress/index.php/2007/08/03/hid-usb-driver-library/#comment-3251</guid>
		<description>good work,
I am using c# 2008, i am not able to send the data to usb , can u please him me on this , if possible cau u send me a working code.
                         thank you.</description>
		<content:encoded><![CDATA[<p>good work,<br />
I am using c# 2008, i am not able to send the data to usb , can u please him me on this , if possible cau u send me a working code.<br />
                         thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jedineon</title>
		<link>http://www.florian-leitner.de/index.php/2007/08/03/hid-usb-driver-library/#comment-3242</link>
		<dc:creator>Jedineon</dc:creator>
		<pubDate>Sun, 08 Jan 2012 01:17:19 +0000</pubDate>
		<guid isPermaLink="false">http://florian-leitner.de/wordpress/index.php/2007/08/03/hid-usb-driver-library/#comment-3242</guid>
		<description>Yes!!! The problem is that the hidHandle is created 2 times, so the second handler created is used for the WriteFile function... and since this handler points nowhere (on in a protected location, don&#039;t know), I think, it hangs... For it seems that if during debug I force the first handler created in the WriteFile function everything goes well and the WriteFile returns 1!</description>
		<content:encoded><![CDATA[<p>Yes!!! The problem is that the hidHandle is created 2 times, so the second handler created is used for the WriteFile function&#8230; and since this handler points nowhere (on in a protected location, don&#8217;t know), I think, it hangs&#8230; For it seems that if during debug I force the first handler created in the WriteFile function everything goes well and the WriteFile returns 1!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jedineon</title>
		<link>http://www.florian-leitner.de/index.php/2007/08/03/hid-usb-driver-library/#comment-3241</link>
		<dc:creator>Jedineon</dc:creator>
		<pubDate>Sat, 07 Jan 2012 19:58:42 +0000</pubDate>
		<guid isPermaLink="false">http://florian-leitner.de/wordpress/index.php/2007/08/03/hid-usb-driver-library/#comment-3241</guid>
		<description>I&#039;ve found the problem with the Write() function!!! The HidHandle that is passed to the WriteFile Function is WRONG!!! So it hangs....</description>
		<content:encoded><![CDATA[<p>I&#8217;ve found the problem with the Write() function!!! The HidHandle that is passed to the WriteFile Function is WRONG!!! So it hangs&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lorenzo</title>
		<link>http://www.florian-leitner.de/index.php/2007/08/03/hid-usb-driver-library/#comment-3209</link>
		<dc:creator>Lorenzo</dc:creator>
		<pubDate>Sat, 10 Dec 2011 12:10:26 +0000</pubDate>
		<guid isPermaLink="false">http://florian-leitner.de/wordpress/index.php/2007/08/03/hid-usb-driver-library/#comment-3209</guid>
		<description>thank you for posting the code. it would be great if the companies that make these things would give sharing a try. it&#039;s hard to even find basic information about these products. I believe there are 3 versions now. 1.0 is serial over usb, 2.0 is hid, and I saw a 3.0 on usbfever.com . I&#039;ve rewritten some other code I found online to get the TEMPer 1.0 to work in visual basic 6, but I haven&#039;t attempted anything hid yet. has anyone rewritten the code in vb6 and got it to work? here&#039;s my email address http://mattsoft.net/myemail.gif I would extremely appreciate it if anyone could send me any vb6 code they have for the temper hid. even if you haven&#039;t gotten it to work yet, maybe I can figure it out. when I get something working, I&#039;ll post it on planetsourcecode.com</description>
		<content:encoded><![CDATA[<p>thank you for posting the code. it would be great if the companies that make these things would give sharing a try. it&#8217;s hard to even find basic information about these products. I believe there are 3 versions now. 1.0 is serial over usb, 2.0 is hid, and I saw a 3.0 on usbfever.com . I&#8217;ve rewritten some other code I found online to get the TEMPer 1.0 to work in visual basic 6, but I haven&#8217;t attempted anything hid yet. has anyone rewritten the code in vb6 and got it to work? here&#8217;s my email address <a href="http://mattsoft.net/myemail.gif" rel="nofollow">http://mattsoft.net/myemail.gif</a> I would extremely appreciate it if anyone could send me any vb6 code they have for the temper hid. even if you haven&#8217;t gotten it to work yet, maybe I can figure it out. when I get something working, I&#8217;ll post it on planetsourcecode.com</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mudassir</title>
		<link>http://www.florian-leitner.de/index.php/2007/08/03/hid-usb-driver-library/#comment-3201</link>
		<dc:creator>mudassir</dc:creator>
		<pubDate>Thu, 08 Dec 2011 14:48:01 +0000</pubDate>
		<guid isPermaLink="false">http://florian-leitner.de/wordpress/index.php/2007/08/03/hid-usb-driver-library/#comment-3201</guid>
		<description>please help me. post an example or reading and writing data.</description>
		<content:encoded><![CDATA[<p>please help me. post an example or reading and writing data.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

