From owner-freebsd-bugs Thu Jan 9 20:23:10 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id UAA12846 for bugs-outgoing; Thu, 9 Jan 1997 20:23:10 -0800 (PST) Received: from hydrogen.nike.efn.org (metriclient-9.uoregon.edu [128.223.172.9]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id UAA12833 for ; Thu, 9 Jan 1997 20:23:02 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by hydrogen.nike.efn.org (8.8.4/8.8.4) with SMTP id UAA28739; Thu, 9 Jan 1997 20:22:05 -0800 (PST) Date: Thu, 9 Jan 1997 20:22:02 -0800 (PST) From: John-Mark Gurney Reply-To: John-Mark Gurney To: Frank Durda IV cc: freebsd-bugs@freebsd.org, joerg_wunsch@uriah.heep.sax.de Subject: Re: bin/2303 & kern/2423 CDs and BCD numbers - its 99 DECIMAL not HEX In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Thu, 9 Jan 1997, Frank Durda IV wrote: [...] > Now, there are plenty of makes of CD-ROM drives that return info to > the host in BCD, and this is because most of the fields on the actual disk > are in BCD. This means less work for the drive. The Matsushita proprietary > interface drives are good examples of drives that do this. > > However, BCD or not, any disc with more than 99 DECIMAL tracks is > encoded incorrectly, will malfunction in many different drives, > and technically the company that pressed the disc is in violation of > their CD manufacturing license to Philips. (Supposedly there is a > reward for reporting license violators...) [...] actually... as it turns out I'm pretty sure that this drive returns all track id's as bcd... so I have pattched the kernel to add a specific option to enable bcd->binary conversion and back for broken drives... you have to add an entry to the quirks list for the drives that need bcd conversion... so it won't affect the rest of the `normal' cdroms... if you would like to look at the patches check out kern/2423... I've also done a follow up at bin/2303 that states that when kern/2423 is committed than bin/2303 should be closed as kern/2423 fixes it... and thanks for the info... ttyl... John-Mark gurney_j@efn.org http://resnet.uoregon.edu/~gurney_j/ Modem/FAX: (541) 683-6954 (FreeBSD Box) Live in Peace, destroy Micro$oft, support free software, run FreeBSD (unix)