[mythtv-users] Multiple ODD drives

Igor Cicimov icicimov at gmail.com
Wed Nov 20 04:59:13 UTC 2013


On Wed, Nov 20, 2013 at 12:55 PM, Igor Cicimov <icicimov at gmail.com> wrote:

>
>
>> No we understood. What we're saying is that if just one drive is detected
>> as
>> having a disc in it, then this drive is used. If both drives have a disc
>> then
>> a menu is displayed asking which disc you want to play. This functionality
>> depends on it correctly determining whether there are discs in the drives,
>> which in turn depends on udisks et al correctly reporting this
>> information to
>> mythfrontend.
>> --
>
> Cool, that's what I wanted to know. I'll try to find what's going wrong
> here and report back when/if I get to "menu is displayed asking which disc
> you want to play" screen.
>
> Thanks,
> Igor
>
>
Interesting, no the playback goes strait to the bluray drive. Both devices
have been mounted properly showing the content of the mount points.

igorc at mythtv:~$ mount | grep sr[01]
/dev/sr0 on /media/bluray type udf
(ro,nosuid,nodev,uid=1000,gid=24,utf8,_netdev,user=igorc)
/dev/sr1 on /media/dvd type udf
(ro,nosuid,nodev,uid=1000,gid=24,utf8,_netdev,user=igorc)

igorc at mythtv:~$ ls -l /media/dvd/
total 2
dr-xr-xr-x 2 igorc cdrom 1392 Dec  5  2000 VIDEO_TS

igorc at mythtv:~$ ls -l /media/bluray/
total 8
dr-xr-xr-x  3 igorc cdrom 644 Jul  2  2008 AACS
dr-xr-xr-x 10 igorc cdrom 520 Jul  2  2008 BDMV
dr-xr-xr-x  3 igorc cdrom 232 Jul  2  2008 BDSVM
dr-xr-xr-x  3 igorc cdrom 192 Jul  2  2008 CERTIFICATE

the relevant output of "udisks --dump"

========================================================================
Showing information for /org/freedesktop/UDisks/devices/sr0
  native-path:
/sys/devices/pci0000:00/0000:00:11.0/host1/target1:0:0/1:0:0:0/block/sr0
  device:                      11:0
  device-file:                 /dev/sr0
    presentation:              /dev/sr0
  detected at:                 Wed 20 Nov 2013 15:36:06 EST
  system internal:             0
  removable:                   1
  has media:                   1 (detected at Wed 20 Nov 2013 15:36:06 EST)
    detects change:            1
    detection by polling:      1
    detection inhibitable:     1
    detection inhibited:       0
  is read only:                0
  is mounted:                  1
  *mount paths:             /media/bluray*
  mounted by uid:              0
  presentation hide:           0
  presentation nopolicy:       0
  presentation name:
  presentation icon:
  automount hint:
  size:                        46900903936
  block size:                  2048
  job underway:                no
  usage:                       filesystem
  type:                        udf
  version:
  uuid:
  label:                       WALK_THE_LINE_F1
  optical disc:
    blank:                     0
    appendable:                0
    closed:                    1
    num tracks:                1
    num audio tracks:          0
    num sessions:              1
  drive:
    vendor:                    Optiarc
    model:                     Optiarc BD RW BD-5300S
    revision:                  1.03
    serial:                    30666360_1020460L411
    WWN:
    detachable:                0
    can spindown:              0
    rotational media:          Yes, unknown rate
    write-cache:               unknown
    ejectable:                 1
    adapter:
/org/freedesktop/UDisks/adapters/0000_3a00_3a11_2e0
    ports:
      /org/freedesktop/UDisks/adapters/0000_3a00_3a11_2e0/host1
    similar devices:
    media:                     optical_bd
      compat:                  optical_bd optical_bd_r optical_bd_re
optical_cd optical_cd_r optical_cd_rw optical_dvd optical_dvd_plus_r
optical_dvd_plus_r_dl optical_dvd_plus_rw optical_dvd_r optical_dvd_ram
optical_dvd_rw optical_mrw optical_mrw_w
    interface:                 scsi
    if speed:                  (unknown)
    ATA SMART:                 not available

========================================================================
Showing information for /org/freedesktop/UDisks/devices/sr1
  native-path:
/sys/devices/pci0000:00/0000:00:11.0/host3/target3:0:0/3:0:0:0/block/sr1
  device:                      11:1
  device-file:                 /dev/sr1
    presentation:              /dev/sr1
    by-id:                     /dev/disk/by-id/ata-TSSTcorp_CDDVDW_SH-S223F
    by-path:
/dev/disk/by-path/pci-0000:00:11.0-scsi-3:0:0:0
  detected at:                 Wed 20 Nov 2013 15:36:06 EST
  system internal:             0
  removable:                   1
  has media:                   1 (detected at Wed 20 Nov 2013 15:36:06 EST)
    detects change:            1
    detection by polling:      1
    detection inhibitable:     1
    detection inhibited:       0
  is read only:                0
  is mounted:                  1
 * mount paths:             /media/dvd*
  mounted by uid:              0
  presentation hide:           0
  presentation nopolicy:       0
  presentation name:
  presentation icon:
  automount hint:
  size:                        7538753536
  block size:                  2048
  job underway:                no
  usage:                       filesystem
  type:                        udf
  version:
  uuid:
  label:                       THE_BEACH
  optical disc:
    blank:                     0
    appendable:                0
    closed:                    1
    num tracks:                1
    num audio tracks:          0
    num sessions:              1
  drive:
    vendor:                    TSSTcorp
    model:                     TSSTcorp CDDVDW SH-S223F
    revision:                  SB00
    serial:
    WWN:
    detachable:                0
    can spindown:              0
    rotational media:          Yes, unknown rate
    write-cache:               unknown
    ejectable:                 1
    adapter:
/org/freedesktop/UDisks/adapters/0000_3a00_3a11_2e0
    ports:
      /org/freedesktop/UDisks/adapters/0000_3a00_3a11_2e0/host3
    similar devices:
    media:                     optical_dvd
      compat:                  optical_cd optical_cd_r optical_cd_rw
optical_dvd optical_dvd_plus_r optical_dvd_plus_r_dl optical_dvd_plus_rw
optical_dvd_r optical_dvd_ram optical_dvd_rw optical_mrw optical_mrw_w
    interface:                 scsi
    if speed:                  (unknown)
    ATA SMART:                 not available

========================================================================

so no question a drive hasn't been recognized. I have "/dev/dvd" as DVD
device and "/media/bluray" as mount point for Bluray in the frontend
settings but I still can't see the disc menu popping up.

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


More information about the mythtv-users mailing list