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

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2015-10-18T13:54:19+02:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2015-10-18T13:54:19+02:00</updated>

		<published>2015-10-18T13:54:19+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=3790&amp;p=30410#p30410</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=3790&amp;p=30410#p30410"/>
		<title type="html"><![CDATA[Re: Wakeup the system]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=3790&amp;p=30410#p30410"><![CDATA[
I've implemented remote wakeup in my project of ps2usb translator and it works like charm <img class="smilies" src="./../../../images/smilies/icon_smile.gif" alt=":)" title="Smile" /><br /><br /><!-- m --><a class="postlink" href="https://github.com/robszy/ps2usb/blob/master/ps2usb/src/keyboard.c#L112">https://github.com/robszy/ps2usb/blob/m ... ard.c#L112</a><!-- m --><br /><br />I only wait 10 ms and it never failed <img class="smilies" src="./../../../images/smilies/icon_smile.gif" alt=":)" title="Smile" /><br /><br /><br />regards,<br />Robert<p>Statistics: Posted by Guest — Sun Oct 18, 2015 1:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2015-09-04T18:38:07+02:00</updated>

		<published>2015-09-04T18:38:07+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=3790&amp;p=30211#p30211</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=3790&amp;p=30211#p30211"/>
		<title type="html"><![CDATA[Re: Wakeup the system]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=3790&amp;p=30211#p30211"><![CDATA[
It probably won't harm. I think the host is just prepared to receive remote wake.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Fri Sep 04, 2015 6:38 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[kalidomra]]></name></author>
		<updated>2015-09-04T17:44:29+02:00</updated>

		<published>2015-09-04T17:44:29+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=3790&amp;p=30210#p30210</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=3790&amp;p=30210#p30210"/>
		<title type="html"><![CDATA[Re: Wakeup the system]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=3790&amp;p=30210#p30210"><![CDATA[
Not sure if this is the right way or to add a user configurable variable to the config file and check it here with a pre-processor. Either way this works. The Power Management tab shows up in the windows device setting now.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=21557">kalidomra</a> — Fri Sep 04, 2015 5:44 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2015-09-04T11:47:12+02:00</updated>

		<published>2015-09-04T11:47:12+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=3790&amp;p=30208#p30208</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=3790&amp;p=30208#p30208"/>
		<title type="html"><![CDATA[Re: Wakeup the system]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=3790&amp;p=30208#p30208"><![CDATA[
Thanks for the hint! I've added it in the master branch on Github.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Fri Sep 04, 2015 11:47 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[kalidomra]]></name></author>
		<updated>2015-09-03T23:11:26+02:00</updated>

		<published>2015-09-03T23:11:26+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=3790&amp;p=30206#p30206</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=3790&amp;p=30206#p30206"/>
		<title type="html"><![CDATA[Re: Wakeup the system]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=3790&amp;p=30206#p30206"><![CDATA[
This is a little old but I think V-USB is missing the USBATTR_REMOTEWAKE bit. Would it be correct to add it here in usbdrv.c:<br /><br /><div class="codebox"><p>Code: </p><pre><code>#if USB_CFG_IS_SELF_POWERED<br />    (1 &lt;&lt; 7) | USBATTR_SELFPOWER | USBATTR_REMOTEWAKE,       /* attributes */<br />#else<br />    (1 &lt;&lt; 7)|USBATTR_REMOTEWAKE,                           /* attributes */<br />#endif</code></pre></div><p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=21557">kalidomra</a> — Thu Sep 03, 2015 11:11 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2013-05-26T20:29:16+02:00</updated>

		<published>2013-05-26T20:29:16+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=3790&amp;p=25319#p25319</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=3790&amp;p=25319#p25319"/>
		<title type="html"><![CDATA[Re: Wakeup the system]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=3790&amp;p=25319#p25319"><![CDATA[
Very interesting. I cannot google how to set/use USBATTR_REMOTEWAKE in V-USB HID device (keyboard). Could you please explain how to implement and use this feature?<p>Statistics: Posted by Guest — Sun May 26, 2013 8:29 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[bvi]]></name></author>
		<updated>2013-01-29T19:59:28+02:00</updated>

		<published>2013-01-29T19:59:28+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=3790&amp;p=24646#p24646</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=3790&amp;p=24646#p24646"/>
		<title type="html"><![CDATA[Re: Wakeup the system]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=3790&amp;p=24646#p24646"><![CDATA[
1. USB host should support this.<br />2. In the descriptor to enable USBATTR_REMOTEWAKE.<br /><br /><div class="codebox"><p>Code: </p><pre><code>void wake_up_signal()<br />{<br />cli();<br />char ps_p = PORTD;<br />char ps_ddr = DDRD;<br />PORTD |=(1&lt;&lt;PD2);<br />PORTD &amp;= ~(1&lt;&lt;PD1);<br />DDRD |= (1&lt;&lt;PD2)|(1&lt;&lt;PD1);<br />_delay_ms(100);<br />PORTD ^=(1&lt;&lt;PD2);<br />PORTD ^=(1&lt;&lt;PD1);<br />_delay_ms(3);<br />PORTD =ps_p;<br />DDRD = ps_ddr;<br />  sei();<br />}</code></pre></div><br /><br />It works =)<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=19489">bvi</a> — Tue Jan 29, 2013 7:59 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2012-03-27T04:14:45+02:00</updated>

		<published>2012-03-27T04:14:45+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=3790&amp;p=21240#p21240</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=3790&amp;p=21240#p21240"/>
		<title type="html"><![CDATA[Re: Wakeup the system]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=3790&amp;p=21240#p21240"><![CDATA[
Hi,I'm confused with this problem,too. Have you finished the problem?I have tried the ways above,and as what you had done,it didn't work.I don't know what to do.How about you?<p>Statistics: Posted by Guest — Tue Mar 27, 2012 4:14 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2010-01-20T22:01:06+02:00</updated>

		<published>2010-01-20T22:01:06+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=3790&amp;p=12936#p12936</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=3790&amp;p=12936#p12936"/>
		<title type="html"><![CDATA[Re: Wakeup the system]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=3790&amp;p=12936#p12936"><![CDATA[
It was stupid to measure with the device disconnected, I guess... since a device has to signal its presence with a high on a data line. So, this is no real problem.<br />But I don't know what else I could test...<p>Statistics: Posted by Guest — Wed Jan 20, 2010 10:01 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2010-01-20T19:04:30+02:00</updated>

		<published>2010-01-20T19:04:30+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=3790&amp;p=12933#p12933</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=3790&amp;p=12933#p12933"/>
		<title type="html"><![CDATA[Re: Wakeup the system]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=3790&amp;p=12933#p12933"><![CDATA[
This is not suspend mode, at least according to the specs...<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Wed Jan 20, 2010 7:04 pm</p><hr />
]]></content>
	</entry>
	</feed>
