I do not know the USB audio device class before developing the driver for the USB audio device. I thought it was a hid driver and it should be easy to develop, later, I found myself in an unknown field. Thanks to the previous deve
can contain a number of endpoints. The configuration and interface is the abstraction of the USB device function , and the actual data transfer is done by the endpoint . Before using a USB device, you must indicate the configuration and interface in which it is used. This step is typically done when the device is enumerated when the device is connected to the host.The relationships between these units are
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
the USB device function , and the actual data transfer is done by the endpoint . Before using a USB device, you must indicate the configuration and interface in which it is used. This step is typically done when the device is enumerated when the device is connected to the host.The relationships between these units are as follows:The device usually has one or more configurations;Configuration usually has on
With the increasing of USB devices, development of USB driver is becoming more and more important in embedded development. Windows CE's support for USB 2.0 is a huge boost to this wave of new technologies. The author of this article analyzes his own use-driven development experience, hoping that readers can take less d
If I can't accompany you to the end
Do you regret that we were holding hands
If I hadn't met you
Now, I
Where to stay
All love is an adventure.
That would be willingly.
Waiting for all the suspense in our lives
My passionately devoted lover.
She's my lover.
The love she gave me was like
The morning with the dew
How I want to give her my true
My dearly Beloved.
I want to be lonely for her
Like the night is deep
This chapte
This article from the csdn blog, reproduced please indicate the source: http://blog.csdn.net/aaa6695798/archive/2009/11/06/4776202.aspx
All struct declarations can be found in the kernel source file USB. H. If you are interested, read the source code.
USB devices are actually complicated, but the Linux Kernel provides a subsystem called USB core to handle mos
related connection circuits. Because the underlying audio driver of the system can be used, the driver mode has strong support.IsochronousThe asy asynchronous mode in transaction is the audio transmission mode controlled by the driver. The independent clock used by the
This article from Csdn Blog, reproduced please indicate the source: http://blog.csdn.net/aaa6695798/archive/2009/11/06/4776202.aspx
This part of all the structure of the Declaration can be found in the kernel source file usb.h, interested friends can read the source code.
USB devices are complex, but the Linux kernel provides a subsystem called USB core to handle most of the complex work, so this is wh
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. Linux USB driver levels
1. devices, configurations, interfaces, and endpointsThe logical organization of a USB device consists of four layers: device, configuration, interface, and endpoint.
A device usually has one or more configurations:
Each USB device provides different levels of configuration information,
transmitted.BintervalIf the endpoint is of the interrupt type, this value is the interval setting of the endpoint, in milliseconds.Logically, functions of a USB device are divided by interfaces. For example, a USB speaker may have two interfaces: one for keyboard control and the other for audio stream transmission. In fact, this type of device requires two diffe
user process;
Spca5xx_ioctl () is used to obtain file information.
Data TransmissionSpca50x_reg_write
Camera data transmission processInformation Transmission types on the USB bus can be divided into four types: control, interrupt, timing, and block. The control type is mainly used for device configuration and control; the interrupt type is mainly used for the host's periodic query of USB devices; real-tim
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
Development Board. The following startup information is displayed:
......
Usbhid: v2.6: USB hid Core DriverAdvanced Linux sound architecture driver version 1.0.21.No device for Dai uda134xNo device for Dai s3c24xx-i2sS3c24xx_uda134x SOC audio driverUda134x SOC Audio CodecASOC: uda134x s3c24xx-i2s mapping OKALSA device
=
{
Initi_device_usb,
Amp; cloud_device_ LCD,
Amp; cloud_device_wdt,
Amp; cloud_device_i2c0,
Amp; cloud_device_iis,
Amp; cloud_device_rtc,
Amp; s3c24xx_uda134x,
};
3. Compile and download
Make zimage in the kernel directory and then burn the generated kernel file to the Development Board.
4. Test
After the development board is started, insert the USB flash drive that has copied the songs into the
multiple endpoints.
In a USB device, each device can contain one or more configurations. Different Configurations make the device display different combinations of functions. The configuration consists of multiple interfaces. An interface consists of multiple endpoints and represents a basic function. It is an object controlled by the driver of a USB device. a
of these identification strings is standardized.
USB devices are divided into single-function devices and multi-function devices. A single-function device is the most common device, such as a USB flash drive or a mouse. A multi-function device is a device with multiple interface descriptors in the device descriptor, such as a USB handle, including buttons, a r
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.