From owner-freebsd-scsi Fri Jun 15 23: 6: 9 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from front5m.grolier.fr (front5m.grolier.fr [195.36.216.55]) by hub.freebsd.org (Postfix) with ESMTP id 18D3237B403 for ; Fri, 15 Jun 2001 23:06:02 -0700 (PDT) (envelope-from dockes@wanadoo.fr) Received: from hautmedoc.dockes.com (bas6-33.idf7-1.club-internet.fr [195.36.253.33]) by front5m.grolier.fr (8.9.3/No_Relay+No_Spam_MGC990224) with ESMTP id IAA09514; Sat, 16 Jun 2001 08:05:35 +0200 (MET DST) Received: (from dockes@localhost) by hautmedoc.dockes.com (8.9.3/8.9.3) id IAA60799; Sat, 16 Jun 2001 08:05:26 +0200 (MEST) Date: Sat, 16 Jun 2001 08:05:26 +0200 (MEST) Message-Id: <200106160605.IAA60799@hautmedoc.dockes.com> From: Jean-Francois Dockes To: "Kenneth D. Merry" Cc: "Roman Y. Bogdanov" , freebsd-scsi@FreeBSD.ORG Subject: Re: CD speed? In-Reply-To: <20010615125447.A1613@panzer.kdm.org> References: <482746108.20010616024401@ktk.ru> <20010615125447.A1613@panzer.kdm.org> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Kenneth D. Merry writes: > On Sat, Jun 16, 2001 at 02:44:01 +0800, Roman Y. Bogdanov wrote: > > I have plextor px-40 SCSI II CDROM. > > Can I use camcontrol for change speed setting of this cdrom? > [skip] > My guess is the speed is set in a mode page somewhere, so if you really > want to set it, you can try hunting around in the mode pages. (See the > camcontrol(8) man page for details.) I think that plextor uses (nonstandard?) mode select page code 0x31 for setting the speed. The page is like: byte0 0x31 byte1 0x02 byte2 speedfactor byte3 Rsvd|DisAv|DisWt|SpdMode byte 3 is probably best left to 0. (DisAv: disable avoid vibration, DisWt: disable waiting, SpdMode affects speed handling during error recovery) Speedfactor is what you want to play with. 0 is normally 1X, 0xff max speed. Values between 0 and 0xff increase the speed in ways that depend on the drive model. This probably works also with some other brands. Also, this normally only affects READ, not PLAY :) JF To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message