"ILLEGAL REQUEST" issues with Initio USB 3.0 based drives

The place to discuss linux version of MakeMKV
Post Reply
directhex
Posts: 2
Joined: Tue May 12, 2015 9:56 am

"ILLEGAL REQUEST" issues with Initio USB 3.0 based drives

Post by directhex » Tue May 12, 2015 10:07 am

Errors like "Error 'Scsi error - ILLEGAL REQUEST:COPY PROTECTION KEY EXCHANGE FAILURE - KEY NOT ESTABLISHED' occurred while issuing SCSI command AD010..0800024C0 to device 'SG:dev_11:0'" are not new. They are years old now.

The common feature in all the Linux reports of these errors is the manufacturer of the USB 3 bridge chip in use - USB ID 13fd:3940. This chip is common to MANY USB 3 external Blu-Ray drives, including:
  • Pawtec UltraSlim External USB 3.0 Slot-Loading BDXL 3D Blu-Ray Writer
  • UPH Optical Drive USB 3.0 HDD & Optical Caddy
  • HP DVDWBD TS-LB23
  • Slimtype BD E DS4E1S
You can check if this is what you have with "lsusb -v -d 13fd:"

Given the drives work in Windows, there clearly isn't an issue with the drive's controller itself - the problem is at a software level or an OS level.

What does GuinpinSoft need from us to isolate and fix the issue here? It's immensely tirsome to need to reboot into Windows to do a rip.

Reiver
Posts: 3
Joined: Wed Jul 26, 2017 8:45 am

Re: "ILLEGAL REQUEST" issues with Initio USB 3.0 based drive

Post by Reiver » Wed Jul 26, 2017 9:15 am

Not to necro bump an issue but this is the clearest topic to add the information. These controllers were also discussed at MakeMKV on Linux and Copy Protection Key Exchange Failure. While you can use the AACS KEYDB.cfg to bypass issue, it causes BD+ to fail to find FUTs. After submitting dumps, Mike was kind enough to point out that my enclosure was buggy and I needed to enable a quirk to ignore residue.

For Initio INIC-3619 USB3 to SATA controllers,where lsusb shows 13fd:3609, the following commit was included with Linux 4.11;
https://git.kernel.org/pub/scm/linux/ke ... 4b47de47fa

For Initio INIC-3609 USB3 to SATA controllers, where lsusb shows 13fd:3940, I've submitted the following patch to the linux-usb list so will hopefully included for Linux 4.13 else 4.14;
https://marc.info/?l=linux-usb&m=150102316109712&w=2

I would assume the Windows drivers ignore the residue by default whereas Linux follows the spec.

alea54
Posts: 7
Joined: Sat Apr 02, 2016 3:14 pm

Re: "ILLEGAL REQUEST" issues with Initio USB 3.0 based drive

Post by alea54 » Tue Aug 01, 2017 1:11 pm

Dear Reiver,

Many many thanks !
I was desperate to see this problem solved and you did it.
By coincidence, I emailed makemkv this morning to ask about this longstanding problem.

I just applied your patch to the current rc kernel ant it worked great.

Many thanks again.

directhex
Posts: 2
Joined: Tue May 12, 2015 9:56 am

Re: "ILLEGAL REQUEST" issues with Initio USB 3.0 based drive

Post by directhex » Sat Sep 30, 2017 12:00 am

Reiver,

THANK YOU!

Finally MakeMKV is useful for me on Linux on my new PC - Tobias' patch was backported to Ubuntu's stable kernel: http://kernel.ubuntu.com/git/ubuntu/ubu ... ad92642299

Post Reply