Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | Goldstar R420 CD-Rom device driver README |
| 2 | |
| 3 | For all kind of other information about the GoldStar R420 CDROM |
| 4 | and this Linux device driver see the WWW page: |
| 5 | |
| 6 | http://linux.rz.fh-hannover.de/~raupach |
| 7 | |
| 8 | |
| 9 | If you are the editor of a Linux CD, you should |
| 10 | enable gscd.c within your boot floppy kernel. Please, |
| 11 | send me one of your CDs for free. |
| 12 | |
| 13 | |
| 14 | This current driver version 0.4a only supports reading data from the disk. |
| 15 | Currently we have no audio and no multisession or XA support. |
| 16 | The polling interface is used, no DMA. |
| 17 | |
| 18 | |
| 19 | Sometimes the GoldStar R420 is sold in a 'Reveal Multimedia Kit'. This kit's |
| 20 | drive interface is compatible, too. |
| 21 | |
| 22 | |
| 23 | Installation |
| 24 | ------------ |
| 25 | |
| 26 | Change to '/usr/src/linux/drivers/cdrom' and edit the file 'gscd.h'. Insert |
| 27 | the i/o address of your interface card. |
| 28 | |
| 29 | The default base address is 0x340. This will work for most applications. |
| 30 | Address selection is accomplished by jumpers PN801-1 to PN801-4 on the |
| 31 | GoldStar Interface Card. |
| 32 | Appropriate settings are: 0x300, 0x310, 0x320, 0x330, 0x340, 0x350, 0x360 |
| 33 | 0x370, 0x380, 0x390, 0x3A0, 0x3B0, 0x3C0, 0x3D0, 0x3E0, 0x3F0 |
| 34 | |
| 35 | Then go back to '/usr/src/linux/' and 'make config' to build the new |
| 36 | configuration for your kernel. If you want to use the GoldStar driver |
| 37 | like a module, don't select 'GoldStar CDROM support'. By the way, you |
| 38 | have to include the iso9660 filesystem. |
| 39 | |
| 40 | Now start compiling the kernel with 'make zImage'. |
| 41 | If you want to use the driver as a module, you have to do 'make modules' |
| 42 | and 'make modules_install', additionally. |
| 43 | Install your new kernel as usual - maybe you do it with 'make zlilo'. |
| 44 | |
| 45 | Before you can use the driver, you have to |
| 46 | mknod /dev/gscd0 b 16 0 |
| 47 | to create the appropriate device file (you only need to do this once). |
| 48 | |
| 49 | If you use modules, you can try to insert the driver. |
| 50 | Say: 'insmod /usr/src/linux/modules/gscd.o' |
| 51 | or: 'insmod /usr/src/linux/modules/gscd.o gscd=<address>' |
| 52 | The driver should report its results. |
| 53 | |
| 54 | That's it! Mount a disk, i.e. 'mount -rt iso9660 /dev/gscd0 /cdrom' |
| 55 | |
| 56 | Feel free to report errors and suggestions to the following address. |
| 57 | Be sure, I'm very happy to receive your comments! |
| 58 | |
| 59 | Oliver Raupach Hannover, Juni 1995 |
| 60 | (raupach@nwfs1.rz.fh-hannover.de) |