usb

Reading info from printer on USB port

In the days of parallel printers one used to be able to send a command on LPT1 and receive back standard info such as life count etc. Now, with USB devices, have we lost that capability? Or is there still a way to read the info? ...

How to get the driver letter from dbcc name in Windows?

I want to detect USB disk insertion in a Windows Service. And I use RegisterDeviceNotification function. IN DBT_DEVTYP_DEVICEINTERFACE, I can get dbcc name. My question is: How can I know which driver is inserted according to the dbcc name? Thanks. ...

Activesync wont connect to my Windows CE 6 device

Hi! When I connect my Windows CE 6 device to my development machine I get Microsoft USB Sync to register in Windows Device manager. But I cant connect with ActiveSync for some reason. Any ideas on how to fix this? It worked with Windows CE 5, but when we upgraded ActiveSync-functionality disappeared. NEW UPDATE 13.34: Error log from...

Receiving data from a USB device in C or C++

It starts to bore me that I always have to ask questions about trifles. I simply need a list of all plugged in USB devices and have the user select one to let the console application receive any data the USB device sends. I can then start playing around with the data in my program. I don't want to use library's, only standard C++ func...

Get drive type with SetupDiGetDeviceRegistryProperty

Dear all, I would like to know whether i can get the drive information using the SP_DEVICE_INTERFACE_DETAIL_DATA's DevicePath my device path looks like below "\?\usb#vid_04f2&pid_0111#5&39fe81e&0&2#{a5dcbf10-6530-11d2-901f-00c04fb951ed}" also please tell me in the winapi they say "To determine whether a drive is a USB-type drive, c...

CE 5.0 with 3G Usb Stick

I'm new to CE programming and I have a Marvel device PXA270 with Windows CE 5.0 installed. The device has one usb port. I wonder if there's ANYTHING I can try to connect a 3G-HDSPA usb stick to it. When plugged it only recognises its folders as a pendrive would do, but no Internet. Thx. ...

Autorun when USB stick is inserted

Hi, I'm trying to prompt users to run my installer, whenever they plug in my USB device. I'd like this to work on all (most?) Windows OSes. I have an autorun.inf file in the root dir of my USB key with these contents: [Autorun] ShellExecute=setup.exe Icon=setup.exe UseAutoplay=1 It doesn't seem to do very much at all. Well... it d...

Logictech USB HID controller message

I have a Logitech game controller(http://www.amazon.com/Logitech-Dual-Action-Game-Pad/dp/B0000ALFCI). I'm using c# and Microsoft's HID driver to track what buttons are being pressed. Each button press sends a Byte Array that has 8 values. The problems is that I don't know what those 8 value represent. Here is an example: 0, 128, 126, 12...

Is it possible to transfer files via ZModem over USB?

And especially are there .NET libraries available for the purpose? Two hours of Google searches have turned up nothing so I'm not optimistic, but ... The big question: is it even possible to use ZModem over USB? TIA. ...

what happens when you plug in a new USB device?

I have an embedded device with a USB connection. When the user plugs the device into their PC (Windows, OSX), how does the operating system discover what drivers to install? How do I get my drivers to be selected? Can they reside on some central server (run by the OS vendor)? ...

USB driver problem - "could not find a better match for your hardware", but still doesn't work

I am having a USB driver problem with a TI ccdebugger module. I am running XP and using the ccdebugger with the IAR IDE. Once upon a time about 2 months ago this was working, but when I tried it recently it was broken. I have uninstall the driver and now I am trying to re-install it. When I plug in the USB cable I get a "USB Device Not R...

Trying to find USB device on iphone with IOKit.framework

Hi all, i'm working on a project were i need the usb port to communicate with a external device. I have been looking for exemple on the net (Apple and /developer/IOKit/usb exemple) and trying some other but i can't even find the device. In my code i blocking at the place where the fucntion looks for a next iterator (pointer in fact) wit...

linux usb driver: probing already plugged devices

hello, im writing a Usb driver and i have an issue. when i insmod the driver with the device already plugged in before, the probe function is not called. it is only called after i disconnect the device and plug it again. i wanna make it work when i start my pc with the device plugged in. could someone please help me? best regards, jacob....

Controlling the USB from Windows

Hi, I know this probably is not the easiest thing to do, but I am trying to connect Microcontroller and PC using USB. I dont want to use internal USART of Microcontroller or USB to RS232 converted, its project indended to help me understand various principles. So, getting the communication done from the Microcontroller side is piece of ...

serialport or USB port?

i am using this code:: http://stackoverflow.com/questions/3033324/c-serialport-question/3033402#3033402 to check what port my USB phone is connected to. supposedly USB would be a virtual com, but this seems to be incorrect i used the above code to detect where my phone is and the output is just garbage. is there a way for me to get ...

Reading data from USB using C#?

I do not want to read serial port nor other possible easy shortcuts please. I would like to know how to read a USB port in my laptop using C#. whether you can suggest a site or explain the flow of the process i will greatly appreciate your help ...

Still some questions about USB

Hi, few days ago I asked here about implementing USB. Now, If I may, would like to ask few more questions, about thing I dind´t quite understood. So, first, If I am right, Windows has device driver for USB interface, for the physical device that sends and receives communication. But what this driver offers to system (user)? I mean, USB...

Problem interfacing GSM USB modem to Java application

I am working on an open-source application called FrontlineSMS which can be interfaced with GSM modems to send and receive SMS. The windows installer that is available through their website works fine. Since i wanted to modify it, I got the source code and built the jar and tried to launch it. When I plug in the GSM modem and launch the ...

How to distinguish between USB and floppy devices - C#

Hello all, I'm trying to recognize drives types by looping around DriveInfo.GetDrives() result. But for both USB and floppy I get the same DriveType.Removable value. How can I distinguish between them? Thanks! BP ...

How can I launch an external application from the Browsers (IE, Firefox, Chrome, Safari) in windows

Is it possible to embed an external application inside the browser (IE, Chrome, Safari, Firefox) so it will look like a native web application but actually having access to the USB ports of the client machine? I have heard that I need to make an ActiveX control. I would like to use the .Net framework, but if that is not possible, maybe u...