Stuck at "Using (non-existing) config file at /home/$username/.libdriveio/sdf.conf "

Forum for discussions about UHD-capable dives
Post Reply
UHDEnjoyer
Posts: 2
Joined: Sat Oct 05, 2024 6:51 pm

Stuck at "Using (non-existing) config file at /home/$username/.libdriveio/sdf.conf "

Post by UHDEnjoyer »

Hello,

i am trying to flash my drive with the latest firmware, to be able to use UHD BlueRays.
As far as I understand it, my drive should be supported, according to the Instructions

Code: Select all

Found sdf.bin version 0x98 at ./sdf.bin
Loaded SDF.bin version 0x98
SDF.bin version: 0x0098

Drive Tool SDF present

Drive Specific SDF present

[Drive Specific SDF] Embedded Info Strings:
8000:LibreDrive Information

8013:Status
8109:Possible (with patched firmware)

8001:Drive platform
:MT1959

8010:Harware support
8100:Yes

8011:Firmware support
8101:No

8002:Firmware type
8108:Original (patched version available)

8003:Firmware version
:1.01

8005:DVD all regions
8109:Possible (with patched firmware)

8006:BD raw data read
8109:Possible (with patched firmware)

8007:BD raw metadata read
8109:Possible (with patched firmware)

8009:Unrestricted read speed
8109:Possible (with patched firmware)


[Drive Specific SDF] Embedded Status Message:
8096:LibreDrive mode for this drive is only possible with firmware upgrade (id=%1)
:3A9303EC1713


Identification SDF present

[Identification SDF] Embedded Info Strings:
8000:LibreDrive Information

8013:Status
8102:Possible, not yet enabled

8001:Drive platform
:MT1959


[Identification SDF] Drive autodetect string:
mtk:19:59:BU5 :HL-DT-ST:BD-RE BU40N     1.01:R001801:-




So I downloaded the latest sdf.bin and my firmware from the instructions and build makemkv-bin and makemkv-oss from source.

Now I want to flash it:

Code: Select all

makemkvcon f -d /dev/sr1 -f ./sdf.bin rawflash main -i ./HL-DT-ST-BD-RE_BU40N-1.03-NM00000-211810241934.bin -vvv                                  
Found sdf.bin version 0x98 at ./sdf.bin
Loaded SDF.bin version 0x98
Found drive-specific logic in SDF.bin
Using (non-existing) config file at /home/$USERNAME/.libdriveio/sdf.conf
But it gets stuck at the last line, it can't find the sdf.conf. And the tool is right, the file is not there. But I could not find any information about this file that is missing, besides that I could also point the program to the file directly, if I would have it.

I found no information in this forum or google on this file. Where do I find it and what should be inside? Any help would be appreciated.

Thanks!
UHDEnjoyer
Posts: 2
Joined: Sat Oct 05, 2024 6:51 pm

Re: Stuck at "Using (non-existing) config file at /home/$username/.libdriveio/sdf.conf "

Post by UHDEnjoyer »

I tested it again with a different Notebook running Arch Linux and got the same problem.

Does somebody know what this sdf.conf file should look like?
MrPenguin
Posts: 494
Joined: Thu Oct 19, 2023 11:31 pm

Re: Stuck at "Using (non-existing) config file at /home/$username/.libdriveio/sdf.conf "

Post by MrPenguin »

UHDEnjoyer wrote:
Mon Oct 14, 2024 4:17 pm
Does somebody know what this sdf.conf file should look like?
Are you running the tool as "root", by any chance? Because on my Linux box, root's $HOME is not /home/root/.

But I would have thought that it would just use the default settings if it cannot find a config file.
homemadeStuff
Posts: 2
Joined: Sun Oct 20, 2024 10:26 pm

Re: Stuck at "Using (non-existing) config file at /home/$username/.libdriveio/sdf.conf "

Post by homemadeStuff »

Having the exact same issue from Arch - I also tried from Ubuntu and had the same result.
Tried as root and my user.
I also searched my machine for an sdf.conf file and found none.
zeroryouko
Posts: 10
Joined: Wed Jan 24, 2018 8:13 pm

Re: Stuck at "Using (non-existing) config file at /home/$username/.libdriveio/sdf.conf "

Post by zeroryouko »

Getting the same issue here, trying to flash an ASUS BW-16D1HT, on Mint 22.
$ makemkvcon f -d 'dev_21:14' --info
SDF.bin version: 0x0098

Drive Tool SDF present

Drive Specific SDF not present

Identification SDF present

[Identification SDF] Embedded Info Strings:
8000:LibreDrive Information

8013:Status
8102:Possible, not yet enabled

8001:Drive platform
:MT1959

[Identification SDF] Drive autodetect string:
mtk:19:59:JB8 :ASUS :BW-16D1HT 3.11:W000600:-
$ makemkvcon f -vvv -d 'dev_21:14' -f ~/Downloads/sdf.bin rawflash enc -i ~/Downloads/mk-firmware-pack-20200720/MK/ASUS/BW-16D1HT/ASUS-BW-16D1HT-3.10-WM01601-211901041014.bin
Found sdf.bin version 0x98 at /home/username/Downloads/sdf.bin
Loaded SDF.bin version 0x98
No drive-specific logic found in SDF.bin
Using (non-existing) config file at /home/username/.libdriveio/sdf.conf
GauntletWizard
Posts: 2
Joined: Wed Oct 23, 2024 9:50 pm

Re: Stuck at "Using (non-existing) config file at /home/$username/.libdriveio/sdf.conf "

Post by GauntletWizard »

I also had the same issue. I explored what was going on with strace, but without any obvious clues. I eventually gave up and was successful with reflashing my drive with my firmware on Windows, and after that I've had no problems back on Linux.
forresthopkinsa
Posts: 8
Joined: Tue Dec 31, 2019 6:22 pm

Re: Stuck at "Using (non-existing) config file at /home/$username/.libdriveio/sdf.conf "

Post by forresthopkinsa »

Seeing this right now on OpenSUSE Tumbleweed. No idea how to circumvent.

EDIT: Downloading and installing makemkv-bin-1.17.7 seems to fix the problem. Note that the sdftool binary reports its version as 2.6 regardless of whether makemkvcon is v1.17.7 or v1.17.8 – regardless, 1.17.7 works and -8 does not.
homemadeStuff
Posts: 2
Joined: Sun Oct 20, 2024 10:26 pm

Re: Stuck at "Using (non-existing) config file at /home/$username/.libdriveio/sdf.conf "

Post by homemadeStuff »

forresthopkinsa wrote:
Thu Oct 24, 2024 7:12 am
Downloading and installing makemkv-bin-1.17.7 seems to fix the problem.
Sweet, this worked for me!
Post Reply