Hi Feng,
The output for the "drivers" Shell command is:
T D
>D Y C I
>R P F A
>V VERSION E G G #D #C DRIVER NAME IMAGE NAME
>== ======== = = = == == =================================== ===================
>29 00000010 ? - - - - Usb Wdm Driver TdtUsbWdm
>3A 00000010 D - - 1 - AMI Generic LPC Super I/O Driver CORE_DXE
>5C 00010000 D - - 2 - AMI File System Driver FileSystem
>5E 00020300 B - - 1 24 <UNKNOWN> PciBus
>61 00000001 D - - 1 - PCH Serial ATA Controller Initializ SataController
>65 00000001 B - - 1 1 AMI AHCI BUS Driver AHCI
>69 00000010 ? - - - - <UNKNOWN> BIOSBLKIO
>6A 00000024 B - - 1 1 BIOS[INT10] Video Driver CsmVideo
>6B 00000010 ? - - - - <UNKNOWN> <UNKNOWN>
>6C 00000001 ? - - - - IDER Controller Init Driver IdeRController
>6D 00000010 ? - - - - PCI Serial Driver PciSerial
>71 00000010 B - - 3 1 <UNKNOWN> Terminal
>72 00000010 ? - - - - <UNKNOWN> Terminal
>C0 0000008A D - - 2 - AMI USB Driver UHCD
>C2 0000008A B - - 2 2 USB bus UHCD
>C3 00000001 D - - 1 - USB Keyboard driver UHCD
>C4 00000002 ? - - - - USB Mouse driver UHCD
>C5 00000001 D - - 1 - USB Mass Storage driver UHCD
>D9 00000010 D - - 6 - <UNKNOWN> CORE_DXE
>DA 00000010 D - - 1 - <UNKNOWN> CORE_DXE
>DB 00000010 B - - 3 3 <UNKNOWN> CORE_DXE
>DD 00000010 B - - 2 4 <UNKNOWN> CORE_DXE
>DE 00000010 ? - - - - AMI PS/2 Driver CORE_DXE
>DF 00000010 ? - - - - AMI Floppy Driver CORE_DXE
>E0 00000001 ? - - - - AMI IDE BUS Driver CORE_DXE
The "dh" cmd output for the USB bus (C2) is:
Handle C2 (0158A618)
> DriverBinding (1D0BAE0)
> ComponentName (1D0C4C8)
> Driver Name : USB bus
> Image Name : 580DD900-385D-11D7-883A-00500473D4EB
> Driver Version : 0000008A
> Driver Type : BUS
> Configuration : NO
> Diagnostics : NO
> Managing :
> Ctrl[E8] : USB Host Controller
> Ctrl[F5] : USB Host Controller
> Child[FB] : Dell USB Keyboard
> Child[FC] : KingstonDT 100 G2 1.00
From the above output we can see that the USB bus driver manages only 2 USB
devices, the keyboard and the memory stick.
The output for the "devices" Shell command is:
C T D
>T Y C I
>R P F A
>L E G G #P #D #C Device Name
>== = = = == == == =============================================================
>37 R - - - 1 24 Acpi(PNP0A03,0)
>76 R - - - 1 1<UNKNOWN>
>DC D - - 3 - -<UNKNOWN>
>E2 D - - 1 - - Acpi(PNP0A03,0)/Pci(0|0)
>E3 B - - 1 1 1 Acpi(PNP0A03,0)/Pci(2|0)
>E4 D - - 1 1 - Acpi(PNP0A03,0)/Pci(16|0)
>E5 D - - 1 1 - Acpi(PNP0A03,0)/Pci(16|1)
>E6 B - - 1 1 1 Acpi(PNP0A03,0)/Pci(16|3)
>E7 D - - 1 - - Acpi(PNP0A03,0)/Pci(19|0)
>E8 D - - 1 2 - USB Host Controller
>E9 D - - 1 - - Acpi(PNP0A03,0)/Pci(1B|0)
>EA D - - 1 - - Acpi(PNP0A03,0)/Pci(1C|0)
>EB D - - 1 - - Acpi(PNP0A03,0)/Pci(1C|0)/Pci(0|0)
>EC D - - 1 - - Acpi(PNP0A03,0)/Pci(1C|1)
>ED D - - 1 - - Acpi(PNP0A03,0)/Pci(1C|2)
>EE D - - 1 - - Acpi(PNP0A03,0)/Pci(1C|3)
>EF D - - 1 - - Acpi(PNP0A03,0)/Pci(1C|4)
>F0 D - - 1 - - Acpi(PNP0A03,0)/Pci(1C|4)/Pci(0|0)
>F1 D - - 1 - - Acpi(PNP0A03,0)/Pci(1C|5)
>F2 D - - 1 - - Acpi(PNP0A03,0)/Pci(1C|5)/Pci(0|0)
>F3 D - - 1 - - Acpi(PNP0A03,0)/Pci(1C|6)
>F4 D - - 1 - - Acpi(PNP0A03,0)/Pci(1C|6)/Pci(0|0)
>F5 B - - 1 2 2 USB Host Controller
>F6 D - - 1 1 - Acpi(PNP0A03,0)/Pci(1F|0)
>F7 B - - 1 2 1 PCH Serial ATA Controller
>F8 D - - 1 - - Acpi(PNP0A03,0)/Pci(1F|3)
>F9 D - - 1 - - Acpi(PNP0A03,0)/Pci(1F|6)
>FA B - - 1 2 1 Acpi(PNP0A03,0)/Pci(2|0)/AcpiAdr(80010100)
>FB B - - 1 2 1 Dell USB Keyboard
>FC B - - 1 3 1 KingstonDT 100 G2 1.00
>FD D - - 1 2 - FAT32 File System [7GB]
>FF D - - 1 - -
>Acpi(PNP0A03,0)/Pci(16|3)/Uart(115200,N,8,1)/UartFlowCtrl(None)
>100 B - - 1 2 3 IND SATA FD 8GB
>101 D - - 1 2 - FAT16 File System [49MB]
>102 D - - 1 2 - Acpi(PNP0A03,0)/Pci(1F|2)/Sata(0,0)/HD(Part2,SigAEC6D85D)
>103 D - - 1 2 - Acpi(PNP0A03,0)/Pci(1F|2)/Sata(0,0)/HD(Part3,SigAEC6D85D)
From the latter output we can see the F5 USB controller, which handles the 2
USB devices mentioned previously,
AND the E8 USB controller, which handles 2 devices, but it doesn't create any
child handles for them.
I am guessing that the FTDI is linked to the E8 controller, but it has no
handle.
What do you think?
Thanks,
Sorin
________________________________
From: "Tian, Feng" <feng.t...@intel.com>
To: Sorin Vinturis <sorin.vintu...@yahoo.com>;
"edk2-devel@lists.sourceforge.net" <edk2-devel@lists.sourceforge.net>;
"Richardson, Brian" <brian.richard...@intel.com>
Cc: "Tian, Feng" <feng.t...@intel.com>
Sent: Thursday, 16 May 2013, 4:44
Subject: RE: [edk2] Enumeration process under UEFI for FTDI 4232 device
Vinturis,
Did you check the “drivers” shell cmd output? Did you see how many children
managed by UsbBus driver?
Did you check “dh” cmd output on corresponding handle?
Please attach the log of these cmds to me. we can help narrow down what
happened here.
Thanks
Feng
From:Sorin Vinturis [mailto:sorin.vintu...@yahoo.com]
Sent: Wednesday, May 15, 2013 21:54
To: Richardson, Brian; edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] Enumeration process under UEFI for FTDI 4232 device
Hi Brian,
I'm not working with the UEFI Driver Wizard, I just started from the
FtdiUsbSerialDxe driver [Justin Phipps]. More information about this is here:
http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=Tasks/USB_Serial_Adapter_driver
.
This driver am loading manually from the UEFI Shell, and when I am enumerating
the USB devices I cannot see the FTDI FT4232 device.
Thanks,
Sorin
________________________________
From:"Richardson, Brian" <brian.richard...@intel.com>
To: Sorin Vinturis <sorin.vintu...@yahoo.com>;
"edk2-devel@lists.sourceforge.net" <edk2-devel@lists.sourceforge.net>
Sent: Wednesday, 15 May 2013, 16:44
Subject: RE: [edk2] Enumeration process under UEFI for FTDI 4232 device
Sorin:
I can try to help, but first a few basic questions …
1. How are you trying to test the driver? Is this being loaded from the
UEFI Shell?
2. What did you use as the starting template for a driver? Are you
working with the UEFI Driver Wizard?
Thanks ... br
---
Brian Richardson -- brian.richard...@intel.com -- Twitter: intel_brian
From:Sorin Vinturis [mailto:sorin.vintu...@yahoo.com]
Sent: Wednesday, May 15, 2013 9:25 AM
To: edk2-devel@lists.sourceforge.net
Subject: [edk2] Enumeration process under UEFI for FTDI 4232 device
Hi all,
I am developing an UEFI application and I try to create a UEFI driver for FTDI
FT4232 device.
I expect that during USB enumeration process executed by the generic UEFI USB
bus driver, the UEFI USB bus driver to create a handle for the FTDI FT4232
device and to install onto that handle the EFI_USB_IO_PROTOCOL. Using the
EFI_USB_IO_PROTOCOL I want to read the “Vendor Id” and “Product ID” in order to
identify the FTDI FT4232 device.
My problem is that I can find in my system only two handles with
EFI_USB_IO_PROTOCOL (one handle for mouse, one handle for keyboard) and I can
find no handle for FTDI FT4232.
Question 1: Are you aware if there is any problem with the enumeration of the
for FTDI FT4232 device by the generic UEFI USB bus driver?
Question 2: If there is a problem with the enumeration, is there any way to fix
this issue?
Thank you very much for your answer,
Sorin
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel