Objective: To study USB in depth and take notes here. Welcome to the discussion.
[Linux 3.2] [Driver/USB/CORE/hub. C]
Function: usb_hub_init
int usb_hub_init(void){if (usb_register(hub_driver)
Usb_hub_init mainly implements two functions: one is to register the hub driver, and the other is to start a kernel thread named khubd (this thread can be seen through PS or called a process. The kernel does not di
confident ."
As mentioned above, every module usesModule_initStartModule_exitLet's take a look.UDisk Driver. In the vast sea of people, we can easily find this fileDrivers/USB/storage/USB. cIn this file, it is not difficult to find the following section:
1068 static int _ init usb_stor_init (void)
1069 {
1070IntRetval;
1071Printk (kern_info "Initializing USB Mas
VMWare cannot detect the USB flash drive solution. vmware detects the USB flash drive.Solution:First, confirm that the service is enabled:Right-click your computer and choose manage> services and applications> services> VMware USB Arbitration Service. Right-click and choose start ].Set VMware:[VM]-> [Settings]-> [Hardware]-> [
How to install win10 on a USB flash drive and win10 on a USB flash drive
According to a third-party statistical survey, the win10 system is now the world's second largest operating system. Many users are still puzzled about how to install the win10 system on the USB flash disk, the following u launch will share with us the detailed operating process of the
Today solves a keyboard conflict problem, suddenly think of a oneself think for a long time has not done experiment, a Windows computer, simultaneously access 2 USB mouse and 2 USB keyboard, the result how.In person, a Windows computer, with 2 USB mouse and 2 USB keyboard, can be used normally.Two keyboards can be type
1. Right-click "computer"-"device manager" on the desktop on the computer, and click "menu bar-> view-> sort devices by connection" on the displayed page:2. As shown in the figure above, the device should be a usb storage device, and then go to the directory:, find a folder starting with usb Stor, copy and download the folder, and paste it on the desktop, as shown in the figure
Q: My Computer motherboard USB interface is broken, choose to use an extended USB interface to connect the USB scanner, but bought a USB connector parts, plug into the motherboard but can not use, this is what reason?
A: USB connector to define the various motherboards are
Technorati label: Boot Disk
How to Create a USB flash drive and install the system with a USB flash drive (reprinted)
Many of my friends are using laptops without optical drives, but the problem also arises. When we need to reinstall the system, there is no optical drive. What should we do? Maybe you can say that the hard disk can be installed under DOS, but how many people will use dos?
In fact, not only d
Read the code, model and sub-position of the serial number of the USB HDD (USB removable hard drive).Compiled successfully with Visual Studio 2010.The code uses the relevant code in code SMARTATA.C in Crystaldiskinfo:The following connection explains why the use of SCSI-related code requires the data conversion of the USB IC.http://blog.csdn.net/waityoualife/arti
Let's continue with the previous section. Fill_inquiry_response (), which is from drivers/USB/storage/USB. C.
266 void fill_inquiry_response (struct us_data * us, unsigned char * data,
267 unsigned int data_len)
268 {
269 If (data_len
270 return;
271
272 if (data [0] 0x20) {/* USB device currently not connected. Return
273 peripheral qualifier 001b (".
Get what we need from the two tables, and then the following code is expanded around the two pointers. (Unusual_dev and id) continue to read get_device_info (). Row 3: record unusual_dev in us. There is also such a member in us. After this is recorded...
Get what we need from the two tables, and then the following code is expanded around the two pointers. (Unusual_dev and id) continue to read get_device_info ().
Row 3: record unusual_dev in us. There is also such a member in us. In this way, i
Let's continue with the previous section. Fill_inquiry_response (), which is from drivers/usb/storage/usb. c.
266 void fill_inquiry_response (struct us_data * us, unsigned char * data,
267 unsigned int data_len)
268 {
269 if (data_len
270 return;
271
272 if (data [0] 0x20) {/* USB device currently not connected. Return
273 peripheral qualifier 001b ("..
Before talking about the data transmission stage, we should first solve the historical issues left over. In usb_stor_bulk_transfer_buf (), row 406 has an interesting function called interpret_urb_result. This function is also from drivers/usb/storage/transport. c:265 static int interpret_urb_result (struct us_data * us, unsigned int pipe,266 unsigned int length, int result, unsigned int partial)267 {268 US_DEBUGP ("Status code % d; transferred % u/% u
How can I reinstall Windows 7 with a USB flash drive ?, USB flash drive win7 reinstallation
If you do not have an optical drive or a CD, you can create a USB flash drive to quickly install the Windows 7 operating system. Next, let's take a look at how to install Win7 with a USB flash drive.
Open the
USB flash drive installation system tutorial, USB flash drive tutorial
At present, USB flash drives are very useful and can be used to install the system on a computer. How can I install the system on a computer?
Create a u disk as a u-depth boot disk, restart the computer, wait for the boot screen to press the boot shortcut key, select the u disk to start to
the drive to restart the virtual machine. Then shut down the machine.The physical machine Ubuntu also restarts.Open the VirtualBox again, start the virtual machine, and insert the USB drive. Will find the lower right corner of the USB settings can be recognized, check the USB drive device. or select "Device" from the menu barAfter selection, it can be recognized
Environment:Ubuntu 16.04 LTSVirtualBox 5.1.26 r118224Virtual machine system: Windows 7 SP1 64Install extensions:Download here: (own note version good, version mismatch installation is unsuccessful)http://download.virtualbox.org/virtualbox/4.3.36/Installation:"Management", "Global Settings", "Extensions"During installation, you will be prompted to enter an administrator password.To add a user right:1, add USBFS User group (will have vboxusers and vboxsf two user groups after loading)sudo groupadd
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 driver, the gadget driver appears later than 2.4.23.The Gadget Framework proposes a set of standard APIs, which are driv
For the entire USB-storage module, the usb_stor_init () function is its start. However, for the USB flash drive, the function that actually drives the USB flash drive starts with the storage_probe () function.
As long as the two parallel lines overlap, it is doomed to start a lifetime of entanglement, no matter whether the middle is a short separation.
What is the USB debug mode?
USB Debug mode is an Android-enabled feature that allows you to copy data between your computer and Android devices, install applications on mobile devices, read log data, and so on. By default, the USB debug mode is turned off, so you need to manually open it;2
Turn on USB debug mode
And
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.