<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[James's Programming Page — DeviceList.Local.GetHidDevices does not list all devices on Ubuntu 19]]></title>
		<link>https://swforum.seekye.com/topic/10128/</link>
		<atom:link href="https://swforum.seekye.com/feed/rss/topic/10128/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in DeviceList.Local.GetHidDevices does not list all devices on Ubuntu 19.]]></description>
		<lastBuildDate>Thu, 16 Jan 2020 03:08:35 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: DeviceList.Local.GetHidDevices does not list all devices on Ubuntu 19]]></title>
			<link>https://swforum.seekye.com/post/13108/#p13108</link>
			<description><![CDATA[<p>Turns out this really not an HidSharp issue but rather an issue specifically with Ubuntu 19.x<br />I have created a question on AskUbuntu but not much feedback up until now:</p><p><a href="https://askubuntu.com/questions/1202799/why-doesnt-udev-automatically-map-my-usb-device-to-the-usbhid-driver-on-every-s">https://askubuntu.com/questions/1202799 … on-every-s</a></p>]]></description>
			<author><![CDATA[null@example.com (timothyp)]]></author>
			<pubDate>Thu, 16 Jan 2020 03:08:35 +0000</pubDate>
			<guid>https://swforum.seekye.com/post/13108/#p13108</guid>
		</item>
		<item>
			<title><![CDATA[Re: DeviceList.Local.GetHidDevices does not list all devices on Ubuntu 19]]></title>
			<link>https://swforum.seekye.com/post/13105/#p13105</link>
			<description><![CDATA[<p>After doing some research I found that on one system the hidusb driver is automatically assigned to my device<br />and on that system everything works fine.</p><p>But on two other systems with the exact same udev rules and also Ubuntu 19.10 the usbhid driver is not automatically assigned.</p><p>So on the working system lsbusb -t looks like this:</p><div class="codebox"><pre><code>Port 4: Dev 3, If 1, Class=Human Interface Device, Driver=usbhid, 12M</code></pre></div><p>But on the other systems it looks like:</p><div class="codebox"><pre><code>Port 4: Dev 3, If 1, Class=Human Interface Device, Driver=  12M</code></pre></div><p>And then I can manually assign the driver like this:</p><div class="codebox"><pre><code>echo -n &quot;4-3:1.0&quot; &gt; /sys/bus/usb/drivers/usbhid/bind </code></pre></div><p>At this point HidSharp can detect the device but I cannot actually use it.<br />Do you have any idea what the difference between those systems might be?</p>]]></description>
			<author><![CDATA[null@example.com (timothyp)]]></author>
			<pubDate>Tue, 14 Jan 2020 00:56:00 +0000</pubDate>
			<guid>https://swforum.seekye.com/post/13105/#p13105</guid>
		</item>
		<item>
			<title><![CDATA[Re: DeviceList.Local.GetHidDevices does not list all devices on Ubuntu 19]]></title>
			<link>https://swforum.seekye.com/post/13104/#p13104</link>
			<description><![CDATA[<p>It seems this does not work on every computer.<br />Just installed Ubuntu 19.10 on a&nbsp; laptop and the only device `.GetHidDevices` and `GetAllDevices` returns is a single wireless controller.&nbsp; <br />`lsusb` on the other hand does list all my devices.</p><p>So for some reason, I cannot see any other devices on this system, even though the udev rules are in place and the device,<br />when connected, is given a proper name as defined by my rules.&nbsp; </p><p>What can I do to help debug this issue?</p>]]></description>
			<author><![CDATA[null@example.com (timothyp)]]></author>
			<pubDate>Mon, 13 Jan 2020 01:17:59 +0000</pubDate>
			<guid>https://swforum.seekye.com/post/13104/#p13104</guid>
		</item>
		<item>
			<title><![CDATA[Re: DeviceList.Local.GetHidDevices does not list all devices on Ubuntu 19]]></title>
			<link>https://swforum.seekye.com/post/13072/#p13072</link>
			<description><![CDATA[<p>As I was typing the message I realized that I might have to add a rules files</p><p>/etc/udev/rules.d/50-SomeDeviceName</p><p>With the following content:</p><p>SUBSYSTEM==&quot;usb&quot;,ATTRS{idVendor}==&quot;0483&quot;,ATTRS{idProduct}==&quot;5750&quot;,MODE=&quot;0660&quot;,GROUP=&quot;mygroup&quot;,SYMLINK+=&quot;mydev%n&quot;<br />KERNEL==&quot;hidraw*&quot;, SUBSYSTEM==&quot;hidraw&quot;, MODE=&quot;0664&quot;, GROUP=&quot;mygroup&quot;</p><p>And reboot.</p>]]></description>
			<author><![CDATA[null@example.com (timothyp)]]></author>
			<pubDate>Thu, 11 Jul 2019 08:21:49 +0000</pubDate>
			<guid>https://swforum.seekye.com/post/13072/#p13072</guid>
		</item>
		<item>
			<title><![CDATA[DeviceList.Local.GetHidDevices does not list all devices on Ubuntu 19]]></title>
			<link>https://swforum.seekye.com/post/13071/#p13071</link>
			<description><![CDATA[<p>I have a number of different systems running Linux:</p><p>14.04<br />18.04<br />19.04<br />19.10</p><p>On 14.04 and 18.04 when I call `DeviceList.Local.GetHidDevices ` I get all HID devices&nbsp; including our custom devices. <br />However, on Ubuntu 19.04 and 19.10 I do not get all HID devices.&nbsp; </p><p>Microsoft Tranceiver, VID: 0x045E, PID: 0x07A5 is returned on all versions of Ubuntu<br />Custom HID Device 1, VID: 0x1A86, PID: 0xE0E0 is returned on all versions of Ubuntu<br />Custom HID Device 2, VID: 0x483, PID: 0x5750 does not show up on Ubuntu 19.04 and 19.10</p><p>On all systems `lsusb` finds all the devices.</p><p>While this is probably more related to Ubuntu than the library, I am wondering if anyone has any idea what might be causing this.</p><p>Update:</p><p>On Ubuntu &lt; 19&nbsp; `lsusb -t` specifies a driver for the devices that are not found on Ubuntu &gt;= 19 <br />while on Ubuntu &gt;= 19 `lsusb -t ` does not.</p><p>For example on Ubuntu 18.04:<br />Port 6: Dev 13, If 0, Class=Human Interface Device, Driver=usbhid, 12M</p><p>On Ubuntu 19.04<br />Port 2: Dev 3, If 0, Class=Human Interface Device, Driver=, 12M</p>]]></description>
			<author><![CDATA[null@example.com (timothyp)]]></author>
			<pubDate>Thu, 11 Jul 2019 08:10:43 +0000</pubDate>
			<guid>https://swforum.seekye.com/post/13071/#p13071</guid>
		</item>
	</channel>
</rss>
