My keyboard switch for ejecting the CDROM does not work though it displays an eject button on the screen. I need to make it work. I know ejecting a cdrom using system call is as simple as
ioctl(cdromfd,CDROMEJECT,0)
But I don't know how to connect the an executable that contains the above system call and the event of pressing the eject key? Or shall I rely on kernel level? If then how?
eject-- have you installed that? (Doeseject /dev/cdromin a terminal work?) – sr_ Jan 15 at 8:35ejectcommand. – goldilocks Jan 15 at 11:47