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
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/
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
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
Understanding of USB driver I have learned about USB drivers for more than two weeks. The following is a summary !!!!!!!!1. Each device corresponds to a PDO, and each PDO corresponds to multiple FDO. In the driver, the corresponding PDO and FDO are not the hardware. For USER-to-KERNEL communication, the system packs ea
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
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
Article Title: Use a USB flash drive to load the controller driver to install the Linux system. Linux is a technology channel of the IT lab in China. Including desktop applications, Linux system management, kernel research, embedded systems, open source, and other basic categories. Generally, we need to load some scsi or RAID card drivers during Server installation, so that the operating system can detect t
USB devices are very complex and consist of a number of different logical units, and the relationships between these logical units can be described simply as follows:
L devices (Usb_device) typically have one or more configurations (Usb_host_config)
L configuration usually has one or more interfaces (Usb_interface)
The L interface usually has one or more settings
L setting has no or more than one endpoint (Usb_host_endpoint)
Detailed descriptions
Recently, I made a functional driver for a USB device, analyzed its speed bottleneck, and found out the main reasons that affect the speed of the device. Because of the versatility of the USB device, the Code subject directly uses the sample code provided by DDK: bluckusb.1. USB dr
USB device driver mouse
1. Overview
The USB mouse driver is roughly divided into two parts: the driver of the USB device and the driver of the input device. The
few states, you need to know what USB devices are, and so on.The second step is to peep the whole picture;How does a USB device work? In fact, the USB subsystem is a sub-level work, they cooperate with tacit understanding, do their own part of the matter, everything to the overall situation. USB drive can be divided i
In order to protect mobile devices in the computer can be normal operation, the first access to a computer need to install a driver, mobile phone needs to install mobile drive, u disk need to install USB drive and so on.
When you connect a USB drive or mobile device such as a mobile phone to your computer, you will find that "installing the
Compared with a general streaming driver, USB streaming drivers have many similarities and differences. This is closely related to the working method and USB protocol of USB devices. The most intuitive is that, apart from the ten standard stream-driven interface functions such as xxx_init and xxx_open, there are also t
Article Title: introduces the USB hardware device driver in Linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
USB stands for "Universal Serial Bus", meaning "Universal Serial Bus ". It was proposed jointly by Compaq (Comp
The device identification string plays an important role in the enumeration and loading process of the driver device. Device ID string is generally dividedHardware identifier string, compatibility identifier string, and device identifier stringThese types. These identifiers are actually driven by the upper-levelProgram(Usually a bus driver), which is used by the Windows system to find and load the correspon
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.