<?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 — FIXED: Device not seen with HidSharp 2.0.5 on Mac]]></title>
		<link>https://swforum.seekye.com/topic/10115/</link>
		<atom:link href="https://swforum.seekye.com/feed/rss/topic/10115/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in FIXED: Device not seen with HidSharp 2.0.5 on Mac.]]></description>
		<lastBuildDate>Mon, 21 Jan 2019 21:02:12 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: FIXED: Device not seen with HidSharp 2.0.5 on Mac]]></title>
			<link>https://swforum.seekye.com/post/13024/#p13024</link>
			<description><![CDATA[<p>Fixed by James in version 2.0.8.<br />Thanks</p>]]></description>
			<author><![CDATA[null@example.com (croz)]]></author>
			<pubDate>Mon, 21 Jan 2019 21:02:12 +0000</pubDate>
			<guid>https://swforum.seekye.com/post/13024/#p13024</guid>
		</item>
		<item>
			<title><![CDATA[Re: FIXED: Device not seen with HidSharp 2.0.5 on Mac]]></title>
			<link>https://swforum.seekye.com/post/13022/#p13022</link>
			<description><![CDATA[<p>This is the output from HidSharpTest on Windows for the device in question...<br /></p><div class="codebox"><pre><code>\\?\hid#vid_1941&amp;pid_8021#6&amp;b0925ac&amp;0&amp;0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
(unnamed manufacturer) (unnamed product) (no serial number) (VID 6465, PID 32801, version 1.0)
Max Lengths: Input 9, Output 9, Feature 0
Serial Ports: 
Report Descriptor:
  06 A0 FF 09 01 A1 01 15 00 25 01 35 00 45 01 65 00 55 00 75 01 95 40 81 03 91 03 C1 00 (29 bytes)
  UsagePage 65440
  Usage 1
  Collection 1
    LogicalMinimum 0
    LogicalMaximum 1
    PhysicalMinimum 0
    PhysicalMaximum 1
    Unit 0
    UnitExponent 0
    ReportSize 1
    ReportCount 64
    Input 3
    Output 3
  EndCollection 0
Usage: FFA00001 4288675841
Input: ReportID=0, Length=9, Items=1
  64 Elements x 1 Bits, Units: None, Expected Usage Type: 0, Flags: Constant, Variable, Usages: 
Output: ReportID=0, Length=9, Items=1
  64 Elements x 1 Bits, Units: None, Expected Usage Type: 0, Flags: Constant, Variable, Usages: 
Opening device for 20 seconds...
Opened device.
Closed device.</code></pre></div><p>On a Mac, my test user just got this...<br /></p><div class="codebox"><pre><code>Device list changed.
Device list changed.
Device list changed.
Device list changed.
Device list changed.
Device list changed.
Device list changed.
Device list changed.
Complete device list (took 192 ms to get 0 devices):</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (croz)]]></author>
			<pubDate>Tue, 15 Jan 2019 21:04:17 +0000</pubDate>
			<guid>https://swforum.seekye.com/post/13022/#p13022</guid>
		</item>
		<item>
			<title><![CDATA[FIXED: Device not seen with HidSharp 2.0.5 on Mac]]></title>
			<link>https://swforum.seekye.com/post/13021/#p13021</link>
			<description><![CDATA[<p>I am trying to connect to a USB weather station. Previously using HidSharp 1.5 this worked fine on Windows, Linux and Mac. Now I have upgraded to HidSharp 2.0.5 (to remove the libudev 0 requirement), the device is still seen by users on Windows and Linux, but Mac users get a null return when calling GetHidDeviceOrNull() using the VID/PID.</p><p>I&#039;ve added code to list all the devices found when the program starts and this fails on Macs running 2.0.5, but works on Windows and Linux<br /></p><div class="codebox"><pre><code>DeviceList devicelist = DeviceList.Local;
LogMessage(&quot;Finding All USB HID Devices&quot;);
var allDevices = devicelist.GetAllDevices();
foreach (HidDevice dev in allDevices)
{
    LogMessage(&quot;  &quot; + dev.ToString());
}</code></pre></div><p>On Macs this hangs after outputting &quot;Finding All USB HID Devices&quot;<br />One user has macOS 10.14.2.<br />Mono 5.16.0.220, 64 bit.</p><p>Any ideas? What diagnostics I can gather for you?<br />I don&#039;t have a Mac so I&#039;m having to get users to run test code for me, and I cannot debug.</p>]]></description>
			<author><![CDATA[null@example.com (croz)]]></author>
			<pubDate>Tue, 15 Jan 2019 18:30:34 +0000</pubDate>
			<guid>https://swforum.seekye.com/post/13021/#p13021</guid>
		</item>
	</channel>
</rss>
