Page 8 of 8

Re: Optical Drive not being found

Posted: Sat Oct 10, 2020 6:52 pm
by bib1963
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

Re: Optical Drive not being found

Posted: Thu Oct 15, 2020 11:49 am
by TheTester
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.

Re: Optical Drive not being found

Posted: Sat Oct 17, 2020 12:42 am
by jvian1
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.

Re: Optical Drive not being found

Posted: Sat Oct 17, 2020 2:40 pm
by TheTester
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.

Re: Optical Drive not being found

Posted: Sat Oct 17, 2020 6:19 pm
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.

Re: Optical Drive not being found

Posted: Sat Oct 17, 2020 9:38 pm
by TheTester
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.