usb

Java USB Game Controller Library

Is there a Java library out there to read inputs from a USB game controller, and if so, which ones would be best? Thanks! ...

Windows 7 Diskpart.exe sometimes fails to mount usb key

Here is my situation. I boot Windows PE (WinPE 3.0 from Win AIK, basically stripped down Windows 7) from CD with automounting disabled via the registry. I then connect a usb thumb drive. I run diskpart.exe to bring the disk "online" so I can write files to it. My steps are: diskpart.exe (version is 6.1.7600) DISKPART> select disk ...

Detailed description of HID device (USB)

Hi all. I conected my bardcode scanner to USB port. I needed to change the mode from HID keyboard to serial port emulation (the reader is know seen by the system as regular HID device and not a HID system keyboard) to get data from scanner directly to my app. And It's all working great. The problem is that I need to know a VID and PID...

Custom USB Driver for Windows? Mac?

I'd like to modify a USB driver to send and receive USB data over a network. Take for example, an iMac and a PC. I have an iPod plugged in to my PC (in NY). I want my iMac (in LA) to recognize the iPod as plugged in to a local USB port and be able to communicate with the iPod. Forget my qualifications, or lack thereof (I have backgroun...

Developing software for an RFID reader with open-source Linux support: Which direction to go, hardware-/system-wise?

I'll be working on a project that will work with RFID readers. The target platform for our software is Debian stable (currently 5.0.6). I have investigated the following options so far: Parallax RFID card reader (USB) • Here I'm not quite sure about the Linux support. The manual PDF from that link ("useful links") references this ven...

How to convert log of USBSnoopy to set of commands for usb-robot-slave?

Hello :) I used USB Snoopy to record piece of communication between my PC and USB scanner. Now I want to replay this "record" in usb-robot-slave. The problem is that I don't know how to convert log of USB Snoopy to something understandable by usb-robot :/ So I have 2 options: Find application whith do it for me (usb-robot-master is ...

How does one programmatically mount a drive in Windows?

We make and sell a device that our users will sometimes want to connect to their computer in large quantities with multiple USB hubs. It is a USB composite device that has both human interface (HID) and mass storage (MSD) interfaces. Windows automatically mounts the file-system of each device until it runs out of letters at 'Z:'. I can ...

How access USB port in C#.net

Please give me code example, How to Access USB port and detact USB driver is pluged. Eg : When pen is plug Virious gard detect it and begin search , How they do it. Thanks. ...

android: transfer sqlite database from pc to device via usb programatically

The situation is this. I have an application written in vb.net. it consists or two parts. One on a PC and the other on a handheld windows mobile 6 device . The desktop program transfers a SQLServer compact database to and from the handheld device using activesync via USB. Potentially we want to look into having android handheld devices a...

Android apps, communicating with a device plugged in the USB port

I'm thinking about an Android app (with possibly an accompanying physical device), and i'm trying to figure out whether this is something that's feasible. 1) Let's say I plug my Android to my PC. Would it be possible for an app installed on the PC to communicate with an app running in the cell phone? I just need a very simplistic data e...

access/view linux ide notebook drive from windows box

hey. trying to figure out if/how i can view the contents of a notebook linux ide from the usb port of a windows box... should be straightforward.. don't want to write to the disk, just read.. also.. if i have a linux box, and i assume that the drive was formatted, using the default processes (using fedora/centos), what's the basic cmd...

USB traffic analyzer can get HID usage information, how come I can't get ReadFile to do the same?

I'm trying to use the Windows Driver Kit HID functions to get the state of a Saitek X52 joystick on x86 Windows 7. I can get ReadFile to return some of the button presses, but not all. When I use a USB traffic analyzer (specifically USB Monitor), I can see all of the button presses. Additionally, when I hook the joystick up to a Windo...

win 7 hangs on restart because of tascam audio interface

In xp, my Tascam US 122 usb audio interface works fine. On my windows 7 computer the device works, however when i restart/shutdown it hangs at the "shutting down" screen forever. If the usb cable is removed prior to initiating restart/shutdown then everything goes fine, the computer restarts as normal. This is a known problem, runnin...

Building an USB peripherial

I would like to control an RC model via USB from my computer. I don't need a real radio control, so controlling the servos directly through cables is sufficitent (yes, there will be cables between the model and the controlling unit). I thought I would build some microcontroller-based device which would be connected to the computer via US...

usb target disk mode equivalent on running system

Is there anyway that you can expose local partition or disk image through your computer usb to another computer to appear like external drive on mac/linux/bsd system ? I'm trying to play with something like kernel development and I need one system for compiling and other for restarting/testing. ...

Does anyone have a description of the return codes from libusb on Mac OS X?

I am trying to debug a libusb-based driver that work just fine on Linux and Windows, but fail on Mac OS X. However I am unable to find a description of the return codes from libusb. ...

How to find if parent of USB device is a hub

I need to find out if parent of USB device is a hub or host. Current plan is to use CM_Get_Parent() to get the DEVINST and use SetupDiGetDeviceInfoListDetail() to get the SP_DEVINFO_LIST_DETAIL_DATA structure, but from there I am looking for information to parse against to will tell me if the parent is a hub. Any pointers/hints/advice w...

Opening a cash drawer using C/C++ or Java

I need to open a cash drawer using C/C++ or Java. It is a POS-X cash box with a USB connection. I've never done anything like this before. I noticed the cash box was linked to the "COM3" port. I know Java does not have a USB API so I turned to C/C++. ...

Talking to a usb device when RIA app is installed locally - easier in silverlight or flex ?

I'm creating a program that needs to communicate with a usb device when installed on the desktop, but doesn't need to access the device when running in the browser. Hopefully this would remove the need for doing any browser-dependent extensions/hacks to work. Would silverlight 4 let me call a native process to do this (presumably via CO...

Use USB to activate MOSFET/Relay

Hello! I am working on a personal project involving sending simple signals from my computer to a circuit via USB. Basically I am using the USB signal as the gate signal for a MOSFET which will in turn activate a relay to turn on/off various AC peripherals. For example if I want to turn on a light bulb for 5 seconds every minute I would ...