USB connection mode installation drive:
1, put the drive CD into the computer optical drive, and then open the disc, and then pop-up window we select "I have read and accept this License agreement", click Next, as shown in the following figure:
2, the following interface we selected "USB":
3, check the "software and utilities to install", and then click Ne
1. If you have a CD, just put it in your computer and double-click the CD. The installation page is displayed. Check "I have read and accept this License Agreement ", click next (if no driver can be downloaded online, go to Lenovo official website to download the driver );2. After the interface is displayed during installation, select "
, tasklet, or a timer callback function. 2. the caller holds the spin lock or read/write lock. note that this value is unnecessary if a semaphore is being held. 3. current-> state is not task_running. unless the driver has changed the current status, the status should always be task_running. the gfp_noio driver is in block I/O processing. it should also be used f
the corresponding hardware controller. Of course, if you are not interested or have no time to familiarize yourself with this, you can also temporarily skip the hardware-related part. This article also focuses on the description of the software structure and does not care about the hardware details.
The following describes some key data structures and APIs involved in the UDC driver. For more information, see s3c2410_uda.c.
1. Key data structures and
initialized by Usb_fill_bulk_urb () and submitted to the USB core, which is the 3rd, 4 steps of the USB read data operation process. In the Usb_fill_bulk_urb () function, initialize the URB completion function Usb_read_port_complete (), and the function Usb_read_port_complete () is called only when the URB commit is complete. The pseudo code is as follows:Static u32 usb_read_port (struct intf_hdl *pintfhdl
the kick_khubd function, add the current hub to the Hub driver queue hub_event_list, and then wake up the hub daemon wake_up (khubd_wait) to start parsing what happened to the hub.
3. After hub_thread is awakened, It will be executed and hub_events will also be executed.
4. hub_events is the main function used to analyze hub events. The content of hub analysis is executed here. This function is a large end
"There are infinite advertisements and limited time." Don't look at the advertisements. Come back soon. (I find myself an advertising genius, but I am familiar with it, as if there is something similar in the game)Previously, we learned about the location structure of the USB driver in CE and the folder structure of the sample driver. Next, we need to know which
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.