usb

send/receive Datastream througth USB-port in java

Hi, before I begin with working with java an jUSB library I would like to know if is it useful for me. I am using Windows 7 and I wold like to receive and to send stream data throw USB. Should I use jUSB? Is it possible with java?. Thanks ...

USB Barcode Scanner and WM_KEYDOWN

I am trying to write a program that can will read a barcode scanner. In addition, I need it to read the input even when the application is not the window in focus (i.e., running in system tray, etc). I found this article, titled Distinguishing Barcode Scanners from the Keyboard in WinForms, that seems to solve the exact problem. It is w...

Why aren't IOKit notifications being delivered with this code?

I wrote this code to subscribe to USB devices being plugged in and unplugged; the point is for IOKit to deliver notifications to my iAttached() and iDetached() functions when the corresponding events occur. However, I don't get notifications. The code can be seen here: http://gist.github.com/402391 I didn't want to over-populate this p...

Connect Samsung e250 and computer over USB

I have developed two applications: first works on Samsung e250, second works on computer. I need to implement their communication through the USB port. How I can do it? Where I can I find a good manual about this? ...

How to send Data to my App over USB Connection in Windows

Dear Forum, I have an app developed and deployed on my HTC mobile phone. I am able to debug this in eclipse with the USB driver SDK. The mobile phone appears now in the hardware manager ADB interface. I would now be able to send data through this USB connection to the mobilephone wich my app is able to handle. I know some tethering s...

USB based video capture card with API

I am looking for a usb based video capture card (to be used with cctv analog cameras) which comes with an api. An api of sorts would help as I am planning to do some analytics on the video stream. Any ideas on such a device? ...

WinUSB failing on non-development computers

Good afternoon, WinUSB is working well on the development computer that I am using (Win XP SP3). I am able to download new firmware to the Cypress FX2, and then connect to the new USB device once it 'renumerates'. However, if I've tried the same code with the WinUSB driver on a few other computers (Win XP SP3, Win7 x64) and they both ...

How do I make ADB work on x64?

I tried installing the Android USB driver on my x64 machine and it fails. Does Android development not support 64 bit Windows, or am I possibly doing something wrong? ...

USB interface barcode scanners

Not exactly a programming question, but close. I'll try my luck anyway. The keyboard wedge barcode scanner inserts the translation device between the reader and the keyboard. Data sent through a wedge appears as if it was typed into the computer, while the keyboard itself remains fully functional. Because a computer usi...

how can i use COM & USB ports within cygwin

hi, i want to send/receive data from my arduino board with a python script. I would like to do it using python and its pySerial module which seems to fit my needs. So i installed python and pySerial within cygwin (windows XP behind)) the python script is rather straight forward : $ cat example.py #print "testing my COM26 port using p...

How to write a generic USB Host Driver for Printers from various vendors?

I want to develop a USB host on an embedded device that will talk to printers from various vendors. Drivers for the vendor specific printers would be available on PC which is ultimately communicating with printer but my device is facilitating this communication and needs to perform the basic handshaking/setup of the printer (i.e, it nee...

External USB devices to Android phones?

I would like to use Android phones as a way to do some processing and visualization of a sensor that would be attached to the USB port on the phone. The sensor would plug into the micro/mini USB, and then I would need to read the incoming data from the USB serial port. Is this possible? I have heard of people using Android to steer rob...

Linux RFID reader HID Device not matching driver

Hello, I got a RFID reader (GigaTek PCR330A-00) that is meant to be recognized under linux/windows as a (Human Interface Device) keyboard/USB. I hate to say this but it is working as a charm under Win7 but not "really" under Linux. Under Debian-like distros (x/k/Ubuntu, Debian,..), or Gentoo, or... I just can't have the device working...

Using USB PS2 hand controller in C#.NET

I'm attempting to create a program that takes input from a usb ps2 hand controller, translate and passes the info to a rs232 device. I already have everything working for the rs232 device. The problem is interfacing with a usb controller. There doesn't seem to be any good documentation out there and on top of that .NET3.0/3.5 doesn't hav...

USB windows xp final USB access issues

I basically understand you C++ people, Please do not get distracted because I'm writing in Delphi. I have a stable USB Listing method that accesses all my USB devices I get the devicepath, and this structure: TSPDevInfoData = packed record Size: DWORD; ClassGuid: TGUID; DevInst: DWORD; // DEVINST handle Reserved: DWord; end; ...

how to get vendor id and product id of a plugged usb device on windows

Hello all, I am using Qt on windows platform. i want to get and display vendor id and product id of a plugged usb device from my local system. Below is my full source code to get the vendor id and product id from the usb device. when i run the my qt application it does not throw me any errors . so i plug the usb device into the sys...

How do you get the mount point/disk drive of a USB stick in cross-platform C++ or C?

I'm trying to get the mount point(linux/osx) or disk drive (windows) of a specific USB mass storage device. I can use libusb to determine if the correct device is inserted but how do I determine where it is mounted? I'm using C++ but I assume C code would work just as well. Cross-platform code would be preferable. ...

I want my software to respond when someone inserts a coin, how can I do it ?

I understand this can seem a bit weird. So I'll give more details. Is it possible for my computer to interact with some kind of "coin collector" ( just like the kind that's used in a vending machine ) ? Basically I'd like to be able to implement the following methods public void onCoinInserted( Coin coin ){ if( coin.value == 10 ) ...

How to simulate a USB drive

Hi all, Is it possible to simulate a USB drive with software only? I mean, for example, to expose a local memory space to the OS so the device manager will recognize it as a USB device. I'm not familiar with hardware implementation, but I'm sure that it is possible somehow to emulate the USB protocol. I began with this book - USB Desig...

How can I emulate/fake/immitate an SD card with a live connection to a computer?

I have a machine in a remote location that contains an SD card slot as its only output. I would like to read the output without needing to physically go to the machine and remove the card. My idea is to place a PC next to the machine and connect the SD card slot of the machine to a USB or serial port or some other input on the PC. Is t...