usb

WinUSB application or User-Mode Driver as a filter driver for USB Analysis/Sniffer/Trending

A question to maybe some who have worked extensively with WinUSB APIs or use mode USB drivers - Does anyone know if the WinUSB API or a user mode driver can be used as a passive observer of USB connections, capturing notification of interrupts, control requests, data transfers...etc without interfering with other applications (such as iT...

Applying a modifier key from one keyboard to a keypress on another in OS X

I want to use a foot pedal to press the key, but OS X won't associate a modifier keys across two different devices. I've found some applications that create virtual keyboards, such as synergy+, so I know it must be possible to capture events from 2 devices and merge them as if they were coming from one device. Any ideas on how I can mak...

Printing to a USB printer with Python on a Mac

I have a Star TSP600 thermal receipt printer attached to my macbook via usb. The drivers are installed, and I can print to it using the normal Mac print dialog. How I can construct a program to send text to the printer? Is there a guide to basic printing interfaces? I generally work in Python, and I'd be willing to learn another langua...

Programmable USB dongles

Where can I buy a programmable USB dongle that supports C as a development language? ...

Mocking USB input

Our product includes some custom hardware, that connects to a PC via USB. We've started looking into automatic testing, but so far I'm unable to find a tool that can record/replay generic USB input. Does anyone know of such a tool? (And - it would be best if it's somehow scriptable - testing would have to alternate between GUI interac...

udev ignore_device won't work if device already connected

I wasn't really sure if this was the right site to put this question on, but I put it here since this is sort of a programming question and I figured the SO crowd was the most Linux-oriented of the three sites. Anyways, I'm trying to find out a way to simulate disconnecting a device from a software aspect, just as if a user physically ...

Programmatically accessing the contents of a Sony MP3 player

How to access/manipulate Sony MP3 player’s contents programmatically?.. A Sony Walkman MP3 player (NWZ-W202) is connected to a Vista Ultimate PC through a USB port. The player contents is visible by the Windows Explorer as “Computer\WALKMAN NWZ-W202\Storage Media\MUSIC\MediaFile1.mp3”. Computer Management\Storage\Disk Management lists...

emulate usb port

How can I emulate an USB port in windows? What I try to do is to tell windows that my programm is an USB slave. A good example is the FrizBox USB-Remoteconnection wich can let an USB printer from the friz box looks like a printer at the usb port of the pc. ...

Does Matlab handle USB communication?

I would like to receive the input for my MATLAB program from an USB source. It is possible? How? I am also the developer of the hardware that sends an audio stream through the USB. There is any way to send this kind of data it making easier to receive it? ...

Detecting the Device Which is Connected To USB port

Hi all, If i connect a device (USB dRIVE,USBcAMERA,ETC) to my system, I should found out which one is connected to the usb port. Is there a way to do it? ...

Hacking USB devices: Any programs out there?

I would like to (A) run something under windows to eavesdrop on the communication between a USB device and windows, so I can then (B) write something to communicate with the USB device, under Linux. Can anybody recommend a program to do (A)? ...

Running Tomcat from USB Flash Drive

Hi all, I am trying to setup Tomcat to work straight from a USB flash drive. I know that is possible to run apache + mysql + php from USB flash, but what about tomcat? I found this link which contains some explanations but the links to download the sourcecode or the bin are not working. http://www.javalobby.org/articles/tomcat2go/ B...

What problems might occur if a USB device is not USB 2.0 compliant?

I have a Full Speed device that specifies the max packet size as 256 bytes. This is not USB compliant since the maxiumum packet size for a Full Speed Device should be 64 bytes. I can read (ReadFile) and write (WriteFile) to the device just fine, but I'm wondering if there could be issues that could arise that I'm just not seeing other ...

Programmable stand alone Button (hardware+software)

I need to have a physical button that when pressed will be noticed by my program. There are many types of usb-buttons that are preprogrammed to open a website, shutdown the computer and so on. And I have seen some projects using buttons and serial port. But none of them "have it all", an easy description of how to put togheter the hardw...

Ethernet - USB communication

I have a piece of hardware that sends USB data over ethernet (only the data stored in the package will be send). On a remote PC the data is recieved via ethernet. How can I send this data to the USB driver so it translates the data into commands applications can use? ...

Generic printing using a USB port

I am developing on a device that has no printer support natively. I need to print to any printer using a USB port. Is this feasible? Is there any generic standard for all printers to print via USB? The device runs on Linux/PowerPC. ...

How do I read events from a HID device under Ubuntu Jaunty?

I have a Linux USB HID device (a Hama MCE), and I can read its events manually by reading cat /dev/input/event7 and cat /dev/input/event8. Whenever I press a key on the device, a few bytes become available for reading with one of the cat commands above. I have a default installation of Ubuntu Jaunty 64-bit desktop on the machine. I thin...

how to get USB hardware id using device id?

How to get hardware id of the usb device using device id...i am using vc++6.0 and OS is xp. is it possible by using wmi. ...

How to retrieve data from an i2c device over usb in linux

Hi All, I have a temperature sensor, which is connected using an USB-I2C adapter (http://www.robot-electronics.co.uk/htm/usb%5Fi2c%5Ftech.htm) I attached this device to my linux computer (suse10). I typed dmesg and saw usb 3-3: new full speed USB device using ohci_hcd and address 10 usb 3-3: new device found, idVendor=0403, idProduct...

communicate with iphone via USB port on mac

So what I need help with is communicating with the iphone via a mac program. I don't want to do complicated stuff, I mainly just want to send the "screenshot" command, much like xcode does in the organizer window, however I want to be able to do my own things with it. ...