USB devices not working in EFI mode anymore - Printable Version +- iPXE discussion forum (https://forum.ipxe.org) +-- Forum: iPXE user forums (/forumdisplay.php?fid=1) +--- Forum: General (/forumdisplay.php?fid=2) +--- Thread: USB devices not working in EFI mode anymore (/showthread.php?tid=7673) |
USB devices not working in EFI mode anymore - andlommy - 2015-04-06 14:04 Updated to recent build of iPXE, using ipxe.efi ( make bin-x86_64-efi/ipxe.efi ), getting the boot menu i've configured, but can't navigate around it as keyboard seems dead. Any ideas what to do next? Update: rolling back to https://git.ipxe.org/ipxe.git/commit/8c43891db4eb131d019360ccfb619f235b17eb58 (one before https://git.ipxe.org/ipxe.git/commit/018b13dcec1b7c5d6be358e534451c06feaf7afb where USB support was added) resolved the issue, so something about USB support probably. RE: USB devices not working in EFI mode anymore - NiKiZe - 2015-04-06 15:41 Unfortunately the new USB bus drivers is unintentionally loaded in current master, resulting in iPXE drivers disabling the BIOS emulation for the USB keyboard. This is currently worked on so that USB drivers should not be puled in in a default build. Probably not more then a few days until this is fixed as it looks like, (not a dev just an approximation from what I have read on IRC) As you noticed 8c43891db4eb131d019360ccfb619f235b17eb58 is the last commit without USB support and should work with USB keyboards. RE: USB devices not working in EFI mode anymore - andlommy - 2015-04-06 15:51 (2015-04-06 15:41)NiKiZe Wrote: Unfortunately the new USB bus drivers is unintentionally loaded in current master, resulting in iPXE drivers disabling the BIOS emulation for the USB keyboard. Thanks! Fingers crossed now RE: USB devices not working in EFI mode anymore - Christian Bovey - 2015-04-07 07:19 I also had the problem and there is an alternative. Before starting the compilation, delete the files " ../ipxe/src/drivers/usb/?hci.*". This allows using the latest version . RE: USB devices not working in EFI mode anymore - eugenio - 2017-02-06 14:29 Does anybody know if this issue has been fixed without disabling USB support? Thanks in advance. Eugenio RE: USB devices not working in EFI mode anymore - NiKiZe - 2017-02-06 18:12 (2017-02-06 14:29)eugenio Wrote: Does anybody know if this issue has been fixed without disabling USB support? USB support is no longer enabled by default in the standard build, you will explicitly need to include a USB driver to have usb pulled in. Are you experiencing any issues with the current build? RE: USB devices not working in EFI mode anymore - eugenio - 2017-02-08 10:45 (2017-02-06 18:12)NiKiZe Wrote:(2017-02-06 14:29)eugenio Wrote: Does anybody know if this issue has been fixed without disabling USB support? We are not having problems with the build, our problems are related to the USB stack implemented into iPXE. We need to use the USB support provided by iPXE. Our product use the grub embedded into iPXE to load one or another OS depending on the USB devices detected by iPXE. We see that when we load Windows 7 the USB keyboard attached to the system does not work, so the user can not select an option to for example use the Windows safe boot mode. We think that USB stack implemented into iPXE turns on a bit on the USB host controller to acquire ownership of the USB host controller hardware. By turning on this bit iPXE disables the BIOS support for USB keyboards. I think that a solution will be to return ownership of the host controller hardware to the BIOS by calling the ehci_remove function of the EHCI driver in the case of a EHCI host controller. Thanks in advance. RE: USB devices not working in EFI mode anymore - NiKiZe - 2017-02-08 21:19 (2017-02-08 10:45)eugenio Wrote: We need to use the USB support provided by iPXE. For iPXE to have access to USB devices in anything faster then ~10Mbit/s it must load it's own drivers, that means that any firmware loaded USB support is thrown out and iPXE adds it own, USB NICs and keyboard is supported. When iPXE exits all devices and buses are again released, Not quite sure which issue you are having since this should work in EFI. Could you maybe provide the exact make command that you use to create this version of iPXE that you are having issues with (including the filename that you are then booting) Why use grub or a windows boot menu when this can be implemented as a menu inside of iPXE? As a workaround, boot ipxe.efi that has ipxeusb.efi embeded and only chain to that if no nic is found on the PCI bus, and then add a note that keyboard will temporarily be dead in this case, but then again the iPXE based menu should be able to serve as a fix instead. I will however point mcb30 to this post, hopefully he will get some other ideas or tips. (see my edits above) RE: USB devices not working in EFI mode anymore - eugenio - 2017-02-09 12:27 (2017-02-08 21:19)NiKiZe Wrote: For iPXE to have access to USB devices in anything faster then ~10Mbit/s it must load it's own drivers, that means that any firmware loaded USB support is thrown out and iPXE adds it own, USB NICs and keyboard is supported. When iPXE exits all devices and buses are again released, We are testing on systems that do not have an EFI/UEFI BIOS. Thanks for your support. RE: USB devices not working in EFI mode anymore - NiKiZe - 2017-02-09 12:30 (2017-02-09 12:27)eugenio Wrote: We are testing on systems that do not have an EFI/UEFI BIOS. This threads subject is "USB devices not working in EFI mode anymore" so I was assuming it was about EFI. |