Usenet comp.os.linux.announce (1993-2013)
 help / color / mirror / Atom feed
* SLS 1.03 and SBPCD
@ 1993-10-08 17:04 Eberhard Moenkeberg
  0 siblings, 0 replies; only message in thread
From: Eberhard Moenkeberg @ 1993-10-08 17:04 UTC (permalink / raw)


Once more (because SLS did not fix that problem yet, and because
sbpcd05.tgz will come a little bit later than prospected)...

With the current SLS 1.03, the included driver for SoundBlaster and
Lasermate CDROMs will not work - due to incomplete setup. Additionally,
it will nerve you if you don't want to have it.

If you don't want to be "pleased" to include SB Pro CDROM support, you
have to change /usr/src/linux/kernel/blk_drv/Makefile:
eliminate "sbpcd.o" from the "OBJS=" line and put the following lines
after that line:

> ifdef CONFIG_BLK_DEV_SBPCD
> OBJS := $(OBJS) sbpcd.o
> endif

BTW: this method of conditionally including objects should get used
more seriously... to keep the kernels neat. :-)
 
If you want the SB Pro CDROM driver to work, you have to get the "original"
sbpcd.c from the sbpcd0.4.tar.gz package (to find at tsx-11, sunsite, nic,
and at its "home" ftp.gwdg.de:/pub/linux/cdrom/drivers/sbpcd04.tgz).

That archive is neither rotten nor broken - is is just tarred with GNU
tar (the standard for linux), a superset of all rotten and broken tars. :-)

Don't apply the kernel patches for sbpcd again! Peter has already done
that with the SLS 1.03 distribution. Instead, apply the following patches
to the file sbpcd.c from the sbpcd0.4 package (DO NOT use the sbpcd.c which
comes with SLS) and move the result into /usr/src/linux/kernel/blk_drv.

Further, you have to setup your interface parameters and do a
"#define PL11 1" within sbpcd.c.

A "mknod /dev/sbpcd b 25 0" has to get done, too.

==== begin patches, to apply to sbpcd.c from sbpcd0.4.tar.gz ====
*** /S1/usr/src/linux/kernel/blk_drv/sbpcd.c   Wed Aug 18 13:48:13 1993
***************
*** 2917,2922 ****
  /*=======================================================================*/
  /*=======================================================================*/
  /*
+  * setup for SLS 1.03 (currently just a fake - no valid setup this way)
+  */
+ void sbpcd_setup(char *str, int *ints)
+ { }
+
+ /*=======================================================================*/
+ /*=======================================================================*/
+ /*
   * adopted from sr.c
   *
   * Check if the media has changed in the CD-ROM drive.
***************
*** 2923,2929 ****
   * used externally (isofs/inode.c) - but still does not work.
   *
   */
! int check_sbpcd_media_change(int full_dev)
  {
    int st;

   * used externally (isofs/inode.c) - but still does not work.
   *
   */
! int check_sbpcd_media_change(int full_dev, int unused)
  {
    int st;

==== end patches ====

      Eberhard Moenkeberg          FIDO:     2:241/3410.27  
      Reinholdstr. 14              Internet: emoenke@gwdg.de
      D-37083 Goettingen, Germany  Voice:    ++49-551-704325

-- 
Send submissions for comp.os.linux.announce to: linux-announce@tc.cornell.edu


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1993-10-08 17:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-10-08 17:04 SLS 1.03 and SBPCD Eberhard Moenkeberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox