This article translated from: http://developer.android.com/guide/topics/connectivity/usb/index.html
Android supports a variety of USB peripherals and Android USB accessories in two modes (hardware that implements the android sub-Protocol): USB sub-mode and USB
provided by Epson is the USB host controller driver layer.
The following describes the driver file:
The migration workload of the software is not large. First, you need to change the makefile and kconfig of USB.
Add the following configuration to driver/USB/host/kc
KVM Command Line arguments
-USB Open USB driver, start client USB support
-usbdevice Devname adds USB devices to the client, devname in many forms, as described in Man KVM, where only one form of host:vendor_id:product_id is involved,-usbdevce vendor_id: product_id
Get USB
Use AT91RM9200 as the master CPU, use the USB host interface of the chip to access the USB flash drive, and save the corresponding data to the specified file of the USB flash drive according to the upper-layer commands received. No additional dedicated USB control chip is us
Turn from: http://blog.chinaunix.net/uid-23795818-id-2385141.htmlWhat the host will do: Hardware and softwareThe hardware required for the host side is: USB host controller and a root hub with one or more USB ports.The SOFTWARE is: an operating system, enables device drivers
-. 0: Unable to enumerate USB device on Port 1
As a result, the mouse cannot be used. Find the cause for half a day and find that the D + and D-interfaces of the Board Sub-host interface are reversed. Then, the mouse can be used normally. The normal log is as follows:
[71.114150] ==13 ==> hub_port_init 1[71.118120] plug in USB port2USB 1-1: new low speed
configuration can be valid at the same time and can be connected by different drivers. Each interface can have a backup interface to provide service parameters of different quality
The interface does not have or has more than one endpoint:
An endpoint is the most basic form of USB communication. Each USB device interface is a set of endpoints on the host. Th
enumerate USB device on port 1
As a result, the mouse cannot be used. Find the cause for half a day and find that the D + and D-interfaces of the Board Sub-HOST interface are reversed. Then, the mouse can be used normally. The normal LOG is as follows:
[71.114150] ==13 ==> hub_port_init 1[71.118120] Plug in USB Port2Usb 1-1: new low speed
Transferred from: http://blog.csdn.net/ljzcom/article/details/8186914Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.Directory (?) [-]
2 Key Data Structures
3 System Architecture
4 Usb_submit_urb
1. Host Controlleruhci:universal Host Controller Interface (Universal host Control Inter
Uhci (universalhostcontrollerinterface), OHCI (openhostcontrollerinterface), EHCI (enhancedhostcontrollerinterface) are both host controller specifications, OHCI is mainly non-PC system USB chip, most uhci are USB controller chips on Intel and via boards. The uhci hardware circuit is simpler than OHCI, lower cost, but the drive is complex, but they all follow the
Usbh_en (corresponding to gpg6) of is used to power the USB host, which needs to be controlled in BSP and can be used in init. the following code is used in the oeminit ()-> configuregpio () function of the C file:
// Ser gpg6 to output an usbh_en
S2440iop-> gpgcon = ~ (3
S2440iop-> gpgcon | = (1
S2440iop-> gpgup | = (1
S2440iop-> gpgdat | = (1
Use the above Code to enable the power supply to the
http://www.arm8.net/forum.php?mod=viewthreadtid=255
Then you must familiarize yourself with the USB v1.1 protocol first. Therefore, it is not easy to use the USB host interface provided by s3c2440 to correct the content of this part. Here, I mainly introduce the USB device enumeration process involved in some knowledge
Example assigning Host USB device to a Guest VMThis example was based on QEMU-KVM (0.15.0) as installed in Fedora 15. Would first show how does this manually, and second how to do it using the the Virt-manager tool. This HOWTO are limited to UHCI devices (no USB2 EHCI).Here we'll use a phone attached to the host:# Lsusb ... Bus 002 Device 003:id 18D1:4E11 Google
The protocol stack of usb msd host has been transplanted to the customer in recent days. I found that porting 100 + k code from one m3 to another m3 is really not simple, mainly because of the m3 of different manufacturers. The difference between peripherals is too great. After describing the underlying hardware layer, it is found that the USB protocol is too dif
The UMAP2 is a Python-based USB Host Security Assessment tool developed by NCC Group and the Cisco SAS team.It has all the features supported by the first edition:
UMAP2EMULATE:USB Device Enumeration
Umap2scan: Usbhost Scan for device support
Umap2detect:usbhost Operating system detection (not yet implemented)
UMAP2FUZZ:USB Host Fuzzing
In our system, the USB host is used to read and write the USB flash disk. Therefore, the design and architecture fully focus on this purpose. The entire system involves a lot of content. According to the general principles of embedded system development, a hierarchical architecture is adopted to divide the system into several levels by function, and each layer co
Front-end time to tinker with a HID hardware, need and Android communication, online search a lap, harvest is not small.The better articles are:Android USB host with HID communicationAndroid service creates USB host communicationWhere the code is to be noted in some places, please note:/***
About the USB pull-up resistor, not just a random resistance to any resistor on the OK.When your USB is the main device , the d+, D-on is connected to a 15K pull-down resistor, which allows the d+, D-to remain low when no device is plugged in;When interfacing to slave devices , the different transfer rates can be set by the pull-up resistor, when the d+ is connected to a 1.5K pull-up resistor, it can work i
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.