the form of the wince device.
Then, the upper layer of the controller is the Client layer, which is commonly used in three categories: Mass Storage, rndis, and serial. When the wince device needs to behave in what form, it is converted by the Controller Driver (unmount the old client and load the new client ). The device is called function, so the full names are USB function controller
desktops, virtual cloud desktops and the like.Therefore, for virtual cloud Desktop developers, the solution of remote access to local devices is also one of the basic and important issues.Look at an example that is unfamiliar to the average person and familiar to iOS developers,iOS app installation problem, very annoying, unlike Windows programs, as long as the development, can be copied everywhere, run everywhere.Self-developed app, need to deploy the Xcode development environment to the mobil
host, only one device can communicate with the host at the same time. Manage the external USB device via the USB host controller. USB controller is actually composed of USB controller hardware +USB Controller software. The
This article was reproduced from: http://blog.csdn.net/zqixiao_09/article/details/50984074In the end user's view, USB device provides a variety of additional functions, such as file transfer, sound playback, etc., but it is consistent with the interface of all USB devices for USB host. A USB device consists of 3 functi
Linux-USB Gadget
OverviewThe Linux-USB Gadget driver framework (hereinafter referred to as gadget) provides software functions for devices defined by the USB protocol.Compared with the Linux USB host
, the serial number of the device, and so on. Its contents are given in Unicode and can be read by the client software. String descriptors are optional for USB devices.6. PipelineIn the structure of the USB system, it can be considered that the data transfer occurs directly between the USB host
one. When you open a device file, the operating system knows the driver corresponding to the device.
SCSI Device
SCSI is a standard computer interface different from IDE. Nowadays, most flat-board scanners, CD-R recorders, MO optical transceiver and so on gradually tend to use the SCSI interface, coupled with SCSI and can provide a high-speed transmission channel, so, access to SCSI devices more and more users. Linux supports many SCSI devices, such
Because the USB driver in Linux is already very complete,You only need to follow the following configuration. After the configuration, recompile the kernel and install it on the Development Board.
1. Modify make menuconfig
System type -->
Input core support -->
SCSI device support --->
[*] Legacy/proc/SCSI/support
* ** SCSI support type (disk, tape, CD-ROM
Http://www.linuxjournal.com/article/7466June 1st, 2004 by Greg kroah-Harman
In
Software
NowYou can control USB hardware without touching the kernel and even makeYour driver run on BSD-based OSes with no code changes. Greg showsWorking Example for using the cross-platform USB library, libusb.
Last time we discusse
Analysis of USB SystemThe USB system software under wince is composed of two layers: The driver layer of the higher USB device and the USB function layer. The lower USB function layer
USB urb (USB request block)
Kernel 2.6.29.4The USB device driver code communicates with all USB devices through urb. Urb uses the struct urb structure description (include/Linux/USB. h ).
Urb sends or receives data asynchronously
Kernel 2.6.29.4 USB devices are actually complicated, but the Linux Kernel provides a subsystem called USB core to handle most of the complicated work. Therefore, the interface between the driver and USB core is described here.In the USB device organization structure, there
USB device: Mainly completes the processing of the USB protocol and data exchange.
PC program: consists of USB communication program and user service program. The user service program communicates with the system USB di through the USB communication program.
The debugging o
: the high software layer that contains the driver of the USB device and the host controller hardware layer, also known as the "adaptation layer ". The main task of the host is to control two-way data transmission to the USB device. A physical bus is a set of USB cables used
Objective: To study USB in depth and take notes here. Welcome to the discussion.
[Linux 3.2] [Driver/USB/CORE/devio. C]
Definition: usbfs_driver
struct usb_driver usbfs_driver = {.name ="usbfs",.probe =driver_probe,.disconnect =driver_disconnect,.suspend =driver_suspend,.resume =driver_resume,};
[Linux 3.2] [INCLUDE/Linux/US
hardware and software of the USB driver, open the port, close the port, read port, write port, and port control. When the device drive is mounted to the system device table, the I/O system calls this application interface.
Functions contained in a routine of a USB application interface:·
ie32.inf file is automatically deleted when it is detached.
The program disables the control of the USB storage device on a single machine. It uses FileMon RegMon for monitoring and analysis and finds that its basic principle is to modify the key value of the registry, for details, see how to disable USB storage devices in KB823732. When the program is running, perform the following operations:
1. Modify
From: http://hyt19860117.love.blog.163.com/blog/static/127773729201042435553852/
With the improvement of people's living standards, more and more USB devices are used, but Linux still does not fully Plug and Play in hardware configuration. how to configure and use Linux is alsoThis article is intended to help you understand how to develop a USB driver to facilita
Writing a simple USB DriverFrom Issue #120April 2004APR, 2004 by Greg Kroah-hartman in
Software
Give your Linux box A multicolored light can see from across the class, and learn how to write a simple driver for the Next piece of hardware you want to hooks up.Since This column began, it had discussed how a Linux
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
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.