So I finally got to testing on some drives took them all apart etc. I had 4 non working 1 the main board of a xm6401 a cap blew and complete charred the board so no sense in trying to repair it. 2 the xm5401 was an in and out issue, I took it apart the plastic however doesn’t seperate only the main board this board has a tray detection switch like a black button, I removed it and noticed the copper inside the button was corroded. I cleaned it up put it back together and it helped but the drive tray had become loose. It was an intermittent fix because the tray was so loose it wouldn’t hold it down well enough reliably. This heartened me tho and I took my next drive another 6401 these have a leaf switch pictured below and the top plastics can come off so you can view behaviour when plugged in. I pressed the open button and switched it all the way left farther than the tray does and then after the motor started all the way right the motor stopped and the lasted lighted up and spindle spun. I found that if I only went the distance that the tray and lever below push it, that it didn’t activate so I decided I needed to either 3d print or put some glue on the end so that the tray and lever would push it all the way over.
I decided glue so I could know incrementally how far it needed to go eventually I had added enough glue and now with the tray installed it opened stopped and stayed there and vice versa and when inserted the spindle would spin and now it runs disks just fine
The third I fixed the same way and the fourth just needed the cog out back on.
So comfortably for the in out issue I’d say you need to replace the tray switch or modify it to report the correct voltage so that the tray knows when it’s open and closed ive really been plowing through projects lol.