I have an embedded machine that is running g_file_storage. I would like to be able to access the backing store in read only mode from the machine while g_file_storage is running and a host machine is dropping files into this backing store.
Any idea how one can achieve that ? I know that it is not advisable, but would like to try it any...
I have read many codes and none match each other.. I did little bit of programming but one thing i' confused about is: how many ways you can read a USB (how many classes or libraries i have to call to do such a thing)? when you use .serial port( does that mean you are reading a serial port or even the USB uses the same class or library)?...
I'm looking to retrieve the serial number from a USB memory stick on windows in c++.
I have found plenty of C# examples, and c++ for linux but none for c++ and windows.
Edit
C++/CLI is not an option unfortunately.
I am looking for the serial number of the device not the file system. OR "Device Instance Path" AKA "InstanceID"
...
I am working on a project (a digital camera) that should be able to take still images and short video clips and make those available to the host. As well as being able to stream live video.
Which USB class[es] should I use?
Should I use PTP (for still images and video) and USB Video Class for streaming?
Does PTP support transfer of vi...
I've been asked (if it's possible) to write a program monitoring the input of at least 20 microphones, on a single computer.
Currently I'm prototyping in python (2.6), on a Ubuntu system using Alsa. My attempts so far have created quite a few questions...
Ubuntu is a requirement, Alsa isn't, and python is an ideal.
For hardware, one s...
I have a USB Joystick, and I want to write my own HID driver for it. Notably I want to inject delay between when the joystick input is received by Windows and when my application is notified of that input event. I would also like to change the identity of the joystick percieved by my application. I have never written a driver, let alone ...
I want to extract a USB storage device serial number from inside a minifilter filesystem driver, inside the InstanceSetup callback using the technique described here the only difference is that I do it in kernel-mode.
I use:
status = IoGetDeviceInterfaces(
&GUID_DEVINTERFACE_DISK,
NULL,
0,
&SymbolicLinkList
);
to...
This question is a bit vague, and I apologzie for that, but a fairly vague answer will do :)
How do people typically access memory adresses of external devices (say, connected to a PC through USB, or even just say, a multipurpose microcontroller)? I'm wondering how software is able to find address to write to registers or EEPROM space.
...
Is it possible to use a USB device peripheral that I have created directly on a website.
I am not sure how to start, but for example, on websites like connect.garmin.com they allow you to connect your Sat Nav and then transfer the data to the website after you have downloaded a application and restarted your browser.
What do I need t...
How would one install rubygems on a usb stick so that it would work like it would normally, but all files go on the stick? I have no experience at all with rubygems and have no idea of its inner workings, so please, go easy on me! Thanks in advance, ell.
Edit: Basically, so it is entirely portable!
...
Hi all,
I'm controlling my self-designed USB device using SCSI interface with C by opening a file handle, ioctl and using sg_io_hdr_t structure. I have to design a GUI, and i should do that with C#. I am not too familiar with C#. Could u suggest a way to do that with C#
...
I am working on an embedded Linux platform and I have need to transfer data between the platform and a PC. The embedded Linux has a usb device port (like a printer), so this is the means by which transfers would take place. I envision the easiest way to integrate Linux with the software already on the PC is to have the Linux device appea...
Is there a way, just using the win32 API, to find out what version of USB is available? The XPe build is pretty barebones and doesn't doesn't have WMI.
I considered the USBview technique: enumerate the USB hubs by opening \.\HCD0 through say \.\HCD9, use DeviceIoControl to get the hub name, and looking for an enhanced host controller. ...
I want to get the virtual port number of usb driver. This property can be found in device manager name as bus relation or children.
if (SetupDiGetDeviceRegistryProperty(devInfo,
&devInfoData,
SPDRP_ADDRESS,
...
Some software I am developing requires the presence of a USB device (which I interact with as a SerialPort, with a USB-to-UART bridge).
Sometimes, after a computer is being restarted from hibernation, the device is not being detected, and I can no longer write to, or read from, the device through its serial port. Having read/write acces...
Hi,
I have an USB device that will send out some proprietary data and I have some algorithm that converts it to mouse coordinates, the question I have is how do I write a driver that reports to Mac OS X?
I have seen some references to IOHIDPostEvent but I cannot find detailed documentation on Apple's Developer Website. Is this the corr...
I have tried with zero success to get a USB debug connection from a WinXP dev box to a brand X Android 1.6 tablet. I believe I had everything configured correctly on the Android and installed correctly on the dev box, but when the two are connected with a USB cable NOTHING HAPPENS; i.e. Windows finds no new hardware much less a new USB d...
Do I need to use the external accessory API for this? Or are there other ways/possible at all using the SDK? I'd like to access the contents in a specific folder on a Mac from the Iphone. Thanks in advance.
...
I'm updating some old old code (that works for now, but is using OpenTransport, so um... no) that interfaces with a USB scanner. I THINK I understand how IOUSBDeviceInterface and IOUSBInterfaceInterface are supposed to work, but I can't seem to get information about the pipes.
I have a method which takes: (IOUSBInterfaceInterface **)int...
Currently I have an objective-C program that detects when a Fujitsu scanner is added and removed from the computer. I'm trying to add the ability to ask the scanner information about itself. I know the command for this, however, something is going wrong. I'm doing a bit of cargo-cult programming, from two different cargo cults (How do yo...