字符设备主设备号范围

早期的内核字符主设备分配范围为0~255,后来由于不够用,对字符主设备号分配范围扩充到0~511,按照动态和静态申请划分情况使用,按照0~255和256~511两段进行详细划分,大概分配状况如下:

范围 说明
0~233 静态分配
234~254 动态分配
256~383 静态分配
384~511 动态分配,其中动态分配时先申请234~254范围,如果已经使用完毕,则从384~511范围分配给动态申请使用

上述范围的值可以从内核源码include\linux\fs.h文件中下面几个宏定义中看出:

/* fs/char_dev.c */
#define CHRDEV_MAJOR_MAX 512
/* Marks the bottom of the first segment of free char majors */
#define CHRDEV_MAJOR_DYN_END 234
/* Marks the top and bottom of the second segment of free char majors */
#define CHRDEV_MAJOR_DYN_EXT_START 511
#define CHRDEV_MAJOR_DYN_EXT_END 384

详细分配状况

linux内核最新版本5.10.11分配情况 可以从Documentation\admin-guide\devices.txt,笔者进行了整理方便查阅,还可以从内核代码\include\uapi\linux\major.h 查看 分配情况,其中有些由于太过与古老但是为了兼容还是进行了保留

主设备号 主设备号说明 次设备号 /dev 次设备号说明
0 做保留不分配reserved as null device number - - -
1 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 Asynchronous I/O notification interface
11 /dev/kmsg     Writes to this come out as printk's, reads   export the buffered printk records.
12 /dev/oldmem OBSOLETE - replaced by /proc/vmcore

2

Pseudo-TTY masters

次设备号有多个用户就有多个 和用户有关,最高到255

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.

 0 = /dev/ptyp0 First PTY master
1 /dev/ptyp1 Second PTY master
... ...
255 = /dev/ptyef 256th PTY master

3

Pseudo-TTY slaves

these are the old-style (BSD) PTY devices; Unix98   devices are on major 136 and above.

0 /dev/ttyp0 First PTY slave
1 /dev/ttyp1 Second PTY slave
... ... ...
255 /dev/ttyef

256th PTY slave

4

TTY 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.

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

Alternate TTY devices

(5,1) is /dev/console starting with Linux 2.1.71.  See  the section on terminal devices for more information   on /dev/console.

0 /dev/tty     Current TTY device
1 /dev/console System console
2 /dev/ptmx PTY master multiplex
3 /dev/ttyprintk User messages via printk TTY device
64 /dev/cua0     Callout device for ttyS0
... ... ...
255 /dev/cua191 Callout device for ttyS191

6

Parallel printer devices

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.

0 /dev/lp0     Parallel printer on parport0
1 /dev/lp1 Parallel printer on parport1

7

Virtual console capture devices

NOTE: These devices permit both read and write access

0 /dev/vcs     Current vc text (glyph) contents
1 /dev/vcs1 tty1 text (glyph) contents
... ... ...
63 /dev/vcs63 tty63 text (glyph) contents
64 /dev/vcsu Current vc text (unicode) contents
65 /dev/vcsu1 tty1 text (unicode) contents
... ... ...
127 /dev/vcsu63 tty63 text (unicode) contents
128 /dev/vcsa Current vc text/attribute (glyph) contents
129 /dev/vcsa1 tty1 text/attribute (glyph) contents
... ... ...
191 /dev/vcsa63 tty63 text/attribute (glyph) contents
8 未分配 - - -

9

SCSI tape devices

"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.

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
... ... ...
10 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
5 /dev/amigamouse Amiga mouse (68k/Amiga)
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
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
137 /dev/vhci Bluetooth virtual HCI driver
139 /dev/openprom SPARC OpenBoot PROM
140 /dev/relay8 Berkshire Products Octal relay card
141 /dev/relay16 Berkshire Products ISO-16 relay card
143 /dev/pciconf PCI configuration space
144 /dev/nvram Non-volatile configuration RAM
145 /dev/hfmodem Soundcard shortwave modem control
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
152 /dev/kpoll Kernel Poll Driver
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
167 /dev/specialix_sxctl Specialix serial control
168 /dev/tcldrv Technology Concepts serial control
169 /dev/specialix_rioctl Specialix RIO serial control
170 /dev/thinkpad/thinkpad IBM Thinkpad devices
171 /dev/srripc QNX4 API IPC manager
172 /dev/usemaclone Semaphore clone device
173 /dev/ipmikcs Intelligent Platform Management
174 /dev/uctrl SPARCbook 3 microcontroller
175 /dev/agpgart AGP Graphics Address Remapping Table
176 /dev/gtrsc Gorgy Timing radio clock
177 /dev/cbm Serial CBM bus
178 /dev/jsflash JavaStation OS flash SIMM
179 /dev/xsvc High-speed shared-mem/semaphore service
180 /dev/vrbuttons Vr41xx button input device
181 /dev/toshiba Toshiba laptop SMM support
182 /dev/perfctr Performance-monitoring counters
183 /dev/hwrng Generic random number generator
184 /dev/cpu/microcode CPU microcode update interface
186 /dev/atomicps Atomic snapshot of process state data
187 /dev/irnet IrNET device
188 /dev/smbusbios SMBus BIOS
189 /dev/ussp_ctl User space serial port control
190 /dev/crash Mission Critical Linux crash dump facility
191 /dev/pcl181 <information missing>
192 /dev/nas_xbus NAS xbus LCD/buttons access
193 /dev/d7s SPARC 7-segment display
194 /dev/zkshim Zero-Knowledge network shim control
195 /dev/elographics/e2201 lographics touchscreen E271-2201
196 /dev/vfio/vfio VFIO userspace driver interface
197 /dev/pxa3xx-gcu PXA3xx graphics controller unit driver
198 /dev/sexec Signed executable interface
199 /dev/scanners/cuecat :CueCat barcode scanner
200 /dev/net/tun TAP/TUN network device
201 /dev/button/gulpb Transmeta GULP-B buttons
202  /dev/emd/ctl Enhanced Metadisk RAID (EMD) control
203 /dev/cuse     Cuse (character device in user-space)
204 /dev/video/em8300 EM8300 DVD decoder control
205 /dev/video/em8300_mv EM8300 DVD decoder video
206 /dev/video/em8300_ma EM8300 DVD decoder audio
207 /dev/video/em8300_sp EM8300 DVD decoder subpicture
208 /dev/compaq/cpqphpc Compaq PCI Hot Plug Controller
209 /dev/compaq/cpqrid Compaq Remote Insight Driver
210 /dev/impi/bt IMPI coprocessor block transfer
211 /dev/impi/smic IMPI coprocessor stream interface
212 /dev/watchdogs/0 First watchdog device
213 /dev/watchdogs/1 Second watchdog device
214 /dev/watchdogs/2 Third watchdog device
215 /dev/watchdogs/3 Fourth watchdog device
216  /dev/fujitsu/apanel Fujitsu/Siemens application panel
217 /dev/ni/natmotn National Instruments Motion
218 /dev/kchuid Inter-process chuid control
219 /dev/modems/mwave MWave modem firmware upload
220 /dev/mptctl Message passing technology (MPT) control
221 /dev/mvista/hssdsi Montavista PICMG hot swap system driver
222 /dev/mvista/hasi Montavista PICMG high availability
223 /dev/input/uinput User level driver support for input
224 /dev/tpm     TCPA TPM driver
225 /dev/pps Pulse Per Second driver
226 /dev/systrace Systrace device
227 /dev/mcelog X86_64 Machine Check Exception driver
228 /dev/hpet HPET driver
229 /dev/fuse     Fuse (virtual filesystem in user-space)
230 /dev/midishare MidiShare driver
231 /dev/snapshot System memory snapshot device
232 /dev/kvm     Kernel-based virtual machine (hardware virtualization extensions)
233 /dev/kmview View-OS A process with a view
234 /dev/btrfs-control Btrfs control device
235  /dev/autofs Autofs control device
236 /dev/mapper/control Device-Mapper control device
237 /dev/loop-control Loopback control device
238 /dev/vhost-net Host kernel accelerator for virtio net
239 /dev/uhid     User-space I/O driver support for HID subsystem
240 /dev/userio Serio driver testing device
241 /dev/vhost-vsock Host kernel driver for virtio vsock
242 /dev/rfkill Turning off radio transmissions (rfkill)
243-254 - Reserved for local use
255 - Reserved for MISC_DYNAMIC_MINOR

11

Raw keyboard device    (Linux/SPARC only) 0 /dev/kbd Raw keyboard device

11

Serial Mux device    (Linux/PA-RISC only) 0 /dev/ttyB0 First mux port
1 /dev/ttyB1 Second mux port
... ... ...

12

QIC-02 tape

The device names specified are proposed -- if there  are "standard" names for these devices, please let me know.

2 /dev/ntpqic11 QIC-11, no rewind-on-close
3 /dev/tpqic11 QIC-11, rewind-on-close
4 /dev/ntpqic24 QIC-24, no rewind-on-close
5 /dev/tpqic24 QIC-24, rewind-on-close
6 /dev/ntpqic120 QIC-120, no rewind-on-close
7 /dev/tpqic120 QIC-120, rewind-on-clos
8 /dev/ntpqic150 QIC-150, no rewind-on-close
9  /dev/tpqic150 rewind-on-close

13

Input core

Each device type has 5 bits (32 minors)

0 /dev/input/js0 First joystick
1 /dev/input/js1 Second joystick
... ... ..
32 /dev/input/mouse0 First mouse
33 /dev/input/mouse1 Second mouse
... ... ...
63 /dev/input/mice Unified mouse
64 /dev/input/event0 First event queue
65 /dev/input/event1 Second event queue
... ... ...

14

Open Sound System (OSS) 0 /dev/mixer Mixer control
1 /dev/sequencer Audio sequencer
2 /dev/midi00 First MIDI port
3 /dev/dsp Digital audio
4 /dev/audio Sun-compatible digital audio
7 /dev/audioctl     SPARC audio control device
8 /dev/sequencer2 Sequencer -- alternate device
16 /dev/mixer1 Second soundcard mixer control
17 /dev/patmgr0 Sequencer patch manager
18 /dev/midi01 Second MIDI port
19 /dev/dsp1 Second soundcard digital audio
20 /dev/audio1 Second soundcard Sun digital audio
33 /dev/patmgr1 Sequencer patch manager
34 /dev/midi02 Third MIDI port
50 /dev/midi03 Fourth MIDI port
15  Joystick 0 /dev/js0 First analog joystick
1  /dev/js1 Second analog joystick
... ... ...
128 /dev/djs0 First digital joystick
129 /dev/djs1 Second digital joystick
16  Non-SCSI scanners 0 /dev/gs4500 Genius 4500 handheld scanner

17

OBSOLETE (was Chase serial card) 0 /dev/ttyH0 First Chase por
1 /dev/ttyH1 Second Chase port
... ... ...

18

BSOLETE (was Chase serial card - alternate devices) 0 /dev/cuh0     Callout device for ttyH0
1 /dev/cuh1     Callout device for ttyH1
... ... ...
19  Cyclades serial card 0 /dev/ttyC0 First Cyclades port
... ... ...
31 /dev/ttyC31 32nd Cyclades port
20 Cyclades serial card - alternate devices 0 /dev/cub0     Callout device for ttyC0
... ... ....
31 /dev/cub31 Callout device for ttyC31

21

.

Generic SCSI access

Most distributions name these /dev/sga, /dev/sgb...;  this sets an unnecessary limit of 26 SCSI devices in  the system and is counter to standard Linux   device-naming practice

0 /dev/sg0 First generic SCSI device
1 /dev/sg1 Second generic SCSI device
... ... ...
22 Digiboard serial card 0 /dev/ttyD0 First Digiboard port
1 /dev/ttyD1 Second Digiboard port
... ... ...
23 Digiboard serial card - alternate devices 0 /dev/cud0 Callout device for ttyD0
1 /dev/cud1 Callout device for ttyD1
... ... ...
24 Stallion serial card 0  /dev/ttyE0 Stallion port 0 card 0
1 /dev/ttyE1 Stallion port 1 card 0
... ... ...
64 /dev/ttyE64 Stallion port 0 card 1
65 /dev/ttyE65 Stallion port 1 card 1
... ... ...
128  /dev/ttyE128 Stallion port 0 card 2
129 /dev/ttyE129 Stallion port 1 card 2
... ... ...
192 /dev/ttyE192 Stallion port 0 card 3
193  /dev/ttyE193 Stallion port 1 card 3
... ... ..
25 Stallion serial card - alternate devices 0 /dev/cue0 Callout device for ttyE0
1 /dev/cue1     Callout device for ttyE1
... ... ...
64 /dev/cue64 Callout device for ttyE64
65  /dev/cue65 Callout device for ttyE65
... ... ...
128 /dev/cue128 Callout device for ttyE128
129 /dev/cue129 Callout device for ttyE129
... ... ...
192 /dev/cue192 Callout device for ttyE192
193 /dev/cue193 Callout device for ttyE193
... ... ...
26 暂未使用 - - -
27 QIC-117 tape 0 /dev/qft0 Unit 0, rewind-on-close
1 /dev/qft1 Unit 1, rewind-on-close
2 /dev/qft2 Unit 2, rewind-on-close
3 /dev/qft3 Unit 3, rewind-on-close
4  /dev/nqft0 Unit 0, no rewind-on-close
5 /dev/nqft1 Unit 1, no rewind-on-close
6 /dev/nqft2 Unit 2, no rewind-on-close
7 /dev/nqft3 Unit 3, no rewind-on-close
16 /dev/zqft0 Unit 0, rewind-on-close, compression
17 /dev/zqft1 Unit 1, rewind-on-close, compression
18 /dev/zqft2 Unit 2, rewind-on-close, compression
19 /dev/zqft3 Unit 3, rewind-on-close, compression
20 /dev/nzqft0 Unit 0, no rewind-on-close, compression
21 /dev/nzqft1 Unit 1, no rewind-on-close, compression
22 /dev/nzqft2 Unit 2, no rewind-on-close, compression
23 /dev/nzqft3 Unit 3, no rewind-on-close, compression
32 /dev/rawqft0 Unit 0, rewind-on-close, no file marks
33 /dev/rawqft1 Unit 1, rewind-on-close, no file marks
34 /dev/rawqft2 Unit 2, rewind-on-close, no file marks
35 /dev/rawqft3 Unit 3, rewind-on-close, no file marks
36 /dev/nrawqft0 Unit 0, no rewind-on-close, no file marks
37 /dev/nrawqft1 Unit 1, no rewind-on-close, no file marks
38 /dev/nrawqft2 Unit 2, no rewind-on-close, no file marks
39 /dev/nrawqft3     Unit 3, no rewind-on-close, no file marks
28 Stallion serial card - card rogramming 0 /dev/staliomem0 First Stallion card I/O memory
1 /dev/staliomem1 Second Stallion card I/O memory
2 /dev/staliomem2 Third Stallion card I/O memory
3 /dev/staliomem3 Fourth Stallion card I/O memory
28 Atari SLM ACSI laser printer (68k/Atari) 0 /dev/slm0 First SLM laser printer
1 /dev/slm1     Second SLM laser printer
... ... ...
29 Universal frame buffer 0 /dev/fb0 First frame buffer
1 /dev/fb1 Second frame buffer
... ... ...
31 /dev/fb31 32nd frame buffer
30 iBCS-2 compatibility devices 0 /dev/socksys Socket access
1 /dev/spx SVR3 local X interface
32 /dev/inet/ip Network access
33 /dev/inet/icmp

Additionally, iBCS-2 requires the following links::

/dev/ip -> /dev/inet/ip
        /dev/icmp -> /dev/inet/icmp
        /dev/ggp -> /dev/inet/ggp
        /dev/ipip -> /dev/inet/ipip
        /dev/tcp -> /dev/inet/tcp
        /dev/egp -> /dev/inet/egp
        /dev/pup -> /dev/inet/pup
        /dev/udp -> /dev/inet/udp
        /dev/idp -> /dev/inet/idp
        /dev/rawip -> /dev/inet/rawip
        /dev/inet/arp -> /dev/inet/udp
        /dev/inet/rip -> /dev/inet/udp
        /dev/nfsd -> /dev/socksys
        /dev/X0R -> /dev/null (? apparently not required ?)

34 /dev/inet/ggp
35 /dev/inet/ipip
36 /dev/inet/tcp
37 /dev/inet/egp
38 /dev/inet/pup
39 /dev/inet/udp
40 /dev/inet/idp
51 /dev/inet/rawip
31 MPU-401 MIDI 0 /dev/mpu401data MPU-401 data port
1 /dev/mpu401stat MPU-401 status port
32 Specialix serial card 0 /dev/ttyX0 First Specialix port
1 /dev/ttyX1 Second Specialix port
... ... ...
33 Specialix serial card - alternate devices 0 /dev/cux0 Callout device for ttyX0
1 /dev/cux1     Callout device for ttyX1
... ... ...

34

Z8530 HDLC driver

In a previous version these devices were named   /dev/sc1 for /dev/scc0, /dev/sc2 for /dev/scc1, and so   on

0 /dev/scc0 First Z8530, first port
1 /dev/scc1     First Z8530, second port
2 /dev/scc2 Second Z8530, first port
3 /dev/scc3 Second Z8530, second port
... ... ..
35 tclmidi MIDI driver 0 /dev/midi0 First MIDI port, kernel timed
1 /dev/midi1 Second MIDI port, kernel timed
2 /dev/midi2 Third MIDI port, kernel timed
3 /dev/midi3 Fourth MIDI port, kernel timed
64 /dev/rmidi0 First MIDI port, untimed
65 /dev/rmidi1 Second MIDI port, untimed
66 /dev/rmidi2 Third MIDI port, untimed
67 /dev/rmidi3 Fourth MIDI port, untimed
128 /dev/smpte0 First MIDI port, SMPTE timed
129 /dev/smpte1 Second MIDI port, SMPTE timed
130 /dev/smpte2 Third MIDI port, SMPTE timed
131 /dev/smpte3 Fourth MIDI port, SMPTE timed
36 Netlink support 0 /dev/route Routing, device updates, kernel to user
1 /dev/skip enSKIP security cache control
3 /dev/fwmonitor Firewall packet copies
16 /dev/tap0     First Ethertap device
... ... ...
31 /dev/tap15 16th Ethertap device
37 IDE tape 0 /dev/ht0 First IDE tape
1 /dev/ht1 Second IDE tape
... ... ...
128 /dev/nht0 First IDE tape, no rewind-on-close
129 /dev/nht1 Second IDE tape, no rewind-on-close
... ... ...
38 Myricom PCI Myrinet board 0 /dev/mlanai0 First Myrinet board
1 /dev/mlanai1 Second Myrinet board
... ... ...
39 ML-16P experimental I/O board 0 /dev/ml16pa-a0 First card, first analog channel
1 /dev/ml16pa-a1 First card, second analog channel
... ... ...
15 /dev/ml16pa-a15 First card, 16th analog channel
16 /dev/ml16pa-d First card, digital lines
17 /dev/ml16pa-c0 First card, first counter/timer
18 /dev/ml16pa-c1 First card, second counter/timer
19 /dev/ml16pa-c2 First card, third counter/timer
32 /dev/ml16pb-a0 Second card, first analog channel
33 /dev/ml16pb-a1 Second card, second analog channel
... ... ...
47 /dev/ml16pb-a15 Second card, 16th analog channel
48 /dev/ml16pb-d Second card, digital lines
49 /dev/ml16pb-c0 Second card, first counter/timer
50 /dev/ml16pb-c1 Second card, second counter/timer
51 /dev/ml16pb-c2 Second card, third counter/timer
... ... ...
40 暂未使用 - - -
41 Yet Another Micro Monitor 0 /dev/yamm Yet Another Micro Monitor
42 Demo/sample use - - -
43 isdn4linux virtual modem 0 /dev/ttyI0 First virtual modem
... ... ...
63 /dev/ttyI63 64th virtual modem
44 isdn4linux virtual modem - alternate devices 0 /dev/cui0     Callout device for ttyI0
... ... ..
63 /dev/cui63 Callout device for ttyI63
45 isdn4linux ISDN BRI driver 0 /dev/isdn0 First virtual B channel raw data
... ... ...
63 /dev/isdn63 64th virtual B channel raw data
64 /dev/isdnctrl0 First channel control/debug
... ... ...
127  /dev/isdnctrl63 64th channel control/debug
128 /dev/ippp0 First SyncPPP device
... ... ...
191 /dev/ippp63 64th SyncPPP device
255 /dev/isdninfo ISDN monitor interface
46 Comtrol Rocketport serial card 0 /dev/ttyR0 First Rocketport port
1 /dev/ttyR1 Second Rocketport port
... ... ..
47 Comtrol Rocketport serial card - alternate devices 0 /dev/cur0 Callout device for ttyR0
1 /dev/cur1 Callout device for ttyR1
... ... ...
48 SDL RISCom serial card 0 /dev/ttyL0 First RISCom port
1 /dev/ttyL1 Second RISCom port
... ... ...
49 SDL RISCom serial card - alternate devices 0 /dev/cul0 Callout device for ttyL0
1 /dev/cul1 Callout device for ttyL1
... ... ...
50 Reserved for GLINT - - -
51 Baycom radio modem OR Radio Tech BIM-XXX-RS232 radio modem 0 /dev/bc0 First Baycom radio modem
1 /dev/bc1 Second Baycom radio modem
... ... ...
52 Spellcaster DataComm/BRI ISDN card 0 /dev/dcbri0 First DataComm card
1 /dev/dcbri1 Second DataComm card
2 /dev/dcbri2 Third DataComm card
3 /dev/dcbri3 Fourth DataComm card

53

BDM interface for remote debugging MC683xx microcontrollers

This device is used for the interfacing to the MC683xx  microcontrollers via Background Debug Mode by use of a   Parallel Port interface. PD is the Motorola Public  Domain Interface and ICD is the commercial interface  by P&E.

0 /dev/pd_bdm0 PD BDM interface on lp0
1 /dev/pd_bdm1 PD BDM interface on lp1
2 /dev/pd_bdm2 PD BDM interface on lp2
4 /dev/icd_bdm0 ICD BDM interface on lp0
5 /dev/icd_bdm1 ICD BDM interface on lp1
6 /dev/icd_bdm2 ICD BDM interface on lp2
54 Electrocardiognosis Holter serial card 0 /dev/holter0 First Holter port
1 /dev/holter1 Second Holter port
2 /dev/holter2 Third Holter port
55 DSP56001 digital signal processor 0 /dev/dsp56k First DSP56001
56 Apple Desktop Bus 0 /dev/adb ADB bus control
57 Hayes ESP serial card 0 /dev/ttyP0 First ESP port
1 /dev/ttyP1 Second ESP port
... ... ...
58 Hayes ESP serial card - alternate devices 0 /dev/cup0     Callout device for ttyP0
1 /dev/cup1     Callout device for ttyP1
... ... ...
59 sf firewall package 0  /dev/firewall Communication with sf kernel module
60~63 LOCAL/EXPERIMENTAL USE - - -
64 ENskip kernel encryption package 0 /dev/enskip Communication with ENskip kernel module

65

Sundance "plink" Transputer boards (obsolete, unused)

This is a commercial driver; contact James Howes  <jth@prosig.demon.co.uk> for nformation

0 /dev/plink0 First plink device
1 /dev/plink1 Second plink device
2 /dev/plink2 Third plink device
3 /dev/plink3 Fourth plink device
64 /dev/rplink0 First plink device, raw
65 /dev/rplink1 Second plink device, raw
66 /dev/rplink2 Third plink device, raw
67 /dev/rplink3 Fourth plink device, raw
128 /dev/plink0d First plink device, debug
129 /dev/plink1d Second plink device, debug
130 /dev/plink2d Third plink device, debug
131 /dev/plink3d Fourth plink device, debug
192 /dev/rplink0d First plink device, raw, debug
193 /dev/rplink1d Second plink device, raw, debug
194 /dev/rplink2d     Third plink device, raw, debug
195 /dev/rplink3d ourth plink device, raw, debug
66 YARC PowerPC PCI coprocessor card 0 /dev/yppcpci0 First YARC card
1 /dev/yppcpci1 Second YARC card
... ... ...
67 Coda network file system 0 /dev/cfs0

Coda cache manager

See http://www.coda.cs.cmu.edu for information about Coda

68

CAPI 2.0 interface

ISDN CAPI 2.0 driver for use with CAPI 2.0      applications; currently supports the AVM B1 card.

0 /dev/capi20 Control device
1 /dev/capi20.00 First CAPI 2.0 application
2 /dev/capi20.01 Second CAPI 2.0 application
... ... ...
20  /dev/capi20.19 19th CAPI 2.0 application
69 MA16 numeric accelerator card 0 /dev/ma16     Board memory access
70 SpellCaster Protocol Services Interface 0 /dev/apscfg Configuration interface
1 /dev/apsauth Authentication interface
2 /dev/apslog Logging interface
3 /dev/apsdbg Debugging interface
64  /dev/apsisdn ISDN command interface
65 /dev/apsasync Async command interface
128 /dev/apsmon Monitor interface
71 Computone IntelliPort II serial card 0 /dev/ttyF0 IntelliPort II board 0, port 0
1 /dev/ttyF1 IntelliPort II board 0, port 1
... ... ...
63 /dev/ttyF63 IntelliPort II board 0, port 63
64 /dev/ttyF64 IntelliPort II board 1, port 0
65 /dev/ttyF65 IntelliPort II board 1, port 1
... ... ...
127 /dev/ttyF127 IntelliPort II board 1, port 63
128 /dev/ttyF128 IntelliPort II board 2, port 0
129 /dev/ttyF129 IntelliPort II board 2, port 1
... ... ...
191 /dev/ttyF191 IntelliPort II board 2, port 63
192 /dev/ttyF192 IntelliPort II board 3, port 0
193 /dev/ttyF193 IntelliPort II board 3, port 1
... ... ...
255 /dev/ttyF255 IntelliPort II board 3, port 63
72 Computone IntelliPort II serial card - alternate devices 0 /dev/cuf0 Callout device for ttyF0
1 /dev/cuf1     Callout device for ttyF1
... ... ...
63 /dev/cuf63 Callout device for ttyF63
64 /dev/cuf64 Callout device for ttyF64
65 /dev/cuf65 Callout device for ttyF65
... ... ...
127 /dev/cuf127     Callout device for ttyF127
128 /dev/cuf128 Callout device for ttyF128
129 /dev/cuf129 Callout device for ttyF129
... ... ...
191 /dev/cuf191 Callout device for ttyF191
192 /dev/cuf192 Callout device for ttyF192
193 /dev/cuf193 Callout device for ttyF193
... ... ...
255 /dev/cuf255 Callout device for ttyF255
73 Computone IntelliPort II serial card - control devices 0 /dev/ip2ipl0 Loadware device for board 0
1 /dev/ip2stat0 Status device for board 0
4 /dev/ip2ipl1 Loadware device for board 1
5 /dev/ip2stat1 Status device for board 1
8 /dev/ip2ipl2 Loadware device for board 2
9 /dev/ip2stat2 Status device for board 2
12 /dev/ip2ipl3 Loadware device for board 3
13 /dev/ip2stat3     tatus device for board 3

74

SCI bridge

Currently for Dolphin Interconnect Solutions' PCI-SCI  bridge.

0 /dev/SCI/0 SCI device 0
1 /dev/SCI/1 SCI device 1
... ... ...
75 Specialix IO8+ serial card 0 /dev/ttyW0 First IO8+ port, first card
1 /dev/ttyW1 Second IO8+ port, first card
... ... ...
8 /dev/ttyW8 First IO8+ port, second card
... ... ...
76 Specialix IO8+ serial card - alternate devices 0 /dev/cuw0 Callout device for ttyW0
1 /dev/cuw1     Callout device for ttyW1
... ... ...
8 /dev/cuw8 Callout device for ttyW8
... ... ...
77 ComScire Quantum Noise Generator 0 /dev/qng ComScire Quantum Noise Generator
78 PAM Software's multimodem boards 0 /dev/ttyM0 First PAM modem
1 /dev/ttyM1 Second PAM modem
... ... ...
79 PAM Software's multimodem boards - alternate devices 0 /dev/cum0     Callout device for ttyM0
1 /dev/cum1 Callout device for ttyM1
... ... ...
80 Photometrics AT200 CCD camera 0 /dev/at200 Photometrics AT200 CCD camera

81

video4linux

Minor numbers are allocated dynamically unless
 CONFIG_VIDEO_FIXED_MINOR_RANGES (default n)   configuration option is set.

0 /dev/video0 Video capture/overlay device
... ... ..
63 /dev/video63 Video capture/overlay device
64 /dev/radio0 Radio device
... ... ...
127 /dev/radio63 Radio device
128 /dev/swradio0 Software Defined Radio device
... .. ...
191 /dev/swradio63 Software Defined Radio device
224 /dev/vbi0 Vertical blank interrupt
... ... ...
255 /dev/vbi31 Vertical blank interrupt

82

WiNRADiO communications receiver card

The driver and documentation may be obtained from   https://www.winradio.com/

0 /dev/winradio0 First WiNRADiO card
1 /dev/winradio1 Second WiNRADiO card
... ... ...
83 Matrox mga_vid video driver 0 /dev/mga_vid0 1st video card
1 /dev/mga_vid1 2nd video card
2 /dev/mga_vid2 3rd video card
... ... ...
15 /dev/mga_vid15 16th video card
84 Ikon 1011[57] Versatec Greensheet Interface 0 /dev/ihcp0 First Greensheet port
1 /dev/ihcp1 Second Greensheet port
85 Linux/SGI shared memory input queue 0 /dev/shmiq Master shared input queue
1 /dev/qcntl0 First device pushed
2 /dev/qcntl1 Second device pushed
... ... ...
86 SCSI media changer 0 /dev/sch0     First SCSI media changer
1 /dev/sch1 Second SCSI media changer
... ... ...
87 Sony Control-A1 stereo control bus 0 /dev/controla0 First device on chain
1 /dev/controla1 Second device on chain
... ... ...
88 COMX synchronous serial card 0 /dev/comx0 COMX channel 0
1 /dev/comx1 COMX channel 1
... ... ...
89 I2C bus interface 0 /dev/i2c-0 First I2C adapter
1 /dev/i2c-1 Second I2C adapter
... ... ...
90 Memory Technology Device (RAM, ROM, Flash) 0 /dev/mtd0 First MTD (rw)
1 /dev/mtdr0 First MTD (ro)
... ... ...
30 /dev/mtd15 16th MTD (rw)
31 /dev/mtdr15 16th MTD (ro)
91 CAN-Bus devices 0 /dev/can0     First CAN-Bus controller
1 /dev/can1 Second CAN-Bus controller
... ... ...
92 Reserved for ith Kommunikationstechnik MIC ISDN card - - -
93-94 暂未分配 - - -
95 IP filter 0 /dev/ipl Filter control device/log file
1 /dev/ipnat NAT control device/log file
2 /dev/ipstate State information log file
3 /dev/ipauth Authentication control device/log file
... ... ..
96 Parallel port ATAPI tape devices 0 /dev/pt0     First parallel port ATAPI tape
1 /dev/pt1 Second parallel port ATAPI tape
... ... ...
128 /dev/npt0     First p.p. ATAPI tape, no rewind
129 /dev/npt1     Second p.p. ATAPI tape, no rewind
... ... ...
97 Parallel port generic ATAPI interface 0 /dev/pg0 First parallel port ATAPI device
1 /dev/pg1 Second parallel port ATAPI device
2 /dev/pg2     Third parallel port ATAPI device
3 /dev/pg3 Fourth parallel port ATAPI device

98

Control and Measurement Device (comedi)

Minors 48 to 255 are reserved for comedi subdevices with  pathnames of the form "/dev/comediX_subdY", where "X" is the
 minor number of the associated comedi device and "Y" is the   subdevice number.  These subdevice minors are assigned  dynamically, so there is no fixed mapping from subdevice
        pathnames to minor numbers.    See https://www.comedi.org/ for information about the Comedi    project.

0 /dev/comedi0 First comedi device
1  /dev/comedi1 Second comedi device
... ... ...
47 /dev/comedi47 48th comedi device
99 Raw parallel ports 0 /dev/parport0 First parallel port
1 /dev/parport1 Second parallel port
... ... ..
100 Telephony for Linux 0 /dev/phone0 First telephony device
1  /dev/phone1 Second telephony device
... ... ...
101 Motorola DSP 56xxx board 0 /dev/mdspstat Status information
1 /dev/mdsp1 First DSP board I/O controls
... ... ...
16 /dev/mdsp16 16th DSP board I/O controls
102 暂未分配 - - -
103 Arla network file system 0 /dev/nnpfs0 First NNPFS device
1 /dev/nnpfs1 Second NNPFS device
104 Flash BIOS support - - -
105 Comtrol VS-1000 serial controller 0 /dev/ttyV0 First VS-1000 port
1 /dev/ttyV1 Second VS-1000 port
... ... ...
106 Comtrol VS-1000 serial controller - lternate devices 0 /dev/cuv0 First VS-1000 port
1 /dev/cuv1     Second VS-1000 port
... ... ...
107 3Dfx Voodoo Graphics device 0 /dev/3dfx     Primary 3Dfx graphics device
108 Device independent PPP interface 0 /dev/ppp Device independent PPP interface
109: Reserved for logical volume manager - - -
110 miroMEDIA Surround board 0 /dev/srnd0 First miroMEDIA Surround board
1 /dev/srnd1 Second miroMEDIA Surround board
... ... ...
111 暂未分配 - - -

112

ISI serial card

There is currently a device-naming conflict between   these and PAM multimodems (major 78)

0 /dev/ttyM0 First ISI port
1 /dev/ttyM1 Second ISI port
... ... ...
113 ISI serial card - alternate devices 0 /dev/cum0 Callout device for ttyM0
1 /dev/cum1 Callout device for ttyM1
... ... ...

114

Picture Elements ISE board

The ISE board is an embedded computer, optimized for  image processing. The /dev/iseN nodes are the general  I/O access to the board, the /dev/isex0 nodes command  nodes used to control the board

0 /dev/ise0 First ISE board
1 /dev/ise1     Second ISE board
... ... ...
128 /dev/isex0 Control node for first ISE board
129 /dev/isex1 Control node for second ISE board
... ... ...
115 TI link cable devices (115 was formerly the console driver speaker) 0 /dev/tipar0  Parallel cable on first parallel port
... ... ...
7 /dev/tipar7 Parallel cable on seventh parallel port
8 /dev/tiser0 Serial cable on first serial port
... ... ...
15 /dev/tiser7  Serial cable on seventh serial port
16 /dev/tiusb0 First USB cable
... ... ...
47 /dev/tiusb31  32nd USB cable
116 Advanced Linux Sound Driver (ALSA) - - -
117 COSA/SRP synchronous serial card 0 /dev/cosa0c0 1st board, 1st channel
1 /dev/cosa0c1 1st board, 2nd channel
... ... ...
16 /dev/cosa1c0     2nd board, 1st channel
17 /dev/cosa1c1 2nd board, 2nd channel
... ... ...
118 IBM Cryptographic Accelerator 0 /dev/ica Virtual interface to all IBM Crypto Accelerators
1  /dev/ica0 IBMCA Device 0
2 /dev/ica1 IBMCA Device 1
.. ... ...
119 VMware virtual network control 0 /dev/vnet0 1st virtual network
1 /dev/vnet1 2nd virtual network
... ... ...
120~127 LOCAL/EXPERIMENTAL USE - - -
128~135

Unix98 PTY masters

These devices should not have corresponding device  nodes; instead they should be accessed through the   /dev/ptmx cloning interface

- -

-

130 (Misc devices) - - -

136~143

Unix98 PTY slaves

These device nodes are automatically generated with   the proper permissions and modes by mounting the  devpts filesystem onto /dev/pts with the appropriate mount options (distribution dependent, however, on  *most* distributions the appropriate options are   "mode=0620,gid=<gid of the "tty" group>".)

0 /dev/pts/0 First Unix98 pseudo-TTY
1 /dev/pts/1 Second Unix98 pseudo-TTY
... ... ...
144 Encapsulated PPP 0 /dev/pppox0 First PPP over Ethernet
... ... ...
63 /dev/pppox63 64th PPP over Ethernet

145

SAM9407-based soundcard

Device functions match OSS, but offer a number of  addons, which are sam9407 specific.  OSS can be  operated simultaneously, taking care of the codec.

0 /dev/sam0_mixe  
1 /dev/sam0_sequencer  
2 /dev/sam0_midi00  
3 /dev/sam0_dsp  
4 /dev/sam0_audio  
6 /dev/sam0_sndstat  
18 /dev/sam0_midi01  
34 /dev/sam0_midi02  
50 /dev/sam0_midi03  
64 /dev/sam1_mixer  
... ....  
128 /dev/sam2_mixer  
... ....  
192 /dev/sam3_mixer  
... ...  
146 SYSTRAM SCRAMNet mirrored-memory network 0 /dev/scramnet0 First SCRAMNet device
1  /dev/scramnet1 Second SCRAMNet device
... ... ...
147 Aureal Semiconductor Vortex Audio device 0 /dev/aureal0 First Aureal Vortex
1 /dev/aureal1 Second Aureal Vortex
... ... ...
148 Technology Concepts serial card 0 /dev/ttyT0 First TCL port
1 /dev/ttyT1 Second TCL port
... ... ...
149 Technology Concepts serial card - alternate devices 0  /dev/cut0 Callout device for ttyT0
1 /dev/cut1 Callout device for ttyT1
... ... ...
150 Real-Time Linux FIFOs 0 /dev/rtf0     First RTLinux FIFO
1 /dev/rtf1 Second RTLinux FIFO
... ... ...
151 DPT I2O SmartRaid V controller 0 /dev/dpti0 First DPT I2O adapter
1 /dev/dpti1 Second DPT I2O adapter
... ... ...
152 EtherDrive Control Device 0 /dev/etherd/ctl Connect/Disconnect an EtherDrive
1 /dev/etherd/err Monitor errors
2 /dev/etherd/raw Raw AoE packet monitor
153 SPI Bus Interface (sometimes referred to as MicroWire) 0 /dev/spi0 First SPI device on the bus
1 /dev/spi1 Second SPI device on the bus
... ... ...
15 /dev/spi15 Sixteenth SPI device on the bus
154 Specialix RIO serial card 0 /dev/ttySR0 First RIO port
... ... ...
255 /dev/ttySR255 256th RIO port
155 Specialix RIO serial card - alternate devices 0 /dev/cusr0 Callout device for ttySR0
... ... ...
255  /dev/cusr255 Callout device for ttySR255
156 Specialix RIO serial card 0 /dev/ttySR256 257th RIO port
... ... ...
255 /dev/ttySR511 512th RIO port
157 Specialix RIO serial card - alternate devices 0 /dev/cusr256 Callout device for ttySR256
... ... ...
255 /dev/cusr511 Callout device for ttySR511
158 Dialogic GammaLink fax driver 0 /dev/gfax0 GammaLink channel 0
1 /dev/gfax1 GammaLink channel 1
159 RESERVED - - -
160 General Purpose Instrument Bus (GPIB) 0 /dev/gpib0 First GPIB bus
1  /dev/gpib1 Second GPIB bus
... ... ...
161 IrCOMM devices (IrDA serial/parallel emulation) 0  /dev/ircomm0 First IrCOMM device
1 /dev/ircomm1 Second IrCOMM device
... ... ...
16 /dev/irlpt0 First IrLPT device
17 /dev/irlpt1 Second IrLPT device
... ... ...
162 Raw block device interface 0 /dev/rawctl Raw I/O control device
1 /dev/raw/raw1 First raw I/O device
2 /dev/raw/raw2 Second raw I/O device
... ... ...
163 未分配 - - -
164 Chase Research AT/PCI-Fast serial card 0 /dev/ttyCH0 AT/PCI-Fast board 0, port 0
... ... ...
15 /dev/ttyCH15 AT/PCI-Fast board 0, port 15
16  /dev/ttyCH16 AT/PCI-Fast board 1, port 0
... ... ...
31 /dev/ttyCH31 AT/PCI-Fast board 1, port 15
32 /dev/ttyCH32 AT/PCI-Fast board 2, port 0
... ... ...
47 /dev/ttyCH47 AT/PCI-Fast board 2, port 15
48 /dev/ttyCH48 AT/PCI-Fast board 3, port 0
... ... ....
63  /dev/ttyCH63 AT/PCI-Fast board 3, port 15
165 Chase Research AT/PCI-Fast serial card - alternate devices 0 /dev/cuch0 Callout device for ttyCH0
... ... ...
63 /dev/cuch63 Callout device for ttyCH63
166 ACM USB modems 0 /dev/ttyACM0 First ACM modem
1 /dev/ttyACM1 Second ACM modem
... ... ...
167 ACM USB modems - alternate devices 0 /dev/cuacm0 Callout device for ttyACM0
1 /dev/cuacm1 Callout device for ttyACM1
... ... ...
168 Eracom CSA7000 PCI encryption adaptor 0 /dev/ecsa0 First CSA7000
1 /dev/ecsa1 Second CSA7000
... ... ...
169 Eracom CSA8000 PCI encryption adaptor 0 /dev/ecsa8-0 First CSA8000
1 /dev/ecsa8-1 Second CSA8000
... ... ...
170 AMI MegaRAC remote access controller 0  /dev/megarac0 First MegaRAC card
1 /dev/megarac1

Second MegaRAC card

... ... ...
171 Reserved for IEEE 1394 (Firewire) - - -
172 Moxa Intellio serial card 0 /dev/ttyMX0 First Moxa port
1 /dev/ttyMX1 Second Moxa port
... ... ...
127 /dev/ttyMX127 128th Moxa port
128 /dev/moxactl Moxa control port
173 Moxa Intellio serial card - alternate devices 0 /dev/cumx0 Callout device for ttyMX0
1 /dev/cumx1 Callout device for ttyMX1
... ... ...
127 /dev/cumx127 Callout device for ttyMX127
174 SmartIO serial card 0  /dev/ttySI0 First SmartIO port
1 /dev/ttySI1 Second SmartIO port
... ... ..
175 SmartIO serial card - alternate devices 0 /dev/cusi0 Callout device for ttySI0
1 /dev/cusi1 Callout device for ttySI1
... ... ...
176 nCipher nFast PCI crypto accelerator 0 /dev/nfastpci0 First nFast PCI device
1 /dev/nfastpci1 First nFast PCI device
... ... ...
177 TI PCILynx memory spaces 0 /dev/pcilynx/aux0 AUX space of first PCILynx card
... ... ...
15 /dev/pcilynx/aux15 AUX space of 16th PCILynx card
16 /dev/pcilynx/rom0 ROM space of first PCILynx card
.. .. ...
31 /dev/pcilynx/rom15  ROM space of 16th PCILynx card
32 /dev/pcilynx/ram0 RAM space of first PCILynx card
... ... ...
47 /dev/pcilynx/ram15 RAM space of 16th PCILynx card
178 Giganet cLAN1xxx virtual interface adapter 0 /dev/clanvi0 First cLAN adapter
1 /dev/clanvi1 Second cLAN adapter
179 CCube DVXChip-based PCI products 0  /dev/dvxirq0 First DVX device
1 /dev/dvxirq1 Second DVX device
... ... ...
15 /dev/usb/lp15 16th USB printer
48 /dev/usb/scanner0 First USB scanner
... ... ...
63 /dev/usb/scanner15 16th USB scanner
64 /dev/usb/rio500 Diamond Rio 500
65 /dev/usb/usblcd USBLCD Interface (info@usblcd.de)
66  /dev/usb/cpad0 Synaptics cPad (mouse/LCD)
96 /dev/usb/hiddev0 1st USB HID device
... ... ...
111 /dev/usb/hiddev15 16th USB HID device
112 /dev/usb/auer0 1st auerswald ISDN device
... ... ...
127 /dev/usb/auer15 16th auerswald ISDN device
128 /dev/usb/brlvgr0 First Braille Voyager device
... ... ...
131 /dev/usb/brlvgr3 Fourth Braille Voyager device
132 /dev/usb/idmouse ID Mouse (fingerprint scanner) device
133 /dev/usb/sisusbvga1 First SiSUSB VGA device
... ... ...
140 /dev/usb/sisusbvga8 Eighth SISUSB VGA device
144 /dev/usb/lcd USB LCD device
160 /dev/usb/legousbtower0 1st USB Legotower device
... ... ...
175 /dev/usb/legousbtower15 16th USB Legotower device
176 /dev/usb/usbtmc1 First USB TMC device
... ... ...
191 /dev/usb/usbtmc16 16th USB TMC device
192 /dev/usb/yurex1 First USB Yurex device
... ... ...
209 /dev/usb/yurex16 16th USB Yurex device
180 USB devices 0 /dev/usb/lp0 First USB printer
... ... ...
15 /dev/usb/lp15 16th USB printer
48 /dev/usb/scanner0 First USB scanner
... ... ...
63 /dev/usb/scanner15 16th USB scanner
64 /dev/usb/rio500 Diamond Rio 500
65 /dev/usb/usblcd USBLCD Interface (info@usblcd.de)
66 /dev/usb/cpad0 Synaptics cPad (mouse/LCD)
96 /dev/usb/hiddev0 1st USB HID device
... ... ...
111 /dev/usb/hiddev15 16th USB HID device
112 /dev/usb/auer0 1st auerswald ISDN device
... ... ...
127  /dev/usb/auer15 16th auerswald ISDN device
128 /dev/usb/brlvgr0 First Braille Voyager device
... ... ...
131 /dev/usb/brlvgr3 Fourth Braille Voyager device
132 /dev/usb/idmouse ID Mouse (fingerprint scanner) device
133 /dev/usb/sisusbvga1 First SiSUSB VGA device
... ... ...
140 /dev/usb/sisusbvga8 Eighth SISUSB VGA device
144 /dev/usb/lcd USB LCD device
160 /dev/usb/legousbtower0 1st USB Legotower device
... ... ...
175 /dev/usb/legousbtower15 16th USB Legotower device
176 /dev/usb/usbtmc1 First USB TMC device
... ... ...
191 /dev/usb/usbtmc16 16th USB TMC device
192 /dev/usb/yurex1 First USB Yurex device
... ... ...
209 /dev/usb/yurex16 16th USB Yurex device
181 Conrad Electronic parallel port radio  0 /dev/pcfclock0 First Conrad radio clock
1 /dev/pcfclock1 Second Conrad radio clock
... ... ...
182 Picture Elements THR2 binarizer 0 /dev/pethr0 First THR2 board
1 /dev/pethr1 Second THR2 board
... ... ...

183

SST 5136-DN DeviceNet interface

This device used to be assigned to major number 144.    It had to be moved due to an unfortunate conflict.

0 /dev/ss5136dn0 First DeviceNet interface
1 /dev/ss5136dn1 Second DeviceNet interface
... ... ...
184 Picture Elements' video simulator/sender 0 /dev/pevss0 First sender board
1 /dev/pevss1 Second sender board
... ... ...
185 InterMezzo high availability file system 0 /dev/intermezzo0 First cache manager
1 /dev/intermezzo1 Second cache manager
... ... ...
186 Object-based storage control device 0 /dev/obd0     First obd control device
1 /dev/obd1 Second obd control device
... ... ...
187 DESkey hardware encryption device 0 /dev/deskey0 First DES key
1 /dev/deskey1 Second DES key
... ... ...
188 USB serial converters 0 /dev/ttyUSB0 First USB serial converter
1 /dev/ttyUSB1 Second USB serial converter
... ... ...
189 USB serial converters - alternate devices 0  /dev/cuusb0 Callout device for ttyUSB0
1 /dev/cuusb1 Callout device for ttyUSB1
... ... ...
190 Kansas City tracker/tuner card 0 /dev/kctt0 First KCT/T card
1 /dev/kctt1 Second KCT/T card
... ... ...
191 Reserved for PCMCIA - - -
192 Kernel profiling interface 0 /dev/profile Profiling control device
1 /dev/profile0 Profiling device for CPU 0
2 /dev/profile1 Profiling device for CPU 1
... ... ...
193 Kernel event-tracing interface 0 /dev/trace Tracing control device
1 /dev/trace0 Tracing device for CPU 0
2 /dev/trace1 Tracing device for CPU 1
... ... ...
194 linVideoStreams (LINVS) 0 /dev/mvideo/status0 Video compression status
1 /dev/mvideo/stream0 Video stream
2 /dev/mvideo/frame0 Single compressed frame
3 /dev/mvideo/rawframe0 Raw uncompressed frame
4 /dev/mvideo/codec0 Direct codec access
5 /dev/mvideo/video4linux0 Video4Linux compatibility
16 /dev/mvideo/status1 Second device
... ... ...
32 /dev/mvideo/status2 Third device

...

...

...

...

...

...

240 /dev/mvideo/status15 16th device
... ... ...
195 Nvidia graphics devices 0 /dev/nvidia0 First Nvidia card
1 /dev/nvidia1 Second Nvidia card
... ... ...
255 /dev/nvidiactl Nvidia card control device
196 Tormenta T1 card 0 /dev/tor/0 Master control channel for all cards
1 /dev/tor/1 First DS0
2 /dev/tor/2 Second DS0
... ... ...
48 /dev/tor/48 48th DS0
49 /dev/tor/49 First pseudo-channel
50 /dev/tor/50 Second pseudo-channel
... ... ...
197 OpenTNF tracing facility 0 /dev/tnf/t0 Trace 0 data extraction
1 /dev/tnf/t1 Trace 1 data extraction
... ... ...
128 /dev/tnf/status Tracing facility status
130 /dev/tnf/trace Tracing device
198 Total Impact TPMP2 quad coprocessor PCI card 0 /dev/tpmp2/0 First card
1 /dev/tpmp2/1 Second card
... ... ...
199 Veritas volume manager (VxVM) volumes 0 /dev/vx/rdsk/*/*     First volume
1 /dev/vx/rdsk/*/* Second volume
... ... ...
200 Veritas VxVM configuration interface 0 /dev/vx/config Configuration access node
1 /dev/vx/trace Volume i/o trace access node
2 /dev/vx/iod Volume i/o daemon access node
3 /dev/vx/info Volume information access node
4 /dev/vx/task Volume tasks access node
5 /dev/vx/taskmon Volume tasks monitor daemon
201 Veritas VxVM dynamic multipathing driver 0 /dev/vx/rdmp/* First multipath device
1 /dev/vx/rdmp/* Second multipath device
... ... ...
202 CPU model-specific registers 0 /dev/cpu/0/msr MSRs on CPU 0
1 /dev/cpu/1/msr MSRs on CPU 1
... ... ...
203 CPU CPUID information 0 /dev/cpu/0/cpuid CPUID on CPU 0
1 /dev/cpu/1/cpuid CPUID on CPU 1
... ... ...
204 Low-density serial ports 0 /dev/ttyLU0 LinkUp Systems L72xx UART - port 0
1 /dev/ttyLU1 LinkUp Systems L72xx UART - port 1
2 /dev/ttyLU2 LinkUp Systems L72xx UART - port 2
3 /dev/ttyLU3 LinkUp Systems L72xx UART - port 3
4 /dev/ttyFB0 Intel Footbridge (ARM)
5 /dev/ttySA0 StrongARM builtin serial port 0
6 /dev/ttySA1 StrongARM builtin serial port 1
7 /dev/ttySA2 StrongARM builtin serial port 2
8 /dev/ttySC0 SCI serial port (SuperH) - port 0
9 /dev/ttySC1 SCI serial port (SuperH) - port 1
10 /dev/ttySC2 SCI serial port (SuperH) - port 2
11 /dev/ttySC3 SCI serial port (SuperH) - port 3
12 /dev/ttyFW0 Firmware console - port 0
13 /dev/ttyFW1 Firmware console - port 1
14 /dev/ttyFW2 Firmware console - port 2
15 /dev/ttyFW3 Firmware console - port 3
16 /dev/ttyAM0 ARM "AMBA" serial port 0
... ... ...
31 /dev/ttyAM15 ARM "AMBA" serial port 15
32 /dev/ttyDB0 DataBooster serial port 0
... ... ...
39 /dev/ttyDB7 DataBooster serial port 7
40 /dev/ttySG0 SGI Altix console port
41 /dev/ttySMX0 Motorola i.MX - port 0
42 /dev/ttySMX1 Motorola i.MX - port 1
43 /dev/ttySMX2 Motorola i.MX - port 2
44 /dev/ttyMM0 Marvell MPSC - port 0 (obsolete unused)
45 /dev/ttyMM1 Marvell MPSC - port 1 (obsolete unused)
46 /dev/ttyCPM0 PPC CPM (SCC or SMC) - port 0
... ... ...
47 /dev/ttyCPM5 PPC CPM (SCC or SMC) - port 5
50 /dev/ttyIOC0 Altix serial card
... ... ...
81 /dev/ttyIOC31 Altix serial card
82 /dev/ttyVR0 NEC VR4100 series SIU
83 /dev/ttyVR1 NEC VR4100 series DSIU
84 /dev/ttyIOC84 Altix ioc4 serial card
... ... ..
115 /dev/ttyIOC115 Altix ioc4 serial card
116 /dev/ttySIOC0 Altix ioc3 serial card
... ... ...
147 /dev/ttySIOC31 Altix ioc3 serial card
148 /dev/ttyPSC0 PPC PSC - port 0
... ... ...
153 /dev/ttyPSC5 PPC PSC - port 5
154 /dev/ttyAT0 ATMEL serial port 0
... ... ...
169 /dev/ttyAT15 ATMEL serial port 15
170 /dev/ttyNX0 Hilscher netX serial port 0
... ... ...
185 /dev/ttyNX15 Hilscher netX serial port 15
186 /dev/ttyJ0 JTAG1 DCC protocol based serial port emulation
187 /dev/ttyUL0 Xilinx uartlite - port 0
... ... ..
190 /dev/ttyUL3 Xilinx uartlite - port 3
191 /dev/xvc0 Xen virtual console - port 0
192 /dev/ttyPZ0 pmac_zilog - port 0
... ... ...
195 /dev/ttyPZ3 pmac_zilog - port 3
196 /dev/ttyTX0 TX39/49 serial port 0
... ... ...
204 /dev/ttyTX7 TX39/49 serial port 7
205 /dev/ttySC0 SC26xx serial port 0
206 /dev/ttySC1 SC26xx serial port 1
207 /dev/ttySC2 SC26xx serial port 2
208 /dev/ttySC3 SC26xx serial port 3
209 /dev/ttyMAX0 MAX3100 serial port 0
210 /dev/ttyMAX1 MAX3100 serial port 1
211 /dev/ttyMAX2 MAX3100 serial port 2
212 /dev/ttyMAX3 MAX3100 serial port 3
205 Low-density serial ports (alternate device) 0 /dev/culu0 Callout device for ttyLU0
1 /dev/culu1 Callout device for ttyLU1
2 /dev/culu2 Callout device for ttyLU2
3 /dev/culu3 Callout device for ttyLU3
4 /dev/cufb0 Callout device for ttyFB0
5 /dev/cusa0 Callout device for ttySA0
6 /dev/cusa1 Callout device for ttySA1
7 /dev/cusa2 Callout device for ttySA2
8 /dev/cusc0 Callout device for ttySC0
9 /dev/cusc1 Callout device for ttySC1
10 /dev/cusc2 Callout device for ttySC2
11 /dev/cusc3 Callout device for ttySC3
12 /dev/cufw0 Callout device for ttyFW0
13 /dev/cufw1 Callout device for ttyFW1
14 /dev/cufw2 Callout device for ttyFW2
15  /dev/cufw3 Callout device for ttyFW3
16 /dev/cuam0 Callout device for ttyAM0
... ... ...
31 /dev/cuam15 Callout device for ttyAM15
32 /dev/cudb0 Callout device for ttyDB0
... ... ...
39 /dev/cudb7 Callout device for ttyDB7
40 /dev/cusg0 Callout device for ttySG0
41 /dev/ttycusmx0 Callout device for ttySMX0
42 /dev/ttycusmx1 Callout device for ttySMX1
43 /dev/ttycusmx2 Callout device for ttySMX2
46 /dev/cucpm0 Callout device for ttyCPM0
... ... ...
49 /dev/cucpm5 Callout device for ttyCPM5
50 /dev/cuioc40 Callout device for ttyIOC40
... ... ...
81 /dev/cuioc431 Callout device for ttyIOC431
82 /dev/cuvr0 Callout device for ttyVR0
83 /dev/cuvr1 Callout device for ttyVR1

206

OnStream SC-x0 tape devices

The OnStream SC-x0 SCSI tapes do not support the   standard SCSI SASD command set and therefore need   their own driver "osst". Note that the IDE, USB (and   maybe ParPort) versions may be driven via ide-scsi or    usb-storage SCSI emulation and this osst device and    driver as well.  The ADR-x0 drives are QIC-157       compliant and don't need osst.

0 /dev/osst0 First OnStream SCSI tape, mode 0
1 /dev/osst1 Second OnStream SCSI tape, mode 0
... ... ...
32 /dev/osst0l First OnStream SCSI tape, mode 1
33 /dev/osst1l Second OnStream SCSI tape, mode 1
... ... ...
64 /dev/osst0m First OnStream SCSI tape, mode 2
65 /dev/osst1m Second OnStream SCSI tape, mode 2
... ... ...
96 /dev/osst0a First OnStream SCSI tape, mode 3
97 /dev/osst1a Second OnStream SCSI tape, mode 3
... ... ...
128 /dev/nosst0 No rewind version of /dev/osst0
129 /dev/nosst1 No rewind version of /dev/osst1
... ... ...
160 /dev/nosst0l No rewind version of /dev/osst0l
161 /dev/nosst1l No rewind version of /dev/osst1l
... ... ...
192 /dev/nosst0m     No rewind version of /dev/osst0m
193 /dev/nosst1m No rewind version of /dev/osst1m
... ... ...
224 /dev/nosst0a No rewind version of /dev/osst0a
225 /dev/nosst1a No rewind version of /dev/osst1a
... ... ...
207 Compaq ProLiant health feature indicate 0 /dev/cpqhealth/cpqw Redirector interface
1 /dev/cpqhealth/crom EISA CROM
2 /dev/cpqhealth/cdt Data Table
3 /dev/cpqhealth/cevt Event Log
4 /dev/cpqhealth/casr Automatic Server Recovery
5 /dev/cpqhealth/cecc ECC Memory
6 /dev/cpqhealth/cmca Machine Check Architecture
7 /dev/cpqhealth/ccsm Deprecated CDT
8 /dev/cpqhealth/cnmi NMI Handling
9 /dev/cpqhealth/css Sideshow Management
10 /dev/cpqhealth/cram CMOS interface
11 /dev/cpqhealth/cpci PCI IRQ interface
208 User space serial ports 0 /dev/ttyU0 First user space serial port
1 /dev/ttyU1 Second user space serial port
... ... ...
209 User space serial ports (alternate devices) 0 /dev/cuu0 Callout device for ttyU0
1 /dev/cuu1     Callout device for ttyU1
... ... ...
210 SBE, Inc. sync/async serial card 0 /dev/sbei/wxcfg0 Configuration device for board 0
1 /dev/sbei/dld0 Download device for board 0
2 /dev/sbei/wan00 WAN device, port 0, board 0
3 /dev/sbei/wan01 WAN device, port 1, board 0
4 /dev/sbei/wan02 WAN device, port 2, board 0
5 /dev/sbei/wan03 WAN device, port 3, board 0
6 /dev/sbei/wanc00 WAN clone device, port 0, board 0
7 /dev/sbei/wanc01 WAN clone device, port 1, board 0
8 /dev/sbei/wanc02 WAN clone device, port 2, board 0
9 /dev/sbei/wanc03 WAN clone device, port 3, board 0
10 /dev/sbei/wxcfg1 Configuration device for board 1
11 /dev/sbei/dld1 Download device for board 1
12 /dev/sbei/wan10 WAN device, port 0, board 1
13 /dev/sbei/wan11 WAN device, port 1, board 1
14 /dev/sbei/wan12 WAN device, port 2, board 1
15 /dev/sbei/wan13 WAN device, port 3, board 1
16 /dev/sbei/wanc10 WAN clone device, port 0, board 1
17 /dev/sbei/wanc11 WAN clone device, port 1, board 1
18 /dev/sbei/wanc12 WAN clone device, port 2, board 1
19 /dev/sbei/wanc13 WAN clone device, port 3, board 1
... ... ...
211 Addinum CPCI1500 digital I/O card 0 /dev/addinum/cpci1500/0 First CPCI1500 card
1 /dev/addinum/cpci1500/1 Second CPCI1500 card
... ... ...
212 LinuxTV.org DVB driver subsystem 0 /dev/dvb/adapter0/video0 first video decoder of first card
1 /dev/dvb/adapter0/audio0 first audio decoder of first card
2 /dev/dvb/adapter0/sec (obsolete/unused)
3 /dev/dvb/adapter0/frontend0 first frontend device of first card
4 /dev/dvb/adapter0/demux0 first demux device of first card
5 /dev/dvb/adapter0/dvr0 first digital video recoder device of first card
6 /dev/dvb/adapter0/ca0 first common access port of first card
7 /dev/dvb/adapter0/net0 first network device of first card
8 /dev/dvb/adapter0/osd0 first on-screen-display device of first card
9  /dev/dvb/adapter0/video1 second video decoder of first card
... ... ...
64 /dev/dvb/adapter1/video0 first video decoder of second card
... ... ...
128 /dev/dvb/adapter2/video0 first video decoder of third card
... ... ...
196 /dev/dvb/adapter3/video0 first video decoder of fourth card
216 Bluetooth RFCOMM TTY devices 0 /dev/rfcomm0 First Bluetooth RFCOMM TTY device
1 /dev/rfcomm1 Second Bluetooth RFCOMM TTY device
... ... ..
217 Bluetooth RFCOMM TTY devices (alternate devices) 0 /dev/curf0 Callout device for rfcomm0
1  /dev/curf1 Callout device for rfcomm1
.. ... ...
218 The Logical Company bus Unibus/Qbus adapters 0 /dev/logicalco/bci/0 First bus adapter
1 /dev/logicalco/bci/1 First bus adapter
... ... ...
219 The Logical Company DCI-1300 digital I/O card 0 /dev/logicalco/dci1300/0 First DCI-1300 card
1 /dev/logicalco/dci1300/1 Second DCI-1300 card
... ... ...
220 Myricom Myrinet "GM" board 0 /dev/myricom/gm0 First Myrinet GM board
1 /dev/myricom/gmp0     First board "root access"
2 /dev/myricom/gm1 Second Myrinet GM board
3 /dev/myricom/gmp1     Second board "root access"
... ... ...

221

VME bus

It is expected that all VME bus drivers will use the  same interface.  For interface ocumentation see    http://www.vmelinux.org/

0 /dev/bus/vme/m0 First master image
1 /dev/bus/vme/m1 Second master image
2 /dev/bus/vme/m2 Third master image
3 /dev/bus/vme/m3 Fourth master image
4 /dev/bus/vme/s0 First slave image
5 /dev/bus/vme/s1 Second slave image
6 /dev/bus/vme/s2 Third slave image
7 /dev/bus/vme/s3 Fourth slave image
8 /dev/bus/vme/ctl Control
224 A2232 serial card 0 /dev/ttyY0 First A2232 port
1 /dev/ttyY1 Second A2232 port
... ... ...
225 A2232 serial card (alternate devices) 0 /dev/cuy0 Callout device for ttyY0
1 /dev/cuy1 Callout device for ttyY1
... ... ..
226 Direct Rendering Infrastructure (DRI) 0 /dev/dri/card0 First graphics card
1 /dev/dri/card1 Second graphics card
... ... ...
227 IBM 3270 terminal Unix tty access 1 /dev/3270/tty1 First 3270 terminal
2 /dev/3270/tty2 Seconds 3270 terminal
... ... ...
228 IBM 3270 terminal block-mode access 0 /dev/3270/tub Controlling interface
1 /dev/3270/tub1 First 3270 terminal
2 /dev/3270/tub2 Second 3270 terminal
... ... ...
229 IBM iSeries/pSeries virtual console 0 /dev/hvc0 First console port
1 /dev/hvc1 Second console port
... ... ...

230

IBM iSeries virtual tape

"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.

0 /dev/iseries/vt0 First virtual tape, mode 0
1 /dev/iseries/vt1 Second virtual tape, mode 0
... ... ..
32 /dev/iseries/vt0l First virtual tape, mode 1
33 /dev/iseries/vt1l     Second virtual tape, mode 1
... ... ...
64 /dev/iseries/vt0m First virtual tape, mode 2
65 /dev/iseries/vt1m Second virtual tape, mode 2
... ... ...
96 /dev/iseries/vt0a First virtual tape, mode 3
97 /dev/iseries/vt1a Second virtual tape, mode 3
... ... ...
128 /dev/iseries/nvt0     First virtual tape, mode 0, no rewind
129 /dev/iseries/nvt1     Second virtual tape, mode 0, no rewind
... ... ...
160 /dev/iseries/nvt0l First virtual tape, mode 1, no rewind
161 /dev/iseries/nvt1l Second virtual tape, mode 1, no rewind
... ... ...
192 /dev/iseries/nvt0m First virtual tape, mode 2, no rewind
193 /dev/iseries/nvt1m Second virtual tape, mode 2, no rewind
... ... ...
224 /dev/iseries/nvt0a First virtual tape, mode 3, no rewind
225 /dev/iseries/nvt1a Second virtual tape, mode 3, no rewind
... ... ...
231 InfiniBand 0 /dev/infiniband/umad0  
1 /dev/infiniband/umad1  
... ... ...
63 /dev/infiniband/umad63  63rd InfiniBandMad device
64 /dev/infiniband/issm0 First InfiniBand IsSM device
65 /dev/infiniband/issm1 Second InfiniBand IsSM device
... ... ...
127 /dev/infiniband/issm63 63rd InfiniBand IsSM device
128 /dev/infiniband/uverbs0 First InfiniBand verbs device
129 /dev/infiniband/uverbs1 Second InfiniBand verbs device
... ... ...
159 /dev/infiniband/uverbs31 31st InfiniBand verbs device
232 Biometric Devices 0 /dev/biometric/sensor0/fingerprint first fingerprint sensor on first device
1 /dev/biometric/sensor0/iris first iris sensor on first device
2 /dev/biometric/sensor0/retina first retina sensor on first device
3 /dev/biometric/sensor0/voiceprint first voiceprint sensor on first device
4 /dev/biometric/sensor0/facial first facial sensor on first device
5 /dev/biometric/sensor0/hand first hand sensor on first device
... ... ...
10 /dev/biometric/sensor1/fingerprint first fingerprint sensor on second device
... ... ...
20 /dev/biometric/sensor2/fingerprint first fingerprint sensor on third device
... ... ...
233 PathScale InfiniPath interconnect 0 /dev/ipath Primary device for programs (any unit)
1 /dev/ipath0 Access specifically to unit 0
2 /dev/ipath1 Access specifically to unit 1
... ... ...
4 /dev/ipath3 Access specifically to unit 3
129 /dev/ipath_sma   Device used by Subnet Management Agent
130 /dev/ipath_diag Device used by diagnostics programs
234-254

ESERVED FOR DYNAMIC ASSIGNMENT

Character devices that request a dynamic allocation of major number will   take numbers starting from 254 and downward

- -

-

255 RESERVED - - -
256 Equinox SST multi-port serial boards 0 /dev/ttyEQ0 First serial port on first Equinox SST board
127 /dev/ttyEQ127 Last serial port on first Equinox SST board
128 /dev/ttyEQ128 First serial port on second Equinox SST board
... ... ...
1027 /dev/ttyEQ1027 Last serial port on eighth Equinox SST board
257 Phoenix Technologies Cryptographic Services Driver 0 /dev/ptlsec Crypto Services Driver
259 FPGA configuration interfaces 0 /dev/icap0 First Xilinx internal configuration
1 /dev/icap1 Second Xilinx internal configuration
260 OSD (Object-based-device) SCSI Device 0 /dev/osd0 First OSD Device
1 /dev/osd1 Second OSD Device
... ... ...
255 /dev/osd255 256th OSD Device
384-511

RESERVED FOR DYNAMIC ASSIGNMENT

Character devices that request a dynamic allocation of major  number will take numbers starting from 511 and downward,  once the 234-254 range is full

- -

-

linux 字符设备号分配状况相关推荐

  1. Linux 字符设备驱动结构(一)—— cdev 结构体、设备号相关知识解析

    一.字符设备基础知识 1.设备驱动分类 linux系统将设备分为3类:字符设备.块设备.网络设备.使用驱动程序: 字符设备:是指只能一个字节一个字节读写的设备,不能随机读取设备内存中的某一数据,读取数 ...

  2. linux驱动学习——字符设备号

    字符设备号本质就是一个32位的无符号整型值.高12位为主设备号:低20位为次设备号. 查看设备号 cat /proc/devices 4.1.构造设备号 源码路径: include/linux/kde ...

  3. linux 字符设备驱动cdev

    linux字符设备是最为常见的驱动,比如 serial drivers, audio drivers, video drivers, camera drivers, and basic I/O dri ...

  4. linux字符设备文件的打开操作,Linux字符设备驱动模型之字符设备初始化

    因为Linux字符设备驱动主要依赖于struct cdev结构,原型为: 所以我们需要对所使用到的结构成员进行配置,驱动开发所使用到的结构成员分别为:[unsigned int count;].[de ...

  5. linux生成驱动编译的头文件,嵌入式Linux字符设备驱动——5生成字符设备节点

    嵌入式Linux字符设备驱动开发流程--以LED为例 前言 留空 头文件 #include 查看系统设备类 ls /sys/class 设备类结构体 文件(路径):include/linux/devi ...

  6. linux字符设备驱动在哪里设置,从点一个灯开始学写Linux字符设备驱动!

    原标题:从点一个灯开始学写Linux字符设备驱动! [导读] 前一篇文章,介绍了如何将一个hello word模块编译进内核或者编译为动态加载内核模块,本篇来介绍一下如何利用Linux驱动模型来完成一 ...

  7. Linux字符设备驱动

    /*Linux字符设备驱动源代码scdd.c*/ #include <linux/init.h>   /*模块头文件*/ #include <linux/module.h> # ...

  8. 第四章 linux字符设备的编写一

    第四章 linux字符设备驱动一 文章目录 第四章 linux字符设备驱动一 前言 一.字符设备的编写步骤 二.字符设备应用 1.视频教学中的使用 2.个人观点 总结 附录 前言 字符设备是Linux ...

  9. Linux驱动设备号

    什么是设备号 linux中设备号是用来标记一类设备以及区分这类设备中具体个体的一组号码,由主设备号和次设备号组成,主设备号用来标记设备的类型,次设备号用来区分在这类设备中具体的个体设备. 主设备号:用 ...

最新文章

  1. pyqt5多线程更新ui
  2. Linux查看进程和进程管理
  3. Swift 4正式发布,新功能概览
  4. 【pmcaff】从 Lending Club 的 IPO,我们能学到些什么
  5. 第四代:大规模集成电路计算机
  6. 云安全联盟发布更新版安全应用指南
  7. python中配置opencv_在Windows中安装OpenCV-Python|四
  8. windows驱动开发学习
  9. java防止编码重复_java – 如何避免许多小类的代码重复?
  10. Ethercat解析(十四)之初始化流程
  11. 职高有计算机专业前途怎么样,职高有哪些专业前途好有发展前景
  12. 关于 class helper for ... 语法
  13. 用hadoop运行一个简单程序WordCount
  14. 国二c语言程序设计分值分布,计算机二级分值
  15. Chrome远程调试手机端UC浏览器
  16. 服务器在美国怎样网页加速,美国服务器如何优化网站访问速度
  17. js中(0, function)是什么意思
  18. Pandas 基础知识
  19. 宝石迷阵 java_宝石迷阵-2019头条笔试题
  20. 西瓜白粉病怎么防治?司普沃告诉您个小妙招

热门文章

  1. 关于oracle分组后组外排序的问题
  2. 阿里云ECS官网域名映射及Tomcat配置调整,最终使用HTTPS和域名直接访问
  3. JavaScript基础知识必知!
  4. runloop - 面试题
  5. Jquery一些常用的方法
  6. 10 条真心有趣的 Linux 命令
  7. 解析5G背后的核心技术:波束成形
  8. [模拟] hdu 4452 Running Rabbits
  9. GB-T 16260.1-2006 软件工程 产品质量 第1部分:质量模型
  10. 后处理编辑修改_Abaqus Python二次开发:内核脚本的快捷编辑方式