Quantcast
Channel: James's Programming Page
Browsing all 141 articles
Browse latest View live
↧

Unable 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 Article


HidSharp 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 Article


HidSharp 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 Article

Problems 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 Article

Write 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 Article


Potential 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 Article

WinHidDevice 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 Article

HidSharp 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 Article


Have 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 Article


HidSharp 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 Article

Screen 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 Article

HidSharp 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

Shift key not working

Hi, I find that using the remoteviewing client then keys such as shift key are not sent to server. Other clients with same server the key functionality works as expected

View Article


HIDSharp 2.6.2 released.

I've posted a new version of HIDSharp, 2.6.2. Here's the link: https://software.seekye.com/hidsharpI've been using HIDSharp for device testing and programming through Raspberry Pi devices, so Linux...

View Article

RemoteViewing 1.0.0 released.

I've posted a new version of RemoteViewing, 1.0.0. Here's the link: https://software.seekye.com/remoteviewingIt adds support for 16-bit color mode. I found one of my virtual machines used this mode,...

View Article


HIDSharp 2.6.3 released.

I've posted a new version of HIDSharp, 2.6.3. Here's the link: https://software.seekye.com/hidsharpThis version improves the shutdown behavior on Windows, Mac, and Linux. It also adds a...

View Article

DeltaSCP 1.1 released.

I've posted an initial public release of DeltaSCP, 1.1. Here's the link: https://software.seekye.com/deltascpThis is a simple Linux differential copy utility that operates over SSH. I wrote it in 2010,...

View Article


Signed Axis Minimum values are forced to 0

Hi,Thanks for this library. There's a problem in the report descriptor parsing with signed values for axis (PhysicalMinimum and LogicalMinimum).When a negative value is found, it is forced to 0 in...

View Article

RemoteViewing 1.0.1 released.

I've posted a new version of RemoteViewing, 1.0.1. Here's the link: https://software.seekye.com/remoteviewingIt drastically speeds up the VNC server, and fixes some bugs in it as well. Basic Hextile...

View Article

RemoteViewing 1.1.0 released.

I've posted a new version of RemoteViewing, 1.1.0. Here's the link: https://software.seekye.com/remoteviewingIt fixes some bugs (one potential crash bug in the VNC client), but mainly, it adds 8-bit...

View Article
Browsing all 141 articles
Browse latest View live