Page 2 of 2

Re: DVD Not Mount Without Reboot

Posted: Thu Aug 30, 2018 7:20 pm
by alligoodw
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.

Re: DVD Not Mount Without Reboot

Posted: Thu Aug 30, 2018 7:56 pm
by rene
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.

Re: DVD Not Mount Without Reboot

Posted: Thu Aug 30, 2018 8:04 pm
by Lord Boltar
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)

Re: DVD Not Mount Without Reboot

Posted: Fri Aug 31, 2018 11:01 am
by rene
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...

Re: DVD Not Mount Without Reboot

Posted: Tue Sep 04, 2018 3:52 am
by vahidmint
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

Re: DVD Not Mount Without Reboot

Posted: Tue Sep 04, 2018 7:02 am
by rene
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...