lkml.org 
[lkml]   [1996]   [May]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectNew CD-Rom-Code: How detect if cd is in drive?
    Date

    Hi,

    I just read the docs about the new CD-Rom-interface and I think
    its execellent...All the ioctls I waited for so long are there
    (eg. CHECK_DRIVE_STATUS, CHECK_DISK_STATUS...), but
    Only a small fraction of the calls are actually working yet...
    I know its quite bunch of work to implement all these call in all
    the hardware dependent-drivers.
    Are there plans to to have this ready when 2.0 comes out?

    I am asking because I need a nice way to check if a CD is in the
    drive and ready for operation.
    This is easy for SCSI-CD-Rom (send TEST_UNIT_READY and check the
    returned sense-key), but how can I do this for NON-SCSI-Drives?
    (As long the above mentioned ioctls are not working).

    Thanx for any hints,

    Thomas Niederreiter


    ___ ___
    / | \ ___________ | REAL : Thomas Niederreiter: Munich, Germany
    / ~ \/ _ \_ __ \ | EMAIL : tn@mailserv.rz.fh-muenchen.de
    \ Y ( <_> ) | \/ | MUD/IRC: Hor/_Hor
    \___|_ / \____/|__| |
    \/ All I want is a warm bed and a kind word and unlimited power
    -- Ashleigh Brilliant




    \
     
     \ /
      Last update: 2005-03-22 13:37    [W:0.017 / U:0.840 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site