Artem Kachitchkine wrote:
>> Why can't the eject button cause the same action - try to unmount and 
>> then eject? Or at very least cause a pop up message instruction on what 
>> to do to get the disk out instead of just not working. I noticed while 
>>     
>
> It is possible. All you have to do is either enhance the sd(7D) driver's 
> DKIOCSTATE ioctl to poll for the eject button presses in addition to 
> disc state, or to switch HAL from using this ioctl to its own polling 
> algorithm using uscsi(7I). In either case, HAL would emit the 
> "EjectPressed" DBus signal, which would be handled by the volume manager 
> in the same way as when you click on the eject icon/menu. There is an 
> RFE filed for this - you are welcome to work on it.
>   

I could not find a RFE for that and hence my posting. What is the RFE 
number?

>   
>> many people just reboot Solaris when they want to take the disk out...
>>     
>
> I find it hard to believe. Optical drives have not always supported this 
> feature, it's a relatively recent addition. Even Windows 95 users knew 
> how to right-click on the drive icon and choose "Eject". Of course, 
> there are users who think their CDROM drive is a cup holder, but I 
> wouldn't view them as a target demographic for the OS design.
>   
I thought I saw a posting about it and found it pretty amusing. In any 
case, I just wanted to bringup the point that the behavior of the eject 
button is not intuitive. Regarding Windows 95... I wonder how many  
college students you can find now that ever even saw Win95.. In my 
opinion if inserting a disk into a CDROM causes auto mounting, then 
pressing the eject button should cause auto unmounting or whatever it 
takes to get the disk out or just a message but not a nop. Also, I don't 
think that someone that just installed OpenSolaris should necessarily 
know about file systems to play a DVD; it should just work. I guess that 
would be addressed by the RFE you mentioned. I'll search for it but 
please let me know if you know the number.
Thanks,
-Ilya

> -Artem
> _______________________________________________
> desktop-discuss mailing list
> desktop-discuss at opensolaris.org
>   


Reply via email to