Optical drive tray issue

Moderators: kirk, jamesbond, p310don, JakeSFR, step, Forum moderators

Post Reply
Gobbi
Posts: 18
Joined: Wed Jul 15, 2020 9:41 am
Has thanked: 12 times
Been thanked: 5 times

Optical drive tray issue

Post by Gobbi »

Hi everyone :!:

Some years ago , on the Fatdog64 forum I had this same issue with the DVD drive tray and , a package (or pet) was made available .
With any disc inside the drive , when I eject the tray after one second it closes .
Please help , if anyone still has it :!:
I accidentally erased a lot of data last year .

Geek3579
Posts: 298
Joined: Sat Jul 18, 2020 1:07 pm
Has thanked: 85 times
Been thanked: 77 times

Re: Optical drive tray issue

Post by Geek3579 »

Have you tried running "eject" (without the quotes) in a terminal ??

User avatar
mikewalsh
Moderator
Posts: 6518
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 993 times
Been thanked: 2170 times

Re: Optical drive tray issue

Post by mikewalsh »

@Gobbi :-

You may be thinking of the wee 'noarch' TrayControl .pet package I put together for Puppy.....which lets you control two separate drives. It's so long since I last had a look at FatDog that I can't remember whether or not it can use .pet packages.....but you're very welcome to try it if you want.

I've attached it below. Eject 1/Close 1 are set for /dev/sr0. Eject 2/Close 2 are set for /dev/sr1.

Mike. ;)

Attachments
TrayControl_v3.1-noarch.pet
Utility for controlling two separate optical drive 'tray' mechanisms...
(31.25 KiB) Downloaded 11 times
Clarity
Posts: 4234
Joined: Fri Jul 24, 2020 10:59 pm
Has thanked: 1814 times
Been thanked: 569 times

Re: Optical drive tray issue

Post by Clarity »

FATDOG(FD) has a converter which converts a PET to the FD installation format. Click the PET, IIRC.

FATDOG v9xx does NOT use PET packages. Thus, you'll find the converter taking any PET and converting it into a package that FATDOG uses.

Last edited by Clarity on Mon Feb 03, 2025 11:18 pm, edited 2 times in total.
User avatar
Flash
Moderator
Posts: 1023
Joined: Tue Dec 03, 2019 3:13 pm
Location: Arizona, U.S.
Has thanked: 58 times
Been thanked: 138 times

Re: Optical drive tray issue

Post by Flash »

Most .pets install in EasyOS, Tray control didn't.

Chaos coordinator :?
User avatar
mikewalsh
Moderator
Posts: 6518
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 993 times
Been thanked: 2170 times

Re: Optical drive tray issue

Post by mikewalsh »

@Flash :-

Hm. Odd. It installs fine across MY 'kennels', and nobody else has complained about it. (Yet..!)

I can't say it surprises me, though. I'm sure I remember reading somewhere that .pets have to be those built/supplied by Barry, because there's subtle differences with various permissions, ownerships, etc, due to all the 'container' stuff in EasyOS, so.....I really wouldn't like to say.

Mike. :?

User avatar
rcrsn51
Posts: 1486
Joined: Sun Aug 23, 2020 4:26 pm
Been thanked: 424 times

Re: Optical drive tray issue

Post by rcrsn51 »

Gobbi wrote: Sat Feb 01, 2025 7:43 pm

Hi everyone :!:

Some years ago , on the Fatdog64 forum I had this same issue with the DVD drive tray and , a package (or pet) was made available .
With any disc inside the drive , when I eject the tray after one second it closes .
Please help , if anyone still has it :!:
I accidentally erased a lot of data last year .

https://oldforum.puppylinux.com/viewtop ... 28#p700428

Gobbi
Posts: 18
Joined: Wed Jul 15, 2020 9:41 am
Has thanked: 12 times
Been thanked: 5 times

Re: Optical drive tray issue

Post by Gobbi »

Hi again !
I just got back in town .

Geek3579 wrote: Sun Feb 02, 2025 5:23 am

Have you tried running "eject" (without the quotes) in a terminal ??

Yes I've tryied that . It doesn't work .Thank you @Geek3579 for trying to help .

@mikewalsh
Thank you too for this TrayControl .pet .
It works . I discovered that if I unplug USB or shut down from the enclosure power button ,it gives this strange behaviour . Immediately autoclose or the front drive button doesn't work anymore .
But TrayControl.pet works . Of course Fatdog transformed it into a TXZ package .

@rcrsn51
Thank you too for remembering me where was the pet I used .@kirk helped us at the time .
I took a look inside the pet though and observed the executable file is different enough from the actual one. That made me think it won't work anymore .
Even the desktop drive icons went gone , and it doesn't work anymore .

Thank you ALL for taking interest in helping me :!:

A good solution I found searching online .
Somebody , with a similar issue said that he tryied also from the terminal:

Code: Select all

echo 0 > /proc/sys/dev/cdrom/autoclose

and that it didn't work for him .
But , when I tryied it It went very well for me :D
Actually the line says to put 0 in the autoclose flag in /proc/sys/dev/cdrom/ .

So now I'm thinking where to put it .
/etc/rc.d/rc.local or an executable file in /etc/xdg/Startup .
Or adding the script to /usr/bin and making a .desktop file and choosing an icon for it to be able to put it on the desktop close to sr0 drive icon .

Post Reply

Return to “FatDog”