Le 2003-02-15, Kenneth D. Merry écrivait :

>  - Automatically detect CDROM drives that can't handle 6 byte mode
>    sense and mode select, and adjust our command size accordingly.
>    More information on that below.
> 
>  - MODE_SENSE and MODE_SELECT translation removed in ATAPICAM and in
>    the umass(4) driver, since there's no way for that to work properly
>    (see below).

I'm afraid things are not as simple as that. Unfortunately you cannot
expect ATAPI drives to properly reject MODE_{SENSE,SELECT}_6 and try the
_10 variants in that case: the reason why ATAPICAM inconditionnally
translates the _6 commands into _10 is because some ATAPI drives have
been found to lock up when they rececive the _6 commands, whereas the
ATAPI specification only mandates the implementation of the _10
versions.
 
>  - The media validation routine also reads the table of contents off
>    the drive.

Great! That could also allow the creation of per-track /dev nodes, as
acd has.

Thomas.

-- 
    [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to