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
[REQUEST] Acer Aspire E1-531(G) BIOS Unl...
Last Post: 0rkan
Today 08:43 PM
» Replies: 103
» Views: 71782
ASUS TUF FX504GD BIOS Unlock Request
Last Post: steelray124
Today 02:15 PM
» Replies: 31
» Views: 14190
[REQUEST] Lenovo G50-70 (9ACNxxWW) White...
Last Post: stapbeest
Today 12:49 PM
» Replies: 249
» Views: 141204
[REQUEST] Lenovo N580 whitelist removal
Last Post: Dudu2002
Today 04:09 AM
» Replies: 55
» Views: 31397
Phoenix Bios Recovery
Last Post: Teelekkung
01-12-2026 11:40 PM
» Replies: 8
» Views: 18692
[Guide] ASUS K56CB BIOS Unlock (Advanced...
Last Post: Nikilite
01-12-2026 04:40 PM
» Replies: 0
» Views: 159
Acer Aspire L100: Original Bios Update R...
Last Post: newat6user
01-12-2026 03:55 PM
» Replies: 0
» Views: 120
[REQUEST] Lenovo IdeaPad L340 (BGCNxxWW)...
Last Post: loucoso
01-12-2026 11:50 AM
» Replies: 103
» Views: 64438
[Unlocked] Acer Aspire Z5801: Advanced a...
Last Post: Toshiba-3
01-11-2026 04:07 PM
» Replies: 14
» Views: 11477
[REQUEST] X79G (X79GA00O) Unlock BCLK & ...
Last Post: noveris
01-11-2026 12:25 PM
» Replies: 0
» Views: 201
[REQUEST] Lenovo IdeaPad Gaming 3 15IMH0...
Last Post: lamthienanh320
01-10-2026 09:08 PM
» Replies: 64
» Views: 46868
[REQUEST] Unlock bios Machenike S15
Last Post: Dantex19
01-09-2026 03:10 PM
» Replies: 3
» Views: 3067
[REQUEST] Lenovo Ideapad S145-15IIL (82D...
Last Post: PreXer
01-09-2026 09:38 AM
» Replies: 9
» Views: 8567
Professional Link Placement Services to ...
Last Post: gracelina
01-08-2026 09:31 AM
» Replies: 0
» Views: 262
samsung np700z5c-s02ub bios mod add memo...
Last Post: DeathBringer
01-07-2026 03:14 PM
» Replies: 3
» Views: 342
REQUEST - VAIO - VPCEH3J1E LATEST BIOS
Last Post: Tarik72
01-07-2026 11:58 AM
» Replies: 0
» Views: 219
[Request] Acer Predator Helios 18 (PH18-...
Last Post: the_vulture90
01-06-2026 08:34 AM
» Replies: 0
» Views: 378
Samsung Chronos NP770 NP870 disable disc...
Last Post: faeterov
01-06-2026 07:07 AM
» Replies: 6
» Views: 1179
Gigabyte GA-6RX: Tualatin Support
Last Post: dm-
01-06-2026 04:01 AM
» Replies: 0
» Views: 325
[REQUEST] Lenovo ThinkPad Edge E420 & E5...
Last Post: gianluca220
01-05-2026 06:47 PM
» Replies: 92
» Views: 67262

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: