Arch linux - The program can't find any usable optical drives.

The place to discuss linux version of MakeMKV
Post Reply
TheGorf
Posts: 3
Joined: Wed Nov 25, 2020 11:53 pm

Arch linux - The program can't find any usable optical drives.

Post by TheGorf »

Howdy all, I have a fairly newly installed Arch linux installation. I'm having some issues. I am running XFCE and Thunar. I've installed the Thunar VolMan and gvfs as well as verified that I am part of the optical group. I am using an external LG blu-ray disk drive that has worked great on my other distros. When I put a blu-ray in, the link appears in Thunar and it created a folder on my desktop for the blu-ray. However, nothing I can do seems to get MakeMKV to see that drive nor the builtin DVD rom. MakeMKV was built from the Arch AUR. The debug for the app in the log is:

Code: Select all

Debug log started at Wed Nov 25 23:47:35 2020 , written by MakeMKV v1.15.3 linux(x64-release)
Using 262272KB for read cache.
001005:0000 MakeMKV v1.15.3 linux(x64-release) started
001004:0000 Debug logging enabled, log will be saved as file:///home/geoff/MakeMKV_log.txt
Network access is ENABLED, CURL version 7.73.0/OpenSSL/1.1.1h/1.41.0 (x86_64-pc-linux-gnu) , proxy server not set.
001003:0020 DEBUG: Code 2 at ^p^e)5&<L*/!nVF3yg:j3X.3:121261428
001003:0020 DEBUG: Code 2 at ^p^e)5&<L*/!nVF3yg:j3X.3:121261428
003338:0000 Downloading latest SDF to /home/geoff/.MakeMKV ...
005042:0000 The program can't find any usable optical drives.
I'm at a little bit of a loss as to what to check next. There are several threads here with similar titles and descriptions, but they are either very old or don't seem related to my OS or particular issue. Anyone have any thoughts?
Woodstock
Posts: 10368
Joined: Sun Jul 24, 2011 11:21 pm

Re: Arch linux - The program can't find any usable optical drives.

Post by Woodstock »

Have you checked the solutions listed in the other "can't find any usable optical drives" topics in the Linux section?
TheGorf
Posts: 3
Joined: Wed Nov 25, 2020 11:53 pm

Re: Arch linux - The program can't find any usable optical drives.

Post by TheGorf »

The vast majority of the posts appear to be Windows OS related so they don't offer me any help. And the few linux ones I have like This one don't have any answers or follow ups and are several years old.

So I'm hoping someone maybe knows the right thread to point me to or has some other ideas. I've covered all the basic stuff. I've removed and reinstalled, I've attempted to run it as root, I've cleared my ~/.MakeMKV directory. No changes.
pipo233
Posts: 44
Joined: Sat Oct 17, 2020 6:14 pm

Re: Arch linux - The program can't find any usable optical drives.

Post by pipo233 »

Drive not been found is a common problem, here is how i fixed it on Manjaro

Open a Terminal, Note: running with sudo does not work
su root
Enter your Password
echo sg > /etc/modules-load.d/sg.conf
Exit
Reboot

After this my drive has been found (pioneer drive)
This also helps for Nero not be able to find a usable drive.
TheGorf
Posts: 3
Joined: Wed Nov 25, 2020 11:53 pm

Re: Arch linux - The program can't find any usable optical drives.

Post by TheGorf »

Ah! The generic SCSI module. I didn't even think of that. That was what it was!

And just for reference, you dont need to go through all that reboot non-sense for a kernel module. You can dynamically load it on the fly with:

"modprobe sg"

Which works fine with sudo.
BigJay
Posts: 1
Joined: Sun Jul 24, 2022 2:58 am

Re: Arch linux - The program can't find any usable optical drives.

Post by BigJay »

Try adding your user name to the cdrom group.

sudo usermod -a -G cdrom <your user name>
Post Reply