Search found 2 matches

by UltraRip
Wed Apr 01, 2026 2:10 pm
Forum: MakeMKV for Linux
Topic: Aliexpress BU40N inside USB3.0 enclosure. How to in Archlinux...
Replies: 3
Views: 384

Re: Aliexpress BU40N inside USB3.0 enclosure. How to in Archlinux...

Thank you, this explains some strange things I get. Could you post a link for your metal enclosure ? I'm looking for one... Hi!, I added the link to the Aliexpress item in the main post. Take into account that there are several similar enclosures in Aliexpress, some of them include 2 cables which y...
by UltraRip
Wed Apr 01, 2026 1:43 am
Forum: MakeMKV for Linux
Topic: Aliexpress BU40N inside USB3.0 enclosure. How to in Archlinux...
Replies: 3
Views: 384

Aliexpress BU40N inside USB3.0 enclosure. How to in Archlinux...

Hi! First of all thanks for all the information, guides and tricks, and these awesome tools to make us able to rip our valuable movie collections.
I just want to share with you the setup I have, the problems I faced and how I solved it using: The optical drive comes pre-flashed with a firmware which according to MakeMKV already supports UHD Ripping, I flashed it to firmware 1.03 however, to make sure no issues are present because the factory firmware.
The included enclosure allows to flash the internal drive, so no need to open it.
The enclosure have a single USB-microB port for USB 3.0 connection, there are other similar enclosures which have 2 cables, but those use USB 2.0, I'm not sure if those could work also.

THE PROBLEMS
  • Drive disconnects after trying to read a 2 layer 4K UHD disk.
  • Drive takes a lot of time to mount a disk and fails trying to do so.
  • The drive works with some 2 layer disks, but does not with others.
  • The drive produces a lot of noises while seeking or reading on disk load.
THE SOLUTION
The mentioned errors do not occur in Windows 10, there, the disks are successfully read and ripped without issues, no matter if they are 2 or 3 layer.

In my case, the solution was to add some quirks to modprobe like this:
  • Take out of the drive any disk and close the drive tray.
  • Identify your unit with

    Code: Select all

    lsusb
    In my case it shows:

    Code: Select all

    Bus 003 Device 005: ID 13fd:0840 Initio Corporation INIC-1618L SATA
  • Pay attention at the vendor and product ids, and run:

    Code: Select all

    sudo echo 'options usb-storage quirks=13fd:0840:mku' | sudo tee /etc/modprobe.d/usb-storage-quirks.conf
  • Update your /etc/mkinitcpio.conf by adding the file to the FILES section, you can use:

    Code: Select all

    sudo nano /etc/mkinitcpio.conf
    Look for the FILES section and update it like this:

    Code: Select all

    # FILES
    # This setting is similar to BINARIES above, however, files are added
    # as-is and are not parsed in any way.  This is useful for config files.
    FILES=(/etc/modprobe.d/usb-storage-quirks.conf)
    
  • Update the initramfs by running:

    Code: Select all

    sudo mkinitcpio -P
  • Reboot
HOW TO VERIFY
After reboot run:

Code: Select all

cat /sys/module/usb_storage/parameters/quirks
It should show something like:

Code: Select all

13fd:0840:mku
WHAT IF I WANT TO ADD MORE QUIRKS TO ANOTHER DEVICE?
Then you need to add them separated by comma in the same line, in the same file like this:

Code: Select all

options usb-storage quirks=174c:1153:u,13fd:0840:mku
In this case 174c:1153:u is for disabling UASP in a UGREEN Sata to USB3.0 adapter I got before.

WHAT DOES THIS DO? (According to google Gemini)
For anyone else reading along, here is what those specific flags did for your BU40N:

m (IGNORE_DEVICE): This helps prevent the kernel from trying to "probe" the device too aggressively when it first mounts, which can sometimes cause the initial spin-up loop.

k (NO_SAME_REPORT_ID): This fixes issues where the HID (Human Interface Device) part of the bridge chip gets confused, which is common in these "generic" AliExpress enclosures.

u (IGNORE_UAS): This is the heavy hitter. It forces the drive to use the older USB Mass Storage protocol instead of UASP (USB Attached SCSI Protocol).

Why "u" (Ignore UAS) saved your 2-layer discs

While UASP is faster for SSDs, it is notoriously unstable for optical drives—especially during the complex seek patterns of 2-layer UHD discs.

The Conflict: UASP tries to queue commands to make things faster. When the BU40N hits a difficult layer jump on a 66GB disc, it needs to pause and re-focus.

The Crash: UASP often interprets this "pause" as a timeout or a hung command, causing the bridge chip to reset the entire USB connection.
(I can confirm this, since just before the drive disconnects, I can see a TIMEOUT error in dmesg)

I'm not sure if all quirk flags are strictly needed but this worked for me.