⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 devices.txt

📁 嵌入式系统设计与实例开发实验教材二源码 多线程应用程序设计 串行端口程序设计 AD接口实验 CAN总线通信实验 GPS通信实验 Linux内核移植与编译实验 IC卡读写实验 SD驱动使
💻 TXT
📖 第 1 页 / 共 5 页
字号:
		       LINUX ALLOCATED DEVICES	     Maintained by H. Peter Anvin <device@lanana.org>		      Last revised: 3 June 2001This list is the Linux Device List, the official registry of allocateddevice numbers and /dev directory nodes for the Linux operatingsystem.The latest version of this list is available fromhttp://www.lanana.org/docs/device-list/ orftp://ftp.kernel.org/pub/linux/docs/device-list/.  This version may benewer than the one distributed with the Linux kernel.The LaTeX version of this document is no longer maintained.This document is included by reference into the Filesystem HierarchyStandard (FHS).	 The FHS is available from http://www.pathname.com/fhs/.Allocations marked (68k/Amiga) apply to Linux/68k on the Amigaplatform only.	Allocations marked (68k/Atari) apply to Linux/68k onthe Atari platform only.The symbol {2.6} means the allocation is obsolete and scheduled forremoval once kernel version 2.6 (or equivalent) is released.This document is in the public domain.	The author requests, however,that semantically altered versions are not distributed withoutpermission of the author, assuming the author can be contacted withoutan unreasonable effort.In particular, please don't sent patches for this list to Linus, atleast not without contacting me first.I do not have any information about these devices beyond what appearson this list.  Any such information requests will be deleted withoutreply.	  **** DEVICE DRIVERS AUTHORS PLEASE READ THIS ****THE DEVICE REGISTRY IS OFFICIALLY FROZEN FOR LINUS TORVALDS' KERNELTREE.  At Linus' request, no more allocations will be made officialfor Linus' kernel tree; the 3 June 2001 version of this list is theofficial final version of this registry.  At Alan Cox' request,however, the registry will continue to be maintained for the -acseries of kernels, and registrations will be accepted.To have a major number allocated, or a minor number in situationswhere that applies (e.g. busmice), please contact me with theappropriate device information.	 Also, if you have additionalinformation regarding any of the devices listed below, or if I havemade a mistake, I would greatly appreciate a note.I do, however, make a few requests about the nature of your report.This is necessary for me to be able to keep this list up to date andcorrect in a timely manner.  First of all, *please* send it to thecorrect address... <device@lanana.org>.  I receive hundreds of emailmessages a day, so mail sent to other addresses may very well get lostin the avalanche.  Please put in a descriptive subject, so I can findyour mail again should I need to.  Too many people send me emailsaying just "device number request" in the subject.Second, please include a description of the device *in the same formatas this list*.	The reason for this is that it is the only way I havefound to ensure I have all the requisite information to publish yourdevice and avoid conflicts.Third, please don't assume that the distributed version of the list isup to date.  Due to the number of registrations I have to maintain itin "batch mode", so there is likely additional registrations thathaven't been listed yet.Finally, sometimes I have to play "namespace police."  Please don't beoffended.  I often get submissions for /dev names that would be boundto cause conflicts down the road.  I am trying to avoid getting in asituation where we would have to suffer an incompatible forwardchange.  Therefore, please consult with me *before* you make yourdevice names and numbers in any way public, at least to the pointwhere it would be at all difficult to get them changed.Your cooperation is appreciated.  0		Unnamed devices (e.g. non-device mounts)		  0 = reserved as null device number  1 char	Memory devices		  1 = /dev/mem		Physical memory access		  2 = /dev/kmem		Kernel virtual memory access		  3 = /dev/null		Null device		  4 = /dev/port		I/O port access		  5 = /dev/zero		Null byte source		  6 = /dev/core		OBSOLETE - replaced by /proc/kcore		  7 = /dev/full		Returns ENOSPC on write		  8 = /dev/random	Nondeterministic random number gen.		  9 = /dev/urandom	Faster, less secure random number gen.		 10 = /dev/aio		Asyncronous I/O notification interface    block	RAM disk		  0 = /dev/ram0		First RAM disk		  1 = /dev/ram1		Second RAM disk		    ...		250 = /dev/initrd	Initial RAM disk {2.6}		Older kernels had /dev/ramdisk (1, 1) here.		/dev/initrd refers to a RAM disk which was preloaded		by the boot loader; newer kernels use /dev/ram0 for		the initrd.  2 char	Pseudo-TTY masters		  0 = /dev/ptyp0	First PTY master		  1 = /dev/ptyp1	Second PTY master		    ...		255 = /dev/ptyef	256th PTY master		Pseudo-tty's are named as follows:		* Masters are "pty", slaves are "tty";		* the fourth letter is one of pqrstuvwxyzabcde indicating		  the 1st through 16th series of 16 pseudo-ttys each, and		* the fifth letter is one of 0123456789abcdef indicating		  the position within the series.		These are the old-style (BSD) PTY devices; Unix98		devices are on major 128 and above and use the PTY		master multiplex (/dev/ptmx) to acquire a PTY on		demand.      block	Floppy disks		  0 = /dev/fd0		Controller 0, drive 0, autodetect		  1 = /dev/fd1		Controller 0, drive 1, autodetect		  2 = /dev/fd2		Controller 0, drive 2, autodetect		  3 = /dev/fd3		Controller 0, drive 3, autodetect		128 = /dev/fd4		Controller 1, drive 0, autodetect		129 = /dev/fd5		Controller 1, drive 1, autodetect		130 = /dev/fd6		Controller 1, drive 2, autodetect		131 = /dev/fd7		Controller 1, drive 3, autodetect		To specify format, add to the autodetect device number:		  0 = /dev/fd?		Autodetect format		  4 = /dev/fd?d360	5.25"  360K in a 360K  drive(1)		 20 = /dev/fd?h360	5.25"  360K in a 1200K drive(1)		 48 = /dev/fd?h410	5.25"  410K in a 1200K drive		 64 = /dev/fd?h420	5.25"  420K in a 1200K drive		 24 = /dev/fd?h720	5.25"  720K in a 1200K drive		 80 = /dev/fd?h880	5.25"  880K in a 1200K drive(1)		  8 = /dev/fd?h1200	5.25" 1200K in a 1200K drive(1)		 40 = /dev/fd?h1440	5.25" 1440K in a 1200K drive(1)		 56 = /dev/fd?h1476	5.25" 1476K in a 1200K drive		 72 = /dev/fd?h1494	5.25" 1494K in a 1200K drive		 92 = /dev/fd?h1600	5.25" 1600K in a 1200K drive(1)		 12 = /dev/fd?u360	3.5"   360K Double Density(2)		 16 = /dev/fd?u720	3.5"   720K Double Density(1)		120 = /dev/fd?u800	3.5"   800K Double Density(2)		 52 = /dev/fd?u820	3.5"   820K Double Density		 68 = /dev/fd?u830	3.5"   830K Double Density		 84 = /dev/fd?u1040	3.5"  1040K Double Density(1)		 88 = /dev/fd?u1120	3.5"  1120K Double Density(1)		 28 = /dev/fd?u1440	3.5"  1440K High Density(1)		124 = /dev/fd?u1600	3.5"  1600K High Density(1)		 44 = /dev/fd?u1680	3.5"  1680K High Density(3)		 60 = /dev/fd?u1722	3.5"  1722K High Density		 76 = /dev/fd?u1743	3.5"  1743K High Density		 96 = /dev/fd?u1760	3.5"  1760K High Density		116 = /dev/fd?u1840	3.5"  1840K High Density(3)		100 = /dev/fd?u1920	3.5"  1920K High Density(1)		 32 = /dev/fd?u2880	3.5"  2880K Extra Density(1)		104 = /dev/fd?u3200	3.5"  3200K Extra Density		108 = /dev/fd?u3520	3.5"  3520K Extra Density		112 = /dev/fd?u3840	3.5"  3840K Extra Density(1)		 36 = /dev/fd?CompaQ	Compaq 2880K drive; obsolete?		(1) Autodetectable format		(2) Autodetectable format in a Double Density (720K) drive only		(3) Autodetectable format in a High Density (1440K) drive only		NOTE: The letter in the device name (d, q, h or u)		signifies the type of drive: 5.25" Double Density (d),		5.25" Quad Density (q), 5.25" High Density (h) or 3.5"		(any model, u).	 The use of the capital letters D, H		and E for the 3.5" models have been deprecated, since		the drive type is insignificant for these devices.  3 char	Pseudo-TTY slaves		  0 = /dev/ttyp0	First PTY slave		  1 = /dev/ttyp1	Second PTY slave		    ...		255 = /dev/ttyef	256th PTY slave		These are the old-style (BSD) PTY devices; Unix98		devices are on major 136 and above.    block	First MFM, RLL and IDE hard disk/CD-ROM interface		  0 = /dev/hda		Master: whole disk (or CD-ROM)		 64 = /dev/hdb		Slave: whole disk (or CD-ROM)		For partitions, add to the whole disk device number:		  0 = /dev/hd?		Whole disk		  1 = /dev/hd?1		First partition		  2 = /dev/hd?2		Second partition		    ...		 63 = /dev/hd?63	63rd partition		For Linux/i386, partitions 1-4 are the primary		partitions, and 5 and above are logical partitions.		Other versions of Linux use partitioning schemes		appropriate to their respective architectures.  4 char	TTY devices		  0 = /dev/tty0		Current virtual console		  1 = /dev/tty1		First virtual console		    ...		 63 = /dev/tty63	63rd virtual console		 64 = /dev/ttyS0	First UART serial port		    ...		255 = /dev/ttyS191	192nd UART serial port		UART serial ports refer to 8250/16450/16550 series devices.		Older versions of the Linux kernel used this major		number for BSD PTY devices.  As of Linux 2.1.115, this		is no longer supported.	 Use major numbers 2 and 3.  5 char	Alternate TTY devices		  0 = /dev/tty		Current TTY device		  1 = /dev/console	System console		  2 = /dev/ptmx		PTY master multiplex		 64 = /dev/cua0		Callout device for ttyS0		    ...		255 = /dev/cua191	Callout device for ttyS191		(5,1) is /dev/console starting with Linux 2.1.71.  See		the section on terminal devices for more information		on /dev/console.  6 char	Parallel printer devices		  0 = /dev/lp0		Parallel printer on parport0		  1 = /dev/lp1		Parallel printer on parport1		    ...		Current Linux kernels no longer have a fixed mapping		between parallel ports and I/O addresses.  Instead,		they are redirected through the parport multiplex layer.  7 char	Virtual console capture devices		  0 = /dev/vcs		Current vc text contents		  1 = /dev/vcs1		tty1 text contents		    ...		 63 = /dev/vcs63	tty63 text contents		128 = /dev/vcsa		Current vc text/attribute contents		129 = /dev/vcsa1	tty1 text/attribute contents		    ...		191 = /dev/vcsa63	tty63 text/attribute contents			NOTE: These devices permit both read and write access.    block	Loopback devices		  0 = /dev/loop0	First loopback device		  1 = /dev/loop1	Second loopback device		    ...		The loopback devices are used to mount filesystems not		associated with block devices.	The binding to the		loopback devices is handled by mount(8) or losetup(8).  8 block	SCSI disk devices (0-15)		  0 = /dev/sda		First SCSI disk whole disk		 16 = /dev/sdb		Second SCSI disk whole disk		 32 = /dev/sdc		Third SCSI disk whole disk		    ...		240 = /dev/sdp		Sixteenth SCSI disk whole disk		Partitions are handled in the same way as for IDE		disks (see major number 3) except that the limit on		partitions is 15.  9 char	SCSI tape devices		  0 = /dev/st0		First SCSI tape, mode 0		  1 = /dev/st1		Second SCSI tape, mode 0		    ...		 32 = /dev/st0l		First SCSI tape, mode 1		 33 = /dev/st1l		Second SCSI tape, mode 1		    ...		 64 = /dev/st0m		First SCSI tape, mode 2		 65 = /dev/st1m		Second SCSI tape, mode 2		    ...		 96 = /dev/st0a		First SCSI tape, mode 3		 97 = /dev/st1a		Second SCSI tape, mode 3		      ...		128 = /dev/nst0		First SCSI tape, mode 0, no rewind		129 = /dev/nst1		Second SCSI tape, mode 0, no rewind		    ...		160 = /dev/nst0l	First SCSI tape, mode 1, no rewind		161 = /dev/nst1l	Second SCSI tape, mode 1, no rewind		    ...		192 = /dev/nst0m	First SCSI tape, mode 2, no rewind		193 = /dev/nst1m	Second SCSI tape, mode 2, no rewind		    ...		224 = /dev/nst0a	First SCSI tape, mode 3, no rewind		225 = /dev/nst1a	Second SCSI tape, mode 3, no rewind		    ...		"No rewind" refers to the omission of the default		automatic rewind on device close.  The MTREW or MTOFFL		ioctl()'s can be used to rewind the tape regardless of		the device used to access it.    block	Metadisk (RAID) devices		  0 = /dev/md0		First metadisk group		  1 = /dev/md1		Second metadisk group		    ...		The metadisk driver is used to span a		filesystem across multiple physical disks. 10 char	Non-serial mice, misc features		  0 = /dev/logibm	Logitech bus mouse		  1 = /dev/psaux	PS/2-style mouse port		  2 = /dev/inportbm	Microsoft Inport bus mouse		  3 = /dev/atibm	ATI XL bus mouse		  4 = /dev/jbm		J-mouse		  4 = /dev/amigamouse	Amiga mouse (68k/Amiga)		  5 = /dev/atarimouse	Atari mouse		  6 = /dev/sunmouse	Sun mouse		  7 = /dev/amigamouse1	Second Amiga mouse		  8 = /dev/smouse	Simple serial mouse driver		  9 = /dev/pc110pad	IBM PC-110 digitizer pad		 10 = /dev/adbmouse	Apple Desktop Bus mouse		 11 = /dev/vrtpanel	Vr41xx embedded touch panel		 13 = /dev/vpcmouse	Connectix Virtual PC Mouse		 14 = /dev/touchscreen/ucb1x00  UCB 1x00 touchscreen		 15 = /dev/touchscreen/mk712	MK712 touchscreen		128 = /dev/beep		Fancy beep device		129 = /dev/modreq	Kernel module load request {2.6}		130 = /dev/watchdog	Watchdog timer port		131 = /dev/temperature	Machine internal temperature		132 = /dev/hwtrap	Hardware fault trap		133 = /dev/exttrp	External device trap		134 = /dev/apm_bios	Advanced Power Management BIOS		135 = /dev/rtc		Real Time Clock		139 = /dev/openprom	SPARC OpenBoot PROM		140 = /dev/relay8	Berkshire Products Octal relay card		141 = /dev/relay16	Berkshire Products ISO-16 relay card		142 = /dev/msr		x86 model-specific registers {2.6}		143 = /dev/pciconf	PCI configuration space		144 = /dev/nvram	Non-volatile configuration RAM		145 = /dev/hfmodem	Soundcard shortwave modem control {2.6}		146 = /dev/graphics	Linux/SGI graphics device		147 = /dev/opengl	Linux/SGI OpenGL pipe		148 = /dev/gfx		Linux/SGI graphics effects device		149 = /dev/input/mouse	Linux/SGI Irix emulation mouse		150 = /dev/input/keyboard Linux/SGI Irix emulation keyboard		151 = /dev/led		Front panel LEDs		153 = /dev/mergemem	Memory merge device		154 = /dev/pmu		Macintosh PowerBook power manager		155 = /dev/isictl	MultiTech ISICom serial control		156 = /dev/lcd		Front panel LCD display		157 = /dev/ac		Applicom Intl Profibus card		158 = /dev/nwbutton	Netwinder external button		159 = /dev/nwdebug	Netwinder debug interface		160 = /dev/nwflash	Netwinder flash memory		161 = /dev/userdma	User-space DMA access		162 = /dev/smbus	System Management Bus		163 = /dev/lik		Logitech Internet Keyboard		164 = /dev/ipmo		Intel Intelligent Platform Management		165 = /dev/vmmon	VMWare virtual machine monitor		166 = /dev/i2o/ctl	I2O configuration manager

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -