DVD Not Mount Without Reboot

Questions about codecs, DVD playback, web plugins...
Forum rules
Before you post please read how to get help
alligoodw
Level 2
Level 2
Posts: 54
Joined: Fri Oct 03, 2008 7:04 am

Re: DVD Not Mount Without Reboot

Post by alligoodw » Thu Aug 30, 2018 7:20 pm

Lord Boltar wrote:
Thu Aug 30, 2018 7:16 pm
make sure libdvd-pkg is installed

got to terminal and type in

sudo apt-get install libdvd-pkg

after it is install go to VLC click on media and then open disc

This package is already installed.

rene
Level 8
Level 8
Posts: 2225
Joined: Sun Mar 27, 2016 6:58 pm

Re: DVD Not Mount Without Reboot

Post by rene » Thu Aug 30, 2018 7:56 pm

Your second post means that I'm not confident this is going to work -- but I do see that, different from mine, your device is not explicitly listed in the Mint 19 udev hardware database. So, let's again just try...

Please as root create the file /etc/udev/rules.d/sp80nb80-automount.rules containing

Code: Select all

ACTION=="add|change", KERNEL=="sr*", ENV{ID_VENDOR_ID}=="0e8d", ENV{ID_MODEL_ID}=="1887", ENV{UDISKS_SYSTEM}="0", ENV{UDISKS_AUTO}="1"
Not sure how new you are, but you can do this with the two commands:

Code: Select all

$ sudo touch /etc/udev/rules.d/sp80nb80-automount.rules 
$ xed admin:/etc/udev/rules.d/sp80nb80-automount.rules
to after entering your password open up your regular GUI editor and paste the above in (for onlookers, the admin: syntax does not create new files, hence the touch). Save and exit the editor and, in fact, try inserting a DVD again. That is, you shouldn't have to reboot to have this rule active.

What this does is impress upon the "udisks2" udev helper that you want to automount the device. I for example do so for my eSATA drives. I am as said not confident that this will work for you but it's worth a try.

[EDIT] To Lord Boltar: it was already established he can play DVDs with VLC; it is automatic mounting we are trying to get going.
Last edited by rene on Thu Aug 30, 2018 8:35 pm, edited 1 time in total.

User avatar
Lord Boltar
Level 4
Level 4
Posts: 343
Joined: Mon Jan 09, 2017 7:24 pm

Re: DVD Not Mount Without Reboot

Post by Lord Boltar » Thu Aug 30, 2018 8:04 pm

Did not see the early on VLC and playing DVDs - humble appologies

I wonder if the device is blocked keeping it from mounting

KERNEL[50698.019545] change /devices/virtual/block/pktcdvd0 (block)
KERNEL[50698.043073] change /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0/host2/target2:0:0/2:0:0:0/block/sr0 (block)
UDEV [50698.072455] change /devices/virtual/block/pktcdvd0 (block)
UDEV [50698.226107] change /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0/host2/target2:0:0/2:0:0:0/block/sr0 (block)

rene
Level 8
Level 8
Posts: 2225
Joined: Sun Mar 27, 2016 6:58 pm

Re: DVD Not Mount Without Reboot

Post by rene » Fri Aug 31, 2018 11:01 am

Since it seems I need to ping this thread anyway might as well take the opportunity to note that you should make sure to either copy & paste the udev rule indeed, or if you do not, to note that the first 4 parts of the rule use == (the comparison operator) and the final two = (the assignment operator). With the proper ID's and reversed polarity of UDISKS_SYSTEM and UDISKS_AUTO the rule works here to NOT automount my Buffalo so I'm having some hope...

vahidmint
Level 1
Level 1
Posts: 1
Joined: Tue Sep 04, 2018 3:44 am

Re: DVD Not Mount Without Reboot

Post by vahidmint » Tue Sep 04, 2018 3:52 am

same here for internal DVD -rw drive
System: Kernel: 4.15.0-33-generic x86_64
bits: 64 gcc: 7.3.0
Desktop: Cinnamon 3.8.8 (Gtk 3.22.30-1ubuntu1)
Distro: Linux Mint 19 Tara
Drives: HDD Total Size: 640.1GB (34.7% used)
ID-1: /dev/sda model: WDC_WD6400BPVT size: 640.1GB
Optical-1: /dev/sr0 model: MATSHITA DVD-RAM UJ8A0AS
rev: 1.00 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: running

rene
Level 8
Level 8
Posts: 2225
Joined: Sun Mar 27, 2016 6:58 pm

Re: DVD Not Mount Without Reboot

Post by rene » Tue Sep 04, 2018 7:02 am

For an internal drive the issue is at least sort of guaranteed to be not the same type of "unknown device" issue as expected above.

Which, given that poster was rude enough to not report back, his issue may of course also not be, but we'll never know that now...

Post Reply

Return to “Sound, Multimedia, & Codecs”