[mythtv-users] Multiple ODD drives

Igor Cicimov icicimov at gmail.com
Tue Nov 19 15:30:07 UTC 2013


On Wed, Nov 20, 2013 at 1:33 AM, Stuart Morgan <stuart at tase.co.uk> wrote:

> On Wednesday 20 Nov 2013 01:12:32 Igor Cicimov wrote:
> > Hi all,
> >
> > I've been looking for multiple optical drives support option in mythtv
> (I'm
> > on latest 0.27) in terms of playback and seams I can't get around this
> > problem. In case I have multiple drives, or as in my case one DVD and one
> > BD how can I specify which drive to play from when I go to "Watch A Disc"
> > menu? I can see an option for specifying dvd and bluray device in the
> > fontend multimedia settings whcih I have done but when I press the above
> > mentioned menu it always tries to open /dev/dvd. Am I missing something?
>
> The decision about which drive to use, or even whether there are multiple
> drives to be used, depends on the use of udev (libudev) and the dbus udisks
> service. If either udev or dbus are missing from the system, or MythTV was
> compiled without support, then MythTV is effectively blind to the available
> drives and all associated functionality ceases to work. Mythfrontend falls
> back to /dev/dvd as a last resort.
>
> From the description, this sounds like the problem here. If you are using
> packages they have been compiled incorrectly.
> --
>

I don't think so, both udev and dbus are installed:

$ dpkg -l | grep dbus
ii  dbus                                 1.4.18-1ubuntu1.4
                 simple interprocess messaging system (daemon and utilities)
ii  dbus-x11                             1.4.18-1ubuntu1.4
                 simple interprocess messaging system (X11 deps)
ii  gir1.2-dbusmenu-glib-0.4             0.6.2-0ubuntu0.2
                typelib file for libdbusmenu-glib4
ii  gir1.2-dbusmenu-gtk-0.4              0.6.2-0ubuntu0.2
                typelib file for libdbusmenu-gtk4
ii  libdbus-1-3                          1.4.18-1ubuntu1.4
                 simple interprocess messaging system (library)
ii  libdbus-glib-1-2                     0.98-1ubuntu1.1
                 simple interprocess messaging system (GLib-based shared
library)
ii  libdbusmenu-glib4                    0.6.2-0ubuntu0.2
                library for passing menus over DBus
ii  libdbusmenu-gtk3-4                   0.6.2-0ubuntu0.2
                library for passing menus over DBus - GTK+ version
ii  libdbusmenu-gtk4                     0.6.2-0ubuntu0.2
                library for passing menus over DBus - GTK+ version
ii  libnet-dbus-perl                     1.0.0-1build1
                 Extension for the DBus bindings
ii  libnih-dbus1                         1.0.3-4ubuntu9.1
                NIH D-Bus Bindings Library
ii  libqt4-dbus                          4:4.8.1-0ubuntu4.4
                Qt 4 D-Bus module
ii  python-dbus                          1.0.0-1ubuntu1
                simple interprocess messaging system (Python interface)
ii  python-dbus-dev                      1.0.0-1ubuntu1
                main loop integration development files for python-dbus
ii  qdbus                                4:4.8.1-0ubuntu4.4
                Qt 4 D-Bus tool

$ dpkg -l | grep udev
ii  gir1.2-gudev-1.0                     175-0ubuntu9.4
                libgudev-1.0 introspection data
ii  libgudev-1.0-0                       1:175-0ubuntu9.4
                GObject-based wrapper library for libudev
ii  libudev0                             175-0ubuntu9.4
                udev library
ii  udev                                 175-0ubuntu9.4
                rule-based device node and kernel event manager

plus the udev rules for both drives exist:

$ cat /etc/udev/rules.d/70-persistent-cd.rules
# This file maintains persistent names for CD/DVD reader and writer devices.
# See udev(7) for syntax.
#
# Entries are automatically added by the 75-cd-aliases-generator.rules
# file; however you are also free to add your own entries provided you
# add the ENV{GENERATED}=1 flag to your own rules as well.
# TSSTcorp_CDDVDW_SH-S223F (pci-0000:00:11.0-scsi-3:0:0:0)
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*",
ENV{ID_PATH}=="pci-0000:00:11.0-scsi-3:0:0:0", SYMLINK+="cdrom",
ENV{GENERATED}="1"
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*",
ENV{ID_PATH}=="pci-0000:00:11.0-scsi-3:0:0:0", SYMLINK+="cdrw",
ENV{GENERATED}="1"
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*",
ENV{ID_PATH}=="pci-0000:00:11.0-scsi-3:0:0:0", SYMLINK+="dvd",
ENV{GENERATED}="1"
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*",
ENV{ID_PATH}=="pci-0000:00:11.0-scsi-3:0:0:0", SYMLINK+="dvdrw",
ENV{GENERATED}="1"

# Optiarc_BD_RW_BD-5300S (pci-0000:00:11.0-scsi-1:0:0:0)
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*",
ENV{ID_PATH}=="pci-0000:00:11.0-scsi-1:0:0:0", SYMLINK+="cdrom1",
ENV{GENERATED}="1"
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*",
ENV{ID_PATH}=="pci-0000:00:11.0-scsi-1:0:0:0", SYMLINK+="cdrw1",
ENV{GENERATED}="1"
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*",
ENV{ID_PATH}=="pci-0000:00:11.0-scsi-1:0:0:0", SYMLINK+="dvd1",
ENV{GENERATED}="1"
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*",
ENV{ID_PATH}=="pci-0000:00:11.0-scsi-1:0:0:0", SYMLINK+="dvdrw1",
ENV{GENERATED}="1"

Any other ideas? This is mythbuntu 0.27 by the way so nothing compiled here.

Cheers,
Igor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20131120/2ad9c7dd/attachment.html>


More information about the mythtv-users mailing list