usb

iPhone interaction between PC app and iPhone app using USB

Hi, I know since the 3.0 SDK we can use accessories, so my question is simple, what is the process to make an iPhone app and PC (or Mac) app interact, using the USB ? I don't ask you any code, but just the paths and the keys for making that work. Have I to access the iPhone disk through SSH and work with files ? Or can I send data fro...

Arduino : sending MIDI up the USB

I'm interested in making an Arduino based MIDI controller to talk to my computer. Looking at other examples of Arduino MIDI (eg. http://itp.nyu.edu/physcomp/Labs/MIDIOutput), they all seem to wire up a dedicated 5 pin DIN. Which makes sense as this is the original cable to connect keyboards, expanders and sequencers together. However, I...

Development Kit suggestions

Hello everyone Working on a PoC of a project that streams data from USB via Wifi: I need a development kit with WLan (preferably 802.11g) and HighSpeed USB device. Don't mind the CPU type, memory size etc. (Even a kit with only Ethernet 100M will do) If anyone can recommend one or even suggest a place to ask, I will be most obliged. ...

Why only one WM_DEVICECHANGE message when a multi-volume USB Device is removed?

I'm writing an application that detects when a certain USB Mass Storage Device is plugged-in, and when it is unplugged - by listening for WM_DEVICECHANGE messages. I've also registered my application to listen for WM_DEVICECHANGE messages for DBT_DEVTYP_DEVICEINTERFACE (using the RegisterDeviceNotification API call) and I get both the ...

Can Ruby tell when a USB memory stick is plugged into a USB port on Linux?

First time caller, long time listener... I'm working on a utility that will scan USB ports and mount any Mass Storage devices it finds. I can poll for changes ( with a patched version of Ruby-USB ) but would much rather get a notification, or subscribe to some event. Is there a way for Ruby to be tickled when a USB stick is inserted? ...

IOUSBDeviceInterface CreateInterfaceIterator does not return all interfaces

Hello, I've ran into a problem when CreateInterfaceIterator does not return all interfaces for the device. When I open "USB Prober" it says there are 9 interfaces, but displays 14 of then counting Interface #1 - Vendor-specific Interface #1 - Vendor-specific (#1) as one interface. The problem is that CreateInterfaceIte...

How to make sure that a file was permanently saved on USB, when user doesn't use "Safely Remove Hardware"?

When I save a file on a USB within my delphi application, how can I make sure the file is really (permanently) saved on the USB, when "Safely Remove Hardware" is not performed (especially forgotten to use)? Telling our customer to use the windows feature "Safely Remove Hardware" doesn't work. Is there a windows API command to flush the b...

Run Apache / PHP / MySQL (CakePHP) application on a USB stick?

Hi, I have an existing CakePHP that runs on a LAMP environment and need to install it on a USB drive for mass public distribution. There are a few requirements: Protect the source code No installation required Windows support essential MAC & Linux would be a bonus Must run offline, without Internet connection Ability to sync with ser...

How to detect that Symbian phone is being used as a modem?

I have a Nokia Symbian Series 60 3rd edition phone. I can use it as a GPRS / 3G modem either using Bluetooth, USB or IR. Is there a way to programmatically detect when the phone is being used as a modem? Please note I don't want to detect when a GPRS / 3G connection comes up (such as when you use the phone browser), but when a GPRS / 3...

Control USB ports

can i send specific signals to USB ports using Ruby or C++, also the operating system is Windows, so this is like totally new 4 me (to program for windows), so i'm trying to do it as a DLL file, can this DLL contain Ruby code ?? by the way this is just a training project, so it dosn't matter that much, i'm just practicing on those stuff...

Querying the connecting device for usb devices in OS X

Ok, so here's the setup. In OS X (>= 10.5), is it possible, given a mounted usb device with a known location, say /Volumes/FLASHDRIVE, to find out whether this device is connecting through another usb device (a card reader for example) and if so, which one. Ideally, this could all be done in python, but if not that's ok too. ...

USBCELL - Can anyone program this?

USBCELL rechareable batteries - charged using the USB port These came out a while back and are worth the money, in my opinion. I searched around for software specifically made to monitor the battery level of USBCELL batteries and got nothing. There are some USB port monitor programs out there which might tie in somehow, but they could...

How do I build a virtual USB simulator?

We are looking for a virtual USB link simulator; this program or service should link a virtual COM port to an application which accepts only USB as data link. The virtual COM port is VSPE from Eterlogic. The purpose is to make a serial data link between this virtual port and an application that expects data from a USB stick. Instead o...

C# getdrives with type fixed but without usb harddisks?

Hey, I want to retrieve the list of fixed disks in a system. But C#s GetDrives Fixed Drives are including plug USB Harddisks. Any idea how I may detect that a fixed Drive is not an USB harddisk or vica versa? Ciao Ephraim ...

How to read out vendor ID of CF-Card

Hello I'm writing a bash script which fills cf cards with an image. Since only specified cards are allowed, I'd like to check if the right type of cf card is plugged in the USB cf card writer. I know that it is possible to read out vendor id and firmware version of the cf card somehow (I saw it on an embedded system), but I don't know ...

Downloading data to a PIC micro from the web

I have a client that would like a small PIC board that plugs into a PC's USB as a dongle in HID mode. It would basically just transfer small amounts of data over RF to another device across the room. They would like the data to come from the web. ie. user clicks a link in their browser which wakes up the PIC board and begins a download t...

JPOS Hello World

I would like to print a sample line on my USB POS (Point-Of-Sale) printer from a java program on Windows XP. I tried to setup a JPOS implementation but I get exception after exception for a missing jpos.xml or missing javax.usb.propreties file. Can anyone tell me how to generate thoses files ? They somewhat need to link to an implement...

USB Programming with Objective-C

Can anyone tell me how to program USB devices with Objective-C as an iPhone application? I want to access USB device contents through iPhone ...

Getting connected USB info with Delphi on Vista

Hello, How can I get 'connected usb info'(device instance id, driver key name ..) from Registry in Vista or Windows 7 by using delphi? Where is this information in Windows Registry? I have a code it's working on XP but not in Vista.(code: http://www.delphipraxis.net/post991546.html) Why the code is not working on Vista? I'm really stack...

Is there a way to identify a USB pnp event in Perl code on Windows?

Is anyone familiar with how to identify a USB pnp event with Perl on a Windows (win32 system)? There is Device::USB (Use libusb to access USB devices) but it suitable for linux, and in order to work in Windows it require libusb and even that not require it to works, is there any other option to identify if a USB device is plugged or un...