LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 03-10-2023, 09:00 PM   #1
Ulu
LQ Newbie
 
Registered: Mar 2023
Location: Sunny San Joaquin
Distribution: Ubuntu Jammy Jellyfish latest
Posts: 21

Rep: Reputation: 0
No directory when DVD inserted


I have the latest Ubuntu LTS and today’s extras.

My DVD writer does show up in the drives folder.
So it hasn’t quite vanished. I can play a music CD. I can load a CD ROM game through Dosbox and play it. I can browse the files on a music or software CD.

But when I put a movie DVD in the tray the directory is blank.
I can’t see the structure through the drives folder, and VLC cannot display it either.

It’s a like I am missing the most important Codec.

Can you tell me what Linux’s basic DVD configuration setting should look like?

I’m not interested in using the burner, but I do want to play movies that I own.
 
Old 03-11-2023, 03:40 AM   #2
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,519

Rep: Reputation: Disabled
Possibly requires - https://www.videolan.org/developers/libdvdcss.html
 
1 members found this post helpful.
Old 03-11-2023, 08:11 AM   #3
Ulu
LQ Newbie
 
Registered: Mar 2023
Location: Sunny San Joaquin
Distribution: Ubuntu Jammy Jellyfish latest
Posts: 21

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by fatmac View Post
Thanks Mac. I went through that already but perhaps it didn’t install correctly.

After my initial set up I changed several things on this machine including switching to a wireless mouse and keyboard and wireless network dongle. I also changed the HDMI monitor and added 2 more SSDs. Also, since I installed from a USB stick I’ve never set the BIOS to boot up from CD.

I might just try to reinstall the entire distro since I haven’t done that much configuration work on the system software. Basically I ran all the updates, extras & restricted code.

But so far this seems like the only insurmountable fault, so I’m going to try a little more debugging before I reinstall.
 
Old 03-11-2023, 09:05 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,783

Rep: Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936
Did you install libdvdread8?

sudo apt install libdvdread8
 
1 members found this post helpful.
Old 03-11-2023, 10:49 AM   #5
Ulu
LQ Newbie
 
Registered: Mar 2023
Location: Sunny San Joaquin
Distribution: Ubuntu Jammy Jellyfish latest
Posts: 21

Original Poster
Rep: Reputation: 0
The system reports that I have the newest version installed already but I ran it again just because.
 
Old 03-11-2023, 11:22 AM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,783

Rep: Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936
What happens when you insert the DVD, start VLC and then from the menu click media -> Open Disc
Select DVD, The disk device should be /dev/sr0 assuming you only have one optical drive installed in your system.
Click play.
 
1 members found this post helpful.
Old 03-11-2023, 11:40 AM   #7
Ulu
LQ Newbie
 
Registered: Mar 2023
Location: Sunny San Joaquin
Distribution: Ubuntu Jammy Jellyfish latest
Posts: 21

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by michaelk View Post
What happens when you insert the DVD, start VLC and then from the menu click media -> Open Disc
Select DVD, The disk device should be /dev/sr0 assuming you only have one optical drive installed in your system.
Click play.
Essentially nothing. I can eject the disc from VLC. Otherwise it does not seem to do anything though it lists sr0.
I ran the updates again and it tells me everything is up-to-date, so I’m gonna reboot the machine again and see if anything changes.

I have one optical drive three SSDs and a floppy disk.
They are all listed in the disks folder.
But no mater what DVD I put in, the system reports “no media”.
 
Old 03-11-2023, 11:44 AM   #8
Ulu
LQ Newbie
 
Registered: Mar 2023
Location: Sunny San Joaquin
Distribution: Ubuntu Jammy Jellyfish latest
Posts: 21

Original Poster
Rep: Reputation: 0
After reboot:

Mount options in /etc/fstab reports

nosuid,nodev,nofail,x-gvfs-show

I have no idea what that means

Mount point is shown as /mnt/sr0
Device /dev/sr0

Last edited by Ulu; 03-11-2023 at 11:50 AM.
 
Old 03-11-2023, 11:51 AM   #9
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,783

Rep: Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936
Look at output of the dmesg command to see if there are any drive errors i.e

sudo dmesg | grep sr0
 
1 members found this post helpful.
Old 03-11-2023, 12:02 PM   #10
Ulu
LQ Newbie
 
Registered: Mar 2023
Location: Sunny San Joaquin
Distribution: Ubuntu Jammy Jellyfish latest
Posts: 21

Original Poster
Rep: Reputation: 0
When browsing from VLC my device sr0 cannot be found.
 
Old 03-11-2023, 12:06 PM   #11
Ulu
LQ Newbie
 
Registered: Mar 2023
Location: Sunny San Joaquin
Distribution: Ubuntu Jammy Jellyfish latest
Posts: 21

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by michaelk View Post
Look at output of the dmesg command to see if there are any drive errors i.e

sudo dmesg | grep sr0

Code:
[sr0] scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda tray
Attached scsi CD-ROM sr0
/dev/sr0: Can't open blockdev
 
Old 03-11-2023, 12:21 PM   #12
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,783

Rep: Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936
Look at the output of the groups command.
Is your user part of the cdrom group?
 
1 members found this post helpful.
Old 03-11-2023, 12:41 PM   #13
Ulu
LQ Newbie
 
Registered: Mar 2023
Location: Sunny San Joaquin
Distribution: Ubuntu Jammy Jellyfish latest
Posts: 21

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by michaelk View Post
Look at the output of the groups command.
Is your user part of the cdrom group?
yes
groups reports
ulu adm cdrom sudo dip plugdev lpadmin lxd sambashare

blockdev /dev/sr0 -getbsz

reports
blockdev: cannot open /dev/sr0: No medium found

"it's in there"

Last edited by Ulu; 03-11-2023 at 01:15 PM.
 
Old 03-12-2023, 10:04 AM   #14
Ulu
LQ Newbie
 
Registered: Mar 2023
Location: Sunny San Joaquin
Distribution: Ubuntu Jammy Jellyfish latest
Posts: 21

Original Poster
Rep: Reputation: 0
After reading through the logs and the manual info on VLC media player, I can guarantee I don't understand every entry.

But it does appear the the CDROM mounts ok and the DVD does not.

VLC always reports:

VLC is unable to open the MRL 'dvd:///dev/sr0'. Check the log for details.

E D I T . . .

The log also reports:
GLib-GObject: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

Last edited by Ulu; 03-12-2023 at 10:54 AM.
 
Old 03-16-2023, 12:20 AM   #15
Ulu
LQ Newbie
 
Registered: Mar 2023
Location: Sunny San Joaquin
Distribution: Ubuntu Jammy Jellyfish latest
Posts: 21

Original Poster
Rep: Reputation: 0
I went another round with the codecs and updates again to no avail.

Finally, I gave up and replaced the SATA Speedwriter DVD with a 16x ATAPI DVDROM.

I still get the report "blockdev: cannot open /dev/sr0: No medium found"

Phoooo!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DVD Drive runs constantly when Blank DVD inserted starwarp2000 Solaris / OpenSolaris 3 07-17-2008 03:21 AM
Automount dvd ROM when dvd is inserted baddah Linux - Newbie 9 06-20-2006 01:05 PM
whether cd or dvd is inserted? ur_prince Programming 0 12-22-2004 02:12 AM
whether cd or dvd is inserted? ur_prince Linux - Software 3 12-17-2004 11:40 AM
K3b problems when recording DVD's: no disc inserted bmpv666 Linux - Software 13 09-22-2004 05:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 10:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration