Questions tagged [usb-hostcontroller]
37 questions
11
votes
2 answers
Android: RS232 Serial Communication with android device
I have a MR400s taximeter hardware. I want to communicate with this taximeter using RS232 cable and I have already achieved this connection and communication in windows. But I wanted to make connection using android device.
How can I achieve…

ishan jain
- 681
- 3
- 10
- 27
7
votes
1 answer
How to get in Android Usb Host what Usb Device responses after Host sends command?
Following the simple tutorial I'm able to connect to device (usb optical mouse with ADNS-5000 chip inside) and make a bulkTransfer.
UsbInterface intf = device.getInterface(0);
UsbEndpoint endpoint = intf.getEndpoint(0);
UsbDeviceConnection…

Marian Paździoch
- 8,813
- 10
- 58
- 103
3
votes
2 answers
Vagrant usbfilter make the guest machine entered an invalid state
Based on the following instructions:
https://gist.github.com/dergachev/3866825#vagrant-setup
Ubuntu Linaro
uname -a
Linux ken-desktop 3.11.0-18-generic #32-Ubuntu SMP Tue Feb 18 21:11:14 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
cat…

Mikael
- 2,355
- 1
- 21
- 45
2
votes
1 answer
Stop app being restarted in response to a USB event when it's already in the foreground
Events:
1.USB device plugged in.
Prompt appears saying: "Open appName when this USB device is connected?"
Press cancel -> app stays open | press okay -> app restarts
Required behaviour: The app either does not show the dialog and automatically…

Micah Simmons
- 2,078
- 2
- 20
- 38
2
votes
2 answers
getDeviceList() always gives empty in Android
Working in Samsung S4 device, but not working in MotoG, Samsung A5(2016)
Below Code always return zero, I tried with giving permission in manifest file but still it returns null.. Can anyone give me any suggestion
In the Activity code:
public class…

kgsharathkumar
- 1,369
- 1
- 19
- 36
2
votes
0 answers
USB Host + Power support
In a project I am currently working on, I am using a PIPO T9 tablet to run an app that uses the USB port to communicate with a transceiver. The reason I chose this tablet is because it has a usb port and a 5vDC power input (seemingly) allowing it…

user1528944
- 223
- 1
- 3
- 8
2
votes
1 answer
External biometric device connected to Android Device
I want to develop an android app in which user will be authenticated through bio-metric device.I stackoverflowed and found this link, but could not get any guidance to proceed.
I don't know which android devices support USB host. Again, I found…

Mukesh Sharma
- 8,914
- 8
- 38
- 55
1
vote
0 answers
Read data from USB threw STM32
I want to read .txt file from Pendrive threw STM32. and send on RS232 port.
I found many circuit and code but I find read data from SD card but I cant find how to read pendrive.

Abhishek Patel
- 11
- 1
1
vote
2 answers
Android to android data transfer using usb
I have created an application which transfer data from android to android over wifi. I am exploring usb host apis to add support for data transfer over usb. I am following android docs for host apis…

Mudassar
- 1,566
- 4
- 21
- 31
1
vote
1 answer
Set STM32Fxx Discovery as USB Host and get mouse data
I want to ask about how can I get mouse data over STM32F 407. I don't want to send it to PC.
My microcontroller should be USB HOST and the mouse only communicate the microcontroller.
I've searched a lot but I only found sample projects for HID and…

Türker Berke Yıldırım
- 416
- 4
- 14
1
vote
1 answer
Raspberry Pi 3 USB Bare Metal
I am working on the new Raspberry Pi 3 B+ board in a bare metal environment (32-bit). I have a working USB driver for the older Pi 1 boards. From what I understand, the Pi 1 and the Pi 3 B+ have the same USB host controller (Synopsis DesignWare 2.0…

rlatinov
- 51
- 1
- 4
1
vote
0 answers
How to send PCL5 commands to Brother HL-1111 printer via USB?
I am trying to interface USB Printer (Brother HL-1111 series printer) using Vincullum -II Host Controller IC . I am able to enumerate the printer via USB port of controller but when I send PCL5 commands or any text to Printer , it is not able to…

Vijay
- 11
- 2
1
vote
1 answer
USB host shield on Arduino Uno
I downloaded USB host shield code from the following website:
https://github.com/felis/USB_Host_Shield_2.0/archive/master.zip.
This contains too many files to which one I have to include for my application.
I want to know if USB host shield can be…

sujan_014
- 516
- 2
- 8
- 22
1
vote
0 answers
how to make an asynchronous request to communicate with USB hid device in android
I try to create an application that can communicate with a USB msp430 microcontroller USB (HID class), so I try to send the letter T for récupperer the current date in the microcontroller (asynchronous). when I call the "getLokerTime" function, the…

Ahmed Sabbani
- 11
- 3
1
vote
1 answer
Android: USB Communication between external device & android app
I want to implement audio data communication between android application & external device through USB cable.
I have seen android USB document & it's sample code.
I am able to detect & connect external device in android application successfully.
How…

Priyank Patel
- 12,244
- 8
- 65
- 85