Optical Drive not being found

The place to discuss linux version of MakeMKV
bib1963
Posts: 8
Joined: Sun Aug 04, 2013 3:50 pm

Re: Optical Drive not being found

Post by bib1963 » Sat Oct 10, 2020 6:52 pm

jvian1 wrote:
Thu Oct 08, 2020 1:15 am
alisonken1 wrote:
Fri Oct 04, 2019 11:43 am
[...]

Is your user part of the cdrom group?
if you do "ls -l /dev/sr?" you will likely get something like this

brw-rw----+ 1 root cdrom 11, 0 Oct 7 19:39 /dev/sr0
brw-rw----+ 1 root cdrom 11, 1 Oct 7 19:38 /dev/sr1

As you can see root is the owner and cdrom is the group (in fedora at least) and both have read and write permissions.
If your user is part of the cdrom group you can use the device easily.
And the '+' means there are extended ACLs in operation, which can be shown with "getfact /dev/sr?"


B

TheTester
Posts: 4
Joined: Sun Jun 02, 2019 3:26 pm

Re: Optical Drive not being found

Post by TheTester » Thu Oct 15, 2020 11:49 am

I have a blueray-writer drive and installed(makemkv) from arch but the drive is not recognized.

ls -l /dev/sr?
brw-rw----+ 1 root optical 11, 0 Oct 15 08:47 /dev/sr0

MakeMKV v1.15.3 linux(x64-release) started
The program can't find any usable optical drives.

What is the command or commands to fix this please?

I just installed it via yay makemkv so I haven't actually done anything other than that.

jvian1
Posts: 6
Joined: Thu May 19, 2016 1:09 am

Re: Optical Drive not being found

Post by jvian1 » Sat Oct 17, 2020 12:42 am

That tells you the group owning /dev/sr0 is "optical".

You need to make your user part of the optical group if not already, then you should be able to see a disk in the drive and use it.

The user running makemkv must have access to the drive before makemkv can use it, so this step is first.

Using the "groups" command will tell you which groups your user is assigned and using

Code: Select all

 sudo usermod -a -G optical exampleusername 
will add the example user to the optical group. After adding the user to the new group it will be necessary for that user to log out and log back in before the change is effective.

TheTester
Posts: 4
Joined: Sun Jun 02, 2019 3:26 pm

Re: Optical Drive not being found

Post by TheTester » Sat Oct 17, 2020 2:40 pm

jvian1 wrote:
Sat Oct 17, 2020 12:42 am
That tells you the group owning /dev/sr0 is "optical".

You need to make your user part of the optical group if not already, then you should be able to see a disk in the drive and use it.

The user running makemkv must have access to the drive before makemkv can use it, so this step is first.

Using the "groups" command will tell you which groups your user is assigned and using

Code: Select all

 sudo usermod -a -G optical exampleusername 
will add the example user to the optical group. After adding the user to the new group it will be necessary for that user to log out and log back in before the change is effective.
Sorry I ran the command you put,

Code: Select all

 sudo usermod -a -G optical thetester
and rebooted however the problem still exsit's.

Code: Select all

@AdminPC ~]$ groups
sys network scanner power rfkill users video storage optical lp audio wheel thetester
Wondering if makemkv should be run as sudo or something like that.

pipo233
Posts: 1
Joined: Sat Oct 17, 2020 6:14 pm

Re: Optical Drive not being found

Post by pipo233 » Sat Oct 17, 2020 6:19 pm

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.

TheTester
Posts: 4
Joined: Sun Jun 02, 2019 3:26 pm

Re: Optical Drive not being found

Post by TheTester » Sat Oct 17, 2020 9:38 pm

pipo233 wrote:
Sat Oct 17, 2020 6:19 pm
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.
Thanks that sorted it now seeing optical drive, probably need the other fix to.

Post Reply