rashevskyv / dbi

Author is duckbill
2.17k stars 92 forks source link

Can not use USB3.0 in DBI-SOLVED #341

Closed johnkelvinliu closed 5 months ago

johnkelvinliu commented 5 months ago

DBI 658+firmware 18.0.1, USB 3.0 does not work in DBI. Only usb 2.0. The USB cable was tested that it can run USB 3.0. How to solve it?

Solution of using USB3.0 again with fss0=atmosphere/package3, add usb3force=1 to each boot menu in micro sd card/bootloader/hekate_ipl.ini: [config] autoboot=2 autoboot_list=0 bootwait=0 backlight=100 noticker=0 autohosoff=2 autonogc=1 updater2p=1 bootprotect=0

[CFW - sysMMC] fss0=atmosphere/package3 kip1patch=nosigchk atmosphere=1 emummc_force_disable=1 icon=bootloader/res/icon_payload.bmp usb3force=1

[CFW - emuMMC] fss0=atmosphere/package3 kip1patch=nosigchk emummcforce=1 atmosphere=1 icon=bootloader/res/icon_payload.bmp usb3force=1

[Stock - sysMMC] fss0=atmosphere/package3 emummc_force_disable=1 stock=1 icon=bootloader/res/icon_switch.bmp usb3force=1


The about settings does not require below settings as described in DBI readme. micro sd card/atmosphere/config/system_settings.ini : [usb] usb30_force_enabled = u8!0x1

muxi1 commented 5 months ago

The same problem here under AMS 1.7.0 / FW 18.0.1 / DBI 658. USB 3.0 is displayed as enabled in the DBI system info. Installations via the MTP responder are only carried out with USB 2.0. However, I have set USB 3.0 via exosphere.ini.

rashevskyv commented 5 months ago

Works fine on kefir

rashevskyv commented 5 months ago

It is works fine. There in no any exclusive features for kefir. You should check your own armosphere settings

RoboFox83 commented 5 months ago

I was having the same issue as johnkelvinliu.

I have two switches both on 18.0.0 on AMS 1.7. Both had usb30_force_enabled = u8!0x1 under system_settings.ini . One connects at 2.0 and the other at 3.0, using the same cable/port on my PC.

While looking at info from DBI the one that was working shows USB 3.0 says no for Force enable USB 3.0 and the one connecting at USB 2.0 says enabled for Forced enable USB 3.0. Which I would expect the opposite results.

After digging further I found the USB 3.0 Switch was booting using a modified fusee.bin with sigpatches. Where the USB 2.0 was using Hekate with fss0 method to boot Atmosphere.

It seems the fss0 method doesn't obey my system_settings.ini file, even though the info in DBI says it's forced. Using a modified fusee.bin to boot it with my sigpatches appears to enable USB 3.0 for me. Maybe just adding usb3force=1 to fss0 would work, but that setting says if it doesn't exist it should use system_settings.ini.. which according to DBI it is, but it doesn't actually appear to be enabling it.

Hope this helps, I'm pretty new to all this so please excuse that.

johnkelvinliu commented 5 months ago

I also find something similar. An old instruction a few years ago also said the fss0 would disable the settings in microSDcard/atmosphere/config/system_settings.ini. It states that typing the followings words in microSDcard/bootloader/hekate_ipl.ini would help in this case: usb3force=1 However it did not state clearly where should we type it in the file. If it is typed under [config], nothing happens; While typing it under [CFW - emuMMC], DBI can not connect to the computer via USB. Therefore it does not work.

Yes, it is confirmed that [RoboFox83] solution works! Thanks alot.

rashevskyv commented 5 months ago

Or use kefir instead. With much more benefits

SwimmingTiger commented 4 months ago

For the Hekate configuration with fss0=atmosphere/package3, you need to add usb3force=1 to each boot menu.

This is my hekate_ipl.ini:

[config]
autoboot=0
autoboot_list=0
bootwait=3
backlight=89
noticker=0
autohosoff=1
autonogc=1
updater2p=1
bootprotect=0

[Stock]
fss0=atmosphere/package3
stock=1
emummc_force_disable=1
usb3force=1

[EMU Online]
fss0=atmosphere/package3
kip1=atmosphere/kips/loader.kip
emupath=emuMMC/RAW1
emummcforce=1
usb3force=1

[EMU Offline]
fss0=atmosphere/package3
kip1=atmosphere/kips/loader.kip
emupath=emuMMC/RAW2
emummcforce=1
cal0blank=1
kip1patch=nosigchk
usb3force=1
johnkelvinliu commented 4 months ago

Yes, it works without using modified fusee which is much more simple, thx. What is the usage of using a raw partitions named EMU online?