usb Questions

2

Solved

I am trying to send data to a usb stick using the python library PyUSB. The code I am using is the following: import usb.core import usb.util # find our devices #dev = usb.core.find(idVendor=0xff...
Myronmyrrh asked 25/2, 2013 at 19:0

13

Solved

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,co...
Marquise asked 5/12, 2012 at 15:25

2

Solved

I can't get the following code for Detecting USB Device Insertion to work on my Windows 10 (64 bit) computer with Python 3.7. import win32serviceutil import win32service import win32event import s...
Tumulus asked 22/1, 2020 at 20:49

5

Solved

I am trying to write a program that uses an arduino mega and a FTDI-based USB to RS485 adapter. I want to make the program user-friendly, thus I don't wont the user to manually check the com port ...
Endodontist asked 23/4, 2013 at 7:46

1

I use a thread to send data to my usb-device (not data-storage) and get the return-data from device. It worked fine in the first 5 minute. Data in, data out. (I almost start to sing in the sixth m...
Wholism asked 7/4, 2014 at 6:33

4

Solved

I am writing an extension for an existing application that needs to handle USB insertion/removal events. I know the VID/PID of the device of interest. However, I don't have access to the window han...
Originate asked 2/11, 2010 at 14:59

5

I want to detect insertion/removal of a specific (Custom) USB device through a C++ application which runs in background and has no GUI. I have seen lot of questions and their solutions RegisterDev...
Minify asked 25/4, 2013 at 12:26

0

Rarely my flash drive doesnt work properly and it needs to be reconnected. Instead of manually reconnecting it, I'm powering it off using 'udisksctl power-off -b /dev/sdb'. Is there any way to "pow...
Tosha asked 18/2, 2020 at 20:31

5

Solved

This is an updated and shortened question. Communicating with a USB-device should be easy via PyUSB. So, I'm trying to read from a USB-device (oscilloscope) using PyUSB under Win10. Apparently, th...
Helsinki asked 29/11, 2019 at 12:49

5

Solved

I've seen HTC android devices have connect mode selection when connected to PC via usb line, while mine always pops up a USB massive storage device dialog with a button turn on massive sto...
Homologize asked 28/7, 2012 at 6:51

3

Solved

I find a descriptor as below. As I know, when bDescriptorType is 0x04, it means interface descriptor. If bDescriptorType is 0x24, what does it means? I can't find related description in USB spec...
usb
Percuss asked 1/7, 2014 at 3:37

4

Solved

First up, I don't know much about USB, so apologies in advance if my question is wrong. In USB 2.0 the polling interval was 0.125ms, so the best possible latency for the host to read some data fro...
Symptom asked 12/12, 2012 at 0:48

4

Solved

How can I communicate between two PC's via USB? I want a program to send numbers trough the USB port to another PC on which another program would show these numbers. I have the feeling that this is...
Gamesmanship asked 16/2, 2012 at 19:30

5

I have a bit of a problem with generating a HID descriptor. I want to use simple reports with ID1 for input and ID2 for output with 64 bytes of data. I realized that despite RTFMing and googling I...
Portfolio asked 6/2, 2014 at 15:26

1

I am trying to get Wireshark USB captures working. Apparently the trick prior to Catalina was to just bring the interface up so that Wireshark could see it. https://forums.developer.apple.com/thre...
Flurried asked 23/10, 2019 at 13:2

2

I need to get connected USB device list from windows by using python or cmd. for python i'm trying this. import win32com.client def get_usb_device(): try: usb_list = [] wmi = win32com.client....
Cooky asked 14/11, 2019 at 13:28

1

I have a web socket server on desktop and client on iPhone device. I would like to communicate with them using USB rather than any network. I have implemented it on android using adb reverse but no...
Gymnastics asked 8/8, 2019 at 5:52

4

I am trying to write a Cocoa program which detects iPods connected to Mac OS. I am listening to NSWorkspaceDidMountNotification and NSWorkspaceDidUnmountNotification for the USB device mount and un...
Kinesthesia asked 7/1, 2010 at 13:41

5

Solved

I'm doing Android development with Eclipse 3.6.2, OS X 10.6.7 and a Samsung Galaxy Tab. Everything is working great, except every 15 or 20 minutes, the Settings | Applications | Development | USB ...
Smaze asked 29/3, 2011 at 23:5

3

Solved

Since the latest Windows 10 1809 update we can no longer open a USB HID keyboard-like device of ours using CreateFile. We reduced the problem to this minimal example: #include <windows.h> #i...
Guillaume asked 13/12, 2018 at 12:1

2

I am getting the following error when I run ideviceinstaller/ideviceinfo commands: No iOS device found, is it plugged in? My iPhone is certainly plugged is and visible in lsusb.
Wellesz asked 20/2, 2018 at 13:9

5

Solved

Apparently with Android 2.3.4 and 3.1 one can now access USB accessories. I have a Ardupilot Mega (based on Arduino) board with a USB cable connected to my laptop, and I can connect to it using a ...
Greedy asked 3/8, 2011 at 14:43

1

Solved

Before Android 9 I could bypass android usb host permission confirmation dialog by using root, systemizing my app and using next usb classes https://mcmap.net/q/339172/-bypass-android-usb-host-perm...
Flail asked 7/8, 2019 at 8:56

3

Solved

We developed a prototype board with a microcontroller, which can communicate with a SmartCard (It can read the ATR, issue and read responses to APDU commands, etc).Now I want to use this hardware w...
Samhita asked 26/3, 2013 at 16:41

2

I have a Lollipop based android box. The box has a USB port similarly to micro USB port in Android phones. I want to check if any host is connected to the USB port with the android box in device mo...
Vannoy asked 30/11, 2016 at 14:37

© 2022 - 2024 — McMap. All rights reserved.