usb

Enable USB-OEM (HID POS) mode in a Datalogic barcode scanner on OS X

℡╲_俬逩灬. 提交于 2020-01-14 03:37:27
问题 I am trying to use a Datalogic barcode scanner (Gryphon 44xx model) on a Mac, from an application (i.e. I am not writing a device driver). Instead of using the scanner's keyboard emulation I'd like to use the special USB HID scanner protocol, called "USB-OEM" mode by Datalogic. I've already successfully managed to use a different scanner in this mode (a GoDEX model), which sends me HID packets whenever it scans a code. However, the Datalog scanner doesn't attempt to scan nor sends scanning

C# Disable garbage collection for USB ReadPipe

旧时模样 提交于 2020-01-13 11:43:16
问题 I am attempting to collect data from a USB port using D3XX.NET from FTDI. The data is collected and then sent to a fast fourier transform for plotting a spectrum. This works fine, even if you miss some data. You can't tell. However, if you then want to send this data to an audio output component, you will notice data missing. This is where my problem appears to be. The data is collected and then sent to the audio device. All packets are making it within the time span needed. However, the

C# Disable garbage collection for USB ReadPipe

。_饼干妹妹 提交于 2020-01-13 11:43:13
问题 I am attempting to collect data from a USB port using D3XX.NET from FTDI. The data is collected and then sent to a fast fourier transform for plotting a spectrum. This works fine, even if you miss some data. You can't tell. However, if you then want to send this data to an audio output component, you will notice data missing. This is where my problem appears to be. The data is collected and then sent to the audio device. All packets are making it within the time span needed. However, the

C# Disable garbage collection for USB ReadPipe

我只是一个虾纸丫 提交于 2020-01-13 11:42:52
问题 I am attempting to collect data from a USB port using D3XX.NET from FTDI. The data is collected and then sent to a fast fourier transform for plotting a spectrum. This works fine, even if you miss some data. You can't tell. However, if you then want to send this data to an audio output component, you will notice data missing. This is where my problem appears to be. The data is collected and then sent to the audio device. All packets are making it within the time span needed. However, the

Safely remove USB from batch file?

霸气de小男生 提交于 2020-01-13 11:34:12
问题 Can a batch file be made in windows that could safely eject the USB?So far on various sites there exist different utilities like devcon. 回答1: Eject Media and Remove Drive Freeware by Uwe Sieber - http://www.uwe-sieber.de Remove drive is what you need for USB safe removal. 回答2: Download RemoveDrive.exe from http://www.uwe-sieber.de/drivetools_e.html and then use the code below. removedrive\x64\RemoveDrive.exe F: -L Note that F: is the drive you want to eject -L means Loop 回答3: Please try this

how to get USB hardware id using device id?

谁说胖子不能爱 提交于 2020-01-13 11:24:15
问题 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. 回答1: Finally i solved my problem...thanks for your replies... I am posting the code here, it may be useful for someone... by this code we can get all hardwareids of the devices which are connceted to our system.. HDEVINFO hDevInfo; SP_DEVINFO_DATA DeviceInfoData; DWORD i; // Create a HDEVINFO with all present devices. hDevInfo = SetupDiGetClassDevs(NULL, 0, // Enumerator 0,

how to get USB hardware id using device id?

别说谁变了你拦得住时间么 提交于 2020-01-13 11:24:07
问题 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. 回答1: Finally i solved my problem...thanks for your replies... I am posting the code here, it may be useful for someone... by this code we can get all hardwareids of the devices which are connceted to our system.. HDEVINFO hDevInfo; SP_DEVINFO_DATA DeviceInfoData; DWORD i; // Create a HDEVINFO with all present devices. hDevInfo = SetupDiGetClassDevs(NULL, 0, // Enumerator 0,

cross platform usb module for python?

我与影子孤独终老i 提交于 2020-01-13 10:11:11
问题 I was interested in doing some cross platform work with a usb device in python, any tips or recommendations on modules that can do this type of thing? I've looked around SF and googlecode without a lot of luck. thanks! ct 回答1: PyUSB is what you are looking for. it is a wrapper around libusb which works on linux and was ported on Windows. 来源: https://stackoverflow.com/questions/1928936/cross-platform-usb-module-for-python

USB touchscreen on Android 4.0.3 -> not possible to select (only moving the pointer)

只愿长相守 提交于 2020-01-13 06:00:30
问题 Good morning guys. I bought a LCD embedded display with a resistive touch screen integrated. The TS is interfaceable via USB. I have connected it to a device running Android 4.0.3 and the touch is correctly recognized as externale HID. PROBLEM: the tapping (pressing) is not recognized as selection/confirmation...the only thing that happens, when I tap the screen, is to move the pointer(arrow) in corrispondance of the coordinated of my finger..like I moved a mouse HID without left left

Using Android USB Host API to read my USB game controller/Or other USB device data

天涯浪子 提交于 2020-01-13 03:35:18
问题 I am trying to use Android USB Host API to read my USB game controller data, once I get this to work, I will connect other device to test. My game controller is connected to my Android phone using OTG cable. I am now able to get device, endpoints information, but I don't know how to read the raw data and display it. Can someone please help me? Some example codes will be appreciated. TextView countDisplay; ArrayList<String> listItems = new ArrayList<String>(); ArrayAdapter<String> adapter;