usb

Installing the Android USB driver - not happening

Using AVD, I successfully obtained the USB driver. I followed the instructions on this page USB Driver for Windows but Windows never prompted with the "Found new hardware..." message. I'm running Vista x64 SP2 and I can see the amd64 folder under ~\Android SDK\tools\usb_driver. The Manage Devices applet shows no listing for "ADB Inter...

Can I write a program that swiches USB on/off

I have a USB modem and it often drops the signal. When this happens I pull unplug and re-plug it from the USB port and it gets the signal right back; Can I write a program that does that without having to physically disconnect the modem from the port? ...

Controlling USB Access of Windows CE6

I am looking to find a way to programatically (C++) control/secure access to the USB ports on a Windows CE device that will only have a single login, and then be left running a real-time application. Ideally, being able to have a password entered into the running application, which then opens up/enables USB functionality, would be the e...

How do I automatically copy files to my hard disk from USB device when connected using Perl?

My current thinking: I need a certain module that will let me access the USB device. Also, I need some kind of deamon thing that will notify my script of any incoming USB connection event. And then I simply use some regexp to find the file I want to copy and then do the copying, maybe with some file copy module. But I searched CPAN with...

RXTX and Serial USB : Hotplug management on linux/windows

Hi everybody. I'm writing an RXTX based code in order to detect the plug and unlug of a USB serial device on linux/windows. public class PortMonitor implements Runnable { String portname; boolean life = false; CommPort p = null; public PortMonitor(String name) { this.portname = name; } public void s...

How to detect a USB connection in linux/Qt

hi all, i am extremely new to both qt and linux , can u please tell me a way how to detect a usb device connection and disconnection using qt in linux platform . any help , doccuments, urls/sites where i can get the basic information (in detail would be even better) is appriciated. please help thanks in advance, SAMBEET KUMAR...

Better way to script USB device mount in Linux

Hi. I'm writing a python module for a device that interacts with a user supplied USB memory stick. The user can insert a USB memory stick in the device USB slot, and the device will dump data onto the memory stick without user intervention. If the device is running when the user inserts the USB stick, I have hooked into D-Bus and have an...

Unable to install Android USB driver on Windows 7 Pro 64 bit

Unlike some others, my Android SDK setup went smoothly on my new Windows 7 Pro 64 bit machine. However, I am currently hung up on installing the android usb drivers. What is the current state of this issue? There has been some discussion of this problem on the web but no consensus is immediately apparent. ...

How to identify when a USB device is inserted to a WinCE device

I have a touch enabled device with WinCE, I need to show a UI whenever a USB device is inserted to the device. If there any event or method to identify the USB insertion in WinCE. ...

sql exception when transferring project from usb to c:\

I'm working on a C# windows program with Visual Studio 2008. Usually, I work from school, directly on my usb drive. But when I copy the folder on my hard drive at home, an sql exception is unhandled whenever I try to write to the database. it is unhandled at the conn.Open(); line. here's the exception unhandled Database 'L:\system\pr...

Multiple Driver for USB Device

Is it possible for a USB device to support multiple drivers? I'd like to support my own proprietary driver but also CCID as a second choice. When the device is plugged in, the user can select which one to use. The driver to use is determined by what the USB descriptor says, right? If that is so, is it possible to indicate that both drive...

Detect insertion of media into a drive using windows messages

I am currently using WM_DEVICECHANGE to be notified when new USB drives are connected to the computer. This works great for devices like thumb-drives where as soon as the device arrives it is ready to have files read from it. For devices like SD card readers it does not because the message is sent out once when the device is connected ...

Can a USB to parallel port adapter recognize a "high" pin?

I’m building a custom “robotish” machine that has 8 switches I need to interface with a laptop. The only input to the laptop is via USB. Here’s my idea: When the switch is closed, it sends a 5v signal to one of the input pins on a parallel to USB adapter. This adapter translates this to a USB signal and sends it to the computer, which ...

Python, SWIG and other strange things

hey, I have a firmware for an USB module I can already control by visual C. Now I want to port this to python. for this I need the octopus library which is written in c. I found a file called octopus_wrap which was created by SWIG! then I found a makefile which says: python2.5: swig -python -outdir ./ ../octopus.i gcc ...

Programming with USB Missile Launcher under Linux

Hey! Just got today these ones: http://www.pearl.de/a-PE5858-1413.shtml I want to start programming with these, but I can't find anything usable. I'm using Ubuntu Jaunty 9.04. The Problem is that I couldn't find much samples and modules etc. for my modell. ...

OSX: How to get a volume name (or bsd name) from a IOUSBDeviceInterface or location id

Hi, I'm trying to write an app that associates a particular USB string descriptor (of a USB mass storage device) with its volume or bsd name. So the code goes through all the connected USB devices, gets the string descriptors and extracts information from one of them. I would like to get the volume name of those USB devices. I can't ...

running an android app on the device instead of on the emulator.

hi, I've installed the usb driver, i'm running win7. I can see that the driver is installed in the window->android SDK and AVD manager->installed packages but when i'm writing "adb devices" in the cmd it doesnt show like the phone is connected (it is - it has the orange led on..) I'm using the HTC G1. I also did the "Turn on "USB Debuggi...

Where can I find more information on creating a driver for a usb device in C / linux?

I know how about the capture part in wireshark. Parsing and figuring out the data shouldn't be a problem. Links to where I can get more information, tutorials or forums on how to target and receive from the device, or related content would be most helpful. ...

USB Serial cable with CDC support

Hi All, I bought a USB to Serial cable which claims to be CDC compliant. But the bInterfaceClass value in interface descriptor is 0xFF(which is vendor specific). I was expecting it to be 0x02 (Communications and CDC control). In the device manager, i found that the drivers being loaded are ser2pl.sys and serenum.sys. I had learnt usb...

iphone usb connection

Hello everyone. I would like to know how any computer (mac, windows, linux) shows up media folder when an iPhone is connected. What protocols are used by that? ...