README FOR LINUX SONY CDU-535/531 DRIVER ======================================== This is the sixth release of the Sony CDU-535 (and 531) driver for Linux. There are no new features or bug fixes in this release. It just brings the patches up to the 1.1.45 Linux kernel. I do not think I have the documentation to add features like DMA support so if anyone else wants to pursue it or help me with it, please do. (I need to see what was done for the CDU-31A driver -- perhaps I steal some of that code.) IMPORTANT: If you are using *any* release of this driver prior to 0.4, note that the device number has changed to 24 -- you will have to recreate your devices! (see CHANGES) This package contains a Linux device driver for the Sony CDU-535 CDROM drive. This is one of the older Sony drives with its own interface card (Sony bus). The DOS driver for this drive is named SONY_CDU.SYS - when you boot DOS your drive should be identified as a SONY CDU-535. The driver probably works with a CDU-531 also since that drive's documentation was used to write the driver -- Sony said they were very similar. One user reported that the driver worked on drives OEM'ed by Procomm, drive and interface board were labelled Procomm. The Linux driver is based on Corey Minyard's sonycd 0.3 driver for the CDU-31A. Ron Jeppesen just changed the commands that were sent to the drive to correspond to the CDU-535 commands and registers. There were enough changes to let bugs creep in but it seems to be stable. Ron was able to tar an entire CDROM (should read all blocks) and built ghostview and xfig off Walnut Creek's X11R5/GNU CDROM. xcdplayer and workman work with the driver. Others have used the driver without problems except those dealing with wait loops (fixed in third release). Like Minyard's original driver this one uses a polled interface (this is also the default setup for the DOS driver). It has not been tried with interrupts or DMA enabled on the board. REQUIREMENTS ============ - Sony CDU-535 drive, preferably without interrupts and DMA enabled on the card. - Drive must be set up as unit 1. Only the first unit will be recognized - Linux kernel source and gcc compiler FILES ===== README - this file sony535-0.6.patch - diffs to the kernel necessary for the driver that may soon be part of the stock kernel sony535-0.6.files - more diffs to the kernel necessary for the driver CHANGES - list of changes between this version and previous versions of the driver INSTALLATION ============ 1. Untar the distribution someplace. (Ok, so you've already done that.) For the examples below I assume that you untar into the /usr/src/sony535-0.6 directory. cd /usr/src gunzip -c sony535-0.6.tar.gz | tar xvf - 2. Apply the patch files in the directory that holds the Linux source directory (normally /usr/src). This is where you normally apply patches. i.e., if Linux is in /usr/src/linux, apply the patch in /usr/src. cd /usr/src/linux make config.in cd .. patch -p0 & patch.log patch -p0