MakeMKV v1.17.4 linux can't find any usable optical drives

The place to discuss linux version of MakeMKV
Post Reply
mdhankins1
Posts: 4
Joined: Sat Sep 16, 2023 8:15 pm

MakeMKV v1.17.4 linux can't find any usable optical drives

Post by mdhankins1 » Sat Sep 16, 2023 8:21 pm

I'm using MakeMKV v1.17.4 on Arch Linux, using 6.5.3-zen1-1-zen kernel.

This is the first time I've installed MakeMKV on Arch. It appears that I may be missing some module that would allow MakeMKV to recognize the BluRay drive that I have connected via USB. Any ideas what that could be, or if there is some other issue going on?

My BluRay drive is recognized by lsusb.

Bus 002 Device 007: ID 08e4:017a Pioneer Corp. Pioneer Blu-ray Drive

In case more info about my hardware would be helpful to know:

$ inxi -F
System:
Host: hyperion Kernel: 6.5.3-zen1-1-zen arch: x86_64 bits: 64 Desktop: GNOME
v: 44.4 Distro: Arch Linux
Machine:
Type: Desktop System: Gigabyte product: B550I AORUS PRO AX v: N/A
serial: <superuser required>
Mobo: Gigabyte model: B550I AORUS PRO AX serial: <superuser required>
UEFI: American Megatrends LLC. v: F18b date: 08/09/2023
CPU:
Info: 6-core model: AMD Ryzen 5 5600G with Radeon Graphics bits: 64
type: MT MCP cache: L2: 3 MiB
Speed (MHz): avg: 1819 min/max: 400/4464 cores: 1: 400 2: 2994 3: 2994
4: 3173 5: 400 6: 2992 7: 400 8: 400 9: 400 10: 3311 11: 400 12: 3971
Graphics:
Device-1: AMD Navi 24 [Radeon RX 6400/6500 XT/6500M] driver: amdgpu
v: kernel
Display: wayland server: X.org v: 1.21.1.8 with: Xwayland v: 23.2.0
compositor: gnome-shell driver: gpu: amdgpu resolution: no compositor data
resolution: 2560x1440
API: OpenGL v: 4.6 Mesa 23.1.7-arch1.1 renderer: AMD Radeon RX 6500 XT
(navi24 LLVM 16.0.6 DRM 3.54 6.5.3-zen1-1-zen)
Audio:
Device-1: AMD Navi 21/23 HDMI/DP Audio driver: snd_hda_intel
Device-2: AMD Renoir Radeon High Definition Audio driver: snd_hda_intel
Device-3: AMD Family 17h/19h HD Audio driver: snd_hda_intel
Device-4: AudioQuest DragonFly Black v1.5
driver: hid-generic,snd-usb-audio,usbhid type: USB
API: ALSA v: k6.5.3-zen1-1-zen status: kernel-api
Server-1: PulseAudio v: 16.1 status: active
Network:
Device-1: Realtek RTL8125 2.5GbE driver: r8169
IF: enp7s0 state: up speed: 1000 Mbps duplex: full mac: 18:c0:4d:aa:ac:08
Device-2: MEDIATEK MT7921 802.11ax PCI Express Wireless Network Adapter
driver: mt7921e
IF: wlan0 state: up mac: 14:13:33:8c:4e:6d
Bluetooth:
Device-1: IMC Networks Wireless_Device driver: btusb type: USB
Report: btmgmt ID: hci0 state: up address: 14:13:33:8C:4E:6C bt-v: 5.2
Drives:
Local Storage: total: 11.12 TiB used: 7.15 TiB (64.4%)
ID-1: /dev/nvme0n1 vendor: TeamGroup model: TM8FP4002T size: 1.86 TiB
ID-2: /dev/nvme1n1 model: Predator SSD GM7000 2TB size: 1.86 TiB
ID-3: /dev/sda vendor: Western Digital model: WD80EZAZ-11TDBA0
size: 7.28 TiB type: USB
ID-4: /dev/sdc vendor: Generic model: Flash Disk size: 115.23 GiB
type: USB
Partition:
ID-1: / size: 1.86 TiB used: 280.24 GiB (14.7%) fs: btrfs
dev: /dev/nvme1n1p2
ID-2: /boot size: 511 MiB used: 115.8 MiB (22.7%) fs: vfat
dev: /dev/nvme1n1p1
ID-3: /home size: 1.86 TiB used: 280.24 GiB (14.7%) fs: btrfs
dev: /dev/nvme1n1p2
ID-4: /var/log size: 1.86 TiB used: 280.24 GiB (14.7%) fs: btrfs
dev: /dev/nvme1n1p2
Swap:
ID-1: swap-1 type: zram size: 4 GiB used: 99.2 MiB (2.4%) dev: /dev/zram0
Sensors:
System Temperatures: cpu: 45.0 C mobo: 40.0 C gpu: amdgpu temp: 51.0 C
Fan Speeds (rpm): N/A gpu: amdgpu fan: 0
Info:
Processes: 458 Uptime: 2d 42m Memory: total: 32 GiB available: 31.19 GiB
used: 9.63 GiB (30.9%) Shell: Bash inxi: 3.3.29


Thanks,
Michael

wmcclain
Posts: 86
Joined: Tue Jun 07, 2016 8:23 pm
Contact:

Re: MakeMKV v1.17.4 linux can't find any usable optical drives

Post by wmcclain » Mon Sep 18, 2023 5:50 pm

I'm using Arch with makemkv installed from the AUR repository. I use both SATA and USB Blu-ray drives.

I don't recall any specific setup required. Could be a module or group permissions error?

Do other applications see the drive? It mounts discs and the contents are visible?

If there is anything you want me to check, let me know.
Capsule film reviews: Strange Picture Scroll

Jarva
Posts: 1
Joined: Sun Sep 24, 2023 8:22 am

Re: MakeMKV v1.17.4 linux can't find any usable optical drives

Post by Jarva » Sun Sep 24, 2023 8:28 am

Registered just to post my findings because I experienced the exact same issue using Arch (EndeavourOS) and building from AUR.

I was searching the forums yesterday and found this thread which resolved my problem.

To summarize, make sure your user is in the "optical" group

Code: Select all

sudo usermod -a -G optical Jarva
Additionally, you may need to make sure the "sg" kernel module is loading on startup:

Code: Select all

sudo echo sg > /etc/modules-load.d/sg.conf
reboot
Hopefully this fixes the issue for you and anyone else who stumbles across this thread

beandog
Posts: 36
Joined: Sun Feb 18, 2018 7:42 am
Location: /usa/utah
Contact:

Re: MakeMKV v1.17.4 linux can't find any usable optical drives

Post by beandog » Sun Sep 24, 2023 5:37 pm

Code: Select all

sudo echo sg > /etc/modules-load.d/sg.conf
That won't actually work, since you're just echoing as root, your normal permissions won't write to it.

This would work though:

Code: Select all

echo sg | sudo tee -a /etc/modules-load.d/sg.conf

Post Reply