47 questions
0
votes
0
answers
36
views
Is it expected for an android device to only be detected by a computer on No Data Transfer mode?
I am developing an app in C# to send through Bulk Endpoint Transfer data to an android-powered device (a tablet in this case).
My tablet is configured to use USB for "No data transfer", with ...
0
votes
0
answers
135
views
How do I see what Win32 error LibUsbDotNet is returning when trying to write to a USB device?
I am trying to write to a USB device using the LibUsbDotNet library, however, when I try to write it returns a Win32 error.
So far it finds the device, sets up the interface, and sets up the writer ...
0
votes
0
answers
485
views
Win32Error when writing to endpoint with LibUsbDotNet (Wrong alt interface on WinUSB)?
I am trying to port a C++ library to .NET, but I cannot get it to work and I don't understand what's wrong. The only big change I see is that in the C++ library with libusb, I have to set the alt ...
1
vote
0
answers
188
views
How do you use LibUsbDotNet to communicate with an RTL2832U device?
Has anyone worked with RTL2832U (SDR) via LibUsbDotNet?
I can get details of the USB device with LibUsbDotNet but how would I go about specifically the RTL2832U as an SDR device?
I am trying to write ...
1
vote
1
answer
390
views
How can I determine why ControlTransfer method of LibUsbDotNet in C# returns false?
I am trying to use the ControlTransfer method of the LibUsbDotNet C# library to communicate with a USB device but the method keeps returning false. My code is as follows:
private bool writeCtrlMsg(...
3
votes
1
answer
613
views
USB device keeps connecting and disconnecting after I stop my libusbdotnet application
I am sending a command to a QR Code reader every 30 milliseconds and I take the response, and display its size on a label. Everything seems to be working fine until I press the stop button, after ...
0
votes
1
answer
629
views
libusbdotnet can not find RFIDeas USB HID device
I am running windows 7x64 connecting to a RFIDeas USB reader (Part# RDR-80582AKU). Using device manager, I found its vendor & product ID as HID\VID_0C27&PID_3BFA&REV_1623.
My .NEt app ...
1
vote
1
answer
2k
views
How to use my device's VID and PID inside UsbDeviceFinder function of LibUsbDotNet?
I am trying to use my USB device inside my C# windows form application, I have found the VID and PID of my device from device manager and they are mentioned like below:
USB\VID_1A86&PID_7523
Now ...
1
vote
0
answers
1k
views
Using a USB-to-USB cable bridge to communicate information between two computers
I am wondering if it is possible for me to use a USB-to-USB cable bridge to establish a communication link between my applications on two different computers.
Currently I have an application which ...
1
vote
2
answers
16k
views
Write to USB PORT C# using LibUsbDotNet C# USB Library
I want to write some data to a USB port and receive an answer from it.
I actually used the same
string cmdLine = "@00WD3000C82B*\r";
and sent it to the same machine with the SerialPort object and by ...
1
vote
1
answer
279
views
LibUsbDotNet Bulk Transfer Usb Communication Win32Error
We have a vendor-specific device for USB connections.
We used LibUsbDotNet Bulk Transfer communication. In the first case, I did 64 byte data transfer. In the second case I made 1024 byte data ...
2
votes
0
answers
324
views
LibUsbDotNet sends only the first byte on write
I am using LibUsbDotNet for reading and writing to usb in C#, but when write to the USB it only sends the first byte, so special configuration is required on UsbEndpointWriter or UsbDevice? Even if I ...
0
votes
1
answer
2k
views
How to send vendor specific commands like "SET DATE TIME" to a usb device
I am using libusbdotnet in a C# application to communicate with a usb device. How do I give vendor specific commands like SET DATE TIME using libusbdotnet?
0
votes
1
answer
725
views
USB device not valid in MonoLibUsb
I'm trying to open a USB device handle in MonoLibUsb (on Linux), but every time I open it I get IsInvalid == true on the device handle.
The USB device is definitely compatible with LibUsb as I've ...
4
votes
0
answers
632
views
How get the serial port name of an Arduino
I'm trying to figure out which serial port belongs to an Arduino.
Since the SerialPort class does not reveal any information about
the underlying hardware, I'm trying to use LibUsbDotNet instead.
...
0
votes
1
answer
324
views
Underlying hardware beneath virtual Com port
I have a device connected to USB port via USB cable to my PC and in device Manager it says - > "XYZ corp Virtual COM port (COM A)"
Is this is same as Serial Com Port.?What is the underlying hardware ...
2
votes
0
answers
339
views
Exception occures when testing LibUsbDotNet
I am not used to asking the community to solve my problems, but I am a newbie in C#/.NET and I am currently stuck.
I want to make a XAML application using LibUsbDotNet to communicate with an program ...
0
votes
1
answer
636
views
Wrong data transfered via USB control transfer in Linux/Mono
We have a USB device here which has a EZ-USB FX chip on it and we "talk" to it via libusb-1.0 using LibUsbDotNet. Using Windows everything works fine, but using Mono 3.12.1 under Ubuntu 14.04 it does ...
7
votes
2
answers
9k
views
LibUsbDotNet No devices found when calling UsbDevice.AllDevices
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....
1
vote
1
answer
2k
views
Can't find device on libusbdotnet
I am a beginer on USB.
I found libusbdotnet on http://sourceforge.net/projects/libusbdotnet/ i am using the library.
But i can't find my device by command
MyUsbDevice = UsbDevice.OpenUsbDevice(...
0
votes
1
answer
424
views
LibUsbDotNet SymbolicName Error
i can't read out the SymbolicName from the LibUsb.
This is some example code:
static void Main(string[] args)
{
var devs = UsbDevice.AllDevices;
foreach (UsbRegistry usbRegistry in devs)
{
...
2
votes
4
answers
3k
views
LibUsbDotNet USBEndpointReader DataReceived event is not firing when I expect it to
I have a USB device from which I need to read data via LibUsbDotNet.
If I use the following code after I've successfully opened the device...
protected UsbEndpointReader _libUsbReader = null;
...
5
votes
2
answers
6k
views
LibUSBDotNet: Strange errors after working with USB device for awhile
I'm using the LibUSBDotNet library in a WPF application that communicates with a simple USB device. I'm only sending 3 bytes to the device as a command, there's no response to be expected from it and ...
2
votes
1
answer
833
views
Can I use a USB pen drive with libusbdotnet
I have just started on libusbdotnet. I have downloaded the sample code from http://libusbdotnet.sourceforge.net/V2/Index.html.
I am using a JetFlash 4GB Flash drive (a libusb-win32 filter driver was ...