libusbdotnet

LibUsbDotNet No devices found when calling UsbDevice.AllDevices

混江龙づ霸主 提交于 2020-01-21 17:24:06
问题 I am executing the example code of LibUsbDotNet which will return me the information of all connected usb devices. You can find this code below. using System; using LibUsbDotNet; using LibUsbDotNet.Info; using LibUsbDotNet.Main; using System.Collections.ObjectModel; namespace Examples { internal class ShowInfo { public static UsbDevice MyUsbDevice; public static void Main(string[] args) { // Dump all devices and descriptor information to console output. UsbRegDeviceList allDevices = UsbDevice

LibUsbDotNet No devices found when calling UsbDevice.AllDevices

℡╲_俬逩灬. 提交于 2020-01-21 17:23:47
问题 I am executing the example code of LibUsbDotNet which will return me the information of all connected usb devices. You can find this code below. using System; using LibUsbDotNet; using LibUsbDotNet.Info; using LibUsbDotNet.Main; using System.Collections.ObjectModel; namespace Examples { internal class ShowInfo { public static UsbDevice MyUsbDevice; public static void Main(string[] args) { // Dump all devices and descriptor information to console output. UsbRegDeviceList allDevices = UsbDevice

Writing a small utility tool that listens on USB ports, need advice

会有一股神秘感。 提交于 2019-12-12 20:16:39
问题 I have a piece of hardware that works in cycles. It comes with a proprietary software tool that lets user control it from PC via USB. User defines how long each cycle is. At the beginning of each cycle the software tool rapidly issues a series of commands to the hardware via USB and then goes into the idle mode, awaiting next cycle. There's a second piece of hardware that needs to be synched with the first one. Basically, when the aforementioned series of commands is issued to hardware #1,

How to get signals from a scanner connected over usb

冷暖自知 提交于 2019-12-07 04:56:08
问题 I have a KODAK i2600 scanner connected to a network over SX Virtual Link, which on every pc in this network emulates a usb connection to the scanner. I can find the emulated usbs pid and vid easily like this: or this: I tried to detect the signals with LibUsbDotNet, but with their example it just doesn't work. I tried with this example: public static UsbDevice MyUsbDevice; #region SET YOUR USB Vendor and Product ID! public static UsbDeviceFinder MyUsbFinder = new UsbDeviceFinder(int.Parse(

How to get signals from a scanner connected over usb

。_饼干妹妹 提交于 2019-12-05 10:37:19
I have a KODAK i2600 scanner connected to a network over SX Virtual Link, which on every pc in this network emulates a usb connection to the scanner. I can find the emulated usbs pid and vid easily like this: or this: I tried to detect the signals with LibUsbDotNet, but with their example it just doesn't work. I tried with this example: public static UsbDevice MyUsbDevice; #region SET YOUR USB Vendor and Product ID! public static UsbDeviceFinder MyUsbFinder = new UsbDeviceFinder(int.Parse("040a", System.Globalization.NumberStyles.HexNumber), int.Parse("601d", System.Globalization.NumberStyles

LibUsbDotNet No devices found when calling UsbDevice.AllDevices

自作多情 提交于 2019-12-01 23:45:05
I am executing the example code of LibUsbDotNet which will return me the information of all connected usb devices. You can find this code below. using System; using LibUsbDotNet; using LibUsbDotNet.Info; using LibUsbDotNet.Main; using System.Collections.ObjectModel; namespace Examples { internal class ShowInfo { public static UsbDevice MyUsbDevice; public static void Main(string[] args) { // Dump all devices and descriptor information to console output. UsbRegDeviceList allDevices = UsbDevice.AllDevices; foreach (UsbRegistry usbRegistry in allDevices) { if (usbRegistry.Open(out MyUsbDevice)) {