I use xubuntu 12.04 with 3.5.0-22 kernel $ uname -a Linux Acer 3.5.0-22-generic #34~precise1-Ubuntu SMP Wed Jan 9 21:45:40 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
I found that kernel polling does not work with some optical drives, even if I do: echo 2000 > /sys/block/sr?/events_poll_msecs echo 2000 > /sys/module/block/parameters/events_dfl_poll_msecs I can't eject my embedded notebook drive (ID_SERIAL=HL-DT-STDVDRAM_GT31N_KZLAC5D2847) with eject button, but eject /dev/sr0 is working, and eject -i 0 /dev/sr0 is working to. And no udev events is generated while pressing eject button. I test this with external USB drive to (ID_SERIAL=TS8XDVDR_Transcend_613143333435363738394B4C-0:0). But with this drive eject button is working, and udev events is generated. Ok, but I found more. With those external USB drive eject button stops working while disk is mounted. And while disk is mounted udev receive no eject event from drive eject button. But if I unmount disk by hands after pressing drive eject button, drive ejects itself (and udev receive change event). Seems like while disk is mounted, kernel eject event is waits in some kind of queue. For workaround I was trying to restore udisks polling (11.04 behavior) writing some udev rules to set ATTR{events_poll_msecs}="-1" and disable tray locking on my devices. It's working, udisks polling is enabled, but again while disk is mounted I can eject it with drive eject button, but no udisks/udev events is generated, and no unmount is performed, I have to unmount it manually. I even cannot enable old udisks behavior that was working fine for me in 11.04. Fix it please! Two years is passed. ** Tags added: apport-collected -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/890592 Title: CD drive eject button does not work To manage notifications about this bug go to: https://bugs.launchpad.net/nautilus/+bug/890592/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs