Installation Configuration minicom--------------------------------------------------
#
lsmod | grep usbserial(If you use the serial port directly, but do not use USB to switch serial device, this step can be skipped)
If there is usbserial, the system supports USB to the serial port.
Install minicom (fedora comes with minicom, this step can be skipped)
apt-get Install minicom
apt-get Install Lrzsz
Confi
1 in the Millet 2S desktop to find "settings" and then we click to enter, and then see below there is a "developer option" Now we click on it to enter.
2 Then we find "USB debugging" after entering the interface to open it, when we open will pop up a prompt, the content is "whether to allow USB debugging" click OK.
Friendly tips, this millet 2S did not upgrade to Android 4.2 Previous version of the ph
1 We click on the mobile desktop "settings" and then find "about the phone" to enter after the click "More" specific as the figure.
2) and then we find the version number, and then we click on 4 consecutive times, and then from "General"-"more".
3 good so in more inside will see there is a "developer option, and finally the USB debugging appears
Summarize
In fact, all Android 4.2 and later version of the
1. As shown in the following figure, we click the "Settings"-"All settings" interface in the Millet 3 phone.
2. Then in the following figure you will see a "about the phone" option, click Enter, and then see the Android version of the option.
3. Here I can open the developer option by simply clicking "Android Version" four times in a row.
4. In the developer options interface can be found in the USB debugging mode, click to open 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
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
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.