lkml.org 
[lkml]   [1996]   [Mar]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: IDEA for CD auto eject/(dis)mount

[attributions lost, sorry]
>> Such already exists, and seems to be supported by most drivers. In
>> include/linux/cdrom.h, the following are defined:
>>
>> #define CDROMCLOSETRAY 0x5319 /* pendant of CDROMEJECT */
>>
>
>Errr, but if you check the bit above...
>/*
> * these ioctls are used in optcd.c
> */
>#define CDROMREADALL 0x5318 /* read all 2646 bytes */
>#define CDROMCLOSETRAY 0x5319 /* pendant of CDROMEJECT */
>
>In fact, I only see the optcd.c file using it!
>None of the other cdroms, nor SCSI make a reference to it at all.

I've been putting forth some effort to get people to implement
the missing cdrom audio ioctls implemented. I think volume read went into 77.
I've got a CDROMCLOSETRAY ioctl patch that works great; I'm not sure why
it hasn't gone in the kernel yet--still waiting on that.

I'd push to get CDROMCLOSETRAY put into the IDE driver too, except
that I don't have one of those creatures, so I can't test it very well.

Steve


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