Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Feb 1998 14:58:15 -0800
From:      Amancio Hasty <hasty@rah.star-gate.com>
To:        Mike Smith <mike@smith.net.au>
Cc:        The Hermit Hacker <scrappy@hub.org>, freebsd-current@FreeBSD.ORG
Subject:   Re: ATAPI related patch .. 
Message-ID:  <199802232258.OAA00974@rah.star-gate.com>
In-Reply-To: Your message of "Mon, 23 Feb 1998 14:18:42 PST." <199802232218.OAA12635@dingo.cdrom.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

In the past we have supported reading Video CDs as well as audio CD via
the low level scsi routines. So yes I can read audio off a cd via a low
level ioctl call. I am not objecting to your comment just merely wish
to express that there is already a precedence for doing i/o with ioctls.

	Amancio

> > I thought that the low level scsi i/o routines did just that io with
> > ioctls...
> 
> The low-level SCSI I/O routines need a freeform I/O approach, and 
> they're designed for casual poking at things in an out-of-band fashion, 
> sort of like a SCSI geek-port.  
> 
> Luigi's hack is for CDDA (sucking audio off the CD) acccess; this is 
> basically bulk data transfer.  Being a read-like operation, it's better 
> handled as such.
> 
> With a little more work, once you support audio accesses in the driver 
> properly, you become able to produce a "cdrom audio FS", where tracks 
> on the disk appear as files when the disk is mounted.
> 
> I appreciate that Luigi's hack is expedient, and as I said if there's a 
> strong precedent (ie. binary compatability issues) then sure, we should 
> support it.
> 
> -- 
> \\  Sometimes you're ahead,       \\  Mike Smith
> \\  sometimes you're behind.      \\  mike@smith.net.au
> \\  The race is long, and in the  \\  msmith@freebsd.org
> \\  end it's only with yourself.  \\  msmith@cdrom.com
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-current" in the body of the message



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199802232258.OAA00974>