Installing and using the Win 9x/Me/2000/XP(64)/Vista(64)/W7(64) 1401 drivers
**************************************************************************

This document is for users who are about to install a 1401 device driver on
Windows, or who are trying to sort out problems with a 1401 device driver.
It contains a section of general device driver information, installation
instructions for the three interface types (PCI, ISA and USB), instructions
on using Device Manager to find out about the 1401 device drivers and updating
the driver and a section with troubleshooting information.

In this document, drivers for Windows 95, 98 and Me are all referred to as
drivers for Windows 9x (because all of these operating systems are very similar
in most respects). Similarly, drivers for Windows 2000, XP, Vista and W7 are
referred to as drivers for Windows NT 2000\XP - there are no relevant differences.

Driver information
******************
The more modern 1401 device drivers for Windows 95, 98, Me and
NT 2000 and XP are all plug-and-play drivers that are installed
using a separate 1401 driver installation process, rather than
the previous arrangement of driver installation by the application
installer. Drivers for Windows 3.x and Windows NT 4 continue to
be installed directly with the application. Driver setup via
the CED1401 icon in the control panel has been replaced by
access via the Windows Device Manager. The various drivers are:


ced_14is.386   the Windows 9x ISA device driver, installed into
               \windows\system and loaded by plug-and-play
               mechanisms. The device driver options are stored
               in the registry, a property-page provider dll,
               \windows\system\1401ui.dll, is used to set up
               the options.

ced_14pc.386   the Windows 9x PCI device driver, installed into
               \windows\system and loaded by plug-and-play
               mechanisms. The device driver options are stored
               in the registry, a property-page provider dll,
               \windows\system\1401ui.dll, is used to set up
               the options.

ced_14us.sys   the Windows 98 and Me USB device driver, installed
               into \windows\system32\drivers and loaded by plug-and
               play mechanisms. The device driver options are
               stored in the registry, a property-page provider
               dll, \windows\system32\1401ui.dll, is used only
               to provide the 1401 icon in device manager, but
               doesn't provide the usual Settings page as the
               design of Windows 98 does not allow this.

ced_1401.sys   the Windows NT 2000\XP ISA/PCI interface driver,
               installed into \windows\system32\drivers and
               loaded by plug-and-play mechanisms. The device
               driver options are stored in the registry, a
               property-page dll, \windows\system32\1432ui.dll
               is used to set up options. Unlike the Windows
               9x ISA driver, the ISA base address is set
               using the Resources page in the device
               properties.

ced_usb.sys    the Windows NT 2000\XP USB device driver, installed
               into \windows\system32\drivers and loaded by
               plug-and-play mechanisms. The device driver
               options are stored in the registry, a property
               page provider dll, \windows\system32\1432ui.dll,
               is used to set up the options.

ced_pc64.sys   the Windows NT XP64 ISA/PCI interface driver,
               installed into \windows\system32\drivers and
               loaded by plug-and-play mechanisms. The device
               driver options are stored in the registry, a
               property-page dll, \windows\system32\1464ui.dll
               is used to set up options. Like the Windows
               2000\XP ISA driver, the ISA base address is set
               using the Resources page in the device
               properties.

ced_us64.sys   the Windows NT XP64 USB device driver, installed
               into \windows\system32\drivers and loaded by
               plug-and-play mechanisms. The device driver
               options are stored in the registry, a property
               page provider dll, \windows\system32\1464ui.dll,
               is used to set up the options.

Driver installation
*******************

You should install any CED software before fitting any interface
cards into the PC or plugging a USB 1401 into the computer,
otherwise the drivers will not be available on the hard disk.

When you install CED software for the first time, the driver
installation files are also provided to Windows so that, when
a 1401 device is encountered, the device drivers can generally
be installed automatically.

When you install any CED Windows application or the standard
1401 support for Windows all of these drivers and 14xxui files,
plus a ced_1401.inf file holding installation instructions,
are copied into a WinDrv directory from where they can be used
by Windows. For standard 1401 support, the WinDrv directory is
located at c:\1401\WinDrv, for applications the directory is
located at \application\1401\WinDrv (c:\spike3\1401\windrv for
example). The files in the WinDrv directory can be copied onto
a floppy disk for installation, or the WinDrv directory can
be used directly.

To install the PCI card and driver
**********************************
1. Plug the PCI interface card into a spare PCI slot in the
   computer and switch the computer on.

2. During startup, Windows will detect that there is a PCI card
   with no matching driver and tell you it will install such a
   driver. With a modern 1401 installation Windows will find
   and install the driver automatically so you can skip to
   step 5.

3. Work through the driver installation process until you are
   asked if Windows should search for a driver. You should
   allow Windows to search for a suitable device driver and
   direct the search in the direction of the WinDrv folder or
   device driver floppy disk.

4. Once Windows has found the drivers, continue with the
   installation. Windows will copy a few files and then resume
   booting. That's it, you can use device manager to check on
   resource usage and adjust the settings.

5. Use the Try1401 program to check for correct operation.

If, when Windows asked you for a driver, you clicked on Cancel,
you will need to start the 'Add New Hardware' control panel
from the Control Panel folder (My Computer\Control Panel or
Start\Settings\Control Panel). You should click Next past the
messages, until you get a box saying Windows has found a new
PCI Card. You are then at stage 2 above. Follow the
instructions from there.

You may find that, if you cancelled driver installation when
Windows started up, Add New Hardware appears to have installed
the driver OK but it refuses to work correctly - lots of error
-590s in Try1401. In this case, use Remove in Device Manager
to remove the driver and device, then restart Windows. Windows
will then do a completely automatic re-install and get it right
this time.


To install the USB driver
*************************
1. Plug the USB cable into the back of the computer, plug the
   other end into the 1401, and switch the 1401 on.

2. Windows will detect that there is new USB hardware and try
   to find and install a suitable device driver. With a modern
   1401 installation Windows will find and install the driver
   automatically so you can skip to step 5.

3. Work through the driver installation process until you are
   asked if Windows should search for a driver. You should
   allow Windows to search for a suitable device driver and
   direct the search in the direction of the WinDrv folder or
   device driver floppy disk.

4. Once Windows has found the drivers, continue with the
   installation. Windows will copy a few files and that's it.

5. Use the Try1401 program to check for correct operation.

With a cancelled installation, or one that was not completed
successfully, you should use device manager to remove the 1401
USB interface (or the 'Unknown device' in the USB category if
things went wrong, then you should disconnect the 1401 from the
USB, re-connect it and reinstall.


To install the ISA card and driver
**********************************
You will need to have plugged in the interface card and
started Windows.

1. Run the Windows control panel (Start\Settings\Control panel)
   
2. Double-click on 'Add New Hardware' to start installation.
   You will be presented with the usual Windows installation
   'wizard' dialogs.

3. When asked if you want Windows to search for the hardware,
   select 'No'.  Windows will then ask you to select a class
   of driver. Select 'Other devices'. In Windows 2000 you have
   to let it search, then go on to select the driver manually.

4. Windows may then spend some time building a database of
   drivers,  before asking you to select a device type and
   driver. With a modern 1401 installation the 1401 interface
   will already be available as a device type. Otherwise,
   click on the button marked 'Have disk' and direct Windows
   to load from the WinDrv folder or 1401 drivers disk.

5. Select the CED 1401 ISA card from the selection offered and
   press Next as usual, and Windows will carry out the
   installation process. At the end of installation, Windows
   may need to restart, in which case you should allow it to
   do so. In Windows 2000 you will be given the opportunity to
   set the interface card address in the resources; if the card
   is not at address 300 then you should change the address to
   the correct value.

6. Use the Try1401 program to check for correct operation. If
   the interface card is not found, you may need to set the
   card base address in the settings page in the Device manager
   properties (Resources for Win2000). You may need to ensure
   that the card base address used is unoccupied. If you get
   error -590 for just about every test, there is a problem
   with the interrupt in use.

   Windows 2000 doesn't load the device driver if there is a
   resource clash. First check the card address used, if that
   seems free and it matches the address set on the card
   jumpers, check the interrupt set with the jumpers and see
   if that is free.

7. If Windows has problems booting with the new ISA card
   installed, start Windows in safe mode and use Device
   manager as in step 6 to set the correct card base address.


Device Manager
**************
Device manager is the bit of software that provides the user
interface to all Windows drivers. To access it, run the Windows
control panel (Start:Settings:Control panel), and double-click
on System. This gives the system properties dialog, one page of
which is labelled Device manager.

The device manager page shows a tree of devices, normally
categorised by type. The 1401 device and driver information is
stored under "1401 interface", if you click on this you will
see entries for the devices (ISA/PCI card, or USB) that you
have installed. Double-clicking on the device entry, or
selecting it and clicking on the Properties button, gives you
the properties for a 1401 interface. There will normally be
four sheets within the properties, labelled General, Settings,
Driver and Resources:

General
This page gives you general information on the device, displays
overall status information, and provides a checkbox that can be
used to enable and disable the device. Judicious use of the
checkbox will allow you to have both ISA and PCI drivers
installed, but only one in use at a time. This works OK, but
you may have to restart Windows after disabling one device and
before enabling the other.

Settings
This page is 1401-specific and is contributed by the CED file
1401ui.dll. This displays extra status information, allows you
to enable or disable the use of DMA, to set the 1401 device
number and to set the ISA card base address (not for Win2000).
There is also a Reset button that will reset the 1401 driver
and hardware. In Windows 2000, the settings page is generated
by 1432ui.dll and the ISA base address is not set here but in
the Resources page.

Driver
This page shows the driver files used and gives driver version
information. It also contains the button "Change (or Update)
driver" which can be used to install a new or different driver.
Using this button to re-install the same device driver will
sort out a lot of problems.

Resources
This shows the resources used by the device and indicates if
there are any resource conflicts. For the PCI interface, you
can override the usual automatic resource allocation process
to force the card address to be whatever you wish, but this is
not recommended. For the ISA card on Windows 2000, use the
Change Setting button to alter the IO address used by the
interface card, the address you set must match the interface
card jumpers.


Updating the device drivers
***************************
When a standard CED application is installed, it checks the
version of any installed 1401 device drivers and will copy
a newer file to update the current driver if appropriate.
Note that this does not happen automatically on 64-bit versions
of Windows - see below for more details.

If you need to force a driver update, either to ensure that
the files are up-to-date or to try to remove installation
problems, you should go to the Device Manager as described
above, display the 1401 interface properties and select the
Driver tab. Press the Update Driver button to start the
device driver update wizard.

The driver update process varies with the operating system
but basically the requirement is that you want to get the
update software to look at the directory where your new
1401 drivers are stored. You do this by allowing Windows
to search for a driver and setting the search to look at
the location holding the new drivers, be it a CD (on a CD,
the 1401 drivers are stored in the \Win directory) a floppy
disk or a directory holding the drivers. Once Windows has
seen the new drivers, all you have to do is to press 'Next'
a few times; the driver upgrade is completely automatic.


Device drivers for Win64
************************
We also ship device drivers built for 64-bit Windows 64 - both XP,
Vista and W7. These are installed and used in exactly the same way
as the 2000/XP drivers, but the CED installers cannot 'pre-install'
the drivers nor can they automatically update them. To get the
device drivers installed on 64-bit Windows you will have to point
the 'Found new hardware' wizard at the directory where your drivers
are installed - this will be a directory called windrv either inside
c:\1401 or inside the 1401 directory in the directory where you
installed your application.

Driver updates also have to be done using device manager; select the
device, right-click and select update driver and, if necessary, point
the updater at the appropriate windrv directory. It appears that in
Vista64 and W764, even though the drivers are not installed or updated
automatically, they are 'made known' to the operating system sufficiently
for the new versions to be found without your having to indicate the
correct install directory to the operating system - if however the new
drivers are not found then you should point Windows at the directory
yourself.


Multiple 1401s
**************
Multiple 1401s on one machine are supported by setting a
device number for each 1401, from 1 to 8. This number is
set using the Settings page in Device Manager, generally
you should give 1401s numbers starting at 1 and give each
1401 a different number. If two 1401s have the same device
number, the device driver will fail to load.

With Windows 2000 and XP, you can install 1401s freely
and use any interface type, though multiple ISA cards
will run out of interrupts very fast. With Windows 9x/Me,
the design of the device drivers means that you can have
one ISA or PCI card only plus an ulimited number of 1401s
connected using the USB.


Troubleshooting:
****************
The quickest and most useful way to check for correct driver
and interface card installation is to run the Try1401 test
program. A copy of this is installed with all CED software.

If you do get problems, use the device manager to check the
device status (on the General page) and look for resource
conflicts (on the Resources page). For the PCI card, problems
can be caused if all available interrupts are already in use,
but this should not generally be a problem.

For the ISA card, the 1401 interface card address may be
incorrectly set in Device manager so that it doesn't match the
card jumpers or the card address used, while correct for the
interface card, may overlap with the addresses used by other
cards or the interrupt selected with the card jumpers may be
used by another device. You will have to adjust the jumpers on
the interface card, and also the settings in device manager.
In severe cases you may have to start Windows in safe mode so
that you may adjust the driver settings in Device Manager.

With the PCI card, if you have refrained from installing the
drivers when Windows originally detected the interface card,
Windows can sometimes get into an odd state where the driver
is apparently loaded but it can not do anything. The best
thing to do here is to use the Remove button in Device Manager
to remove the 1401 support, which will be re-installed when
Windows restarts. This works for the USB interface too, where
the same problem can occur.

If you are getting 'Device driver not installed' error messages
(this is code -581) on a Windows NT 2000 or XP system when
you have actually installed the driver, then this is probably
because the driver was unable to load. The CED drivers will
leave information in the Windows Event log indicating why they
were unable to load or set themselves up, which should help
you to get rid of the problem.

Support and further information
Contact CED for help or advice if you are unable to resolve
the problem using Device manager. You can get information and
download installation disks and device drivers from the CED web
site (http://www.ced.co.uk), or email hardhelp@ced.co.uk or
softhelp@ced.co.uk or phone for assistance to [44](1223)420186.

Tim Bergel, 22/Oct/2009
