Procedure:
Use cfdisk to create two partitions in the USB flash drive, and use the second partition as the boot partition.0: mkfs. ext3/dev/sdc5
1: mount/dev/sdc5/tmp/boot
2: grub-install -- root-directory =/tmp/boot -- no-floppy/dev/sdc (* Note *)
Modify the menu. lst file by yourself. This is simple.**************************************** ************************************All of the above are overturned and rewritten. You must understand the theo
If you want to connect to the 91 assistant and other related software must turn on the USB debugging section, we operate the method is very simple, click on the Phone "application" (Note on the Phone desktop standby state).
2. Then we find the application below the "set" icon to click on it to enter.
3. Here we will see there is a "about the device" click on it to enter.
4. Then in the open about the device interface will hav
Question 1: The computer USB interface is very slow to charge
The computer charge itself is slower than the direct connection to the power supply, because the computer's USB current is small, generally can not reach the standard of electrical appliances, so we try to use the power to charge.
Question 2: Millet 4 is very slow to charge
Charging speed and charge current and battery activity related, if t
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
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
1 in the Vivo xplay3s mobile phone application interface to find the "Settings" icon, click to enter after we find "system settings" and then go to find inside the "about the phone" (about the tablet) we now click on it to enter.
2 in the open about the mobile interface we find "version number" and then click 7 consecutive times, direct screen display after the prompts we then click the "Back" Settings menu interface to select "Developer Options"
3 OK now we go to the developer option and
Method/Step:
1, in the Millet 4 standby state Click the "Settings" button;
2, in the entry of the settings found inside the "all Set" button, the details are as follows;
3, then we find inside the "About mobile phone" click it open;
4, then we will see on the mobile phone has an "Android version" then we use the finger non-stop click "Android Version" 5 times, the phone will be prompted several open development mode.
It just turned on "USB debu
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
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.