Page 1 of 1
CD tray opens then closes immediately
Posted: 08 Feb 2019, 17:11
by 0leshka
Hello! Any version Porteus cd tray opens then closes immediately. Need to hurry to get the disk. Thank you!
Re: CD tray opens then closes immediately
Posted: 08 Feb 2019, 17:24
by Ed_P
What command are you using that causes the tray to open?
Re: CD tray opens then closes immediately
Posted: 08 Feb 2019, 18:17
by 0leshka
Ed_P, menu command "Eject" KDE Dolphin file manager today.
Re: CD tray opens then closes immediately
Posted: 08 Feb 2019, 19:09
by donald
Try this:
Code: Select all
root@porteus:/home/guest# sysctl -w dev.cdrom.autoclose=0
Re: CD tray opens then closes immediately
Posted: 08 Feb 2019, 19:25
by 0leshka
Thanks! How to save this parameter when rebooting?
Re: CD tray opens then closes immediately
Posted: 08 Feb 2019, 20:02
by donald
edit as root
/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
Posted: 08 Feb 2019, 20:39
by 0leshka
Thank you!