1
I am using Linux.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?
Read the comment of the following question. http://unix.stackexchange.com/questions/61319/making-the-keyboard-eject-switch-work
– PaulDaviesC – 2013-01-18T04:59:19.007