usb

GCC compilation error

When I tried to compile a program this came up: C:\Users\Mohit\Developer\C_Workspace\iPhoneInteraction\Debug>make all Building file: ../src/test.c Invoking: Cygwin C Compiler gcc -I"C:\cygwin\usr\include" -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"s rc/test.d" -MT"src/test.d" -o"src/test.o" "../src/test.c" cygwin warning: MS-D...

USB controllable display

I'm looking to be able to display status information using a small LED or a small LCD screen connected through USB. All I need to display is very simple status (standby, error, running). Is there anything already made, decent looking and programmable through C++? ...

How to detect USB Wifi plug into computer via C#?

Hi, I want to write a simple program that detect USB Wifi plugged computer and unplug it. I am finding code or library help me to do that (C# or Delphi). Tell me if you know :) Or Code or lib that list all USB devices on computer ? Thanks ! ...

Problem with SerialPort

I'm working with SerialPort to communicate (read only) with barcode reader. I've installed driver to operate with the reader as if it was connected via Com-port, though it is a usb device. When the device is plugged, one more Com-port appears in the list. The problem is the following. I initialize the SerialPort object to read from b...

How to interface with PKCS#11 compliant HSM device in PHP

How can I use key material from a PKCS#11 compliant HSM (for example a SafeNet iKey 2032 [USB] or a Aladdin eToken PRO [USB]) in PHP application running on a Linux server? ...

Best cross-platform GUI and USB language

I am interested in developing a cross-platform application (mostly for Windows and Mac, Linux not so much) that will need a somewhat, but not overly, complex GUI (displays of graphed data) and will also have to receive input from an external controller via USB. I am interested what languages or combinations of languages (or frameworks, o...

Get list of USB devices connected currently and their dev file in BASH

What is the bash command for detecting all currently connected USB devices and getting the /dev/tty... file that corresponds to the USB device. ...

Controlling simple relay switch via USB

I'm looking to control a mains powered light from a simple relay switch connected via USB to the computer. The relay switch isn't even a USB device, it's just a simple switch that requires the USB voltage to turn it on. When the voltage drops below a threshold, the switch will turn the light off. My problem is that I can't control the ...

Can a flash application read data directly from USB port?

Can a flash application (SWF) access the serial data on a USB port? ...

How do I stop USB buffering?

I'm reading real-time data over USB, but the data is buffered. How do I stop the buffering? ...

USB serial verification in C++

Hi, I have a DLL which I intend to send to a 3rd party and I'd like to protect it by restricting it to run only if a specific USB device is connected. I'm using the setupapi to get the device's serial number (by calling SetupDiGetDeviceInstanceId()). I would like to make the verification hard to track in case someone disassembles the DL...

How to get USB vendor and product info programmatically on Linux?

Using udev I have been able to get this information for a certain USB device: idVendor: 13b1 idProduct: 0018 manufacturer: product: USB 2.0 Network Adapter ver.2 serial: 00FFFF Now I want to get the full strings that are associated with the vendor and product ids. I found that the file /usr/share/misc/usb.ids contains the informati...

USB EHCI: Help with transaction errors

One of our current milestones on our (open source) project at the moment is to complete USB support, and as such we're working hard on drivers at the moment. Our current development focuses on EHCI on both x86 and ARM (OMAP35xx SoC specifically, EHCI-only in the silicon of the board). We have mostly everything running smoothly in a varie...

Using USB telbox (USB-B2K) for calling over PSTN from PC

This one is a longshot but I'll give it a try anyway. I recently bought this USB Telbox device (AKA yealink USB-B2K). It's a device that connects to a PC over USB and to the PSTN (home telephony) and regular phone device over RJ11 cable. The device is used to direct incoming PSTN calls to the skype client running on the PC and to make c...

Help monitoring battery status through SMBus

I am currenlty trying to monitor my battery status through SMBus. I have a battery along with a contorl board which constantly outputs the battery status. This control board is then connected to my mother board through a I2C-USB module. I need to write some program to recognize the SMBus connection and transmit the battery status to the ...

activate program while screen is locked

I have an application that sends predetermined messages when you tap a configurable hotkey or when you press a usb enabled HID. How can make program work with a locked screen without entering the password and logging back in? Basically, I need the program to execute the message through pressing the hotkey or clicking the usb device whil...

perl code for identify usb events on windows

Could someone provide snippet/links for perl code for identification usb events (plug and unplug) on windows. ...

How should I get ActiveSync / Mobile Dev Center to recognise my Windows CE device via USB?

We develop a custom Windows CE-based device. To connect this to the PC via ActiveSync / Mobile Device Center, we have to set up entries so that the WCE USB Serial Host (wceusbsh.sys) recognises our Vendor ID (Vid) and Product ID (Pid). To do this, to date, we have distributed a modified version of wceusbsh.inf and wceusbsh.sys: when th...

Windows X Unix in USB communication

inHi, this question is fast, but from my point of view its pretty hard. I have been messing with implementing USB device built from MCU. So I found project called V-USB which is software-emulated USB interface for Atmel MCUs. But this is not so important. The question is, on their site, they say that using custom USB class, you can simp...

Preinstalling WinXP USB drivers to be able to connect device without interaction

Hello, We are a small hardware manufacturer. Most of our products use USB for programming the controllers used. The current situation is that programming the hardware (part of the assembly processor) is rather labour intensive. Each time a new USB device gets plugged in Windows prompts for a driver install. This means that for each ne...