Does LIBREELEC not support BD-R UDF 2.6 format discs?

  • MY Hardware :

    RPI4B 2G V1.2

    LIBREELEC 9.2.8

    i have BD-ROM(USB-DRIVER) .

    when it's connect RPI4 .. will show <optic disc> menu on Main screen menu..

    and the <optic disc> menu, only two options operation <player> and <eject CD>...

    but put the BD-DISK it's UDF 2.6 format... it's not BD PLayer format..

    so i want BD-ROM can usage like USB-HDD Driver As Files can be reader...

    how can i do..

    thank you ..

  • First of all, my English is not good, so let me say sorry first.

    After testing for about a day,

    For the above questions, the preliminary understanding is as follows.

    BD-ROM (USB-DEVICE) is recognized and installed by the system.

    The main problem is the problem of inserting the <disc>.

    Insert a general DVD teaching disc, it can be recognized normally, and the disc file path can be accessed. (just like USB-HDD).

    But if you put in a BD-R(25G) disc (UDF 2.6 format), it will not be recognized.

    that BD-R Disk is burned into a data disc (UDF 2.6 format) with CDBurnerXP Tools(Ver 4.5.8.7128) .

    BD-ROM (USB-DEVICE) and BD-R (25G) discs are installed on win 7 & 10 systems

    It can recognize and read the disc data normally.

    Does LIBREELEC is not support BD-R UDF 2.6 format discs?

    OR How can i do some thing to fix this problem.

    Thank all..

    ---------------------

    The system log records as follows: (BD-R 25G DISC)

    ------------------------

    2021-12-22 20:44:40.169 T:2992628544 INFO: CD Analysis Report

    2021-12-22 20:44:40.169 T:2992628544 INFO: __________________________________

    2021-12-22 20:44:40.188 T:2992628544 INFO: CD-ROM with unknown filesystem

    2021-12-22 20:44:40.191 T:2992628544 INFO: Tracks overall:1; Audio tracks:0; Data tracks:1

    2021-12-22 20:44:40.191 T:2992628544 INFO: Using protocol D:\

    2021-12-22 20:44:40.191 T:2992628544 WARNING: Filesystem is not supported

    ------------------------


    ---------------------

    The system log records as follows: (general DVD teaching disc)

    ------------------------

    2021-12-22 20:43:19.700 T:2992628544 INFO: Detecting DVD-ROM media filesystem...

    2021-12-22 20:43:19.710 T:2992628544 INFO: CD Analysis Report

    2021-12-22 20:43:19.710 T:2992628544 INFO: __________________________________

    2021-12-22 20:43:19.720 T:2992628544 INFO: CD-ROM with ISO 9660 filesystem

    2021-12-22 20:43:19.720 T:2992628544 INFO: ISO 9660: 563744 blocks, label

    2021-12-22 20:43:19.725 T:2992628544 INFO: Tracks overall:1; Audio tracks:0; Data tracks:1

    2021-12-22 20:43:19.955 T:2992628544 INFO: Using protocol iso9660://

    2021-12-22 20:43:19.955 T:2992628544 INFO: Disc label:

    Edited once, last by ryusez (December 23, 2021 at 1:21 AM).

  • Code
    #
    # CD-ROM/DVD Filesystems
    #
    CONFIG_ISO9660_FS=m
    CONFIG_JOLIET=y
    CONFIG_ZISOFS=y
    CONFIG_UDF_FS=m
    # end of CD-ROM/DVD Filesystems

    ^ We set those options in kernel defconfig. I'm not sure what BD-ROM needs, if different. Does the drive/disc work in a general purpose distro like Ubuntu or Fedora?

  • I'm not sure what BD-ROM needs

    Blu-ray - Wikipedia
    en.wikipedia.org

    => "Filesystem"

    Universal Disk Format - Wikipedia

    => "Compatibility" => "Linux kernel 2.6.26 and newer"

    so it should read that disk ...

    2021-12-22 20:44:40.188 T:2992628544 INFO: CD-ROM with unknown filesystem

    ryusez

    according to this:

    How to mount cdrom in Linux
    In this Linux mount cdrom tutorial, we cover the step by step instructions to mount a CD or DVD on a Linux system.
    linuxconfig.org

    one {s,c}ould identify the Type with command "blkid"

  • Thank you GDPR-7 for the explanation..

    According to the instructions provided, the following instructions are provided for reference after executing the relevant instructions

    Still unable to mount BDROM DISK


    RPI-4B-2G:~ # blkid

    /dev/mmcblk0: PTUUID="ee03917a" PTTYPE="dos"

    /dev/mmcblk0p1: SEC_TYPE="msdos" LABEL_FATBOOT="LIBREELEC" LABEL="LIBREELEC" UUID="2410-0508" TYPE="vfat" PARTUUID="ee03917a-01"

    /dev/mmcblk0p2: LABEL="STORAGE" UUID="09814adf-0b3e-462b-ad3f-abd8815b9b92" TYPE="ext4" PARTUUID="ee03917a-02"

    /dev/sda1: LABEL="TOSHIBA_EXT" UUID="8fec9cc5-2bf7-1043-9012-006c93b01856" TYPE="ext4" PARTUUID="f5acfc11-01"

    /dev/loop0: TYPE="squashfs"

    /dev/sr0: UUID="2010112200000000" LABEL="MV-223-20200729" TYPE="udf"

    RPI-4B-2G:~ #


    RPI-4B-2G:/ # mkdir /media/cdrom

    RPI-4B-2G:/ # mount /dev/sr0 /media/cdrom

    mount: mounting /dev/sr0 on /media/cdrom failed: Invalid argument

    RPI-4B-2G:/ #

    RPI-4B-2G:/ # ^C

    RPI-4B-2G:/ # mount -t udf /dev/sr0 /media/cdrom

    mount: mounting /dev/sr0 on /media/cdrom failed: Invalid argument

    RPI-4B-2G:/ #


    https://imgur.com/aO1QjrU

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

    In addition, I tring use GOOGLE to do some thing ...

    and Find the following command reference

    But this instruction cannot be executed in LIBREELEC 9.2.8 system

    No longer can create usable UDF images - Pali/Udftools

    UDF formatting a BD-RE under Linux - media type "bdr" unknown?
    This is on Ubuntu 20.04.1, Pioneer BDR-XS07, 50 GB BD-RE (multiple discs from different vendors tested). Formatting the disc with UDF version 2.50 works: $…
    superuser.com

    Formatting the disc with UDF version 2.50 works:
    $ sudo mkudffs --utf8 --blocksize=2048 --media-type=bdr --udfrev=0x0250 --lvid=Backup2 --vid=Backup2 /dev/sr0


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

    If you need me to help test related commands, or provide related system information.

    Please guide me again. I can follow the instructions and provide information on the results of the execution.

    Thanks for the assistance.

    Edited 5 times, last by ryusez (December 24, 2021 at 3:11 PM).

  • Formatting the disc with UDF version 2.50 works:
    $ sudo mkudffs --utf8 --blocksize=2048 --media-type=bdr --udfrev=0x0250 --lvid=Backup2 --vid=Backup2 /dev/sr0

    After doing that, were you able to mount the disk then? I'm guessing 'yes' as you said it works, but better to verify then assume.

    If you then do the same command, but then explicitly use '2.60', would it fail like before or would that work?

    Another interesting test would be to only specify the required parameters, so it uses the default values for all others

    Why? It won't be the first time a Windows tool doesn't create things/disks according to spec/standard and while it may work on a or that specific Windows machine (possibly 'assisted' by that same disk creation tool), another tool working according to spec, may choke on it.

    The homepage of the 'udftools' package on Debian is https://github.com/pali/udftools and I'm guessing LE uses that too. You may find additional hints there (in issues f.e.).

    If you can reproduce the problem on a disk created on a Linux machine, that's also the (best) place to report it, so it can be fixed.

  • diederik

    As explained in the above reply. The following command cannot be executed on LE 9.2.8 system

    "mkudffs --utf8 --blocksize=2048 --media-type=bdr --udfrev=0x0250 --lvid=Backup2 --vid=Backup2 /dev/sr0"

    I also tried LE 10.0.1 & Raspberry Pi OS, and it was the same situation.

    and i think the BDrom DISK, that need use the custom command method to read it.

    So ask everyone,

    How to set mkudffs to execute on LE 9.2.8 system (RPI 4B) ...

    Thank you also chewitt for your reply

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

    i think mkudffs maybe to Re-compiler on LE ..

    But I don't know how to use Linux system...

    just only follow Someone can provide the SOP guideline .

    Step by step follow the instructions

    Thank all...