<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>After NCS 1.3.0 nRF Desktop LLPM is disconnected, there is no data on the USB.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/69565/after-ncs-1-3-0-nrf-desktop-llpm-is-disconnected-there-is-no-data-on-the-usb</link><description>I now integrate USB, BLE, LLPM, keyboard HID and Mouse HID to nrf52833. 
 When I added CONFIG_DESKTOP_HID_MOUSE=y, my project was abnormal. 
 BLE connection: Move Mouse and report keyboard work correctly. 
 USB connected: data cannot be reported to PC</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 25 Jan 2021 14:59:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/69565/after-ncs-1-3-0-nrf-desktop-llpm-is-disconnected-there-is-no-data-on-the-usb" /><item><title>RE: After NCS 1.3.0 nRF Desktop LLPM is disconnected, there is no data on the USB.</title><link>https://devzone.nordicsemi.com/thread/291081?ContentTypeID=1</link><pubDate>Mon, 25 Jan 2021 14:59:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f80a5c03-4b6d-4cbb-8d4b-543ba28e1c24</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;From my understanding the master branch should now support more than one HID report may be enabled, can you give it a go?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After NCS 1.3.0 nRF Desktop LLPM is disconnected, there is no data on the USB.</title><link>https://devzone.nordicsemi.com/thread/289585?ContentTypeID=1</link><pubDate>Sun, 17 Jan 2021 19:49:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ba8dd55-ecc6-43df-947f-beaa0a15bc72</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;They have started the work on this, I hope to have an update in a few days.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After NCS 1.3.0 nRF Desktop LLPM is disconnected, there is no data on the USB.</title><link>https://devzone.nordicsemi.com/thread/288431?ContentTypeID=1</link><pubDate>Mon, 11 Jan 2021 14:54:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:25b51a0a-048f-429f-a182-f5535ed779d6</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;I have created an internal request, I will update the case as soon as I learn more.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After NCS 1.3.0 nRF Desktop LLPM is disconnected, there is no data on the USB.</title><link>https://devzone.nordicsemi.com/thread/288072?ContentTypeID=1</link><pubDate>Fri, 08 Jan 2021 05:37:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4288192f-5d72-4676-a12e-6366dc388180</guid><dc:creator>helen</dc:creator><description>&lt;p&gt;Yes, the code of NCS desktop is great, and its compatibility is very good. I can easily modify the code to adapt to different hardware or chips. The connection mode and pairing options are easy to modify. But I do see the code on hid_state.c in a daze. Yes, this code is so rigorous that I can&amp;#39;t modify it.&lt;/p&gt;
&lt;p&gt;My product needs to realize the keyboard function of the notebook, it needs a touchpad. It can be connected to a laptop or tablet, which makes it compatible with HID mouse and HID keyboard. The current firmware (1.4.0) is compatible with multiple HID devices, and only BLE connections are available.&lt;/p&gt;
&lt;p&gt;Have you considered subsequently modifying the firmware to support compatibility with multiple HID devices? Because there are indeed customers who need this feature. This is in line with the original intention of NCS desktop, and the software can be configured according to the customer&amp;#39;s hardware or needs without the need to modify too much code logic.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After NCS 1.3.0 nRF Desktop LLPM is disconnected, there is no data on the USB.</title><link>https://devzone.nordicsemi.com/thread/288036?ContentTypeID=1</link><pubDate>Thu, 07 Jan 2021 19:53:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19555f63-c7c3-4058-9ab4-46a8b692485f</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Combining mouse and keyboard is something that we have &amp;quot;missed&amp;quot; in ncs1.3, we have added the functionality to ncs1.4.0. In general the problem is in hid_state - we have assumed all reports will go to &amp;quot;separate&amp;quot; transports (by separate I mean each handling its own state).&lt;br /&gt;​&lt;br /&gt;The problem with usb in ncs1.3.0 is that it can send only one report at a time so there is no way you can send both mouse and keyboard report as hid_state will not know how to handle it. &lt;br /&gt;​&lt;br /&gt;I believe this fix may have been backported to ncs1.3 - you can see the backported changes here: &lt;br /&gt;&lt;a href="https://github.com/pdunaj/fw-nrfconnect-nrf/commits/DESK-1072"&gt;https://github.com/pdunaj/fw-nrfconnect-nrf/commits/DESK-1072&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What you are interested in is: &lt;br /&gt;&lt;a href="https://github.com/pdunaj/fw-nrfconnect-nrf/commit/e4cf5d2af1f626d5e35ad0fc1ec0124996c63fd1"&gt;https://github.com/pdunaj/fw-nrfconnect-nrf/commit/e4cf5d2af1f626d5e35ad0fc1ec0124996c63fd1&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I recommend to have a look at all the changes - because some are fixing report descriptors to make them compliant. After you apply the fix the only thing needed to have mouse + keyboard reports on one peripheral device would be to enable these reports in kconfig.&lt;br /&gt;​&lt;br /&gt;There is however one thing to know - we still don&amp;#39;t support multiple usb hid class instances for peripheral. That is hid_state will NOT handle this situation right and we believe this was the problem that you were experiencing when trying out ncs1.4.0.&lt;br /&gt;​&lt;br /&gt;Since there is all the code needed (I believe) to redirect reports (in hid_state) to different instances of USB HID class, this should be doable, but you still you have to add some logic to correctly select which instance to use as a selected subscriber for a given report.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After NCS 1.3.0 nRF Desktop LLPM is disconnected, there is no data on the USB.</title><link>https://devzone.nordicsemi.com/thread/287963?ContentTypeID=1</link><pubDate>Thu, 07 Jan 2021 13:25:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:81ef8880-cdae-4845-add9-4376e6ad71b0</guid><dc:creator>helen</dc:creator><description>&lt;p class="md-end-block"&gt;&lt;span class=""&gt;I tried for a few days and still couldn&amp;rsquo;t achieve the desired effect.&lt;/span&gt;&lt;span class="md-softbreak"&gt; &lt;/span&gt;&lt;span class=""&gt;I made the following changes:&lt;/span&gt;&lt;/p&gt;
&lt;p class="md-end-block"&gt;&lt;/p&gt;
&lt;ol class="ol-list"&gt;
&lt;li class="md-list-item"&gt;
&lt;p class="md-end-block"&gt;&lt;span class=""&gt;usb_state.c&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p class="md-end-block"&gt;&lt;span class=""&gt;1.1 Modify usb_init usb_hid_device[1] as KEYBOARD and usb_hid_device[0] as MOUSE.&lt;/span&gt;&lt;/p&gt;
&lt;pre class="md-fences md-end-block ty-contain-cm modeLoaded" lang=""&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;        usb_hid_device[0].dev = device_get_binding(&amp;quot;HID_0&amp;quot;);
	if (usb_hid_device[0].dev == NULL) {
		LOG_ERR(&amp;quot;Cannot get USB HID 0 Device&amp;quot;);
		return 0;
	}

	usb_hid_register_device(usb_hid_device[0].dev, hid_mouse_report_desc,   // hid_kbd_report_desc   hid_mouse_report_desc
				sizeof(hid_mouse_report_desc),&amp;amp;hid_ops[0]);

	usb_hid_init(usb_hid_device[0].dev);


	usb_hid_device[1].dev = device_get_binding(&amp;quot;HID_1&amp;quot;);
	if (usb_hid_device[1].dev == NULL) {
		LOG_ERR(&amp;quot;Cannot get USB HID 1 Device&amp;quot;);
		return 0;
	}

	usb_hid_register_device(usb_hid_device[1].dev, hid_mouse_report_desc,
				sizeof(hid_mouse_report_desc),&amp;amp;hid_ops[1]);

	usb_hid_init(usb_hid_device[1].dev);&lt;/pre&gt;&lt;/pre&gt;
&lt;p class="md-end-block"&gt;&lt;/p&gt;
&lt;p class="md-end-block"&gt;&lt;span class=""&gt;2.hid_static.c&lt;/span&gt;&lt;/p&gt;
&lt;p class="md-end-block"&gt;&lt;/p&gt;
&lt;pre class="md-fences md-end-block ty-contain-cm modeLoaded" lang=""&gt;&lt;span&gt;#define SUBSCRIBER_COUNT (IS_ENABLED(CONFIG_DESKTOP_HIDS_ENABLE) + \&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&lt;span class="cm-tab"&gt;    &lt;/span&gt;&lt;span class="cm-tab"&gt;    &lt;/span&gt;&lt;span class="cm-tab"&gt;    &lt;/span&gt;  IS_ENABLED(CONFIG_DESKTOP_USB_ENABLE)+IS_ENABLED(CONFIG_DESKTOP_USB_ENABLE))&lt;/span&gt;&lt;/pre&gt;
&lt;p class="md-end-block"&gt;&lt;/p&gt;
&lt;p class="md-end-block"&gt;&lt;/p&gt;
&lt;p class="md-end-block"&gt;&lt;span class=""&gt;Modify hid_state struct to add an additional subscriber for usb_hid_device[1] (KEYBOARD).&lt;/span&gt;&lt;/p&gt;
&lt;pre class="md-fences md-end-block ty-contain-cm modeLoaded" lang=""&gt;&lt;span&gt;struct hid_state {&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&lt;span class="cm-tab"&gt;    &lt;/span&gt;struct report_data report_data[INPUT_REPORT_DATA_COUNT];&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&lt;span class="cm-tab"&gt;    &lt;/span&gt;struct subscriber subscriber[SUBSCRIBER_COUNT];&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&lt;span class="cm-tab"&gt;    &lt;/span&gt;struct subscriber *selected;&lt;/span&gt;&lt;br /&gt;&lt;span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;  struct subscriber *selected_extra;//！！&lt;/span&gt;&lt;br /&gt;&lt;span&gt;};&lt;/span&gt;&lt;/pre&gt;
&lt;p class="md-end-block"&gt;&lt;/p&gt;
&lt;p class="md-end-block"&gt;&lt;/p&gt;
&lt;pre class="md-fences md-end-block ty-contain-cm modeLoaded" lang=""&gt;&lt;span&gt;handle_usb_hid_event｛&lt;/span&gt;&lt;br /&gt;&lt;span&gt; &amp;nbsp;  if (event-&amp;gt;enabled) {&lt;/span&gt;&lt;br /&gt;&lt;span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;  //if (!get_subscriber_by_type(true)) { //Multiple USB subscribers can be added&lt;/span&gt;&lt;br /&gt;&lt;span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  connect_subscriber(event-&amp;gt;id, true, 1);&lt;/span&gt;&lt;br /&gt;&lt;span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;  //}&lt;/span&gt;&lt;br /&gt;&lt;span&gt; &amp;nbsp;  } else {&lt;/span&gt;&lt;br /&gt;&lt;span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;  disconnect_subscriber(event-&amp;gt;id);&lt;/span&gt;&lt;br /&gt;&lt;span&gt; &amp;nbsp;  }&lt;/span&gt;&lt;br /&gt;&lt;span&gt;｝&lt;/span&gt;&lt;/pre&gt;
&lt;p class="md-end-block"&gt;&lt;/p&gt;
&lt;p class="md-end-block"&gt;&lt;/p&gt;
&lt;p class="md-end-block"&gt;&lt;span class=""&gt;Assign the subscriber of MOUSE to state.selected KEYBOARD to state.selected_extra&lt;/span&gt;&lt;/p&gt;
&lt;p class="md-end-block"&gt;&lt;span class=""&gt; &lt;pre class="ui-code" data-mode="c_cpp"&gt;connect_subscriber｛

static uint8_t usb_count = 0; // sean 1.6
  usb_count++;// sean 1.6
//				for (size_t j = 0; j &amp;lt; ARRAY_SIZE(state.report_data); j++) { //sean 1.6
//					struct report_data *rd = &amp;amp;state.report_data[j];
//
//					rd-&amp;gt;linked_rs = NULL;
//					clear_report_data(rd);
//				}
                                  if(usb_count==1)
				state.selected = NULL;
                             
			}
                     
            if(usb_count == 2)
                  state.selected_extra = &amp;amp;state.subscriber[i];

			if (!state.selected ) {

                          if(usb_count==1)
                          {
                          state.selected = &amp;amp;state.subscriber[i];
                          LOG_INF(&amp;quot;!! Active subscriber %p %d&amp;quot;,state.selected-&amp;gt;id,i);
                          }

			}
			...
｝&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="md-end-block"&gt;&lt;/p&gt;
&lt;p class="md-end-block"&gt;&lt;span class=""&gt; Used state.selected_extra at the time of sending keyboard report&lt;/span&gt;&lt;/p&gt;
&lt;pre class="md-fences md-end-block ty-contain-cm modeLoaded" lang=""&gt;&lt;span&gt;send_report_keyboard&lt;/span&gt;&lt;br /&gt;&lt;span&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span&gt; &amp;nbsp; ... &lt;/span&gt;&lt;br /&gt;&lt;span&gt; &amp;nbsp;  event-&amp;gt;subscriber = state.selected_extra-&amp;gt;id;&lt;/span&gt;&lt;br /&gt;&lt;span&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span&gt;​&lt;/span&gt;&lt;br /&gt;&lt;span&gt;report_send{&lt;/span&gt;&lt;br /&gt;&lt;span&gt; &amp;nbsp;  ....&lt;/span&gt;&lt;br /&gt;&lt;span&gt; &amp;nbsp; &amp;nbsp; __ASSERT_NO_MSG(rs-&amp;gt;subscriber == state.selected || rs-&amp;gt;subscriber == state.selected_extra);&lt;/span&gt;&lt;br /&gt;&lt;span&gt; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;br /&gt;&lt;span&gt; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;br /&gt;&lt;span&gt;｝&lt;/span&gt;&lt;br /&gt;&lt;span&gt; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;/pre&gt;
&lt;p class="md-end-block"&gt;&lt;/p&gt;
&lt;p class="md-end-block"&gt;&lt;span&gt;Press the mouse, the mouse responds.&lt;/span&gt;&lt;/p&gt;
&lt;p class="md-end-block"&gt;&lt;span&gt;You can see that the code is executed to hid_int_ep_write&lt;/span&gt;&lt;/p&gt;
&lt;p class="md-end-block"&gt;&lt;span&gt;LOG print&lt;/span&gt;&lt;/p&gt;
&lt;p class="md-end-block"&gt;&lt;span&gt;usb_hid-&amp;gt;dev = 0x20000f18; usb_hid_device[1].dev = 0x20000f00&lt;/span&gt;&lt;/p&gt;
&lt;p class="md-end-block"&gt;&lt;span&gt;Note: usb_hid_device[0].dev = 0x20000f18 (MOUSE)&lt;/span&gt;&lt;/p&gt;
&lt;p class="md-end-block"&gt;&lt;/p&gt;
&lt;p class="md-end-block"&gt;&lt;span&gt;Press the keyboard, No characters output on PC ！！！&lt;/span&gt;&lt;/p&gt;
&lt;p class="md-end-block"&gt;&lt;span&gt;LOG print&lt;/span&gt;&lt;/p&gt;
&lt;p class="md-end-block"&gt;&lt;span&gt;usb_hid-&amp;gt;dev = 0x20000f00; usb_hid_device[1].dev = 0x20000f00&lt;/span&gt;&lt;/p&gt;
&lt;p class="md-end-block"&gt;&lt;span&gt;Note: usb_hid_device[1].dev = 0x20000f00 (KEYBOARD)&lt;/span&gt;&lt;/p&gt;
&lt;p class="md-end-block"&gt;&lt;span class="md-expand"&gt;But report_sent_cb is not executed.&lt;/span&gt;&lt;/p&gt;
&lt;p class="md-end-block"&gt;&lt;/p&gt;
&lt;p class="md-end-block md-focus"&gt;&lt;span class=""&gt;I tried many methods and I don&amp;#39;t know how to modify it!&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After NCS 1.3.0 nRF Desktop LLPM is disconnected, there is no data on the USB.</title><link>https://devzone.nordicsemi.com/thread/287265?ContentTypeID=1</link><pubDate>Mon, 04 Jan 2021 13:55:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc11bcb3-b34a-43ba-a67e-5355f83db6be</guid><dc:creator>Kenneth</dc:creator><description>&lt;div&gt;
&lt;p&gt;&lt;span&gt;At the moment mouse will use only one and subsequent usb devices are simply ignored: &lt;u&gt;&lt;a title="https://eur03.safelinks.protection.outlook.com/?url=https%3a%2f%2fgithub.com%2fnrfconnect%2fsdk-nrf%2fblob%2fv1.4.0%2fapplications%2fnrf_desktop%2fsrc%2fmodules%2fhid_state.c%23l1381&amp;amp;data=04%7c01%7cmarcus.chen%40nordicsemi.no%7ce7f59304f8ab4cc19d4508d88cb30cd9%7c28e5afa2bf6f419a8cf6b31c6e9e5e8d%7c0%7c0%7c637414047930819107%7cunknown%7ctwfpbgzsb3d8eyjwijoimc4wljawmdailcjqijoiv2lumziilcjbtii6ik1hawwilcjxvci6mn0%3d%7c1000&amp;amp;sdata=9qglo8k8i6vbtjlmvi4kxdzgfowz8buitkybrpqjemg%3d&amp;amp;reserved=0" href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnrfconnect%2Fsdk-nrf%2Fblob%2Fv1.4.0%2Fapplications%2Fnrf_desktop%2Fsrc%2Fmodules%2Fhid_state.c%23L1381&amp;amp;data=04%7C01%7CMarcus.Chen%40nordicsemi.no%7Ce7f59304f8ab4cc19d4508d88cb30cd9%7C28e5afa2bf6f419a8cf6b31c6e9e5e8d%7C0%7C0%7C637414047930819107%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;amp;sdata=9qgLo8K8I6VbtjLmvI4KXDzGFOwz8BuITKYBRpQJeMg%3D&amp;amp;reserved=0" rel="noopener noreferrer" target="_blank"&gt;https://github.com/nrfconnect/sdk-nrf/blob/v1.4.0/applications/nrf_desktop/src/modules/hid_state.c#L1381&lt;/a&gt;&lt;/u&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;And we have only one USB subscriber: &lt;u&gt;&lt;a title="https://eur03.safelinks.protection.outlook.com/?url=https%3a%2f%2fgithub.com%2fnrfconnect%2fsdk-nrf%2fblob%2fv1.4.0%2fapplications%2fnrf_desktop%2fsrc%2fmodules%2fhid_state.c%23l46&amp;amp;data=04%7c01%7cmarcus.chen%40nordicsemi.no%7ce7f59304f8ab4cc19d4508d88cb30cd9%7c28e5afa2bf6f419a8cf6b31c6e9e5e8d%7c0%7c0%7c637414047930819107%7cunknown%7ctwfpbgzsb3d8eyjwijoimc4wljawmdailcjqijoiv2lumziilcjbtii6ik1hawwilcjxvci6mn0%3d%7c1000&amp;amp;sdata=4cqzqgqbqcylygvnc0co1a2tt589nyckavfhvziqmmk%3d&amp;amp;reserved=0" href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnrfconnect%2Fsdk-nrf%2Fblob%2Fv1.4.0%2Fapplications%2Fnrf_desktop%2Fsrc%2Fmodules%2Fhid_state.c%23L46&amp;amp;data=04%7C01%7CMarcus.Chen%40nordicsemi.no%7Ce7f59304f8ab4cc19d4508d88cb30cd9%7C28e5afa2bf6f419a8cf6b31c6e9e5e8d%7C0%7C0%7C637414047930819107%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;amp;sdata=4CqzQGQBqCYlyGVnc0co1a2tt589nyCkAvfhvzIQmmk%3D&amp;amp;reserved=0" rel="noopener noreferrer" target="_blank"&gt;https://github.com/nrfconnect/sdk-nrf/blob/v1.4.0/applications/nrf_desktop/src/modules/hid_state.c#L46&lt;/a&gt;&lt;/u&gt;. You have to create one additional subscriber per USB HID device.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Then when USB connects it should overtake reports it wants (at the moment it overtakes all): &lt;u&gt;&lt;a title="https://eur03.safelinks.protection.outlook.com/?url=https%3a%2f%2fgithub.com%2fnrfconnect%2fsdk-nrf%2fblob%2fv1.4.0%2fapplications%2fnrf_desktop%2fsrc%2fmodules%2fhid_state.c%23l488&amp;amp;data=04%7c01%7cmarcus.chen%40nordicsemi.no%7ce7f59304f8ab4cc19d4508d88cb30cd9%7c28e5afa2bf6f419a8cf6b31c6e9e5e8d%7c0%7c0%7c637414047930819107%7cunknown%7ctwfpbgzsb3d8eyjwijoimc4wljawmdailcjqijoiv2lumziilcjbtii6ik1hawwilcjxvci6mn0%3d%7c1000&amp;amp;sdata=dzsbwgxxggl9q%2fziomyc7osf4r6s5wttuiwqorzmcko%3d&amp;amp;reserved=0" href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnrfconnect%2Fsdk-nrf%2Fblob%2Fv1.4.0%2Fapplications%2Fnrf_desktop%2Fsrc%2Fmodules%2Fhid_state.c%23L488&amp;amp;data=04%7C01%7CMarcus.Chen%40nordicsemi.no%7Ce7f59304f8ab4cc19d4508d88cb30cd9%7C28e5afa2bf6f419a8cf6b31c6e9e5e8d%7C0%7C0%7C637414047930819107%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;amp;sdata=dZSbWGXxggL9Q%2FzIoMyc7oSF4R6s5wTtuIWqOrZmcko%3D&amp;amp;reserved=0" rel="noopener noreferrer" target="_blank"&gt;https://github.com/nrfconnect/sdk-nrf/blob/v1.4.0/applications/nrf_desktop/src/modules/hid_state.c#L488&lt;/a&gt;&lt;/u&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Then module should allow different subscribers to use different reports at the same time (at the moment selected subscriber takes them all):&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;u&gt;&lt;a title="https://eur03.safelinks.protection.outlook.com/?url=https%3a%2f%2fgithub.com%2fnrfconnect%2fsdk-nrf%2fblob%2fv1.4.0%2fapplications%2fnrf_desktop%2fsrc%2fmodules%2fhid_state.c%23l1090&amp;amp;data=04%7c01%7cmarcus.chen%40nordicsemi.no%7ce7f59304f8ab4cc19d4508d88cb30cd9%7c28e5afa2bf6f419a8cf6b31c6e9e5e8d%7c0%7c0%7c637414047930829061%7cunknown%7ctwfpbgzsb3d8eyjwijoimc4wljawmdailcjqijoiv2lumziilcjbtii6ik1hawwilcjxvci6mn0%3d%7c1000&amp;amp;sdata=s7bpbpbatq%2fqzszkit%2fgcjq2upsemxio5eknlbkgpra%3d&amp;amp;reserved=0" href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnrfconnect%2Fsdk-nrf%2Fblob%2Fv1.4.0%2Fapplications%2Fnrf_desktop%2Fsrc%2Fmodules%2Fhid_state.c%23L1090&amp;amp;data=04%7C01%7CMarcus.Chen%40nordicsemi.no%7Ce7f59304f8ab4cc19d4508d88cb30cd9%7C28e5afa2bf6f419a8cf6b31c6e9e5e8d%7C0%7C0%7C637414047930829061%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;amp;sdata=S7bPBPbaTq%2FQZSZKit%2FGCJQ2UPSEMxiO5eKnlbKgprA%3D&amp;amp;reserved=0" rel="noopener noreferrer" target="_blank"&gt;https://github.com/nrfconnect/sdk-nrf/blob/v1.4.0/applications/nrf_desktop/src/modules/hid_state.c#L1090&lt;/a&gt;&lt;/u&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After NCS 1.3.0 nRF Desktop LLPM is disconnected, there is no data on the USB.</title><link>https://devzone.nordicsemi.com/thread/286620?ContentTypeID=1</link><pubDate>Mon, 28 Dec 2020 01:15:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f4496502-d7aa-432f-9ef3-5f0d0991b9f7</guid><dc:creator>helen</dc:creator><description>&lt;p&gt;I try to add HID mouse and HID keyboard device, and then connect the PC via USB.&lt;/p&gt;
&lt;p&gt;I can configure the mouse or keyboard separately, but there are problems when adding them at the same time. In usb_init of &lt;span style="text-decoration:underline;"&gt;usb_state.c&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Set CONFIG_USB_HID_DEVICE_COUNT = 2&lt;/p&gt;
&lt;p&gt;Set up&lt;br /&gt;CONFIG_DESKTOP_HID_REPORT_MOUSE_SUPPORT=1&lt;/p&gt;
&lt;p&gt;CONFIG_DESKTOP_HID_REPORT_KEYBOARD_SUPPORT=1&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If usb_hid_device[0] is initialized to MOUSE, MOUSE is available, but KEYBOARD is not available.&lt;br /&gt;If usb_hid_device[0] is initialized to KEYBOARD, KEYBOARD is available, but MOUSE is not available.&lt;/p&gt;
&lt;p&gt;An error occurs when using usb_hid_device[1]. After report_sent, enter the report_issued of &lt;span style="text-decoration:underline;"&gt;usb_state.c&lt;/span&gt; to report an error&lt;br /&gt; LOG_WRN(&amp;quot;No subscriber %p&amp;quot;, subscriber_id);&lt;br /&gt;Then MOUSE and KEYBOARD are not available.&lt;/p&gt;
&lt;p&gt;It seems that the logic of the code does not support modification to support both KEYBOARD device and MOUSE device connected via USB.&lt;br /&gt;So how should I modify it?&lt;br /&gt;Is it convenient to use build_nrf52840dk_nrf52840 to simulate? I have tried many modifications but failed to achieve the effect, and support KEYBOARD device and MOUSE device at the same time.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After NCS 1.3.0 nRF Desktop LLPM is disconnected, there is no data on the USB.</title><link>https://devzone.nordicsemi.com/thread/286023?ContentTypeID=1</link><pubDate>Mon, 21 Dec 2020 11:40:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0cc58f24-b0ca-4d0a-b78d-a0ffe8e523f7</guid><dc:creator>helen</dc:creator><description>&lt;p&gt;I tried 1.4.0 and adding CONFIG_DESKTOP_HID_MOUSE and CONFIG_DESKTOP_HID_KEYBOARD at the same time will cause the USB to not work. I need to know how to add two HID instances. I think I should take a look at Zephyr&amp;#39;s USB example.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After NCS 1.3.0 nRF Desktop LLPM is disconnected, there is no data on the USB.</title><link>https://devzone.nordicsemi.com/thread/286022?ContentTypeID=1</link><pubDate>Mon, 21 Dec 2020 11:40:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f6ae656-1027-41f7-93fc-59efcae0f16e</guid><dc:creator>helen</dc:creator><description>&lt;p&gt;I tried 1.4.0 and adding CONFIG_DESKTOP_HID_MOUSE and CONFIG_DESKTOP_HID_KEYBOARD at the same time will cause the USB to not work. I need to know how to add two HID instances. I think I should take a look at Zephyr&amp;#39;s USB example.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After NCS 1.3.0 nRF Desktop LLPM is disconnected, there is no data on the USB.</title><link>https://devzone.nordicsemi.com/thread/285432?ContentTypeID=1</link><pubDate>Wed, 16 Dec 2020 16:15:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d4adf7c-7fc5-4a12-9e7f-5977fcb2e4e0</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Have you tried the latest v1.4.1 release?&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>