You are not logged in.

#1 2017-07-14 18:33:46

ravievr
Member
From: India
Registered: 2017-02-24
Posts: 5

CD/DVD DRIVE Opening Automatically Several Times

I tried disabling "sr_mod" and "cdrom" modules but still it's opening. I tried seeing the forums but none of them worked for me, so I'm not able to figure out whether it software or hardware problem.

Can anyone please help me or give me some suggestion.

Last edited by ravievr (2017-07-15 11:20:54)

Offline

#2 2017-07-14 18:55:25

smirky
Member
From: Bulgaria
Registered: 2013-02-23
Posts: 277
Website

Re: CD/DVD DRIVE Opening Automatically Several Times

Sounds like a hw problem. Does it do it when you're in the BIOS/UEFI?


Personal spot  ::  https://www.smirky.net/  ::  Try not to get lost!

Offline

#3 2017-07-14 18:59:35

seth
Member
Registered: 2012-09-03
Posts: 49,603

Re: CD/DVD DRIVE Opening Automatically Several Times

If there's a disk, remove it.
Otherwise check whether if fully closes.
When they turn old, the tray tends to displace. Pass it a manual extra-push when it's supposed to be closed and see whether this stops.

Online

#4 2017-07-14 19:52:01

JohnBobSmith
Member
From: Canada
Registered: 2014-11-29
Posts: 804

Re: CD/DVD DRIVE Opening Automatically Several Times

I'm not trying to insult your intelligence, but make sure you aren't pushing on the eject button as your trying to close the drive. Happened to me (I know, fail...) so I just wanted to mention this to you.


I am diagnosed with bipolar disorder. As it turns out, what I thought was my greatest weakness is now my greatest strength.

Everyday, I make a conscious choice to overcome my challenges and my problems. It's not easy, but its better than the alternative...

Offline

#5 2017-07-15 12:23:34

ravievr
Member
From: India
Registered: 2017-02-24
Posts: 5

Re: CD/DVD DRIVE Opening Automatically Several Times

smirky wrote:

Sounds like a hw problem. Does it do it when you're in the BIOS/UEFI?

Problem not present in BIOS/UEFI mode.

Offline

#6 2017-07-15 14:46:41

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,728

Re: CD/DVD DRIVE Opening Automatically Several Times

What desktop environment are you using?
What file mangers have you open?
Anything interesting in the journal or dmesg?
Are you using any music programs that play CD's?
What happens if you mount a cd-rom (NOT a music CD, they don't have normal file systems).  With media mounted, does it eject?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#7 2017-07-15 17:09:48

PrimeArgon
Member
From: Holsworthy, Devon
Registered: 2017-07-14
Posts: 15

Re: CD/DVD DRIVE Opening Automatically Several Times

Do you have udisks2 enabled via systemctl enable udisks2? Could it be your setup at fault?


Arch + GNOME
------
Please post back your results to help others.

Offline

#8 2017-07-16 06:29:25

ravievr
Member
From: India
Registered: 2017-02-24
Posts: 5

Re: CD/DVD DRIVE Opening Automatically Several Times

ewaller wrote:

What desktop environment are you using?
What file mangers have you open?
Anything interesting in the journal or dmesg?
Are you using any music programs that play CD's?
What happens if you mount a cd-rom (NOT a music CD, they don't have normal file systems).  With media mounted, does it eject?

Desktop Environment - KDE
File Managers - Dolphin
I use VLC Media Player to play CD's
When I mount my cd-rom, Sometimes the cd gets ejected automatically and sometimes works absolutely fine.

Log of Journalctl

Jul 16 10:48:31 arch plasmashell[670]: QXcbConnection: XCB error: 2 (BadValue), sequence: 34111, resource id: 54525958, major code: 142 (Unknown), minor code: 3
Jul 16 10:48:31 arch plasmashell[670]: QXcbConnection: XCB error: 2 (BadValue), sequence: 34106, resource id: 50331664, major code: 142 (Unknown), minor code: 3
Jul 16 10:48:30 arch kwin_x11[666]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 9510, resource id: 48234527, major code: 18 (ChangeProperty), minor code: 0
Jul 16 10:48:28 arch plasmashell[670]: QXcbConnection: XCB error: 2 (BadValue), sequence: 33961, resource id: 48234501, major code: 142 (Unknown), minor code: 3
Jul 16 10:48:26 arch plasmashell[670]: QXcbConnection: XCB error: 2 (BadValue), sequence: 33624, resource id: 50331664, major code: 142 (Unknown), minor code: 3
Jul 16 10:48:26 arch plasmashell[670]: QXcbConnection: XCB error: 2 (BadValue), sequence: 33600, resource id: 50331712, major code: 142 (Unknown), minor code: 3
Jul 16 10:48:26 arch plasmashell[670]: QXcbConnection: XCB error: 2 (BadValue), sequence: 33563, resource id: 46137350, major code: 142 (Unknown), minor code: 3
Jul 16 10:48:26 arch plasmashell[670]: QXcbConnection: XCB error: 2 (BadValue), sequence: 33538, resource id: 54525958, major code: 142 (Unknown), minor code: 3
Jul 16 10:48:24 arch dolphin[1092]: org.kde.baloo: Found removable storage volume for Baloo undocking: "/org/freedesktop/UDisks2/block_devices/sr0"
Jul 16 10:48:24 arch dolphin[1092]: MEDIA CHANGED in "/org/freedesktop/UDisks2/block_devices/sr0" ; size is: 0
Jul 16 10:48:24 arch plasmashell[670]: MEDIA CHANGED in "/org/freedesktop/UDisks2/block_devices/sr0" ; size is: 0

Last edited by ravievr (2017-07-16 11:45:57)

Offline

#9 2017-07-17 16:44:38

ravievr
Member
From: India
Registered: 2017-02-24
Posts: 5

Re: CD/DVD DRIVE Opening Automatically Several Times

I found a workaround from stackexchange by completely disabling the eject button function by editing the udev rules file

1.Make a copy of the file

60-cdrom_id.rules
$ sudo cp /usr/lib/udev/rules.d/60-cdrom_id.rules /etc/udev/rules.d/

2.Edit this copied version of the file and comment out the line containing the string,

ENV{DISK_EJECT_REQUEST}=="?*", RUN+="cdrom_id --eject-media $devnode", GOTO="cdrom_end"

3.Save the file and the change should be noticeable immediately, eject button is not working anymore and automatically ejecting of cd/dvd drive problem is not present anymore.

Last edited by ravievr (2017-07-17 17:04:28)

Offline

Board footer

Powered by FluxBB