LinuxHidStream GetFeature buffer offset
I am trying to use HidSharp on Ubuntu 18.04 to interface with a blink(1) mk2 device.SetFeature works great, but I seem to be running into an issue with GetFeature, which I believe to be with the...
View ArticleSerialWatcherThread() taking too much CPU time? - Performance Profiler
I've been inspecting my app for performance issues, and I was surprised when I noticed an indication that the SerialWatcherThread() is taking a considerably high CPU time in Windows. I am not sure why...
View ArticleHidStream.Write throwing Timeout Exception
I've checked the other threads about this in the discussions, but still have not made any progress on my own project.I have a CSAFE Fitness device that I am trying to control - the protocol is...
View ArticleUnable to open HID class device (OK) exception while open on Linux
I have an issue on Linux. When I call Open method it throws "Unable to open HID class device (OK)". But when I check CanOpen, it is true but cannot open. I also use TryOpen method but it didnt work....
View ArticleHidSharp Freezed In Unity Edito for mac sometimes
It works well in Unity2020.3.12f when I play in editor first time. If I stop play and restart play or change some script in unity to make it recompile, it freeze unity editor forever.And when device...
View ArticleHidSharp Read Timeout
I have been using HidSharp on a RPi and it is been running fine.I allow up to 4 streams and poll each of the 4 devices/streams (if used and not null) every 50mS.Up until now I have used with multiple...
View ArticleProblems writing to Skylander RFID portal
For fun I wanted to to play around with the skylander rfid portal. This is an USB Hid device and the "protocol" is quite simple or so it appears from SKyDumper project...
View ArticleWrite to device example?
Hey,Im working on a project, and have been having some success with HidSharp. I can read from my device just fine, and can access the data i need from the IN reports.However I totally cannot see how i...
View ArticlePotential issue with HIDSharp with USB 2.0 Devices on USB 3.0 ports?
I'm having a very strange issue trying to interface with a USB FullSpeed Generic 64-byte HID via HIDSharp, but the problem *only* appears when connected to USB 3.0 ports. It's entirely possible (and I...
View ArticleWinHidDevice OutputReportByteLength is wrongly read
Hi,We have a custom HID device that has OutputReportByteLength set to 4 bytes in firmware, but when we open it in Windows, the value is equal to the InputReportByteLength, i.e. 31.Is it Windows error ?...
View ArticleHidSharp HidManager thread spinning on Linux
Hi,I've noticed that after some random time the HidManager thread starts looping rapidly on Linux. The loop pins one core to 100% usage.I've tried to profile the code a bit, and it seems that the...
View ArticleHave issues trying to get 16-bit joystick inputs consistently
Hello. As the title says, I'm having trouble trying to run a 16-bit joystick/hardware. Sometimes, it works when I run the code. Sometimes it doesn't. It's inconsistent and I need help.I have no...
View ArticleHidSharp write: 'Operation failed early: The parameter is incorrect'
Hello,I have a USB scanner for bar codes/QR codes/MRZ.I have a user manual from the manufacturer, which contains a set of QR codes that allow me to configure the device.For example by scanning the...
View ArticleScreen sizing / mouse movement in RemoteViewing
Hi, hoping this board is still monitored?Thanks for your effort in developing this. I am currently trying to implement a VNC client in a C# form using this. I tried VNCSharp previously but found the...
View ArticleHidSharp mocking
Hi,Thanks for the great HidSharp library, I find it very useful. I am using it in one C# project to communicate with a specific device and want to be able to write unit tests for it. Unfortunately, the...
View Article