Forum RSS Feed Follow @ Twitter Follow On Facebook

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[-]
Welcome
You have to register before you can post on our site.

Username:


Password:





[-]
Latest Threads
asus z10pe-d8 ws bifurcation request
Last Post: wangine
Yesterday 05:14 PM
» Replies: 0
» Views: 95
[REQUEST] Intel NUC5PPYH - (NUC5PPYB boa...
Last Post: Paky
Yesterday 05:43 AM
» Replies: 0
» Views: 118
[Request] Dell G15 5530 BIOS Unlock mod
Last Post: jvrcruz
03-20-2026 03:32 PM
» Replies: 0
» Views: 105
[REQUEST] Thunderobot 911 V350SNX-HL Ins...
Last Post: ferez21
03-20-2026 02:50 PM
» Replies: 0
» Views: 105
(I'm PAYING) Clevo X7200 Bios remove GPU...
Last Post: SuperMG
03-20-2026 02:02 PM
» Replies: 0
» Views: 217
[REQUEST] Gigabyte G5 MD BIOS Unlock
Last Post: Rainbyte2000
03-19-2026 11:30 PM
» Replies: 8
» Views: 3307
Lenovo Ideapad 1 14IGL05 - Model: 81VU
Last Post: Znerak
03-19-2026 01:41 PM
» Replies: 0
» Views: 148
[REQUEST] Lenovo Z50-70 & Z40-70 (9BCNxx...
Last Post: Nymmyneedshelp
03-19-2026 07:28 AM
» Replies: 762
» Views: 419043
HP Pro 3300 & 3400 (H61): Upgrade to Ivy...
Last Post: miant
03-19-2026 05:45 AM
» Replies: 148
» Views: 150423
Lenovo G31T-LM OC unlock
Last Post: crissaegrim87
03-18-2026 09:48 AM
» Replies: 2
» Views: 294
[REQUEST] LLKBOHA N5105 Mini PC BIOS EJP...
Last Post: Sw0rdX
03-17-2026 11:10 AM
» Replies: 0
» Views: 245
Lenovo G31T-LM
Last Post: DeathBringer
03-17-2026 12:16 AM
» Replies: 3
» Views: 395
[REQUEST] Unlock Insyde BIOS for Gigabyt...
Last Post: maestrae
03-16-2026 03:49 AM
» Replies: 0
» Views: 309
[Request] Lenovo G50-45 (A2CNxxWW) White...
Last Post: koner
03-15-2026 03:51 PM
» Replies: 31
» Views: 25917
COMPAQ C700 F.35 InsydeH2O WLAN UNLOCKED
Last Post: FrancoTecno
03-14-2026 10:38 PM
» Replies: 0
» Views: 290
[REQUEST] Acer Nitro 5 AN515-57 BIOS Unl...
Last Post: Dudu2002
03-14-2026 11:43 AM
» Replies: 23
» Views: 13332
BIOS MOD FOR DELL N7110 UNLOCKED UEFI BO...
Last Post: grewnik26
03-14-2026 07:34 AM
» Replies: 37
» Views: 78681
[REQUEST] Lenovo G500 (78CNxxWW) Whiteli...
Last Post: Dudu2002
03-14-2026 06:30 AM
» Replies: 1233
» Views: 608755
Acer nitro 5 an515 45 Insyde H20 bios re...
Last Post: Egebwvwbhaha
03-14-2026 03:57 AM
» Replies: 0
» Views: 389
[REQUEST] Toshiba Qosmio X505 Q860/Q887 ...
Last Post: cguru
03-13-2026 12:54 PM
» Replies: 53
» Views: 23928

Asus N73 - no boot from internal card-reader (bios/hw mod required?)
#11
wish i could call smth for basic debug (to know if function called or not), like SpeakerBeep for ex., but N73 lacks onboard beeper
+ later: acually, there's FixedDelay (requires only imm32 put into ecxbefore call) - quite usable with noticable delays (5s+)

looks like we need to get to CreateBbsEntry:

Code:
USBAPI_Start - invoked via software SMI (system management interrupt), USBRT
    USB_StartHostControllers                        // for(bDriverIndex=0; bDriverIndex<gUsbData->max_hc
        USB_EnumerateRootHubPorts                    // for(Index = 0; Index < gUsbData->bHCInitialized
            (func-ptr pfnHCDEnumeratePorts) EHCI_EnumeratePorts    // for(bPortNum=1; bPortNum<=fpHCStruc->bNumPorts
                USBCheckPortChange
                    USB_GetHubPortStatus
                    USB_ResetHubPort
                    USB_EnableHubPort
                    USB_DisconnectDevice
                    USB_DisableHubPort(fpHCStruc, hubAddr, portNum);
                    USB_DetectNewDevice
                        USB_MemAlloc
                        USB_MemFree
                        SpeakerBeep
                        USB_GetDescriptor
                        USB_InitDeviceDataDummy
                        USBIdentifyAndConfigureDevice
                            USBCheckNonCompliantDevice
                            OEMSkipList
                            USB_ConfigureDevice - sets func-ptr for configuring dev
                            (func-ptr) USBMassCheckForStorageDevice
                            CheckDeviceLimit
                            USB_SmiQueuePut
                        USBLogError
                        USB_DisableHubPort

AmiUsbDriverEntryPoint - UHCD module EP
    UsbMassInit
        UsbMassStart - called by handler set by InstallMultipleProtocolInterfaces in UsbMassInit
            InstallUSBMass
                UsbInstallLegacyDevice
                    UnlockShadow
                    CreateBbsEntry            // <- TARGET, ?not reached?
                    InsertBbsEntryAt
                    UsbUninstallLegacyDevice

UsbInt13EntryPoint - USBINT13 module EP
    UsbInstallLegacyDevice
        CreateBbsEntry            // <- TARGET, ?not reached?
find
quote
#12
found out, that some "debug port" is skipped during enumeration in EHCI_EnumeratePorts
patched EhciIsolateDebugPort to never mark any port as debug
still no boot from cardreader

+ so i looked through all 3 relevant modules: uhcd, usbrt and usbint13
didn't find any "excluding" or blacklisting code
looks like now i have no options, but try to jumpwire data+/data- from cardreader to any usb port, booting from which actually works (from usb flash for ex.)
my guess is that this particular cardreader can not be identified as mass storage device - if it will not show up after rewiring, this is the case
find
quote
#13
so, i did rewired cardreader to port#1 (one of the backside ports, that was broken anyway by trying too hard to plug usb cable upside-down)
now it boots from sdcard, bios recognizes card reader as "MultipleCard Reader 1.00"

that means, that:
- the device itself is ok (mass stoarge-compatible) and not blacklistend in bios as incompatible (there's an array of USB_BAD_DEVS specified)
- it was a software problem after all, it's a pity i was unable to find it

if anyone has any more ideas - please let me know (my hw mod is perfectly reversable)
surely i'd like to fix the problem inside bios
thx


Attached Files Thumbnail(s)
   
find
quote
#14
Sorry,earlier I was wrong,my memory tricks me.
I checked now and that skip list was inside UsbBus module.
But that is Insyde Bios and could be totally different implementation.
There was three occurence of similar code inside that module.

Code:
mov     [rsp+98h+var_58], 3 ; 3 5 6 usb ports used by webcam card reader and BT module
mov     [rsp+98h+var_57], 5
mov     [rsp+98h+var_56], 6
mov     [rsp+98h+var_55], sil
mov     [rsp+98h+var_53], sil
mov     [rsp+98h+var_54], r13b
mov     [rsp+98h+var_52], 7Fh
mov     [rsp+98h+var_51], 0FFh
mov     [rsp+98h+var_50], 4
mov     [rsp+98h+var_4F], sil
Replaced 5 with 2 which was unused port and after that card reader was enumerated as boot device.
find
quote


Forum Jump:


Users browsing this thread: 1 Guest(s)