usb

Forcing driver to device match

I have a piece of usb hardware, for which I know the driver. However, the vendor id and product id do not match the VID, PID pair registered in the driver. Is there a way in linux to force a driver to be associated with a known device, that do not involve kernel module recompilation to add a PID / VID pair ? ...

using java and usb: Which api? jsr-80, jusb, ...?

Hi all, I would like two java programs to communicate directly over the USB without going through a device or cable. Don't ask me why, I don't know the details or reasoning behind this decision. I have found jusb and jsr-80 to be two java/usb APIs to do this. They work on linux AND windows - I will need capabilities on both. Questio...

Is it possible to communicate directly over USB?

Is it possible to have two applications on the same computer to talk to each other directly over USB (no cable, no associated devices)? Is it easy/hard? What API would you guys recommend? Yes, I posted a similar thread, but it was asking specifically for a JAVA/USB implementation, which I found, but I need windows support. So now I...

How to get serial number of USB-Stick in C#

How do I get the internal serial number of a USB-Stick or USB-HardDrive in C#? ...

What's the easiest, most practical way to toggle several lightbulbs with a PC?

This question is mainly electronics related, but it also has a programming aspect. Some background on the problem We have a traffic light on a wall in our office. When people come in to the office, they can immediately tell from the traffic light whether last night's automatic build & test runs went smoothly: Green means all tests pass...

How can I listen for 'usb device inserted' events in Linux, in Python?

I'd like to write a Python script for Amarok in Linux to automatically copy the stackoverflow podcast to my player. When I plug in the player, it would mount the drive, copy any pending podcasts, and eject the player. How can I listen for the "plugged in" event? I have looked through hald but couldn't find a good example. ...

Symbol MC30xx Barcode reader device - How to transfer data to PC

Hello Gurus, I'm developing application for Symbol MC3000 device. It's running Windows CE 4.2 Professional. Application is simple data driven app, which stores information about products in store. My client wants to communicate with the device through serial and USB interface and read data stored in application. And here is where i'm s...

USB drive LED flash

I was recently reading about the Arduino's Hello World application, and I thought to myself, "I wonder if I can do that with hardware that I have right now." Since I don't have an Arduino, I grabbed a usb flash drive that I had laying around and started googling around for information about it. I didn't find much helpful information in...

How to load digital signals from a USB port into memory?

My friend is working on a project in which he needs to get some digital signals into a computer to display/manipulate them. So I advised him to insert those signals into a USB port due to it's popularity (because the device (which outputs the signals) and the program used for display and manipulation should both be designed for real wor...

Carrying and Working on an Entire Development Box from a USB Stick. Feasible ?

Lately I have been thinking about investing in a worthy USB pen drive (something along the lines of this), and install Operating Systems on Virtual Machines and start developing on them. What I have in mind is that I want to be able to carry my development boxes, being a Windows Distribution for .Net development and a Linux Distribution...

USB for embedded devices - designing a device driver/protocol stack

Hello, I have been tasked to write a device driver for an embedded device which will communicate with the micro controller via the SPI interface. Eventually, the USB interface will be used to download updated code externally and used during the verification phase. My question is, does anyone know of a good reference design or documenta...

Can I install SQL Server on a USB drive?

I'm a developer and I often work remotely when I can rather than commuting to work. I would like to be able to take the dev database environment with me. I know I can access the database remotely, but it slow. I sometimes work where there's no wireless connection. Any ideas? ...

Setting USB configuration fails

I'm trying to talk to a USB device using libusb, but I feel like I'm tripping up on the first leg of the race. I know precisely what endpoints I need to talk to, etc., but I can't even get that far. I have, in essence: usb_device *dev = ...; // opened from get_busses() usb_set_configuration(dev, dev->config[0].bConfigurationValue); //...

How can I use a usb keyboard/mouse combo with a ps2 KVM?

I purchased a wireless Logitech Wave mouse/keyboard combo and want to use it with my old PS2 KVM. I've seen a few converters out there that might work, but the problem is they connect one USB-> one PS2. I need something that will split one USB into two PS2 (keyboard and mouse), as that's what the KVM expects to have plugged in. Help! ...

Talk to USB device and vice versa from Flex

My co-worker is challenged with taking user input in Flex and using that data to execute commands on a USB device. We figured we would need to have a socket server running on the machine in order to do this. We want to send objects with byte arrays etc, not just strings. Is there anything out there that could help us? Do we need to writ...

How can I detect a USB disconnect event? (Windows, .NET C# application)

Hi, Currently how I do this is I poll for a masked list of USB devices (masked specifically for the device I'm working with) and if it's there, I continue, if not then I notify the user that the device is not connected. The method for getting a list of USB devices is provided for me through a USB peripheral controller chip manufacturer...

How to communicate with a USB device under Windows and Java?

I'd like to communicate with a USB device under Windows and Java but I can't find a good library to do so. I don't want the user to have to install any extra hardware or device drivers to make this work. That is, I want to be able to interact with USB just like other Windows applications do. I am familiar with jUSB and JSR 80 but both s...

USB device

I'd like to send/receive data over a USB port to a device (from my vista pc). Is there a free/cheap library out there that can do this , and how involved would this project be (not taking into account what's being sent or recieved) ? ...

Simple USB host stack

I am trying to connect to a single USB device using the USB host port on an Atmel processor. I have an embedded system with limited memory and no OS. I want to implement a simple dedicated host to interface to a single USB slave device. Can anyone guide me to a simple USB host implementation? The processor is the Atmel AT91SAM9261S. ...

USB Plug-and-Play simulation

I was wondering if there was a way to simulate a plug and play event through software only. We are testing a driver and we wanted to test the installation of a driver from the start of a pnp event, but we don't want to have a real printer hooked up. ...