usb

Turn USB power off/on with BeagleBone Black kernel >= 3.8

安稳与你 提交于 2019-12-20 10:40:50
问题 I need to: turn off -> sleep some seconds -> turn on the USB power of beaglebone black to be able to hardware-reset a device that is connected to USB (Huawei E220 Modem) Already tried soft-reset (with unbind/bind and with authorize 0/1), but software reset is not enough to make the device to work well again; the device has some weird bug, that is triggered by a long-time usage (after a few days connected). Many answers were found using /sys/debug/omap_mux, but this device does not exist

Unable to claim USB interface (Device or resource busy)

大城市里の小女人 提交于 2019-12-20 10:37:00
问题 I want to use my ACR122U contact-less smart card reader in Ubuntu 14 smarty. So I installed my required packages and drivers. Finally when I want to use the reader I receive the following error: rc@rc-System-Product-Name:~/Desktop/itsme$ sudo nfc-list [sudo] password for rc: nfc-list uses libnfc 1.7.0 error libnfc.driver.acr122_usb Unable to claim USB interface (Device or resource busy) nfc-list: ERROR: Unable to open NFC device: acr122_usb:001:020 rc@rc-System-Product-Name:~/Desktop/itsme$

Write data to USB HID using Javascript, HTML5, or any cross platform language (supports Android)

て烟熏妆下的殇ゞ 提交于 2019-12-20 10:35:21
问题 I've written an UI in HTML5 and JavaScript. I chose this implementation so that I could share the same code between both Android Chrome and Windows 8 RT. Now, my next objective is to write data to a USB HID. The device that I'm communicating with is treated as an HID. I'm mentioning this part in case there's a way to write to an HID device rather than a USB RAW device. I've done a lot of research on the matter. But, the HTML5 specs are changing so often that maybe I missed something. Anyways,

HP TouchPad USB driving on Android

走远了吗. 提交于 2019-12-20 10:34:57
问题 Can I do app development on HP TouchPad running CyanogenMod 9? I have an HP TouchPad with CyanogenMod 9 installed and am trying to build to the device from Eclipse. The IDE does not appear to recognize the device at all though. Is the problem with the driver? Where can I find it? 回答1: The steps on how to do it are documented in Issue 663: Windows 7 x64 USB connection doesn't work for file management or Android development . Just in case that link disappears, here's the breakdown: 1) Turn on

Emulating UART over USB

不羁岁月 提交于 2019-12-20 09:24:21
问题 Does anybody know if it's possible to emulate UART (simple serial transmit and receive) over USB? How would this be accomplished? I found this link on the Microchip website, but it's not very forthcoming. http://www.microchip.com/forums/m522571-print.aspx Any ideas? Thanks. 回答1: Basically you have two options to emulate UART over USB: Use an existing product. The company FTDI provides well known and solid UART-USB bridge chips, e.g. FT230X. Pro: You don't need any detailed knowledge about USB

Android external camera options - overlay on top of video stream, no middleman server/router

浪子不回头ぞ 提交于 2019-12-20 09:02:22
问题 I'm looking for a way to interface with an external camera from an Android device. The reason it needs to be an external camera is because I need to be able to modify the camera (remove IR filter) and I have no desire to break an on-board phone camera. It doesn't matter how the camera connects whether it is through USB, bluetooth, WiFi, or some other communication protocol, the two devices just need to be able to talk without having a middleman server/router. I'm looking for a solution that:

How to send/receive data to USB device connection using Android Hardware USB API?

安稳与你 提交于 2019-12-20 07:28:21
问题 I have here a Bluefruit LE Feather 32u4 board connected to my Android device that I'm trying to send and receive data to. It's currently programed to echo back what is sent, so I'm trying to figure out the Android API to write and read from it. Here's some verbose info on the hardware I'm trying to communicate with: https://pastebin.com/ktyBhzE8 In the test app, there's a button that runs the following code. private void DoTheThing() { String textMessage = ""; m_usbManager = (UsbManager)

USB camera (not RPi camera) isn't working on Android Things Preview 2

百般思念 提交于 2019-12-20 06:15:58
问题 There are samples of using RPi camera, but none of them are useful. I have added permissions in the manifest file, but still the output is showing : No cameras found . Why? 02-22 19:24:42.936 2134-2134/com.example.androidthings.doorbell D/DoorbellActivity: Doorbell Activity created. 02-22 19:24:43.131 2134-2134/com.example.androidthings.doorbell I/CameraManagerGlobal: Connecting to camera service 02-22 19:24:43.135 2134-2134/com.example.androidthings.doorbell D/DoorbellCamera: No cameras

ARC with USB access?

亡梦爱人 提交于 2019-12-20 04:16:19
问题 I've got an Android application which can be remote controlled by USB midi devices. The app itself is running fine with google ARC but the USB module doesn't detect any USB device. I already found that it is possible for Chrome apps to use usb but only when declaring each specific device in the manifest (https://developer.chrome.com/apps/app_usb). Does Google ARC support USB access? Will it be possible to get a list with all USB devices without declaring them first in the manifest? 回答1: Sorry

How can I comunicate with this device using pyusb?

泪湿孤枕 提交于 2019-12-20 02:59:15
问题 I have a Netware uniFlow device. When I plug it in it shows up in dmesg: [ 2962.369905] usb 2-1.4: new full-speed USB device number 11 using ehci-pci [ 2962.463867] usb 2-1.4: New USB device found, idVendor=171b, idProduct=2001 [ 2962.463871] usb 2-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 2962.463874] usb 2-1.4: Product: USB Keyboard [ 2962.463876] usb 2-1.4: Manufacturer: RFIDeas [ 2962.465361] input: RFIDeas USB Keyboard as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2