Imported Debian patch 2.3.1-76
[debian/makedev] / debian / old / devices.sgml
1 <!doctype linuxdoc system>
2
3 <article>
4
5 <title>devices created by makedev
6 <author> Andreas Jellinghaus <tt>aj@debian.org</tt>
7 <date> version 0.3, based on Linux allocated device 2.1.62
8 <abstract>
9         some devices are created by default, some are left out on boot
10         floppies, other devices are only created on demand and some
11         devices are obsolete or have new names. 
12 </abstract>
13
14 <sect> batches <p>
15
16 call out devices are not generated by default. however if you need them,
17 you can generate them (see below).
18
19 <descrip>
20 <tag/generic/all standard batches for normal Linux\/i386 systems.
21         (standard misc devices, ttyS[0-3], mouse, printer, tapes
22         (scsi, qic, qic117), audio, scsi generic, standard disk, cdroms
23         and ttys) 
24 <tag/generic-m68k/all generic devices for m68k (additional
25         framebuffer, some mouse devices and m68k scsi disk devices are
26         included,
27         but busmouse devices and qic and qic117 are left out).
28 <tag/boot-floppy/a subset of generic. (no audio, less ttys)
29 <tag/std-hd/standard hard disks (hd[a-h,xd[ab],sd[a-h],ram disk,md,loop)
30 <tag/std-cdrom/standard cdroms (scsi, old non-scsi non-atapi cdroms)
31 <tag/compatiblity/collection of old devices. It is usefull to remove them, but
32 make sure, that you have generated the new ones, and that you know, what
33 you are doing !  serial-cu, printer-old, mouse-old, sr-old,
34 qic-old, misc-old, sg-old
35 <tag/update/special tag : reads \/proc\/devices and generates new devices
36         found there.
37 </descrip>
38
39 <sect> Limits (standard devices) <p>
40
41 There are some limits in this version of devinfo : it will only create a
42 special number of devices (e.g. ramdisks, hda partitions). If one of
43 these limits is unrealistic, please tell me. Most limits have no good
44 reason, I just didn't want to create hundreds of devices, so I only
45 created a few. If a limit is too low for you : a) please tell me and b)
46 modify /etc/devinfo (should be easy). <p>
47
48 <descrip>
49 <tag/ramdisks/8 devices ram[0-7]
50 <tag/ide harddisks/20 partitions each (devices hd[a-h])
51 <tag/xt harddisks/20 partitions each (devices xd[ab]
52 <tag/loopback/8 devices loop[0-7] 
53 <tag/metadisk/4 devices md[0-3]
54 <tag/scsi cdrom/scd: 8 devices scd[0-7] 
55 <tag/scsi cdrom/scd-all : 16 devices scd[0-15] 
56 <tag/scsi generic/sg : 8 devices sg[0-7]
57 <tag/scsi generic/sg-all : 16 devices sg[0-15]
58 <tag/scsi tapes/8 devices st[0-7] 
59 <tag/mscdex/4 cdrom devices dos_cd[0-3] 
60 <tag/joysticks/2 devices each js[0-1] djs[0-1]
61 <tag/other cdroms/only one device created : sonycd, gscd, optcd, sjcd,
62 hitcd, mcd, cdu535, aztcd, cm206cd, bpcd (if there are several cdroms
63 possible : please tell me !)          
64 <tag/serial/default bootdisks and base system will only have ttyS[0-3],
65 but you can create all possible devices ttyS[0-63] with "MAKEDEV serial"
66 or several additional devices with "MAKEDEV ttyS4 ttyS5 ...".
67 </descrip>
68
69 <sect> additional devices <p>
70
71 you can create these devices with "MAKEDEV name" and delete them with
72 "MAKEDEV -d name". you can either use the name listed here (this will
73 create all possible devices), or individual devices (use the device
74 name) e.g. "serial" will create all 64 serial devices ttyS[0-63] but
75 "ttyS0" will only create this one. 
76
77 <sect1> serial devices <p>
78
79 <descrip>
80 <tag/isdn-tty/isdn terminal devices. 8 devices : ttyI[0-7]
81 <tag/isdn-tty-all/isdn terminal devices. 64 devices : ttyI[0-63]
82
83 <tag/isdn-ppp/isdn sync ppp network devices. 8 devices : ippp[0-7]
84 <tag/isdn-ppp-all/isdn sync ppp network devices. 64 devices : ippp[0-63]
85
86 <tag/isdn-io/isdn raw and control devices. 18 devices : 
87         isdn[0-7] isdnctrl[0-7] isdnctrl isdninfo
88 <tag/isdn-io-all/isdn raw and control devices. 130 devices : 
89         isdn[0-63] isdnctrl[0-63] isdnctrl isdninfo
90
91 <tag/serial-cu/serial callout devices. they are only for compatibility,
92 most people don't need them. 64 devices : cua[0-63]
93
94 <tag/isdn-cu/isdn call out devices. they are only for compatibility,
95 most people don't need them. 64 devices : cui[0-7]
96 <tag/isdn-cu-all/isdn call out devices. they are only for compatibility,
97 most people don't need them. 64 devices : cui[0-63]
98
99 <tag/chase{-cu}/devices for chase serial card (append -cu to create
100 call out devices). 32 devices ttyH[0-31] (cuh[0-31])
101
102 <tag/cyclades{-cu}/devices for cyclades serial card (append -cu to create
103 call out devices). 32 devices ttyC[0-31] (cub[0-31])
104
105 <tag/digiboard{-cu}/devices for digiboard serial card (append -cu to create
106 call out devices). 32 devices ttyD[0-31] (cud[0-31])
107
108 <tag/stallion{-cu}/devices for stallion serial card (append -cu to create
109 callout devices). 32 devices ttyE[0-31] (cue[0-31])
110
111 <tag/stallion-mem/devices to access stallion serial card. 4 devices
112 stallionmem[0-3]
113
114 <tag/specialix{-cu}/devices for specialix serial card (append -cu to create
115 call out devices). 32 devices ttyX[0-31] (cux[0-31])
116
117 <tag/rockport{-cu}/devices for rockport serial card (append -cu to create
118 call out devices). 32 devices ttyR[0-31] (cur[0-31])
119
120 <tag/riscom{-cu}/devices for riscom serial card (append -cu to create
121 call out devices). 32 devices ttyL[0-31] (cul[0-31])
122
123 <tag/hayes{-cu}/devices for hayes serial card (append -cu to create
124 call out devices). 32 devices ttyP[0-31] (cup[0-31])
125
126 <tag/baycom/devices for baycom radio modem. 32 devices bc[0-31]
127
128 <tag/computone{-cu}/devices for computone intelliport II serial card
129 (append -cu to create call out devices). 32 devices ttyF[0-31]
130 (cuf[0-31])
131
132 <tag/computone-ctrl/devices to access computone intelliport II serial
133 card. 8 devices ip2ipl[0-3] and ip2stat[0-3]
134
135 <tag/dcbri/spellcaster datacomm\/bri isdn card. 4 devices dcbri[0-3]
136 <tag/specialix{-cu}/devices for specialix IO8+ serial card. 32 devices
137 ttyW[0-31] (cuw[0-32])
138 <tag/pam{-cu}/devices for PAM Software's mulitmodem boards. 32 devices
139 ttyM[0-31] (cum[0-31])
140 </descrip>
141
142 <sect1> misc devices <p>
143
144 <descrip>
145 <tag/pty[p-za-e]/master pty devices. 16 devices pty?[0-9a-f] each
146 <tag/tty[p-za-e]/slave tty devices. 16 devices pty?[0-9a-f] each
147 <tag/floppy-all/generic only includes the fd0 and fd1 devices. this way
148 you can generate devices for the 3rd ... 8th floppies. i recommend to
149 install fdutils and use MAKEFLOPPIES to create the floppy devices you
150 need. 30 devices each fd[0-7]*
151
152 <tag/framebuffer/universal frame buffer (68k,sparc).
153         22 devices fb0* fb1*
154 <tag/other-arch/amigamouse, atarimouse, sunmouse, openprom, kbd
155 <tag/double/"double" compressed disk. 16 devices [c]double[0-7]
156 <tag/ez[a-d]/syquest ex135 parallel port removable drive. 
157         20 partitions each
158 <tag/ed[ab]/mca esdi hard disk. 20 partitions ed?* each
159
160 <tag/sbpcd[234]/2nd,3rd,4th sound blaster cdrom controller. 4 devices sbpcdXX each
161 <tag/mscdex/MSCDEX CD-ROM callback support. 4 devices dos_cd[0-3]
162 <tag/cm205cd/cm205 cdrom devices (not supported in 2.x).
163         2 device cm205cd lmscd
164 <tag/ad[a-p]/acsi disc\/cdrom (68k\/atari). 16 devices ad?* each
165 <tag/gs4500/genius 4500 handheld scanner. 1 device gs4500
166 <tag/slm/atari sm asci laser printer (68k\/atari). 4 devices slm[0-3]
167 <tag/ht/ide tape. 2 devices ht0 nht0
168 <tag/z2ram/zorro II ramdisk. 1 device z2ram
169 <tag/cfs/coda network file-system.
170         1 device cfs0
171 <tag/dtlk/DoubleTalk PC speech synthesizer, from RC Systems. 1 device dtlk
172
173 <tag/ibcs2/ibcs2 devices as described in "Linux Allocated Devices".
174 you need to create the directory /dev/inet before running makedev.
175 ibcs2-unoff has lots more devices (i don't know if all are needed, or
176 not. in doubt use ibcs2-unoff). 9 devices (socksys spx nfsd X0R inet/*).
177
178 <tag/ibcs2-unoff/ibcs2 devices as described in the ibcs2 package. you
179 need to create the directories "X" and "inet" before creating these
180 devices. 74 devices (arp egp ggp icmp ip ipip pup rawip rip tcp udp nfsd
181 X0R socksys spx pty[10-47] inet/* X/*)
182
183 <tag/nvram/some special m68k hardware ? 1 device nvram
184
185 <tag/system-sgi/devices for linux/sgi. 5 devices graphics opengl gfx
186 input/mouse input/keyboard
187
188 <tag/nb/network block devices. 8 devices nb*
189 <tag/ftl/flash translatio layer (FTL) filesystems. max. 16 drives a-p
190 with each 15 partitions (like scsi disks sd*).
191 <tag/qng/Quantum Noice Generator. 1 device qng
192 <tag/at200/Photometrics AT200 CCD camera. 1 device at200
193 <tag/bttv/Brooktree Bt848 frame grabbers. 12 devices bttv[0-3]
194 bttvc[0-3] bttv-vbi[0-3]
195 <tag/winradio/WiNRADiO communications receiver card. 4 devices
196 winradio[0-3]
197 <tag/videotext/Teletext/videotext interfaces 2 devices vtx vttuner
198 <tag/ihcp/ikon 1011[57] Versatec Greensheet Interface. 2devices ihcp[0-1]
199 <tag/shimq/Linux/SGI shared memory input queue. 5 devices shmiq
200 qcntl[0-3]
201 <tag/sch/SCSI media changer. 8 devices sch[0-7]
202 <tag/controla/Sony control-a1 stereo control bus. 
203 </descrip>
204
205 <sect1> sound <p>
206 <descrip>
207 <tag/mpu401/mpu401 MIDI data & status ports. 
208         2 devices mpu401{data,stat}
209 <tag/tclmidi/tclmidi midi driver. 
210         12 devices midi[0-3] rmidi[0-3] smpte[0-3]
211 </descrip>
212
213 <sect1> misc <p>
214 <descrip>
215 <tag/wvisfgrab/quanta winvision frame grabber. 
216         1 device wvisfrab
217 <tag/mmetfgrab/matrox meteor frame grabber.
218         1 device mmetfgrab
219 <tag/ml16p[abc]/ml-16p experimental i\/o board.
220         20 device ml16p?* each
221 <tag/scc/Z8530 HDLC driver. 8 devices scc[0-7]
222 <tag/rom/rom\/flash memory card. 
223         32 devices rom[0-7] rrom[0-7] flash[0-7] rflash[0-7]
224 <tag/netlink/netlink support. 2 devices route skip
225 <tag/mlanai/myricom pci myrinet board. 8 devices mlanai[0-7]
226 <tag/yamm/yet another micro monitor. 1 device yamm
227 <tag/bdm/bdm interface for remote debugging MC683xx mc. 
228         6 devices pd_bdm[0-2] icd_bdm[0-2]
229 <tag/holter/electrocardiognosis holter serial port.
230         3 devices holter[0-2]
231 <tag/dsp56k/dsp56001 digital signal processor.
232         1 device dsp56k
233 <tag/adbus/apple desktop bus. this was disabled, because it clashes with
234 ab[b], the second acsi device (m68k/atari acsi disk).
235         1 device adb
236 <tag/firewall/sf firewall package.
237         1 device firewall
238 <tag/plink/sundance plink transputer boards.
239         12 devices [r]plink[0-3][d]
240 <tag/enskip/enskip kernel encryption package
241 <tag/yppcpci/yarc powerpc pci coprocessor card
242 <tag/capi20/CAPI 2.0 interface.
243         21 devices capi20 capi20.[01-19]
244 <tag/ma16/ma16 numeric accelerator card
245 <tag/aps/spellcaster protocol service interface.
246         7 devices aps*
247 <tag/sci/dolphin interconnect solutions' pci-sci bridge.
248         4 devices SCI\/[0-3]
249 </descrip>
250
251 <sect> compatibility <p>
252
253 not all devices have a standard device name shared by all linux
254 distributions, and many names have changed in the past. here is a list,
255 so you can find new names, create the old devices (if you want), or
256 remove them (to get rid of duplicates).
257
258 <descrip>
259 <tag/call out devices/cu* devices are not created by default. but you
260 can create or remove them : serial-cu chase-cu cyclades-cu digiboard-cu
261 stallion-cu specialix-cu isdn-cu     rockport-cu riscom-cu  hayes-cu
262 computone-cu  
263 <tag/printer-old/parallel port devices, standard name is lp[0-3], not par[0-3]
264 <tag/mouse-old/(bus-)mouse devices : logimouse(logibm) psmouse(psaux)
265 msmouse(inportbm) atimouse(atibm) jmouse(jbm)
266 <tag/sr-old/scsi cdrom devices (now called scd)
267 <tag/qic-old/qic streamer devices : nqt qt nqt11 qt11 nqt24 qt24 nqt120
268 qt120 nqt150 qt150 qt-reset
269 <tag/misc-old/for standardized names, some devices got renamed. old :
270 midi, sbpcd, aztcd0, vcs0, lmscd, ramdisk
271 new : midi00, sbpcd0, aztcd, vcs, ram0, cm205cd, ram0
272 <tag/sg-old/scsi generic devices now use numbers (sg[0-7]), not letters
273 sg[a-h])
274 <tag/isdn-old/an old version created ipp* devices. this was a typo, they
275 are called ippp*
276 </descrip>
277
278 i left some links : even if they are for compatibility, removing them
279 might break existing software.
280
281 <descrip>
282 <tag/isdnctrl/link to "isdnctrl0"
283 <tag/mfd0/m68k amiga hd floppy device
284 </descrip>
285
286 <sect> note about console and tty0 <p>
287
288 New standard is : /dev/tty0 is a device (char,4,0).
289 console should be a symlink : to tty0, or whatever your console is.
290 If it is not a symlink, makedev will replace it with a symlink to tty0.
291 Someday there will be a kernel managed device /dev/console to handle
292 this (it will be char 5 1).
293
294 </article>