Date: Tue, 9 Apr 1996 00:48:53 -0400 From: Superuser (tcsh) <root@dunquin> To: rgrimes@GndRsh.aac.dev.com, cshenton@it.hq.nasa.gov, alk@Think.COM Cc: freebsd-hardware@FreeBSD.org Subject: Using Sony CDU-76S for audio CDs Message-ID: <199604090448.AAA00528@dunquin>
next in thread | raw e-mail | index | archive | help
Several people asked for this; I pass it along and note that I'm not really up to judging it's quality, other than to say that it works for me. BTW, the patch didn't work, but manually performing the edits did. My system: FreeBSD 2.1-STABLE #0: Fri Apr 5 21:08:36 EST 1996 root@dunquin.bu.edu:/usr/src/sys/compile/DUNQUIN CPU: 133-MHz Pentium 735\\90 or 815\\100 (Pentium-class CPU) Origin = "GenuineIntel" Id = 0x52b Stepping=11 Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8> real memory = 16777216 (16384K bytes) ncr0 <ncr 53c810 scsi> rev 2 int a irq 11 on pci0:12 (ncr0:0:0): "FUJITSU M1606S-512 6234" type 0 fixed SCSI 2 (ncr0:3:0): "SONY CD-ROM CDU-76S 1.1c" type 5 removable SCSI 2 (ncr0:6:0): "ARCHIVE ANCDA 2750 28077 -003" type 1 removable SCSI 2 Good luck. Russ Murphy ------------------------------------------------------ Date: Thu, 21 Mar 96 12:38:38 +0100 From: Jean-Marc Zucconi <jmz@cabri.obs-besancon.fr> To: rdmurphy@acs.bu.edu Cc: questions@FreeBSD.ORG In-Reply-To: <199603210131.UAA171296@acs4.bu.edu> (rdmurphy@acs.bu.edu) Subject: Re: Playing audio CD X-Mailer: Emacs Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >>>>> rdmurphy writes: > I have a question about playing an audio CD (through headphones) > on my CD-ROM drive. I've tried using a couple different programs > without success. Using "cdplay", I can access the drive, in the > sense that it lists the tracks, but it won't play the CD. When I > attempt to play it, the following message is generated: > cd0(ncr0:3:0): ILLEGAL REQUEST asc:26,0 Invalid field in parameter list > Any idea what's going on here? Go to /sys/scsi, apply the following patch to cd.c and recompile *************** *** 1093,1098 **** --- 1093,1104 ---- scsi_cmd.byte2 |= SMS_PF; scsi_cmd.length = sizeof(*data) & 0xff; data->header.data_length = 0; + /* + * SONY drives do not allow a mode select with a medium_type + * value that has just been returned by a mode sense; use a + * medium_type of 0 (Default) instead. + */ + data->header.medium_type = 0; return (scsi_scsi_cmd(SCSI_LINK(&cd_switch, unit), (struct scsi_generic *) &scsi_cmd, sizeof(scsi_cmd), Jean-Marc _____________________________________________________________________________ Jean-Marc Zucconi Observatoire de Besancon F 25010 Besancon cedex PGP Key: finger jmz@cabri.obs-besancon.fr =============================================================================
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199604090448.AAA00528>