DBI semaphore error

CaptainKoloth

Active Member
OP
Newcomer
Joined
Aug 12, 2017
Messages
36
Trophies
0
Age
46
XP
252
Country
United States
I'm trying to back up NSPs from my Switch to PC via USB using dbi, but whenever I initiate the transfer, after a few minutes it will consistently stop and display the error "The semaphore timeout period has expired." What is happening? What can I do about it?
 

binkinator

Garfield’s Fitness Coach
Member
GBAtemp Patron
Joined
Mar 29, 2021
Messages
6,511
Trophies
2
XP
6,157
Country
United States
I'm trying to back up NSPs from my Switch to PC via USB using dbi, but whenever I initiate the transfer, after a few minutes it will consistently stop and display the error "The semaphore timeout period has expired." What is happening? What can I do about it?

your PC is losing connectivity to the “drive” (your switch)

try swapping out your USB cable.

try rebooting your PC.

make sure your switch shows up properly in device manager (no alerts/errors)

check that yiu have the right driver.

does it work with a small game or just not work at all?
 
Last edited by binkinator,

binkinator

Garfield’s Fitness Coach
Member
GBAtemp Patron
Joined
Mar 29, 2021
Messages
6,511
Trophies
2
XP
6,157
Country
United States
Happened with three different USB cables on two different PCs. Game size doesn't seem to make a difference.
well crap. That’s pretty consistent that somethings not getting set up right on the switch end.

are you able to do other USB related tasks such as mount your SDCard via UMS in Hekate?
 

CaptainKoloth

Active Member
OP
Newcomer
Joined
Aug 12, 2017
Messages
36
Trophies
0
Age
46
XP
252
Country
United States
Interestingly, it only seems to be happening with folders- not NSPs. So maybe it's large numbers of files that are confusing it.
 

binkinator

Garfield’s Fitness Coach
Member
GBAtemp Patron
Joined
Mar 29, 2021
Messages
6,511
Trophies
2
XP
6,157
Country
United States
Spoke too soon, it also happens with NSPs, though it takes a little longer before it happens.

I don’t know, man. I’m using the latest version they just released a few days ago, I’ve been trying to get it to fail. No luck unless I just flat out whack the tinfoil drivers.

somebody smarter than me want to look at this?
 

binkinator

Garfield’s Fitness Coach
Member
GBAtemp Patron
Joined
Mar 29, 2021
Messages
6,511
Trophies
2
XP
6,157
Country
United States

CaptainKoloth

Active Member
OP
Newcomer
Joined
Aug 12, 2017
Messages
36
Trophies
0
Age
46
XP
252
Country
United States
FYI, also tried via Tinfoil and I'm getting the same error. I can see the files on PC, but I can't reliably copy them. I tried connecting to a drive formatted to FAT32 and an exFAT drive on Windows 11 and Windows 10. It's highly repeatable for me. I'm amazed no one else ever seems to have seen this error.
 

binkinator

Garfield’s Fitness Coach
Member
GBAtemp Patron
Joined
Mar 29, 2021
Messages
6,511
Trophies
2
XP
6,157
Country
United States
FYI, also tried via Tinfoil and I'm getting the same error. I can see the files on PC, but I can't reliably copy them. I tried connecting to a drive formatted to FAT32 and an exFAT drive on Windows 11 and Windows 10. It's highly repeatable for me. I'm amazed no one else ever seems to have seen this error.

You’ve done a great job isolating what it’s not…that’s for sure.

I’ve never tried this but maybe you could get some insight into what’s going on by sniffing the traffic:

https://freeusbanalyzer.com/
 

CaptainKoloth

Active Member
OP
Newcomer
Joined
Aug 12, 2017
Messages
36
Trophies
0
Age
46
XP
252
Country
United States
This is all I got in the log of one failed transfer. Not very illuminating.





Scanning applications...61/61...done
Found 1 users
UID: 10000000009387B9B7AAF12DEC83A082, Nick: User
Found 15 saves
System : 0 saves
Account : 13 saves
BCAT : 1 saves
Device : 0 saves
Temporary : 0 saves
Cache : 1 saves
SystemBCAT: 0 saves
Enumerating album items on NAND
Found 0 album items
Enumerating album items on MicroSD
Found 2 album items
USB3.0 Enabled: no
Server started

Session opened
Sending file: /1979 Revolution Black Friday [B+U65536].nsp
 

Deleted member 585564

Well-Known Member
Newcomer
Joined
Feb 18, 2022
Messages
70
Trophies
0
Age
23
Location
In your head, rent-free
XP
57
Country
United States
Tinfoil registry fix?

Code:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\VID_057E&PID_201D\[DBI VERSION]\Device Parameters]
"DeviceIdleEnabled"=dword:00000000
"DefaultIdleTimeout"=dword:0000EA60
"USBTimeout"=dword:0000EA60

You might need to adapt the VID and PID to your Switch, but hopefully the values will be the same for everyone.

With DBI MTP connected, go to device manager, Portable Devices, and Right-click --> Properties on Switch. Under Details tab, select Hardware Ids property. Then open regedit, go to [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\, and find the key that matches the value you got from device manager. Inside it will be another key that's the DBI version you're using, and inside will be the Device Parameters key. Try to change DeviceIdleEnabled dword to 0, DefaultIdleTimeout to EA60, and create a dword for USBTimeout and set it to EA60.

I'm trying this right now because I'm running into the same issue, so I can't confirm if it helps. But if it doesnt end up helping for me, it might end up helping for you still.

One thing I noticed is that when I got the error, a game produced a 30GB NSP despite the game actually being 17GB (doom eternal), I'm wondering if it somehow fails to properly switch the stream over to a different file, and it just keeps pumping data into the previous file until it realizes something's desynced and it errors out?
 
Last edited by Deleted member 585564,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • SylverReZ @ SylverReZ:
    They probably said "Hey, why not we combine the two together and make a 'new' DS to sell".
  • Veho @ Veho:
    It's a DS Lite in a slightly bigger DS Lite shell.
    +1
  • Veho @ Veho:
    It's not a Nintendo / iQue official product, it's a 3rd party custom.
    +1
  • Veho @ Veho:
    Nothing special about it other than it's more comfortable than the Lite
    for people with beefy hands.
    +1
  • Jayro @ Jayro:
    I have yaoi anime hands, very lorge but slender.
  • Jayro @ Jayro:
    I'm Slenderman.
  • Veho @ Veho:
    I have hands.
  • BakerMan @ BakerMan:
    imagine not having hands, cringe
    +1
  • AncientBoi @ AncientBoi:
    ESPECIALLY for things I do to myself :sad:.. :tpi::rofl2: Or others :shy::blush::evil:
    +1
  • The Real Jdbye @ The Real Jdbye:
    @SylverReZ if you could find a v5 DS ML you would have the best of both worlds since the v5 units had the same backlight brightness levels as the DS Lite unlockable with flashme
  • The Real Jdbye @ The Real Jdbye:
    but that's a long shot
  • The Real Jdbye @ The Real Jdbye:
    i think only the red mario kart edition phat was v5
  • BigOnYa @ BigOnYa:
    A woman with no arms and no legs was sitting on a beach. A man comes along and the woman says, "I've never been hugged before." So the man feels bad and hugs her. She says "Well i've also never been kissed before." So he gives her a kiss on the cheek. She says "Well I've also never been fucked before." So the man picks her up, and throws her in the ocean and says "Now you're fucked."
    +2
  • BakerMan @ BakerMan:
    lmao
  • BakerMan @ BakerMan:
    anyways, we need to re-normalize physical media

    if i didn't want my games to be permanent, then i'd rent them
    +1
  • BigOnYa @ BigOnYa:
    Agreed, that why I try to buy all my games on disc, Xbox anyways. Switch games (which I pirate tbh) don't matter much, I stay offline 24/7 anyways.
  • AncientBoi @ AncientBoi:
    I don't pirate them, I Use Them :mellow:. Like I do @BigOnYa 's couch :tpi::evil::rofl2:
    +1
  • cearp @ cearp:
    @BakerMan - you can still "own" digital media, arguably easier and better than physical since you can make copies and backups, as much as you like.

    The issue is DRM
  • cearp @ cearp:
    You can buy drm free games / music / ebooks, and if you keep backups of your data (like documents and family photos etc), then you shouldn't lose the game. but with a disk, your toddler could put it in the toaster and there goes your $60

    :rofl2:
  • cearp @ cearp:
    still, I agree physical media is nice to have. just pointing out the issue is drm
  • rqkaiju2 @ rqkaiju2:
    i like physical media because it actually feels like you own it. thats why i plan on burning music to cds
  • cearp @ cearp:
    It's nice to not have to have a lot of physical things though, saves space
    +1
  • AncientBoi @ AncientBoi:
    Nor clothes 🤮 . Saves on time, soap, water and money having to wash them. :D
    AncientBoi @ AncientBoi: Nor clothes 🤮 . Saves on time, soap, water and money having to wash them. :D