usbserial

Patched FTDIUSBSerialDriver kext has to be unloaded/reloaded after reboot (OSX 10.10). Any ideas?

懵懂的女人 提交于 2019-12-11 09:32:34
问题 I'm exchanging data between a bare-bone Arduino and openFrameworks via a serial UART FTDI connection. I'm using a patched FTDI driver to achieve higher BAUD rates on OSX. FTDIChip calls it "Aliasing VCP Baud Rates". See: http://spin.atomicobject.com/2013/06/23/baud-rates-ftdi-driver-mac/ https://github.com/arminbw/wiretouch/blob/v0.21/perl/modify-ftdi-driver-settings.pl This worked until recently. Since upgrading to OSX 10.10 I have to manually unload and reload the kext to make it work: sudo

bypass android usb host permission confirmation dialog for android 5.1

*爱你&永不变心* 提交于 2019-12-11 00:34:43
问题 I want to use android in industry, I can connect to Profilic and Ftdi USB to Serial chips with slickdevlabs.com library without any problem. The application has a service and it starts on boot,connect to the usb serial port and do the other things. my problem is that the host device does not have any interaction with user, so when the android asks Allow the app "MyAPP" to access the USB device ? [checkmark]Use by default for this USB device Cancel OK there is no person to click on ok. even

Trouble installing custom inf in Windows 10 Professional. Windows overrides it with OEM driver

拈花ヽ惹草 提交于 2019-12-10 16:54:29
问题 I have made a signed USB Serial inf file for a custom device and created an installer that successfully installs the driver to Windows 7 (32/64), Windows 8.1 (64) but not Windows 10. This applies to the default installation (right-click, install) directly on the file, using Device Manager and using PNPUTIL. The device driver successfully installs but the OEM usbser driver is used instead. After clicking "Update Driver" and selecting my driver in Device Manager, Windows prompts me with "The

Serial number of the usb on windows Ce 6.0 in c#

好久不见. 提交于 2019-12-08 11:52:25
问题 I need to get the serial number of a usb stick connected to a windows ce 6.0 device. I tried with KernelIoControl and i get the serial number of the window ce 6.0 device but not the usb connected to it. private static string GetDeviceID() { // Initialize the output buffer to the size of a // Win32 DEVICE_ID structure. byte[] outbuff = new byte[20]; Int32 dwOutBytes; bool done = false; Int32 nBuffSize = outbuff.Length; // Set DEVICEID.dwSize to size of buffer. Some platforms look at // this

Serial to USB Android application with health device

杀马特。学长 韩版系。学妹 提交于 2019-12-07 09:30:18
问题 I am creating an Android application to let communicate my Galaxy Tablet with an health device, via serial to USB connection. The code I implemented does not work! neither the OUT nor IN communication starts Does someone has any idea? public void recordData(View _view){ text = (TextView)findViewById(R.id.textView1); manager=(UsbManager) getSystemService(Context.USB_SERVICE); PendingIntent mPermissionIntent = PendingIntent.getBroadcast(this, 0, new Intent(ACTION_USB_PERMISSION), 0);

USB-Serial communication giving strange output

馋奶兔 提交于 2019-12-06 15:05:34
I'm trying to get data from a mercury analyzer (Seefelder-Messtechnik Hg Analyzer 3000) that gives output to a 9-pin R232 serial port to my OSX 10.10 laptop. I've followed the steps described here to install the PL-2303 driver: http://pbxbook.com/other/mac-tty.html The device manual ( http://www.seefelder-messtechnik.com/V71-3-02-21e.pdf ) lists the communication protocol as "9600 Baud, 8 data bit, 1 stop bit, no log, no parities". I attempt to read from the device by using the 'screen' command: screen /dev/tty.usbserial 9600 The result is a string of seemingly non-sensical characters that

Can i crack usb security dongle?

青春壹個敷衍的年華 提交于 2019-12-06 11:32:37
I have to develop a plugin for a program that uses dongle to activate.Just wondering can i crack the key of the usb or something else? I'm sure you can , but you might be running afoul of the various legislation regarding the act of reverse engineering content protection systems. I am, of course, referring to the American DCMA statues. In any event, as pure thought experiment, I might try the following: Clone the USB firmware image, and load it into a virtual USB port As you say, crack the key and the USB interface, and short-circuit the check in a virtual USB device. Locate the part of the

How to communicate with more than one USB Serial devices and Android

混江龙づ霸主 提交于 2019-12-06 08:47:56
问题 I am trying to make android code work which can communicate with multiple USB serial devices and android tablet. For this purpose I am using USB Serial Library by FELHR85 https://github.com/felHR85/UsbSerial. I am able to communicate with single USB device at a time. but, now when I try to connect and communicate with multiple USB serial device App is failing. I am using below code to test with multiple devices. public class UsbService extends Service { public static final String ACTION_USB

Identifying serial/usb device python

 ̄綄美尐妖づ 提交于 2019-12-06 02:08:09
问题 The solution to this problem is probably pretty simple, but I am new to interfacing with a device dynamically. What I'm doing is I am making a python executable code, so the user doesn't have to have Idle on their computer or any kind of python interpreter, which means I don't know which USB port the device will be plugged in to. The program needs to be able to open a connection to a device that is connected through a serial to usb converter. How can I determine which connected device is the

Identifying serial/usb device python

我怕爱的太早我们不能终老 提交于 2019-12-04 08:37:23
The solution to this problem is probably pretty simple, but I am new to interfacing with a device dynamically. What I'm doing is I am making a python executable code, so the user doesn't have to have Idle on their computer or any kind of python interpreter, which means I don't know which USB port the device will be plugged in to. The program needs to be able to open a connection to a device that is connected through a serial to usb converter. How can I determine which connected device is the correct device to open a port to? I am using pySerial to interact with the device. Any help would be