cdrom drive replaced with usb bluray drive

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
scubamut

cdrom drive replaced with usb bluray drive

Post by scubamut »

I have used my old internal optical cdrom drive (/etc/sr0) successfully on my desktop PC.

I removed this old drive and then connected a removable USB bluray drive.

Previously, I successfully connected and used the bluray drive with my laptop (see viewtopic.php?f=90&t=272815&p=1493324&h ... y#p1493324)

On PC:

Code: Select all

 inxi -d

Drives:    HDD Total Size: 3000.6GB (6.5% used) ID-1: /dev/sda model: ST2000DM006 size: 2000.4GB
           ID-2: /dev/sdb model: ST31000528AS size: 1000.2GB
           Optical: No optical drives detected.
After connection of USB Drive:

Code: Select all

inxi -d

Drives:    HDD Total Size: 3000.6GB (6.5% used) ID-1: /dev/sda model: ST2000DM006 size: 2000.4GB
           ID-2: /dev/sdb model: ST31000528AS size: 1000.2GB
           Optical: /dev/sr0 model: N/A dev-links: cdrom,cdrw,dvd,dvdrw
           Features: speed: 24x multisession: yes audio: yes dvd: yes rw: cd-r,cd-rw,dvd-r,dvd-ram

(BTW is the Optical above the OLD CD-ROM I removed???)
So far, so good, BUT VLC Player unable to play a bluray (or any normal CD-ROM DVD):

Code: Select all

Your input can't be opened:
VLC is unable to open the MRL 'bluray:///dev/sr0'. Check the log for details

dmesg 

[65039.246173] usb 2-1: new high-speed USB device number 35 using ehci-pci
[65039.397145] usb 2-1: New USB device found, idVendor=13fd, idProduct=3609
[65039.397152] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[65039.397157] usb 2-1: Product: USB3.0 DEVICE
[65039.397162] usb 2-1: Manufacturer: Generic
[65039.397166] usb 2-1: SerialNumber: 41443030303030303030303030303030
[65039.398515] usb-storage 2-1:1.0: USB Mass Storage device detected
[65039.398855] usb-storage 2-1:1.0: Quirks match for vid 13fd pid 3609: 20
[65039.398911] scsi host6: usb-storage 2-1:1.0
[65040.408871] scsi 6:0:0:0: CD-ROM            MATSHITA BD-MLT UJ272     1.01 PQ: 0 ANSI: 0
[65040.418233] sr 6:0:0:0: [sr0] scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray
[65040.418704] sr 6:0:0:0: Attached scsi CD-ROM sr0
[65040.418963] sr 6:0:0:0: Attached scsi generic sg2 type 5
[65211.240211] usb 2-1: reset high-speed USB device number 35 using ehci-pci

mount | grep ^/dev

/dev/sda6 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
/dev/sda7 on /home type ext4 (rw,relatime,data=ordered)
/dev/sda6 on /var/lib/docker/aufs type ext4 (rw,relatime,errors=remount-ro,data=ordered)

Tried

mount /dev/sr0 /mnt/mydrive
mount: no medium found on /dev/sr0

The new USB Drive wasn't mounted, so it doesn't work.
Help anyone??
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
richyrich

Re: cdrom drive replaced with usb bluray drive

Post by richyrich »

Check in Synaptic Package Manager, and be sure you have libbluray1 (or similarly named, check the description) installed. If not, install it, reboot, and try it again. Please report your results. :-)
scubamut

Re: cdrom drive replaced with usb bluray drive

Post by scubamut »

ok - reinstalled libbluray1 and rebooted as suggested,
It turns out that there appears to be a clash between the USB bluray drive and an already installed USB hard drive.
Not sure about using 2 removable USB drives(?), so I have removed and unmounted the existing USB hard drive.
The I uninstalled libbluray and vlc completely and rebooted.
Then reinstalled libbluray and vlc and rebooted again.

But vlc still unable to play bluray disc:

Code: Select all

mount /dev/sr0 /mnt/mydrive
mount: no medium found on /dev/sr0

vlc
Your input can't be opened:
VLC is unable to open the MRL 'bluray:///dev/sg0'. Check the log for details.
richyrich

Re: cdrom drive replaced with usb bluray drive

Post by richyrich »

vlc
Your input can't be opened:
VLC is unable to open the MRL 'bluray:///dev/sg0'. Check the log for details.
Looks like the default is set wrong in VLC's preferences . . it should not be a 'g' , but should be set to /dev/sr0

You should also not have to try to mount it manually.

Can you use this terminal command and post the output: inxi -dx
scubamut

Re: cdrom drive replaced with usb bluray drive

Post by scubamut »

sorry, my mistake :oops: tried again
[Your input can't be opened:
VLC is unable to open the MRL 'bluray:///dev/sr0'. Check the log for details./quote]

Code: Select all

inxi -dx
Drives:    HDD Total Size: 3000.6GB (6.5% used)
           ID-1: /dev/sda model: ST2000DM006 size: 2000.4GB temp: 36C
           ID-2: /dev/sdb model: ST31000528AS size: 1000.2GB temp: 35C
           Optical: /dev/sr0 model: N/A
           rev: N/A dev-links: cdrom,cdrw,dvd,dvdrw
           Features: speed: 24x multisession: yes
           audio: yes dvd: yes rw: cd-r,cd-rw,dvd-r,dvd-ram state: N/A
The Optical device looks suspiciously like the old external CD-ROM drive I removed....
scubamut

[QUESTION] Why does "Drives" below show /dev/sr0 model as N/A?

Post by scubamut »

Code: Select all

sudo lshw -C disk
*-cdrom
description: DVD-RAM writer
product: BD-MLT UJ272
vendor: MATSHITA
physical id: 0.0.0
bus info: scsi@6:0.0.0
logical name: /dev/cdrom
logical name: /dev/cdrw
logical name: /dev/dvd
logical name: /dev/dvdrw
logical name: /dev/sr0
version: 1.01
capabilities: removable audio cd-r cd-rw dvd dvd-r dvd-ram
configuration: status=busy

Code: Select all

inxi -dx
Drives: HDD Total Size: 3000.6GB (6.5% used)
ID-1: /dev/sda model: ST2000DM006 size: 2000.4GB temp: 34C
ID-2: /dev/sdb model: ST31000528AS size: 1000.2GB temp: 34C
Optical: /dev/sr0 model: N/A
rev: N/A dev-links: cdrom,cdrw,dvd,dvdrw
Features: speed: 24x multisession: yes
audio: yes dvd: yes rw: cd-r,cd-rw,dvd-r,dvd-ram state: N/A

[EDIT]
On the PC I get -

Code: Select all

lsblk

NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sdb      8:16   0 931.5G  0 disk 
└─sdb1   8:17   0 931.5G  0 part 
sr0     11:0    1  1024M  0 rom  
sda      8:0    0   1.8T  0 disk 
├─sda4   8:4    0     1K  0 part 
├─sda2   8:2    0 201.1G  0 part 
├─sda7   8:7    0   1.6T  0 part /home
├─sda5   8:5    0  11.8G  0 part [SWAP]
├─sda3   8:3    0   456M  0 part 
├─sda1   8:1    0   100M  0 part 
└─sda6   8:6    0    28G  0 part /
I then took the bluray drive from my PC and coonected it to my LAPTOP

The USB bluray drive mounts automatically and works properly and -

Code: Select all

lsblk

NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sr2     11:2    1  39.9G  0 rom  /mnt/usb-MATSHITA_BD-MLT_UJ272_41443030303030303030303030303030-0:0
sr0     11:0    1  1024M  0 rom  
sda      8:0    0 931.5G  0 disk 
├─sda4   8:4    0 893.8G  0 part /home
├─sda2   8:2    0  29.3G  0 part /
├─sda3   8:3    0   7.9G  0 part [SWAP]
└─sda1   8:1    0   512M  0 part /boot/efi
It appears that sr0 is mounted when I connect the bluray as CD-ROM and NOT as the MATSHITA.

Must be easy to fix this :roll: :!: but I'm struggling'til now :)
CAN ANYONE HELP ME PLEASE? :(
Last edited by scubamut on Sat Jul 14, 2018 7:15 am, edited 4 times in total.
Mute Ant

Re: cdrom drive replaced with usb bluray drive

Post by Mute Ant »

If you are still using autofs in the system and autofs has been given control of the cdrom drive, simply disconnecting the hardware may not be enough for the drive to be released. You would need to use the autofs version of Safely Remove Drive.
scubamut

Re: cdrom drive replaced with usb bluray drive

Post by scubamut »

Thanks Ant - I think you are spot on.

I need help - I'm new with linuxmint :)

:?: Should I uninstall autofs? How to install the autofs version of Safely Remove Drive?
I AM STILL UNABLE TO USE THE USB BLURAY DRIVE (which works on my laptop)

CAN ANYONE HELP ME PLEASE? :(
Locked

Return to “Beginner Questions”