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

>I am asking because I need a nice way to check if a CD is in the
>drive and ready for operation.

You should be able to use the read subchannel command for polling
the drive. Workman does this, for example.

sss


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.026 / U:0.272 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site