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

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2013-01-27T18:02:19+02:00</updated>

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

		<entry>
		<author><name><![CDATA[bvi]]></name></author>
		<updated>2013-01-27T18:02:19+02:00</updated>

		<published>2013-01-27T18:02:19+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=8241&amp;p=24632#p24632</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=8241&amp;p=24632#p24632"/>
		<title type="html"><![CDATA[VUSB device resume PC from sleep mod.]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=8241&amp;p=24632#p24632"><![CDATA[
I got 2 keyboard, one USB keyboard (SVEN) and another VUSB keyboard (supports boot mode), but it cant power on PC form sleep mode (s3)  (SVEN USB keyboard can, it has Power Manegment option, VUSB dosnt (screenshots in attach)  Where is an option in VUSB library, that able to turn it on.<br />I tried editing USB HID Descriptor of my VUSB keyboard, jsut like SVEN USB kb has, didnt help.<br />Here is VUSB HID Descriptor<br /><div class="codebox"><p>Code: </p><pre><code>const PROGMEM char usbHidReportDescriptor&#91;USB_CFG_HID_REPORT_DESCRIPTOR_LENGTH&#93; = { <br />    0x05, 0x01,                    // USAGE_PAGE (Generic Desktop)<br />    0x09, 0x06,                    // USAGE (Keyboard)<br />    0xa1, 0x01,                    // COLLECTION (Application)<br />    0x05, 0x07,                    //   USAGE_PAGE (Keyboard)<br />    0x19, 0xe0,                    //   USAGE_MINIMUM (Keyboard LeftControl)<br />    0x29, 0xe7,                    //   USAGE_MAXIMUM (Keyboard Right GUI)<br />    0x15, 0x00,                    //   LOGICAL_MINIMUM (0)<br />    0x25, 0x01,                    //   LOGICAL_MAXIMUM (1)<br />    0x75, 0x01,                    //   REPORT_SIZE (1)<br />    0x95, 0x08,                    //   REPORT_COUNT (8)<br />    0x81, 0x02,                    //   INPUT (Data,Var,Abs)<br />    0x95, 0x01,                    //   REPORT_COUNT (1)<br />    0x75, 0x08,                    //   REPORT_SIZE (8)<br />    0x81, 0x03,                    //   INPUT (Cnst,Var,Abs)<br />    0x95, 0x05,                    //   REPORT_COUNT (5)<br />    0x75, 0x01,                    //   REPORT_SIZE (1)<br />    0x05, 0x08,                    //   USAGE_PAGE (LEDs)<br />    0x19, 0x01,                    //   USAGE_MINIMUM (Num Lock)<br />    0x29, 0x05,                    //   USAGE_MAXIMUM (Kana)<br />    0x91, 0x02,                    //   OUTPUT (Data,Var,Abs)<br />    0x95, 0x01,                    //   REPORT_COUNT (1)<br />    0x75, 0x03,                    //   REPORT_SIZE (3)<br />    0x91, 0x03,                    //   OUTPUT (Cnst,Var,Abs)<br />    0x95, 0x06,                    //   REPORT_COUNT (6)<br />    0x75, 0x08,                    //   REPORT_SIZE (8)<br />    0x15, 0x00,                    //   LOGICAL_MINIMUM (0)<br />    0x25, 0xff,                    //   LOGICAL_MAXIMUM (101)<br />    0x05, 0x07,                    //   USAGE_PAGE (Keyboard)<br />    0x19, 0x00,                    //   USAGE_MINIMUM (Reserved (no event indicated))<br />    0x29, 0xff,                    //   USAGE_MAXIMUM (Keyboard Application)<br />    0x81, 0x00,                    //   INPUT (Data,Ary,Abs)<br />    0xc0                           // END_COLLECTION  <br />};<br /></code></pre></div><br /><img src="http://electro.mk.ua/qwe/11111.PNG" class="postimage" alt="Image" /><br /><img src="http://electro.mk.ua/qwe/222222.PNG" class="postimage" alt="Image" /><br /><br />Any ideas ?<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=19489">bvi</a> — Sun Jan 27, 2013 6:02 pm</p><hr />
]]></content>
	</entry>
	</feed>
