usb

Can Android OS be programmed to interface with a external device via the mini-USB port?

Basic example, if I bought a chipset with a light socket and bulb soldered to the chipset; then put a USB cable with the mini-USB plug on the end to get plugged into the android phone. Can I write a Java application to turn on/off the light, get the status of the light(on/off) and maybe power a super-small led/bulb with power from the ph...

Reading from USB device and sending queries to it, in C#

I've read this: http://stackoverflow.com/questions/1176053/, which was an insightful article. However, I have no great background in WMI, and I found the large amount of documentation to be overwhelming. I can't find what I'm looking for. The situation is that I have a device that will send data over the USB port, to the soundcard of t...

Connection of phidgets accelerometer using Android OS

Hello, I'm newbie in Android (and programming) and I would like to connect an USB Phidgets accelerometer (product description) using Android OS. On his website, Phidgets gives code samples including JAVA and others (see previous hyperlink). Could someone tell me if these samples are supposed to work with Anrdoid OS ? Any other suggestio...

Android USB Functions?

Are there any USB functions for Android devices (all user devices, not rooted)? I'm curious because I might want to make an app that puts things through USB ...

Does anybody know of a USB Postage Scale that's Linux compatible?

I'm looking for a postage scale that already has linux support (drivers, etc) for a shipping system that I'm working on. I'm planning to use Ubuntu 9.04, but I am willing to switch distro's for compatibility. Does anybody know of any scales that currently work? Is there an open source project that's working on scale drivers or similar? ...

Controlling usb devices from a droid?

Anyone know where I can find information on how I can control the USB port on a Droid running Android 2.0? I want to know how to either initialize the USB port or send data across it vi a program. I want to be able to atatch a device to the USB port to act as a switch to control a microservo. So when I said "send data" across the port, I...

python operation not permitted (graphtecprint)

I'm running a python program. When it get's to these lines: f = open("/dev/bus/usb/007/005", "r") x = fcntl.ioctl(f.fileno(), 0x84005001, '\x00' * 256) It fails saying: IOError: [Errno 1] Operation not permitted What could be causing this problem? ...

How to write a simple usb driver?

I make this treat because you are closing my other before i get my answer. Here is my answer clear and exactly what i want to do! I wanna create a usb driver, so my own C application be able to get into my flash drive and take information from the imported flash drive. OS: Windows Please don't close it again I still cant find my answer...

Hardware Emulator / Simulator for Winforms .Net Application

I have a WinForms .Net HMI software which talks to hardware over USB. I check for communication with the hardware at Load time and if communication is active then run it (The hardware manufacturer has provided a communication library to talk over USB). I want to build an emulator for cases when communication with hardware is not possib...

Pattern for GUI applet for sound control

Writing a sound control applet with GUI that communicates with a device via USB. There are several type of controls being used, faders, knobs, on/off switches. Although there are functional similarites there are often different calcualtions, ranges and settings for each, though ultimately everything gets funneled into a big structure and...

How to list all attached USB devices in Visual C++

In Short: I need to detect hotplug events of my USB CDC device by PID/VID and get the corresponding virtual COM port which was created by Windows in Visual C++ and in the end create a dll. I have a USB CDC device which I need to be notified of when connected/disconnected on Windows. My approach is to use RegisterDeviceNotification and a...

Usb Driver on 64bit Windows

I have a pretty generic 64bit driver based on bulkusb.sys in WDK. It's been working for years with an embedded program, but now it is needed to work on Vista 64. From all the documentation I've tried to look through there doesn't seem to be anything affecting it, except compiling it for the 64bit environment, and yet when I compile it wi...

USB HID protocol question

I'm implementing USB on a PIC 18F2550 using a generic HID interface. I've set up the HID profile configuation to have a single 64 byte message for both inputs and outputs. Now it's basically working. The device registers OK with windows. I can find it in my program on the PC and can send and receive data to it. The problem is this thoug...

Copying files to an encrypted USB drive leads to major fillup

Hi, I have a Kingston Datatraveller Vault privacy edition with 8 GIG of space and I use a home-made program to copy images to it. Thing is, the amount of space needed for the images cab to be high as 3 times the actual size of the file while it's usually almost on par on a PC. It doesn't seem to affect other types of file though. Does...

Install usb device without manager prompt

We have a usb device and the drivers (.inf, libusb.dll, libusb.sys) and can install it using Windows' Device Installation Wizard (by pointing to the .inf file). However, we need to install the drivers without using the wizard (passively, so the user doesn't need to do anything). Does anyone know how this can be achieved? ...

How to tell which port a USB device is plugged into?

My c# app must manage multiple USB devices which are the identical product from the same manufacturer. If the user plugs 3 of my devices in, and then unplugs one of them, I need to know which of the 3 devices was unplugged. However, when I register the devices and receive the WM_DEVICECHANGE notifications, the data returned from the D...

.NET API for HID (USB)?

Is there an API in .NET (C#) for using USB HID (Human Interface) devices? ...

Is there a way to communicate with USB devices on Android?

Hello folks, I have a really short question: Is it possible to communicate/use USB devices on Android OS? I assume it might be tablet device. Lest say i want to connect some sort of USB card scanner to android tablet. Will it work? Do i need to write drivers by myself? Thanks. ...

Making Internal Harddisk act as External drive to another computer

I want to use the internal Hard disk of one computer to act as an external harddisk for another computer. Is there are direct way or tool available to achieve this. I know I can share the drive and access it over network but I want to use it without network, using USB. ...

C++ USB Programming

Hi, I am new to hardware programming(especially USB) so please bear with me and my questions. I am using C++ and I need to send/receive some data (a byte array) to/from a USB port on a microprocessor board. Now, I have done some serial port programming before and I know that for a serial port you have to open a port, setup, perfor...