Recently, I often have to deal with LINUX deployment. I usually need to test it on my own machine before deploying the production environment. For example, you can use a USB flash drive to install the operating system.VMware Workstation9.0 is installed on the machine to run multiple test VMS. The reason is of course to use this to deploy some operating systems, especially USB flash drives (you can also use
After sorting and digesting the device model, you have the foundation to compile a device driver program.
You need to be familiar with the driver of the USB device because of the working relationship. Therefore, select the driver of the USB device as the start point.
How can a USB device be discovered by the USB Sy
After writing can also be used as a U disk storage other data, not affected. The advantages of making a USB U disk are many, such as without CD and CD-ROM, you can install the system, and support all major system platforms such as Windowslinux. Easy to operate and easy to use.
Here's the platform I tested:xp/windows7/windows8/win2003/win2008Linux Ubuntu/linux CentOS
Operating EnvironmentWindows 7 + UltraISO + w7.iso (System mirroring) + 8GU disk
Pr
[OPPO Find7 How to turn on USB debugging? OPPO Find7 Open USB Debugging Method]
1 in our Oppo Find7 standby state Click "Settings" to enter and then find "normal" and then we find inside the "about mobile" to expand "more." (pictured below)
2) Then we click on the 4 times "version number" and then click on the "General" list, click "More" details as shown in the following figure.
3 Open "developer Op
Method One:
Click "Settings" on your phone to see that there is a "help setting"-"Developer Tools", and then directly find the USB debug mode on it, which is much simpler than the Android system, as shown in the following illustration.
Method Two:
Enter the phone interface directly input "*#* #6961 #*#", access to the USB interface, we click on to open.
Method Three:
Note and
Install ubuntu on a USB flash drive and start Linux from the USB flash drive.
If we install the Linux system directly on our hard disk, the GRUB of Linux will overwrite the boot guide of window. It is not convenient to carry. So I want to install a ubuntu system on a USB flash drive, which can be started on any computer.
Preparations:
A 32g
First, verify the USB device is normal
: If the laptop is plugged into the USB device itself, there may be a problem with USB can not use the phenomenon.
Verification Method:Method One:Plug the USB device into another computer to see if the computer is available. If this device is not available on other computers, th
The USB host will enumerate the devices after it detects that the USB device is plugged in. Why enumerate? Enumeration is to read the various descriptor information from the device, so that the host can load the appropriate driver according to this information, so as to know the device is what device, how to communicate and so on.Enumeration process:1, the USB ho
Probe, disconnect, id_table, the first of the three elements to appear is id_table. What is it?
We have said that a device can only bind one driver, but the driver does not support only one device. The principle is very simple. For example, if I have two USB flash drives, I can insert them together, but I only need to load one module, USB-storage. I have never heard of it. inserting two
Rome was not built in one day. Before making the USB flash drive work, we actually made a lot of preparations for the driver.
We continue to follow our feelings. storage_probe (), 972 to 975 rows, and a series of functions named init _ * are called at the moment. Here some lock mechanisms and wait mechanisms are involved, however, it is only initialization, but it is ignored for the time being. It will be explained later, but remember that each row o
Because the i939i developer model is hidden, this is not the problem of this phone is Android4.1 later version of the system to hide the developer model, if you want to open it we need a simple operation.
1. Click on the "app" 0 "set" button to enter in the mobile phone standby state.3. Then we find the "About Device" button under "Settings" and click it.
4. Then you will see in the Open interface there is a "build number" we keep clicking until "developer mode is enabled" (Samsung mob
Deepin disables usb sound card and deepin disables usb
The author uses the roaming player sound card to support two interfaces: 5mm and USB. Although the USB interface can be identified, there is no sound. Therefore, usb sound card driver is prohibited.
How does a USB flash drive become antivirus? _ Analysis of USB flash drive antivirus skills
USB flash drives are widely used, but there are not many computer viruses in the USB flash drives. Many people think that the computer will be poisoned, but they often ignore the virus in the
USB charging and plugging and USB debugging connect prompt
Find the code about USB debug enable in packages/apps/settings/src/COM/Android/settings/developmentsettings. Java:
Java code
Settings. Secure. putint (getcontentresolver (), settings. Secure. adb_enabled, 0 );
In this file, the value is saved to the settings database according to user settings. Action
Some basic concepts of USB
1. pipe is a data transmission model between the host and the device endpoint. There are two types of pipelines: unformattedStream pipe and message pipe ). Any USB device exists once powered onAn information pipe, that is, the default control pipe. The USB Host obtains the description, configuration, and status of the device through t
As mentioned above, return to the usb_stor_acquire_resources () function and return 0. So we finally went back to the storage_probe () function.
Row 3: The scsi_add_host () function is executed. The previously applied us-> host is passed to it as a parameter, and intf-> dev is also passed to it, this is used to register sysfs. As mentioned above, scsi_add_host () must be executed after scsi_host_alloc so that the SCSI core layer can know that such a host exists. If scsi_add_host () is successfu
The previous use of U disk System are used UltraISO direct production of the startup disk, and sometimes a couple of days have to dress up the system, today is windows, tomorrow is Ubuntu, the day after that may be other Linux distribution, very inconvenient, So just want to use a U disk to do a multi-system startup disk, after n days of continuous practice, and constantly try to finally let me succeed.Pre-production preparation :1) 1 USB flash drive
USB flash drive (system) disk creation, USB flash drive
The system won't be installed now. It's OUT! The system is also installed with a light disk! USB flash drive is now popular! Dear user. The following describes how to create a USB flash drive (BOOT ).
First, open the web page to enter Baidu
Baidu entered
In the "USB series three", we implemented a series of SCSI commands, in this series, we want to implement the command to write sector to the U disk, so this article is relatively easy, more is to give a realization of the source program.In the third USB series, the SCSI commands we implement are: INQUIRY, read capacity (10), TEST UNIT ready, REQUEST sense, read (10), all the commands that are read out, so i
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.