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
Clevo P775TM1-G BIOS
Last Post: ActivatedNut
Today 01:36 AM
» Replies: 145
» Views: 55271
[REQUEST] Lenovo G50-70 (9ACNxxWW) BIOS ...
Last Post: colin89
Yesterday 06:16 PM
» Replies: 138
» Views: 40923
ASUS P5G41T-M LX2/GB Unlocked Hidden Ove...
Last Post: GangsteR23
Yesterday 04:58 PM
» Replies: 25
» Views: 64112
lenovo z570 Advanced Menu Unlocked
Last Post: Kaluva12345
Yesterday 04:58 PM
» Replies: 7
» Views: 4094
[Request] HP Elitebook 6930P WLAN Whitel...
Last Post: Maxinator500
Yesterday 02:25 PM
» Replies: 15
» Views: 6551
[REQUEST] Lenovo Yoga 11E (N15ETxxW) Whi...
Last Post: drradkin
Yesterday 12:30 PM
» Replies: 4
» Views: 2500
Lenovo ThinkCentre M715q 2nd Gen & AMD R...
Last Post: RedfieldHUN1987
Yesterday 09:23 AM
» Replies: 2
» Views: 133
L14 Gen 3 AMD , Need UEFI unlock advance...
Last Post: frankeinstein2532555
Yesterday 04:08 AM
» Replies: 0
» Views: 78
[REQUEST] Lenovo Y400 & Y500 (6BCNxxWW) ...
Last Post: freedome
03-26-2024 11:00 PM
» Replies: 188
» Views: 52150
[REQUEST] Lenovo G510 (79CNxxWW) Whiteli...
Last Post: ghostinoss
03-26-2024 09:21 PM
» Replies: 655
» Views: 167031
[Request] CPU support for Lenovo IQ57I
Last Post: DeathBringer
03-26-2024 10:02 AM
» Replies: 5
» Views: 230
unlocked Bios for Machenike s16
Last Post: Dudu2002
03-26-2024 09:06 AM
» Replies: 5
» Views: 320
[REQUEST] Bios Unlock Whitelist HP DV6-6...
Last Post: DimanTLT63
03-26-2024 03:03 AM
» Replies: 0
» Views: 131
[REQUEST] HP Pavilion G6-1252ss Whitelis...
Last Post: joseefitness
03-26-2024 01:40 AM
» Replies: 0
» Views: 114
[REQUEST] Lenovo S310 & S410 (8BCNxxWW) ...
Last Post: morgley
03-25-2024 10:43 PM
» Replies: 14
» Views: 6325
Acer Nitro ANV15-51 Bios Bin File Reques...
Last Post: Papethzkie23
03-25-2024 06:04 PM
» Replies: 0
» Views: 131
[REQUEST] Lenovo G710 BIOS Whitelist Rem...
Last Post: si1975
03-25-2024 01:28 PM
» Replies: 468
» Views: 125383
[REQUEST] Lenovo Yoga 2 Pro (76CNxxWW) W...
Last Post: TalKaz
03-25-2024 11:10 AM
» Replies: 844
» Views: 316972
[REQUEST] Toshiba Satellite A300D PSAK0C...
Last Post: 1000palladium
03-25-2024 10:43 AM
» Replies: 4
» Views: 227
[REQUEST] Lenovo G780 (5ECNxxWW) Whiteli...
Last Post: Dudu2002
03-25-2024 08:36 AM
» Replies: 877
» Views: 280980

Asus N73 - no boot from internal card-reader (bios/hw mod required?)
#1
Hello, ppl

I have some trouble with asus nb (n73sm) - it doesn't boot from internal card reader. When the card sits inside during turn-on and entering bios - there's no "mass media" device detected, so no way to select it as first boot-entry.
I also have another nb - k50id - and is does boot from sd-card, placed in internal card-reader ok. When the card sits inside during turn-on and entering bios - there is a "mass media" device detected (smth. like "USB Multicard").

What i tried/know so far (no positive result reached yet):
- updated nb bios to latest stock 302
- modified original 302 bios (ami IV) so that all options are unlocked (there's "USB config" in Advanced, but nothing helpful there) and flashed it; tools used: amibcp_v4-55-0070, mmtool_v4-50-0023
- both nbs (n73sm and k50id) utilize Alcor Micro Usb2 card reader, sitting on usb (no pci/pci-e card-readers involved in this case)
- i noticed, that n73, upon booting to OS win7 with inserted card - there's no card discovered in "my computer" until i re-insert it - wtf? some weird hw solution? or alcor driver, loaded by os, somehow "enables" chip?

Any ideas what to do next?

p.s: if needed - i can get close pictures of motherboard near alcor chip
find
quote
#2
so i looked further into this card "re-insertion" thing:
turned out, n73sm has au6437 chip (vs au6433 on k50id), that incorporates "power-saving mode". so i tied pin 43 low (soldered 0-ohm link), and now upon booting win7 card reader always present, no matter if card is inserted or not

but
it has absolutely no effect on bios detecting "usb multicard"-like device, so still unable to boot from card-reader
any ideas? now, when hw stuff looks 2b out of the picture, it definitely must be bios

p.s.: an alternative solution came to me: jump-wire data+/data- from au6437 to one of the back-side usb-ports;
pros: *probabl* boot problem will go away
cons: minus one usable usb2 port
find
quote
#3
+ also, while in n73 bios on advanced->usb configuration tab i noticed:
1 keyboard, 1 mouse, 2 hubs
could it be, that if internal card-reader is connected via "hub" (vs directly to south bridge) - it's not detected by bios?
find
quote
#4
Don’t know for you case.
On some leaked bios source code I see some USB block list or something like that.
Not all USB ports are enumerated during post (that speed up bios post time) ports excluded like internal webcam,additional BT module USB port and in some cases even internal card reader.
In my case,but was Inside BIOS, that check was in usb mass storage bios module.
As result usb ports where internal webcam,bt module,internal card reader was ignored and that was all .
After modified module was placed into bios I can boot from card reader but bios post time increased a little, around 0.5-0.8 seconds I estimated.
find
quote
#5
new stuff:
- cougarpoint-m pch, which is incorporated into n73s*, has 14 usb ports; card-reader is connected to port11 (0-based)

> Not all USB ports are enumerated during post
now that is interesting
if i rewire card-reader to another port, and it works - that is definitely the case

> usb mass storage bios module
i'll try to find such module in original bios, disasm it and fix this weird "time-saving optimization"

> After modified module was placed into bios
can you provide more details on your fix? or maybe particular original/fixed module files?
find
quote
#6
On leaked AMI BIOS source code you may find this as
USB_SKIP_LIST
and
UsbSkipList
find
quote
#7
from what i discovered, usb skip list is implemented differently on 016s (n73 - sandy bridge) bios version vs 018s
function USBIdentifyAndConfigureDevice (usb\rt\usb.c) checks OEMSkipList and returns nullptr on match
so my guess would be: module to be modified
|099|USBRT |04EAAAA1-29A1-11D7-8838-00500473D4EB|00286811|00F115|DRVR|

but i still have some trouble identifying the specific place for patch (using ida7) - i'm still unable to match disasm with actual code, even EP doesn't match
maybe it is not the actual code used? or it was heavily optimized (inline/merge)
find
quote
#8
update: so i managed to re original bios module usbrt, and found that in latest version (302) the OemSkipList-based mechanism is not yet implemented, and this is very strange, because a fix EIP51653 is commented in sources and dated 4/06/11, and bios itself is dated 2012)

the only check inside USBIdentifyAndConfigureDevice is of dev-compatibility (USBCheckNonCompliantDevice sets incompat-flags)
patched it to skip this check
still not working...

+also tried patching uhcd module, to skip check of flags USB_FLAG_MASS_MEDIA_CHECK (USB_FLAG_MASS_SKIP_FDD_MEDIA_CHECK) - for the case, when no media in device - no results

any more ideas?
find
quote
#9
Maybe usb INT13 which deal with usb storage don't check that port?
find
quote
#10
usbint13 module re in process
not found any blacklist-like code
but
seems that in original bios USBDEVS_MAX_ENTRIES is defined as 8 (vs 16 in leaked source)
and same constant is used in all relevant for-cycles during enumeration
maybe it's somehow messed up (and it reaches only 0-7, but do not reach 11), i'll look into it
thanks

+also strange thing in AmiUsbDriverEntryPoint:
gAmiUsbController->UsbInstallLegacyDevice = Dummy1;
gAmiUsbController->UsbUninstallLegacyDevice = Dummy1;
these func-ptrs are initially defined as dummy stubs, and later when usbint13 module loaded, it redefines them
not sure yet, what conditions lead to usbint13 load

+another strange thing i found is boot-entry-override algo, there's a note in src:
// See if OEM asks for USB boot override for this device. If yes, store
// BBS index of this device, later at READY_TO_BOOT this BBS device will
// be assigned priority 0 (highest).
...
// Note2: This feature will only be available for the devices connected
// directly to the root port; devices behind the hub(s) will be ignored.
not sure how exactly hubs are connected, but bios reports "2 hubs", and if card reader is connected through one of them - there might be more problems

+ ok, now i understand about "2 hubs" in bios "usb advanced" (schematics in the attach)


Attached Files Thumbnail(s)
   
find
quote


Forum Jump:


Users browsing this thread: 1 Guest(s)