steps are as follows, just need the idea is to set up the serial port device may not be ttyS2, there may be ttyUSB0 or ttyUSB1 and so on, I am here is ttyUSB0 (I use Fedora Core 8). Therefore, it is a good idea to take a look at the files under/dev first.USB to serial port mount model pl2303h1, insert the USB to the serial port to the host,2, start Linux, open the terminal, check if there is a device/dev/t
1, through the ISO to create a bootable U disk system.
1.0, format the U disk for FAT32 format
Linux can use the command
Mkfs.vfat u disk's device path
For example:
Mkfs.vfat/dev/sdb
where the U disk path can be viewed by command DF
1.1, the simplest method (but some cases will fail, and the U disk can not put other files, need to be formatted before use):
DD If=iso path of=u disk's device path
For example:
DD If=centos-6.5-livedvd.iso OF=/D
I,LinuxLoadUSB flash drive
How about LinuxLoad(Excellent) USB flash drive
Step 1: Log On As the root userFirst load the USB Module modprobe USB-storageUse fdisk-L to check disk devicesAssume that the USB flash drive is SDA.Step 2: confirm thatFileFolder/USB. If not, ente
Today, I tried to mount a USB flash drive in RedHat5. My USB flash drive is fat32, but it has been around for a long time. I also used fdisk-l to view the disk information in linux, But it displays the sda information in linux. You cannot see the USB flash disk information.
Usb_gadget, a data member required by a Linux-defined gadget, contains sturct Usb_ep.
-> struct Mv_usb_ep, where the struct USB_EP is a member of the Linux defined endpoint, refer to the USB protocol for endpoint.
-> struct Usb_gadget_driver, the driver that should be gadget the function of the device, the following section will be described in detail.
-> void *
installed LRZSZ software package:# sudo apt-get install LrzszThen you can normally use minicom to burn the kernel through the serial port.Second, the configuration minicom:1, before using minicom, first to ensure that you have read/write permission to the serial port. We know that the Linux device corresponds to a file in the/dev/directory, the serial port COM1 corresponds to the ttys0,com2 corresponding to the ttyS1, use the following command to vie
;dev.type = usb_if_device_type; This is a USB interface device, which was understood for half a day, so it was not found interface How the dev in probe can be transformed into a interface. Thanks to this document). The probe function of the device interface is called in Usb_probe_interface,usb_probe_interface is registered in Usb_register_driver (usb_register). This way, the enumeration of USB devices is ea
USB urb (USB request block)
Kernel 2.6.29.4The USB device driver code communicates with all USB devices through urb. Urb uses the struct urb structure description (include/Linux/USB. h ).
Urb sends or receives data asynchronously
Server documentationWhen it comes to LINUX, some people may think it is not as practical, convenient, and simple as WINDOWS, and even feel that LINUX has almost no software. what is it. most importantly, it is unnecessary for some people who want to try a single interface to see that they want to repartition and leave a lot of space to put something that is just "for fun, if you want to try it, I recommend
1. After inserting the USB drive, enter the Fdisk-l command under Linux, as shown belowIndicates that the device has been identified and that the name of the device is SDB1.2. Set up a mounted USB mount directory (can be customized directory)#mkdir/mnt/usb3. Mount the USB stick in the/mnt/
Mount a USB flash disk in linux and solve the garbled problem.
1. Switch to the root user first;
2. Run the fdisk-l command to view the disk information and find the USB flash disk (you can determine the disk Size Based on the displayed size)
3. Create a mount point under/mnt, for example, create a usb Folder: mkdir/mn
Linux kernel2.6 in the above version, the USB device-driven interface changed to Gadget, in the Kernel/driver/usb/gadget directory mainly includes platform USB UDC drive and gadget interface driver.
Kernel/driver/usb/gadget SERIAL.C is a commonly used driver file that can be
I have been using a virtual machine for a long time. Recently I want to experience Linux and FreeBSD operating systems on a real machine. Therefore, I decided to install these operating systems on the hard disk, so I had to use a USB flash drive for installation. Record the installation process.
1. Quasi-Work
A. XP, the computer has been there. Just change the partition.
B. FreeBSD. Because it is installed
Through the USB stick to install the system, which is now the preferred method for many users, because the use of USB stick installation system method is very simple, the operation is very convenient, eliminating the optical drive or hard disk installation system of some troublesome steps. Installing a Windows system from a USB stick is easy, so is it easy to ins
How to Learn about Linux: mount a USB flash disk-general Linux technology-Linux technology and application information. For more information, see the following. Beautiful mood of the author
Linux is Linux, and most operations rely
,
407 us-> current_urb-> actual_length );
408}
If the result is successfully submitted, the returned result is 0. Act_len records the actual transfer length. However, simply looking at these two functions, we have to look at the context. In other words, we need to combine the context of the call of usb_stor_bulk_transfer_buf in usb_bulk_transport () to compare the parameters and real parameters, so that we can truly understand and open up this thick fog.
Before carefully analyzing usb_stor_B
, it is determined that the USB Charger is one of the following USB Charger:-SDP (Standard Downstream Port)-DCP (Dedicated Charging Port)-CDP (Charging Downstream Port) -ACA (Accessory Charger Adapters) generally recognizes SDP and DCP (dedicated charger, DP, and DM transient connections ). 2. USB charger identification and battery management chip interface is ho
Http://hi.baidu.com/romashell/blog/item/0faf1e007a249e82e850cd10.html
Recently, I am working on the driver of the USB slave device in Linux. The program is almost written. Let's make a summary. Welcome to the discussion. please correct me if you have any mistakes. Thank you! -- Jason
1. Introduction to USB drive
There are three main types of devices on the
first, the hardware platform: TI am335x Chip
Second, the software platform: Ubuntu 10.04
introduction of USB CDC ACM Drive
The CDC class of USB is the abbreviation of USB Communication device Class (Communication Device Class). CDC class is a type of USB subclass that is defined by a
USB flash disk mounting
1. Insert a USB flash drive.
2. Use fdisk-L to view disk Information
[Root @ localhost USB] # fdisk-l
Disk/dev/SDA: 8589 MB, 8589934592 bytes255 heads, 63 sectors/track, 1044 CylindersUnits = cylinders of 16065*512 = 8225280 bytes
Device boot start end blocks ID system/Dev/sda1*1 13 104391 83 Linux
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.