Maybe I got an old bug that I can not eject the CD-ROM tray from my laptop












2















Laptop:DELL inspiron 15 3521 (from 2014), BIOS version A12
OS: Xubuntu 16.04.6 , Kernel: 4.4.0-141-generic.
I tried everything I found on internet (almost all of them are old posts +- 5,6 years-old) with no success! The only way for me is to introduce a pin on CD drive hole to pull up the tray. The CD drive works, it's recognized by the system, I can play and so on. Is there a fix to this issue ? I attached a output from (sudo eject -rv) command. Appreciate some help.
"eject -rv" output










share|improve this question























  • Have you unmount it? Ejecting can be locked if device is busy with mount.

    – LeonidMew
    Mar 14 at 20:48











  • @LeonidMew I think so, but if I didn't unmount how to check if the device is busy with mount?

    – vladimir pavloski
    Mar 14 at 21:01











  • mount command shows all mounted devices

    – LeonidMew
    Mar 14 at 21:10











  • ok, the output of mount command is a little long, what I have to look for ? sr0 , cdrom , cd , dvd , ... I can use grep for that.

    – vladimir pavloski
    Mar 14 at 23:18
















2















Laptop:DELL inspiron 15 3521 (from 2014), BIOS version A12
OS: Xubuntu 16.04.6 , Kernel: 4.4.0-141-generic.
I tried everything I found on internet (almost all of them are old posts +- 5,6 years-old) with no success! The only way for me is to introduce a pin on CD drive hole to pull up the tray. The CD drive works, it's recognized by the system, I can play and so on. Is there a fix to this issue ? I attached a output from (sudo eject -rv) command. Appreciate some help.
"eject -rv" output










share|improve this question























  • Have you unmount it? Ejecting can be locked if device is busy with mount.

    – LeonidMew
    Mar 14 at 20:48











  • @LeonidMew I think so, but if I didn't unmount how to check if the device is busy with mount?

    – vladimir pavloski
    Mar 14 at 21:01











  • mount command shows all mounted devices

    – LeonidMew
    Mar 14 at 21:10











  • ok, the output of mount command is a little long, what I have to look for ? sr0 , cdrom , cd , dvd , ... I can use grep for that.

    – vladimir pavloski
    Mar 14 at 23:18














2












2








2








Laptop:DELL inspiron 15 3521 (from 2014), BIOS version A12
OS: Xubuntu 16.04.6 , Kernel: 4.4.0-141-generic.
I tried everything I found on internet (almost all of them are old posts +- 5,6 years-old) with no success! The only way for me is to introduce a pin on CD drive hole to pull up the tray. The CD drive works, it's recognized by the system, I can play and so on. Is there a fix to this issue ? I attached a output from (sudo eject -rv) command. Appreciate some help.
"eject -rv" output










share|improve this question














Laptop:DELL inspiron 15 3521 (from 2014), BIOS version A12
OS: Xubuntu 16.04.6 , Kernel: 4.4.0-141-generic.
I tried everything I found on internet (almost all of them are old posts +- 5,6 years-old) with no success! The only way for me is to introduce a pin on CD drive hole to pull up the tray. The CD drive works, it's recognized by the system, I can play and so on. Is there a fix to this issue ? I attached a output from (sudo eject -rv) command. Appreciate some help.
"eject -rv" output







xubuntu cd eject






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 14 at 20:43









vladimir pavloskivladimir pavloski

334




334













  • Have you unmount it? Ejecting can be locked if device is busy with mount.

    – LeonidMew
    Mar 14 at 20:48











  • @LeonidMew I think so, but if I didn't unmount how to check if the device is busy with mount?

    – vladimir pavloski
    Mar 14 at 21:01











  • mount command shows all mounted devices

    – LeonidMew
    Mar 14 at 21:10











  • ok, the output of mount command is a little long, what I have to look for ? sr0 , cdrom , cd , dvd , ... I can use grep for that.

    – vladimir pavloski
    Mar 14 at 23:18



















  • Have you unmount it? Ejecting can be locked if device is busy with mount.

    – LeonidMew
    Mar 14 at 20:48











  • @LeonidMew I think so, but if I didn't unmount how to check if the device is busy with mount?

    – vladimir pavloski
    Mar 14 at 21:01











  • mount command shows all mounted devices

    – LeonidMew
    Mar 14 at 21:10











  • ok, the output of mount command is a little long, what I have to look for ? sr0 , cdrom , cd , dvd , ... I can use grep for that.

    – vladimir pavloski
    Mar 14 at 23:18

















Have you unmount it? Ejecting can be locked if device is busy with mount.

– LeonidMew
Mar 14 at 20:48





Have you unmount it? Ejecting can be locked if device is busy with mount.

– LeonidMew
Mar 14 at 20:48













@LeonidMew I think so, but if I didn't unmount how to check if the device is busy with mount?

– vladimir pavloski
Mar 14 at 21:01





@LeonidMew I think so, but if I didn't unmount how to check if the device is busy with mount?

– vladimir pavloski
Mar 14 at 21:01













mount command shows all mounted devices

– LeonidMew
Mar 14 at 21:10





mount command shows all mounted devices

– LeonidMew
Mar 14 at 21:10













ok, the output of mount command is a little long, what I have to look for ? sr0 , cdrom , cd , dvd , ... I can use grep for that.

– vladimir pavloski
Mar 14 at 23:18





ok, the output of mount command is a little long, what I have to look for ? sr0 , cdrom , cd , dvd , ... I can use grep for that.

– vladimir pavloski
Mar 14 at 23:18










1 Answer
1






active

oldest

votes


















0














On my system the simpliest eject command (without arguments) ejects DVD normally.



But with your command eject -rv you have specified implicit use of -r command and -v for verbose output (see man eject for details):




There are four different methods of ejecting, depending on whether the device is a CD-ROM, SCSI device, removable floppy, or tape. By default eject tries all four methods in order until it succeeds.

...
-v This makes eject run in verbose mode; more information is displayed about what the command is doing.

...
-r This option specifies that the drive should be ejected using a CDROM eject command.




So your device may not support this command set.



On my system I see that eject -s works, it means using SCSI command set:




-s This option specifies that the drive should be ejected using SCSI commands.






You can also try with Gnome Disks (gnome-disks): find CD/DVD drive icon here, click on stop button below partitions in the right then click Eject:




gnome-disks




Markings:




  1. stop button with hint Unmount selected partition

  2. eject button with hint Eject this device


Info:




  • the Device field indicates that it is /dev/sr0 (for my system)

  • clicking Eject button really eject tray, I'm running Linux kernel 4.4.0-138-generic if it matters.

  • yesterday I tried the same with internal IDE DVD-RW drive and same kernel and it worked as expected.






share|improve this answer


























  • @NOrbert it's not working, eject -s gives -> eject: unable to eject, last error: Success, and from Gnome Disks I got again an error -> Command-line eject /dev/sr0 exited with non-zero exit status 1 (udisks-error-quark, 0)

    – vladimir pavloski
    Mar 15 at 16:12











  • One remark : CD-ROM drive has no Disc , it's empty.

    – vladimir pavloski
    Mar 15 at 16:14











  • maybe I have to update and upgrade my system to see whether or not makes differences, or it's a mechanical issue.thanks

    – vladimir pavloski
    Mar 15 at 16:17











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1125742%2fmaybe-i-got-an-old-bug-that-i-can-not-eject-the-cd-rom-tray-from-my-laptop%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














On my system the simpliest eject command (without arguments) ejects DVD normally.



But with your command eject -rv you have specified implicit use of -r command and -v for verbose output (see man eject for details):




There are four different methods of ejecting, depending on whether the device is a CD-ROM, SCSI device, removable floppy, or tape. By default eject tries all four methods in order until it succeeds.

...
-v This makes eject run in verbose mode; more information is displayed about what the command is doing.

...
-r This option specifies that the drive should be ejected using a CDROM eject command.




So your device may not support this command set.



On my system I see that eject -s works, it means using SCSI command set:




-s This option specifies that the drive should be ejected using SCSI commands.






You can also try with Gnome Disks (gnome-disks): find CD/DVD drive icon here, click on stop button below partitions in the right then click Eject:




gnome-disks




Markings:




  1. stop button with hint Unmount selected partition

  2. eject button with hint Eject this device


Info:




  • the Device field indicates that it is /dev/sr0 (for my system)

  • clicking Eject button really eject tray, I'm running Linux kernel 4.4.0-138-generic if it matters.

  • yesterday I tried the same with internal IDE DVD-RW drive and same kernel and it worked as expected.






share|improve this answer


























  • @NOrbert it's not working, eject -s gives -> eject: unable to eject, last error: Success, and from Gnome Disks I got again an error -> Command-line eject /dev/sr0 exited with non-zero exit status 1 (udisks-error-quark, 0)

    – vladimir pavloski
    Mar 15 at 16:12











  • One remark : CD-ROM drive has no Disc , it's empty.

    – vladimir pavloski
    Mar 15 at 16:14











  • maybe I have to update and upgrade my system to see whether or not makes differences, or it's a mechanical issue.thanks

    – vladimir pavloski
    Mar 15 at 16:17
















0














On my system the simpliest eject command (without arguments) ejects DVD normally.



But with your command eject -rv you have specified implicit use of -r command and -v for verbose output (see man eject for details):




There are four different methods of ejecting, depending on whether the device is a CD-ROM, SCSI device, removable floppy, or tape. By default eject tries all four methods in order until it succeeds.

...
-v This makes eject run in verbose mode; more information is displayed about what the command is doing.

...
-r This option specifies that the drive should be ejected using a CDROM eject command.




So your device may not support this command set.



On my system I see that eject -s works, it means using SCSI command set:




-s This option specifies that the drive should be ejected using SCSI commands.






You can also try with Gnome Disks (gnome-disks): find CD/DVD drive icon here, click on stop button below partitions in the right then click Eject:




gnome-disks




Markings:




  1. stop button with hint Unmount selected partition

  2. eject button with hint Eject this device


Info:




  • the Device field indicates that it is /dev/sr0 (for my system)

  • clicking Eject button really eject tray, I'm running Linux kernel 4.4.0-138-generic if it matters.

  • yesterday I tried the same with internal IDE DVD-RW drive and same kernel and it worked as expected.






share|improve this answer


























  • @NOrbert it's not working, eject -s gives -> eject: unable to eject, last error: Success, and from Gnome Disks I got again an error -> Command-line eject /dev/sr0 exited with non-zero exit status 1 (udisks-error-quark, 0)

    – vladimir pavloski
    Mar 15 at 16:12











  • One remark : CD-ROM drive has no Disc , it's empty.

    – vladimir pavloski
    Mar 15 at 16:14











  • maybe I have to update and upgrade my system to see whether or not makes differences, or it's a mechanical issue.thanks

    – vladimir pavloski
    Mar 15 at 16:17














0












0








0







On my system the simpliest eject command (without arguments) ejects DVD normally.



But with your command eject -rv you have specified implicit use of -r command and -v for verbose output (see man eject for details):




There are four different methods of ejecting, depending on whether the device is a CD-ROM, SCSI device, removable floppy, or tape. By default eject tries all four methods in order until it succeeds.

...
-v This makes eject run in verbose mode; more information is displayed about what the command is doing.

...
-r This option specifies that the drive should be ejected using a CDROM eject command.




So your device may not support this command set.



On my system I see that eject -s works, it means using SCSI command set:




-s This option specifies that the drive should be ejected using SCSI commands.






You can also try with Gnome Disks (gnome-disks): find CD/DVD drive icon here, click on stop button below partitions in the right then click Eject:




gnome-disks




Markings:




  1. stop button with hint Unmount selected partition

  2. eject button with hint Eject this device


Info:




  • the Device field indicates that it is /dev/sr0 (for my system)

  • clicking Eject button really eject tray, I'm running Linux kernel 4.4.0-138-generic if it matters.

  • yesterday I tried the same with internal IDE DVD-RW drive and same kernel and it worked as expected.






share|improve this answer















On my system the simpliest eject command (without arguments) ejects DVD normally.



But with your command eject -rv you have specified implicit use of -r command and -v for verbose output (see man eject for details):




There are four different methods of ejecting, depending on whether the device is a CD-ROM, SCSI device, removable floppy, or tape. By default eject tries all four methods in order until it succeeds.

...
-v This makes eject run in verbose mode; more information is displayed about what the command is doing.

...
-r This option specifies that the drive should be ejected using a CDROM eject command.




So your device may not support this command set.



On my system I see that eject -s works, it means using SCSI command set:




-s This option specifies that the drive should be ejected using SCSI commands.






You can also try with Gnome Disks (gnome-disks): find CD/DVD drive icon here, click on stop button below partitions in the right then click Eject:




gnome-disks




Markings:




  1. stop button with hint Unmount selected partition

  2. eject button with hint Eject this device


Info:




  • the Device field indicates that it is /dev/sr0 (for my system)

  • clicking Eject button really eject tray, I'm running Linux kernel 4.4.0-138-generic if it matters.

  • yesterday I tried the same with internal IDE DVD-RW drive and same kernel and it worked as expected.







share|improve this answer














share|improve this answer



share|improve this answer








edited Mar 15 at 7:56

























answered Mar 15 at 7:41









N0rbertN0rbert

24.4k851115




24.4k851115













  • @NOrbert it's not working, eject -s gives -> eject: unable to eject, last error: Success, and from Gnome Disks I got again an error -> Command-line eject /dev/sr0 exited with non-zero exit status 1 (udisks-error-quark, 0)

    – vladimir pavloski
    Mar 15 at 16:12











  • One remark : CD-ROM drive has no Disc , it's empty.

    – vladimir pavloski
    Mar 15 at 16:14











  • maybe I have to update and upgrade my system to see whether or not makes differences, or it's a mechanical issue.thanks

    – vladimir pavloski
    Mar 15 at 16:17



















  • @NOrbert it's not working, eject -s gives -> eject: unable to eject, last error: Success, and from Gnome Disks I got again an error -> Command-line eject /dev/sr0 exited with non-zero exit status 1 (udisks-error-quark, 0)

    – vladimir pavloski
    Mar 15 at 16:12











  • One remark : CD-ROM drive has no Disc , it's empty.

    – vladimir pavloski
    Mar 15 at 16:14











  • maybe I have to update and upgrade my system to see whether or not makes differences, or it's a mechanical issue.thanks

    – vladimir pavloski
    Mar 15 at 16:17

















@NOrbert it's not working, eject -s gives -> eject: unable to eject, last error: Success, and from Gnome Disks I got again an error -> Command-line eject /dev/sr0 exited with non-zero exit status 1 (udisks-error-quark, 0)

– vladimir pavloski
Mar 15 at 16:12





@NOrbert it's not working, eject -s gives -> eject: unable to eject, last error: Success, and from Gnome Disks I got again an error -> Command-line eject /dev/sr0 exited with non-zero exit status 1 (udisks-error-quark, 0)

– vladimir pavloski
Mar 15 at 16:12













One remark : CD-ROM drive has no Disc , it's empty.

– vladimir pavloski
Mar 15 at 16:14





One remark : CD-ROM drive has no Disc , it's empty.

– vladimir pavloski
Mar 15 at 16:14













maybe I have to update and upgrade my system to see whether or not makes differences, or it's a mechanical issue.thanks

– vladimir pavloski
Mar 15 at 16:17





maybe I have to update and upgrade my system to see whether or not makes differences, or it's a mechanical issue.thanks

– vladimir pavloski
Mar 15 at 16:17


















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1125742%2fmaybe-i-got-an-old-bug-that-i-can-not-eject-the-cd-rom-tray-from-my-laptop%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Category:香港粉麵

List *all* the tuples!

Channel [V]