Analysis of USB 2.0 Driver Based on VxW0rks
[Date:]
Source: World of electronic products Author:
[Font: large, medium, and small]
Introduction
Universal Serial bus is a computer peripheral serial communication interface, featuring high-speed data transmission, hot swapping, plug-and-play (PnP), and low costs. With the increasingly mature and improved
Author: Dong Yuxin, Zhang Donglai Source: Micro-Computer Information1. Introduction
Hardware driver development is the foundation of embedded development. With the popularization of USB devices, the development of USB device drivers has become increasingly important in embedded development.
To support different types of platform peripherals that can be connected
increased reliability of hot-swappable parts, they can also be used as broken appliances, and because hot-swappable can be automatically restored, there are many hot-swappable chips to provide the system with the signal of line power, so that the system to do fault analysis, thus reducing the cost.Third, Linux under the USB hot-swap processing1, Linux under the USB hub
USB 3g nic Driver ProcessIntroductionFirst, we will introduce the overall driver mode in Linux:The Linux kernel version based on this article is 2.6.36 (and the Huawei em770w driver is customized by friendlyarm.Therefore, this driver can be downloaded from a friendly officia
1. Linux USB Architecture
USB communication is initiated by the host. The USB device driver allocates and initializes an urb and sends it to the USB core. The USB core is changed and sent to the
Introduction
The embedded linux system environment is widely used in the embedded field because of its ease of transplantation and cutting, small kernel, high efficiency, integrity, open source code, and excellent performance. Linux USB device source code mainly includes the massive storage devices of USB device, serial devices, network devices, and other device drivers and drivers of various
Author:Liu Hongtao, a lecturer at Huaqing vision embedded College.
A Linux USB driver consists of two parts. Some are USB device controller (UDC) drivers and others are hardware-independent function drivers (such as mouse, USB flash drive, USB serial port,
In the first half of this year, I transplanted a Linux driver to a common vimicro camera on the market to an Embedded Development Board. The development environment is:
OS: linux2.6.9
Compile: Cross 3.3.2
CPU: Intel PXA270
Camera type: vimicro zc301p + hv7131r
The driver source code used is based on the free software spca5xx. Some minor changes were made based on the source code. Record it.
driver should register on the bus, or be listed. in the USB system, each driver of a USB device has a struct usb_driver structure. The Code is as follows: Include/Linux/USB. h
485 /*--------------------------------------------------------------------------*/486487 /**488 *
The Linux USB Gadget device driver can be used to implement some interesting functions. For example, 1. A storage device in an embedded product or a partition of a storage device, it can be used as a USB flash disk by PC. It can easily complete file interaction. This function is widely used in mobile phones, digital cameras, and other products. 2. After an embedd
Author: unintentional language source: driverdevelo
How to construct a simple USB Filter Driver
This article describes how to construct a simple USB filter driver, including "Basic Principles", "Program Implementation", and "install with INF ". The purpose of this article is to hope that you can use the most popular an
The first contact with the OS-related device driver writing, it is very interesting, in order to not forget what I have seen, notes and summary of course indispensable, not to mention I decided to work for embedded. Well, to get to the next step, I'll talk about the harvest of this time and share with you the driver development of Linux. But this time only for Linux USB
I recently want to create a project on LTE. The drivers provided by the module manufacturers include USB-to-serial-to-USB Nic drivers. The project has not been approved yet, so it is relatively empty, the idle egg pains have been studied by the USB-to-serial drive. This article tries its best to use a picture to illustrate things in a whitelist and dedicate it to
1. Foreword
2. Source Code Architecture
3. Enumeration process
1. Foreword
Gadget, small ornaments. USB Gadget, refers to the development of electronic devices to USB from the device mode through the USB connection to the host. For example, when a mobile phone is plugged into a PC with a USB cable, the handset is a
1. Role of the wince Device
USB is a master-slave structure, which is divided into the master end and the slave end. Generally, the master end is called the host and the slave end is called the client, but there are some differences in the wince system. The master end is called the host and the slave end is called the function.For USB, embedded devices equipped with Wince can assume three different roles: H
AT91 USB Composite Driver Implementation1. Introduction The USB Composite device is a general-to-integrate, or more functions-to-one single Device.It is defined in the USB Specification Revision 2.0, as "A device which has multiple interfaces controlled independently of Each of the other ".This document introduces basi
Recently need to put a touch screen device to TV, now more common is the use of USB interface Touch box, for various platforms, here is a general record on Android kernel in the Usbtouchscreen driver.Writing is not easy, reprint need to indicate the source: http://blog.csdn.net/jscese/article/details/41827495Driver compilation:The current kernel are all self-contained usbtouchscreen drivers, my version 3.1.10Source is located in:/kernel/drivers/input/
Invalid URB function.
Usbd_status_invalid_parameter
0x80000300
Invalid parameter.
Usbd_status_error_busy
0x80000400
The client driver caused an error by attempting to close a endpoint, interface, or configuration handle with outstanding Transfers.
Usbd_status_request_failed
0x80000500
The hub driver cannot complete a URB request.
U
Scenario
After the first installation of the system, the usb cannot be used. The usb serial interface driver is not installed. It is normal that the NIC driver cannot be installed. How can I install the driver in this case?
Solution
Check whether there is no
The following is a simple example to describe the development process of the driver.
For example, we have a USB mouse device. The device information is described as follows:
Device descriptor:
Bcdusb: 0x0100
Bdeviceclass: 0x00
Bdevicesubclass: 0x00
Bdeviceprotocol: 0x00
Bmaxpacketsize0: 0x08 (8)
Idvendor: 0x05e3 (Genesys Logic Inc .)
Idproduct: 0x0001
Bcddevice: 0x0101
Imanufacturer: 0x00
Iproduct: 0x01
Ise
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.