CD tray opens then closes immediately
CD tray opens then closes immediately
Hello! Any version Porteus cd tray opens then closes immediately. Need to hurry to get the disk. Thank you!
- Ed_P
- Contributor
- Posts: 8369
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Re: CD tray opens then closes immediately
What command are you using that causes the tray to open?
Ed
Re: CD tray opens then closes immediately
Ed_P, menu command "Eject" KDE Dolphin file manager today.
-
- Full of knowledge
- Posts: 2070
- Joined: 17 Jun 2013, 13:17
- Distribution: Porteus 3.2.2 XFCE 32bit
- Location: Germany
Re: CD tray opens then closes immediately
Try this:
Code: Select all
root@porteus:/home/guest# sysctl -w dev.cdrom.autoclose=0
Re: CD tray opens then closes immediately
Thanks! How to save this parameter when rebooting?
-
- Full of knowledge
- Posts: 2070
- Joined: 17 Jun 2013, 13:17
- Distribution: Porteus 3.2.2 XFCE 32bit
- Location: Germany
Re: CD tray opens then closes immediately
edit as root
/etc/rc.d/rc.local
/etc/rc.d/rc.local
Code: Select all
#!/bin/sh
#
# /etc/rc.d/rc.local: Local system initialization script.
#
# Put any local startup commands in here. Also, if you have
# anything that needs to be run at shutdown time you can
# make an /etc/rc.d/rc.local_shutdown script and put those
# commands in there.
sysctl -w dev.cdrom.autoclose=0
Re: CD tray opens then closes immediately
Thank you!