usb

HID notifications

Hi, 1) I noticed Jan Axelson has some text in her book about notifications (HID is attached to or removed from the system and system informs the GUI). Does anyone have working VB6 code examples? I'm attempting to translate Axelson's VB.net code to VB6 code. I can't find RegisterDeviceNotification in user32.dll and what is the purpose of...

Canceling a WinUSB asynchronous control transfer

For a user application (not a driver) using WinUSB, I use WinUsb_ControlTransfer in combination with overlapped I/O to asynchronously send a control message. Is it possible to cancel the asynchronous operation? WinUsb_AbortPipe works for all other endpoints but gives an 'invalid parameter' error when the control endpoint is passed (0x00 ...

How to make phone calls using Python?

I'm writting a small python program to send voice file to other telephone. The phone is connected to pc over usb. How to make phone calls using Python? ...

DeviceAttached message never comes...

I am trying to develop a C# application that can communicate with a USB HID. I have overriden my WndProc method so that is catches all of the WM_DEVICECHANGE events and passes the DeviceChange method to a method OnDeviceChange (this code is actually borrowed from Jan Axelson) which looks like this.... protected override void WndProc( re...

Script in udev rule doesn't run

I'm running Ubuntu 9.10 (Karmic Koala) on a laptop and would like NumLock to automatically toggle depending on whether my USB keyboard is plugged in (numlock on) or unplugged (numlock off). To accomplish this, I first installed the "numlockx" package. numlockx on and numlockx off works fine. To hook into the device system, I thought I'...

USB token with certificate

Hi all! Someone could explain me how the USB token works? I have to implement that secure layer in a java application, but i don't know very well how it works! I know only the mecanism of a normal token key generator! Thanks a lot! ...

Can't access Motorola Milestone on Ubuntu 9.10 via adb (HTC Magic works perfectly fine)

I've two phones, the HTC Magic and since today also the Motorola Milestone. While the Magic works perfectly, I'm not able to access the Milestone via USB (adb devices). Here are my log outputs and settings for both: HTC Magic lsusb: Bus 001 Device 009: ID 0bb4:0c02 High Tech Computer Corp. /etc/udev/rules.d/51-android.rules: SUBS...

Drag'n'drop files from (e.g.) iPhone in Windows Explorer onto a WPF application

I have a C# WPF app that allows users to import files by dragging them in from Windows Explorer and dropping them on the main app window. It works fine when dragging files from physical disks, but when dragging files from a connected device like an iPhone or camera connected via USB, I don't recognise any of the data formats returned by...

Iphone syncing via cable

Hi guys I've made an IPhone App that communicates to a service by calling a webservice and exchanging data as xml. For this to take place, there should be WIFI access. What I'm trying to do now is to do the same but in places without WIFI access. The only way I can think of doing this would be through the USB cable (dock cable?). Unfor...

Data Exchange between applications over ActiveSync

Hello, Can anyone tell me how to send receive data between two applications over an ActiveSync connection? In my scenario there will be one application running on a desktop and another on a windows mobile device, both these applications need to communicate among them. The connection between the desktop and the mobile device can be Acti...

What are the protocols supported in Iphone's External Accessory Framework

Hi guys I'm working on an iphone/ipod app that will need to communicate with a computer (MAC for now, maybe PC if possible) though the USB dock connector cable. I'm a complete beginner with IPhone programming and from what I've been able to find out, the External Accessory framework is the place to start. While going through the online...

ASP.NET/Silverlight Control USB Device

I want to alert a user of a new message using some kind of USB device (e.g. a flashing light). Is it possible to control a USB device from ASP.NET or Silverlight? ...

Using USB port from c++

Hello, i was just wondering if somebody could give me any pointers about how to use USB ports on Ubuntu(and other unix systems) &&/|| (and/or :]) windows. I was trying to googling some stuff up but i failed horribly. Even names of libraries to be used etc would be appriciated. Thanks, Tomas Herman ...

Java applet with usb access in Windows and Linux

We're developing a kind of gadget with usb connection but would not to force our users to install any driver and program in their computers, so... ¿it's possible to develop a java applet that work in linux and windows and have usb access? (We're java developers but nerver before worked with applets) ...

Is there any way to send noraml keyboard commands to xbox via a usb cable from pc throught programming

Is there any way to send normal keyboard commands to xbox via a usb cable from pc throught programming Needed answer asap. Regards, Apurva ...

USB barcode reader in Qt4

Hi. I was wondering how could I integrate a USB barcode scanner into a Qt application, as well as a barcode printer. I looked for tutorials but didn't find anything interesting out there. Any ideas? Thanks in advance. ...

Talking to a motor driver through a CAN-BUS

I have a motor, connected to a motor driver, connected a windows XP computer by a CAN-BUS (through USB I believe). I want to "talk" to the motor driver and have some questions: Does the USB appear as a COM port? What protocol do I use or how do I find out what protocol to use? Or how do I talk to it? Does anyone ha...

Talking to a motor driver through USB

I have a motor, connected to a motor driver, connected a windows XP computer by a CAN-BUS (throught USB). I want to "talk" to the motor driver and have some questions: Does the USB appear as a COM port? What protocol do I use or how do I find out what protocol to use? Does anyone have or know of any public implementations of a similar...

Java Sound API on OS X with USB Sound Card

I have a working program written in Java with the Java Sound API that is able to play multiple mp3 audio files at the same time to different USB Sound Cards in the same computer. It works fine in Linux. In Mac OS X, however, it does not. The listing of my sound Mixer Infos is: [0] Java Sound Audio Engine [1] Built-in Input [2] USB Adva...

Install Android App via USB

Hey Guys I've got a Problem. I am working on a Project where I am using a Programm on the PC to handle different data (which another programm = my android app creates), which i found on the plugged in sd-card of the android device. My aim is now to use the programm on the Computer to install the Android App on the Android Device. In ot...