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
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
http://china.rs-online.com/web/p/usb-cable-assemblies/7244143/Product Details USB3.0 AdapterSuperSpeed USB will provide 10x data conversion rate high-speed USB, as well as improve power efficiencyUSB3.0 Cable provides a durable, high-quality connectionFast transfer speed between storage devices and peripheralsProvides a throughput of up to 4.8Gbps for USB3.0 host
Create a Windows 7 installation USB flash drive and a Windows 7 installation USB flash drive in linux
Http://blog.csdn.net/pipisorry/article/details/41369821
Linux is installed, and win7 is installed with a USB flash drive (network installation should be acceptable ),
First, you must create a win7 installation USB flas
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
During the project development, we need a USB-to-relay device to control the wireless transmitter device when the switch is enabled. When purchasing the device, the sourcing department buys a batch of devices without knowing the operating environment of the relay device, later, we found that the device manufacturer only provides the Windows library, and we want to develop it in Linux. Speechless ......
Although the relay device has no drive, I don't k
phase. This phase is optional. If the wvalue And Windex data we transmit cannot accommodate, or the information needs to be read from the device, it needs to be carried out through the data phase, the data phase is implemented through the ep0buf, ep0bch, and ep0bcl registers. The data phase can transmit 64 bytes of data at a time.
This phase is often used incorrectly, especially when data is transmitted from the upper computer to the lower computer, which leads to a strange phenomenon: the cor
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.