origin:https://blog.csdn.net/wuyuwei45/article/details/8926858
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
To learn about the Linux File System skills and whether to attach a USB flash drive. This article describes the case. I hope this will help you a little.
The Linux File System is asynchronous. That is to say, writing a file is not saved to the media (hard disk, USB flash disk, etc.) immediately, but saved to the buffe
="!!!"functionDisplay_help () {if[-N"$script _usage"]; Then Echo-E"Usage: $script _usage" fi if[-N"$script _function"]; Then Echo-E"$script _function" fi if[-N"$script _doc"] ; Then Echo-E"\n$script_doc" fi if[-N"$script _examples"]; Then Echo-E"\nexamples" Echo-E"$script _examples" fi}# Process Command Options whilegetopts ": H"Opt Do Case$optinchh) display_helpExit0;;\?) Display_helpExit1;;Esac DoneShift$(($Optind-1))if[ $OSTYPE='
I. mount a USB flash drive in Linux:1. Insert a USB flash disk to a computer. If only one USB flash disk is inserted and your hard disk is not a SCSI hard disk interface, the hardware name is sda1.2. Create a USB directory under the MNT directory (for example, [root @ localh
1. Use iso to create a portable USB flash drive.
1.0. format the USB flash drive in FAT32 format.
Commands can be used in linux
Device path of mkfs. vfat USB flash disk
For example:
Mkfs. vfat/dev/sdb
The path of the USB flash disk can be viewed by running df.
1.1, the simpl
USB Stick Install Linux system "RHEL 6.3 Server"1. Prepare 1 USB drives (preferably 8G)2. Download UltraISO (primarily for ISO image files)3. Download Rhel-server-6.0-i386-boot.iso or Rhel-server-6.0-x86_64-boot.iso These two are used to boot the system installation disk, where _64 refers to a 64-bit system4. Download the Redhat.enterprise.linux.v6.update.1.x86_6
LInux USB Architecture
you can see that a USB system requires 4 drivers: USB device driver (mainly written in this section) , USB Host Controller driver , Gadget Drive , UDC Drive .
There are 4 main features of
Create a USB flash drive for gos2.9 linux system-general Linux technology-Linux technology and application information. For more information, see the following. Install ubuntu + gos 2.9 to a USB device, and then boot gos from the usb
In Linux, USB storage devices are managed as local storage devices, just like local disks. Therefore, after you enter the fdisk-l command, the USB storage device is listed with the local disk. Www.2cto.com the USB flash drive device name is sdb, which is simulated as a SCSI device...
In
How can I use a USB flash drive in Linux? -- Linux general technology-Linux technology and application information. For details, refer to the following section. USB device usage in linux
Environment:
gadget, the interface is very friendly, here do not repeat. (UNetbootin was used at the back end of the "Deepin boot Maker" released on June 11, 2014)http://unetbootin.sourceforge.net/1.3. Booting or installing the system via ISORestart the machine and choose to boot with a USB device.Assuming that you are writing a live-form Linux system (similar to WinPE), you can boot a CD/u disk system.2. Create and re
Recently in the study of the camera, it is natural to think of playing under the Linux use. After all, open source software under Linux is still much more.The Linux distribution is: Ubuntu. Run on the virtual machine.By: Uname-a View System Information:Linux lzj-virtual-machine 3.13.0-45-generic #74-ubuntu SMP Tue Jan 19:36:28 UTC x86_64 x86_64 x86_64 gnu/linuxTh
simple steps to make a Linux system that starts with a U disk:
First, the U disk for processing
1. Partition: (Insert the U disk)
# FDISK/DEV/SDB
D Enter Delete the existing partition
N Enter a new primary partition
W Enter Save Settings
# PARTPROBE/DEV/SDB Flash u disk
2. Set USB disk partition for active partition
# FDISK/DEV/SDB
A Enter is set to active partition
1 Enter Select partition
3.
Note: The user-level USB driver is well written. It seems that QT embedded porting is also based on this.Kernel-level USB drivers have problems in the following aspects:
1. When the customers who use our products have a 2.4 kernel platform and a 2.6 kernel platform, we need to design a driver that is compatible with the two platforms, we have to write two makefiles.2. If we want to port
1, UNetbootin
Create one of the most popular Live USB tools. UNetbootin is an open-source application that supports Windows, Mac OS X, and Linux. It supports any released version image you want to try.@ Http://unetbootin.sourceforge.net/
2, Pendrivelinux (Universal USB Installer)Pendrivelinux is UNetbootin's "little brother ". Like UNetbootin, Pendrivelinux al
Kali linux hack wifi password how to mount a USB wireless card time: 2014-10-12 Source: Server home Contributor: RootThe first thing I want to say is that the WiFi password hack is not as easy as imagined, there is no one can crack any type of WiFi password tools or solutions exist. Although you can find a lot of tutorials on the web, there are a lot of success stories in the tutorials, but the success rate
Mount USB flash DriveFdisk-ldisk/dev/sdd:131 MB, 131072000 bytes/DEV/SDD1 * 1 889 127983+ b Win95 FAT32#mkdir-P/MNT/USB#mount-t vfat/dev/sdd1 /mnt/usb#mount-T Vfat-o iocharset=cp936/dev/sdd1/mnt/usb
First you have to make sure that the format of your USB stick is fat f
USB mobile device is usually recognized as SDA1, if it is not known to be recognized as that one, you can use the command: Fdisk-l query, you can determine according to the details of the description of which is your U diskYou can see that/dev/sdb1 is my USB stick.1. Mount the USB stick to the/mnt/usb directory, if the
, and if so, use this information to create a device node file for this device in/dev. Case $ACTION in Remove)/bin/umount $MOUNTPOINT | | True rmdir $MOUNTPOINT >/dev/null 2>1 | | true;; *)/bin/mkdir $MOUNTPOINT >/dev/null 2>1 | | True/bin/mount-t vfat-o codepage=936-o iocharset=utf8-o sync-o noatime-o nodiratime/dev/$DEVNAME $MOUNTPOINT >/dev/null 2>1 | | true;; Esacexit 0PS: Aboutmdev.conf File/etc/mdev.conf is a mdev configuration file used to control the ownership/permissions of device no
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.