How to listen to USB PORT
I need to create a USB Sniffer application that can read the data which comes or goes through the USB PORT. I need to develope this application in c# so kindly help me out to get this. ...
I need to create a USB Sniffer application that can read the data which comes or goes through the USB PORT. I need to develope this application in c# so kindly help me out to get this. ...
I am using system_profiler to view the USB hardware details connected to a Mac, however there are some differences between running this on Mac OS X 10.4 and 10.5. For example, in 10.5 the keys for various attributes have an alphabet letter prefix. More importantly, I can't get the location_id attribute (in the SPUSBDataType dataType) in ...
Hello, I am not a developer, but I think that my question is interesting enough (and I am desperate enough) to post here on stackoverflow My company uses a program written in C# to drive a kiosk PC that uses .Net 2.0 SP1 and a USB signature pad. The signature pad is a HID that uses the generic Microsoft HID driver. We tried to install...
How do I programmatically access a USB transfer cable (such as Belkin's Easy Transfer Cable) from Windows? I'm familiar with libusb-win32, but from what I can tell, using that with newer devices and with Windows Vista seems iffy. I know that Windows Easy Transfer can do this. How do I write code that does the same thing as Windows Eas...
Is there a way to programatically turning off the power or killing a USB port on the Mac? ...
Is there a way to read from a USB barcode reader while ignoring the keyboard and not knowing the PID or VID of the USB scanner? I know that there is a way of differentiating between USB scanner input and keyboard input by using the VID and or PID of the USB scanner; this was done using code from http://nicholas.piasecki.name/blog/2009/02...
Hi guys, can somebody confirm if I can use USB sniffing to capture the "AT commands" sent to an HSDPA modem from an external application? ...
I developed a device driver for a USB 1.1 device onr Windows 2000 and later with Windows Driver Model (WDM). My problem is the pretty bad Tx performance when using 64byte bulk transfers. Depending on the used USB Host Controller the maximum packet throughput is either 1000 packets (UHCI) or 2000 packets (OHCI) per seconds. I've develope...
I just recently learn Java and try to communicate to the device through USB port connection. I've have used C# with OpenNETCF which allows me to send file and retrieve file on the device through USB port; how can I achieve this with java? I seearch on stackoverflow thread, http://stackoverflow.com/questions/544507/how-to-communicate...
I want to attach a tracking box that has a serial port, with a serial to usb lead to a windows mobile. Is there anyway to detect usb plugin when i connect windows mobile device with tracking box through USB? ...
I'm using RegisterDeviceNotification to watch for changes to a USB device, using the WM_DEVICECHANGE event. However, when I call RegisterDeviceNotification() it returns NULL for the notification handle, which should indicate that it failed. But GetLastError() returns ERROR_SUCCESS and the notifications actually go through. This causes ...
I'm writing a background application to copy files in a loop to a USB stick with the "Optimize for quick removal" policy set. However, if the stick is removed part way through this process (specifically in the WriteFile() call below, which returns ERROR FILE NOT FOUND) the application hangs, the drive is then permanently inaccessible fro...
I need to create a application that will allow a Windows PC (XP/Vista) to emulate a thumbdrive. That is, when the PC is plugged into either another Windows system, or in this case, a piece of hardware that allows for USB thumbdrives to be plugged in, a folder on the computer looks like a giant thumbdrive. Any thoughts on where a guy wo...
We are looking at implementing a card-reader program for a integrated computer. The computer is a touch-screen with an embedded computer, running Windows XP, and a cardreader integrated into the screen. The reader is a USB device, but unfortunately integrated so tightly into this screen/computer that I cannot detach it and connect it to...
I currently have some code that sets up notifications of connected USB HID devices within a Windows Service (written in C++). The code is as follows: GUID hidGuid; HidD_GetHidGuid(&hidGuid); DEV_BROADCAST_DEVICEINTERFACE NotificationFilter; ZeroMemory(&NotificationFilter, sizeof(NotificationFilter)); NotificationFilter....
Are there any good C# to usb device libraries? ...
This is a few questions compiled into one post. 1) What would be the best way to tell if a USB mass storage device is plugged in. 2) What is the best way to write data to a USB drive 3) Can you treat the memory on a usb drive as you would in regular memory.. (Could I use like malloc and or write directly two it with values/ and or ...
Many USB devices contain a unique serial number (which is actually a Unicode string) which the host can use in conjunction with the 16-bit vendor and product ID numbers to uniquely identify the device. I'm trying to figure out how to write a Windows application that would be able to display a list of all USB human interface devices atta...
I have several USB drives connected to a WinXP SP3 computer, and I need to tell them apart programatically - I need to find which drive letter corresponds to which device (in this case, one device ~ one volume). I can get their Volume IDs and drive letters using mountvol, looking something like this: C:\WINDOWS\> mountvol \\?\Volume{bdb...
I'd like to be able to identify the chipset a particular USB device is using. I know about lsusb (and now /proc/bus/usb/devices), but they don't provide as much information as lspci. Here is an example of how I use lsusb: (laptop:/proc/bus/usb) # lsusb -v -d 050d:805c Bus 001 Device 008: ID 050d:805c Belkin Components Device Descrip...