1 First, we will open the developer selection, enter the phone "settings" and click "About the Phone" click on open Access. (pictured below)
2 After we click on the phone in the "version number", see the ScreenTip "You are in the developer mode!" "No, then we'll go back to the Settings page and we can find the developer option at the bottom." (pictured below)
Now to open the USB mode, we click on the mobile desktop "Settings", drop-down m
1, after the system plugged into the USB device, from the console interface has the following prompt:From the console information, you can see the inserted USB device name.As you can see, the plugged-in USB device is sde4.However, if the CRT tool is remotely connected to the past, you can use the following command to view the
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, it will be easy to use after recording. Because us runs through the whole story, it is very convenient to access its members and can be accessed at any time, however, the us_unusual_dev_list and storage_usb_ids tables will not be reused this time. Because w
USB flash drives are common among many external devices, but computer viruses are also caused by viruses carried by USB flash drives in many cases, on Windows 7, how does one disable the use of USB flash drives? Do you want to make your computer more secure? In fact, there is a magic system file in the computer, called the registry. We can modify the registry to
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; transferre
Cause:The company requires all computers to strictly control the use of USB interface, the company is a part of the Windows systemAnd a part of the machine is a Linux system.(If it is easy to implement control on a Windows system, use an account with administrator privileges toThe registry is easy to do, usually the majority of companies use domain control, then modify the domain policy on the lineUP).But before the CentOS7 really did not do (such as
For a USB-enabled motherboard to be installed on a USB flash drive, you must first prepare a hard drive with a system installed to complete the following steps.
1
1, using BOOTICE.EXE to write to the hard disk master boot record as Grubdos, the startup file name is GRLDR
2
2, download a U disk boot tool, your U disk to make a U disk boot.
3
3. Put the downloaded system into the
Code for reading the serial number of usb hdd (USB mobile hard disk Information)
Code, model, and split of the serial number of the usb hdd.
Visual Studio 2010 is successfully compiled.
The Code uses the related code in smartata. c In CrystalDiskInfo:
The following connection explains why scsi-related code requires data conversion from a
For a long time, I wanted to experience Chrome OS. I just had a 4G pny plate. Today I carved Chrome OS on Windows 7 and started a USB flash drive to experience the latest Chrome OS. experience how to do it for the moment, enter win7 to find the disk needs to be formatted to use, after entering Ubuntu found that the disk has actually been attached to two parts, are in Linux ext3/4 format.
I first formatted it as FAT32 in win7 and found that after fo
1.S3 neo+ i9300i USB Debugging By default is not found on the phone we need in the "app".2. Inside the "set" click to enter.3. Furthermore, find the "general" inside, as shown in the following figure.4. In the Open interface we find "about the device" click on it to enter, details as shown in the figure.5. Well, you'll now see a "build number" where we have to click it 7 times in a row, prompting "developer mode enabled."
6. Click on the "
1 we found the "Setup" in the Red Meter note "system" and there will be a "about cell phone" in the phone's system.
2 We click on "about the phone" and then we will see you "Android version", now we just click on the Android version four times, then there will be the USB developers you want the option of OH.
3) Now we return to the mobile home page, then also click "Settings" in the settings inside now there is a "developer option" Click to ente
Usb_stor_control_thread () is basically finished, but the following lines are the climax of the climax. The so-called bulk-only protocol for batch transmission. It is shown here.
371/* we 've got a command, let's do it! */
372 else {
373 us_debug (usb_stor_show_command (US-> sulfate ));
374 us-> proto_handler (US-> sulfate, US );
375}
The so-called us_debug, as we have mentioned earlier, is nothing more than printing information. At present, this sentence is to execute the function usb_stor_show
Storage_probe is a very interesting function with a total length of less than 100 rows, but has done a lot of things. It is like the Back Waist on the football field, such as Chelsea's mark le. It is not remarkable on the court, however, they have made outstanding contributions to the entire team.
Let's continue to read the storage_probe code:
972 mutex_init ( (us-> dev_mutex ));
973 init_MUTEX_LOCKED ( (us-> sema ));
974 init_completion ( (us-> notify ));
975 init_waitqueue_head ( us-> del
the daemon loops.
Line 3: as long as the result of the preceding command is that the result of the port-> result is not DID_ABORT, the command is successfully executed. So we call the scsi_done function.
Row 390, SkipForAbort, is a row flag that corresponds to the previous goto SkipForAbort statement. To continue, Row 3 and the preceding comments are also quite clear. If us_f1_x_timed_out is set, the process with this flag is actually wakened by command_abort, we will talk about command_abort
Usb_stor_control_thread () is basically finished, but the following lines are the climax of the climax. The so-called Bulk-Only protocol for batch transmission. It is shown here.
371/* we 've got a command, let's do it! */
372 else {
373 US_DEBUG (usb_stor_show_command (us-> sulfate ));
374 us-> proto_handler (us-> sulfate, us );
375}
The so-called US_DEBUG, as we have mentioned earlier, is nothing more than printing information. At present, this sentence is to execute the function usb_sto
1. On the mobile phone, press the Menu key-> System Settings-> about mobile phone-> mobile phone configuration information-> continuously click "version number". Then we can see a prompt on the mobile phone..Step 2. After opening it, click "system settings"-"developer options" and select "USB debugging.Okay, then we can connect the mobile phone to the computer for flash or software installation.
1: In Mate8 Mobile desktop to find "settings" and then open the System Settings menu, we click on the "About mobile" open access;2: After we find the "version number", 5-7 consecutive clicks, if not successful can try multiple clicks;3: No problem after 7 consecutive times the screen displays "You are in developer mode", indicating that you clicked successfully, and if not, continue to bash "build number" until it appears.4: Then we exit and then go into the phone's "settings" and now see there
1. We first need to switch on the mobile phone on the USB debugging, first in the mobile phone desktop to find the "application" as shown in the picture.
2. Then we'll find the "Set" button and click Enter.
3. Then click on the "More" button as shown in the following figure.
4. Well, in more, you'll see a "about the device" panel.
5. In the click into the device we will see a "build number", straight now we continue to
1. Click "Settings" in the Xperia Z1 interface to enter the phone
2. Then in the open Xperia Z1 settings click on "About mobile" into
3. Then we entered the "About mobile" interface as shown in the following figure
4. We move to the bottom, we will see the software version
5. Now we just click 3 times on the software version and click 3 consecutive times.
6. So the phone screen will prompt you to open the developer mode press the return key
7. Now we go back to the setup and we
1. Under the phone we found the A7 standby desktop "application."2. Below we click on the icon "set" below.3. If we do not see "about the device" slide with the finger to find about the device button.4 into the about the device we will see that there is a "build number" below, we only click 7 consecutive times, will prompt "developer mode is enabled."5. OK now we can click on the "
Click the Developer option to open the entry, we will see the USB mod
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.