External BD-Rom drive over PATA to USB Adapter only works with DVDs

Hi,

I am trying to use an external drive to play Blu-Ray Movies, but only DVDs seem to play properly.

I am using an external Blu-Ray Shell with a slimline drive mounted in it.
LSUSB displays the device as:
Initio Corporation INIC-1511L PATA Bridge

The drive is a:
Sony Optiarc BC-5500a BD-Rom Drive

When connecting the device the drive name is displayed properly, but as far as I understand the dmesg output it only loads as a dvd-drive:

[  134.957872] usb 1-2.3: new high-speed USB device number 8 using xhci_hcd
[  135.081954] usb 1-2.3: New USB device found, idVendor=13fd, idProduct=1040, bcdDevice= 1.06
[  135.081963] usb 1-2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  135.081967] usb 1-2.3: Product: BD ROM BC-5500A 
[  135.081970] usb 1-2.3: Manufacturer: Initio
[  135.081972] usb 1-2.3: SerialNumber: 0000000000000000W
[  135.095989] usb-storage 1-2.3:1.0: USB Mass Storage device detected
[  135.096194] scsi host6: usb-storage 1-2.3:1.0
[  136.203017] scsi 6:0:0:0: CD-ROM            Optiarc  BD ROM BC-5500A  1.B4 PQ: 0 ANSI: 0
[  136.342245] sr 6:0:0:0: [sr0] scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray
[  136.343332] sr 6:0:0:0: Attached scsi CD-ROM sr0

When putting a Blu-Ray into the drive the following output appears:

[  230.624037] sr 6:0:0:0: [sr0] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s
[  230.624044] sr 6:0:0:0: [sr0] tag#0 Sense Key : Illegal Request [current] 
[  230.624047] sr 6:0:0:0: [sr0] tag#0 Add. Sense: Read of scrambled sector without authentication
[  230.624050] sr 6:0:0:0: [sr0] tag#0 CDB: Read(10) 28 00 00 38 66 52 00 00 02 00 00 00
[  230.624051] I/O error, dev sr0, sector 14784840 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 2
[  230.717765] sr 6:0:0:0: [sr0] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s
[  230.717769] sr 6:0:0:0: [sr0] tag#0 Sense Key : Illegal Request [current] 
[  230.717772] sr 6:0:0:0: [sr0] tag#0 Add. Sense: Read of scrambled sector without authentication
[  230.717775] sr 6:0:0:0: [sr0] tag#0 CDB: Read(10) 28 00 00 38 66 52 00 00 02 00 00 00
[  230.717776] I/O error, dev sr0, sector 14784840 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
[  230.717780] Buffer I/O error on dev sr0, logical block 1848105, async page read
[  232.926276] sr 6:0:0:0: [sr0] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s
[  232.926283] sr 6:0:0:0: [sr0] tag#0 Sense Key : Illegal Request [current] 
[  232.926286] sr 6:0:0:0: [sr0] tag#0 Add. Sense: Read of scrambled sector without authentication
[  232.926289] sr 6:0:0:0: [sr0] tag#0 CDB: Read(10) 28 00 00 38 67 00 00 00 3c 00 00 00
[  232.926291] I/O error, dev sr0, sector 14785536 op 0x0:(READ) flags 0x80700 phys_seg 16 prio class 2
[  233.113812] sr 6:0:0:0: [sr0] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s
[  233.113816] sr 6:0:0:0: [sr0] tag#0 Sense Key : Illegal Request [current] 
[  233.113819] sr 6:0:0:0: [sr0] tag#0 Add. Sense: Read of scrambled sector without authentication
[  233.113821] sr 6:0:0:0: [sr0] tag#0 CDB: Read(10) 28 00 00 38 67 10 00 00 02 00 00 00
[  233.113823] I/O error, dev sr0, sector 14785600 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
[  233.113826] Buffer I/O error on dev sr0, logical block 1848200, async page read

I checked that libbluray is installed, and added libaacs.

running bd_info /dev/sr0 results in

Using libbluray version 1.3.4
disc.c:333: failed opening UDF image /dev/sr0
disc.c:437: error opening file BDMV/index.bdmv
disc.c:437: error opening file BDMV/BACKUP/index.bdmv
bd_open('/dev/sr0', '(null)') failed.

Is this an issue with the Drive or the Bridge/external case?
I have not tried a windows system yet, since I do not have one easily available to verify the operation.

It is simply DRM → Digital Right Management. Take a look at Blu-ray - ArchWiki

I did the preparations under 2.1 earlier already.

When retrying a BD-ROM I do not get the output on dmesg any more, but I still seem unable to play anything, and bd_info (section 2.2) still gives the same error

Probably it is BD+ protected? See section 2.3.3

Also see: section 2.5.4

sudo modprobe sg

sg didn’t fix it.

The libbdplus installation seems quite complicated.
Is there an easy way to see which discs are bd±protected? I have various discs available I could use for testing

Check it with aacs_info on the terminal. Then it is AACS protected and not BD+.

The aacs_info seems like it can’t properly access the disk

aacs_info /dev/sr0                                                                                                      
Opening /dev/sr0 using libaacs 0.11.1 ...
aacs.c:464: Unable to open AACS/Content000.cer
aacs.c:464: Unable to open AACS/Content001.cer
aacs.c:1143: Failed to read content certificate file
aacs.c:1152: Failed to read Bus Encryption Enabled flag from content certificate file
aacs.c:464: Unable to open AACS/Unit_Key_RO.inf
aacs.c:464: Unable to open AACS/DUPLICATE/Unit_Key_RO.inf
aacs.c:1121: Failed to read unit key file (AACS/Unit_Key_RO.inf)
libaacs open failed: Corrupt disc
mmc.c:394: AACS not active or supported by the drive
aacs.c:1545: aacs_get_vid() failed
aacs.c:504: Unable to open AACS/MKB_RO.inf
aacs.c:504: Unable to open AACS/DUPLICATE/MKB_RO.inf
aacs.c:567: Error reading MKB file (AACS/MKB_RO.inf)
aacs.c:652: Error calculating media key - Failed opening MKB
aacs.c:1520: aacs_get_mk() failed
mmc.c:394: AACS not active or supported by the drive
mmc.c:394: AACS not active or supported by the drive
Disc ID: ???
VID    : ???
MK     : ???
aacs.c:504: Unable to open AACS/MKB_RO.inf
aacs.c:504: Unable to open AACS/DUPLICATE/MKB_RO.inf
aacs.c:567: Error reading MKB file (AACS/MKB_RO.inf)
MKBv   : 0
PMSN   : ???
Bus encryption:
  Device support:   no
  Enabled in media: no
Content Certificate ID: ???
BD-J Root Cert hash:    ???
Device binding ID:      E2CE3CD285DE91161B596FBC583FFC1A
Host Revocation List  (MKB version 0):
  (empty)
Drive Revocation List  (MKB version 0):
  (empty)

Looks like the drive is not capable to read encrypted Blu-rays… Buy a new one? Probably try that drive on WIndows or Mac…

I just checked the drive on windows, and after installing libaacs it ran the same blu ray without issues.
I also tried the other path for the keydb file on manjaro, but that didn’t change anything, I was suspecting permission issues.

It looks more and more like a driver problem to me. On windows even without the keys the disk spins up and runs much longer, while on linux there are only sounds for a short moment before it seems to go into a standby mode.

You run that as root and not as user, correct? Because a # on the terminal means “root permissions” and $ means “user permissions”. So run it with sudo to get root permissions. I thought you know that.

sudo aacs_info /dev/sr0

or

sudo bd_info /dev/sr0

Sorry, I thought you used the root account, since dmesg needs that also.

If it really a suspend problem, then see TLP to disable AUTOSUSPEND for USB devices…

Everything was run as root. I just wasn’t sure what the right permissions of the config file were.

I changed autosuspend, but there was unfortunately no difference

Yeah, it sucks. DRM is and was always a pain on Linux, because it is mostly reverse-engineered. In case of DVD and BD.

I would advise you to look into Makemkv and VLC. Makemkv is shareware and can emulate libaacs and libbdplus.

Whish you good luck with that, since I don’t own a BD-Player.