• Home
  • Raw
  • Download

Lines Matching +full:parallel +full:- +full:in

2 Linux and parallel port IDE devices
5 PARIDE v1.03 (c) 1997-8 Grant Guenther <grant@torque.net>
10 Owing to the simplicity and near universality of the parallel port interface
11 to personal computers, many external devices such as portable hard-disk,
12 CD-ROM, LS-120 and tape drives use the parallel port to connect to their
13 host computer. While some devices (notably scanners) use ad-hoc methods
14 to pass commands and data through the parallel port interface, most
16 a parallel-port adapter chip added in. Some of the original parallel port
18 (The Iomega PPA-3 adapter used in the ZIP drives is an example of this
20 The adapter chip reproduces a small ISA or IDE bus in the external device
23 the device being addressed via the parallel cable is a standard SCSI
26 which is then connected to a floppy-tape mechanism. The vast majority
27 of external parallel port devices, however, are now based on standard
29 were to open up a parallel port CD-ROM drive, for instance, one would
30 find a standard ATAPI CD-ROM drive, a power supply, and a single adapter
31 that interconnected a standard PC parallel port cable and a standard
32 IDE cable. It is usually possible to exchange the CD-ROM device with
35 The document describes the support in Linux for parallel port IDE
36 devices. It does not cover parallel port SCSI devices, "ditto" tape
38 parallel port IDE subsystem, including:
40 - MicroSolutions backpack CD-ROM
41 - MicroSolutions backpack PD/CD
42 - MicroSolutions backpack hard-drives
43 - MicroSolutions backpack 8000t tape drive
44 - SyQuest EZ-135, EZ-230 & SparQ drives
45 - Avatar Shark
46 - Imation Superdisk LS-120
47 - Maxell Superdisk LS-120
48 - FreeCom Power CD
49 - Hewlett-Packard 5GB and 8GB tape drives
50 - Hewlett-Packard 7100 and 7200 CD-RW drives
52 as well as most of the clone and no-name products on the market.
54 To support such a wide range of devices, PARIDE, the parallel port IDE
55 subsystem, is actually structured in three parts. There is a base
57 accessing the parallel ports. The second component is a set of
58 high-level drivers for each of the different types of supported devices:
62 pcd ATAPI CD-ROM
68 (Currently, the pg driver is only used with CD-R drives).
70 The high-level drivers function according to the relevant standards.
71 The third component of PARIDE is a set of low-level protocol drivers
72 for each of the parallel port IDE adapter chips. Thanks to the interest
77 aten ATEN EH-100 (HK)
79 comm DataStor (old-type) "commuter" adapter (TW)
80 dstr DataStor EP-2000 (TW)
83 fit2 FIT TD-2000 (US)
84 fit3 FIT TD-3000 (US)
87 kbic KingByte KBIC-951A and KBIC-971A (TW)
100 In either case, you will need to select "Parallel port IDE device support"
101 as well as at least one of the high-level drivers and at least one
102 of the parallel port communication protocols. If you do not know
103 what kind of parallel port adapter is used in your drive, you could
112 For the "brand-name" products listed above, here are the protocol
113 and high-level drivers that you would use:
118 MicroSolutions CD-ROM pcd bpck
120 MicroSolutions hard-drive pd bpck
126 FreeCom CD-ROM pcd frpw
127 Hewlett-Packard 5GB Tape pt epat
128 Hewlett-Packard 7200e (CD) pcd epat
129 Hewlett-Packard 7200e (CD-R) pg epat
132 2.1 Configuring built-in drivers
133 ---------------------------------
137 kernel with the drivers built-in.
140 and you have just a single parallel port IDE device, your kernel should
145 The high-level drivers accept a number of command line parameters, all
146 of which are documented in the source files in linux/drivers/block/paride.
147 By default, each driver will automatically try all parallel ports it
149 a parallel port IDE adapter. Once it finds one, the probe stops. So,
171 with unit ID number 36 connected to the parallel port at 0x378, a SyQuest
172 EZ-135 connected to the chained port on the PD/CD drive and also an
178 In the last option, pf.drive1 configures device /dev/pf1, the 0x378
179 is the parallel port base address, the 0 is the protocol registration
183 PARPORT parallel port sharing system that is included by the
184 "Parallel port support" option, PARPORT must be included and enabled
185 if you want to use chains of devices on the same parallel port.
188 ----------------------------------------------
220 Finally, you can load high-level drivers for each kind of device that
223 individual co-ordinates when you load the driver.
225 For example, if you had two no-name CD-ROM drives both using the
226 KingByte KBIC-951A adapter, one on port 0x378 and the other on 0x3bc
232 but check the source files in linux/drivers/block/paride for more
236 a SyQuest EZ-135 is attached to port 0x378::
245 pda: epat 1.0, Shuttle EPAT chip c3 at 0x378, mode 5 (EPP-32), delay 1
250 scanner - in this case it reports that it has found a disk with one partition.
253 --------------------------
255 Once the drivers have been loaded, you can access PARIDE devices in the
262 # mkd -- a script to create the device special files for the PARIDE subsystem
271 for P in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
278 for u in 0 1 2 3 ; do pd $u ; done
279 for u in 0 1 2 3 ; do mkdev pcd$u b 46 $u ; done
280 for u in 0 1 2 3 ; do mkdev pf$u b 47 $u ; done
281 for u in 0 1 2 3 ; do mkdev pt$u c 96 $u ; done
282 for u in 0 1 2 3 ; do mkdev npt$u c 96 $[ $u + 128 ] ; done
283 for u in 0 1 2 3 ; do mkdev pg$u c 97 $u ; done
287 With the device files and drivers in place, you can access PARIDE devices
288 like any other Linux device. For example, to mount a CD-ROM in pcd0, use::
295 fdisk /dev/pda -- make a new partition table with
298 mke2fs /dev/pda1 -- to build the file system
300 mkdir /shark -- make a place to mount the disk
304 Devices like the Imation superdisk work in the same way, except that
313 ------------------
315 The pf driver is intended for use with parallel port ATAPI disk
316 devices. The most common devices in this category are PD drives
317 and LS-120 drives. Traditionally, media for these devices are not
319 media. This may be changed in a future version of the driver.
322 ------------------------
324 The pt driver for parallel port ATAPI tape drives is a minimal driver.
327 probably want to set the parallel port delay to 0, if you can.
330 ------------------------
332 The pg driver can be used in conjunction with the cdrecord program
333 to create CD-ROMs. Please get cdrecord version 1.6.1 or later
334 from ftp://ftp.fokus.gmd.de/pub/unix/cdrecord/ . To record CD-R media
335 your parallel port should ideally be set to EPP mode, and the "port delay"
338 in EPP mode, try to use "bidirectional" or "PS/2" mode and 1x speeds only.
345 ----------------------------
348 concern the parallel port CMOS settings. At this time, none of the
350 If you are able to do so, please set your parallel port into EPP mode
354 -------------------------
356 Some parallel ports cannot reliably transfer data at full speed. To
359 a default value for this delay. In most cases, the user can override
360 the default and set it to 0 - resulting in somewhat higher transfer
361 rates. In some rare cases (especially with older 486 systems) the
365 to each of the high-level drivers. Please see the notes above, or
366 read the comments at the beginning of the driver source files in
370 -------------------------------------
374 drives based on OnSpec and older Freecom adapters. In these rare cases,
376 the parallel port. As the reset operation is potentially disruptive in
388 ------------------------------------------------------
392 please check all the obvious things first: does the drive work in
396 is using your parallel port (check in /proc/ioports). Then, load the
398 as in::
413 include that with your bug report. You can submit a bug report in one
415 by e-mail to grant@torque.net, or join the linux-parport mailing list
419 ---------------------------------
421 You can join the linux-parport mailing list by sending a mail message
424 linux-parport-request@torque.net
430 in the body of the mail message (not in the subject line). Please be
433 address in your mail headers. REMOVE any anti-spam gimmicks you may
434 have in your mail headers, when sending mail to the list server.
436 You might also find some useful information on the linux-parport