Bug 194226 - USB does not work early in the boot process when 60/64 emulation support is enabled
Summary: USB does not work early in the boot process when 60/64 emulation support is e...
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: usb (show other bugs)
Version: 10.1-STABLE
Hardware: amd64 Any
: Normal Affects Some People
Assignee: freebsd-usb (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-07 16:20 UTC by nefar
Modified: 2018-05-28 19:42 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nefar 2014-10-07 16:20:57 UTC
My motherboard (http://www.amazon.com/gp/product/B00FM4M7TQ) which I recently shipped arrived with "Port 60/64 emulation" enabled which according to the BIOS "enables I/O port 60h/64h emulation support"

The downside of this emulation is that while I can select boot options, as soon as I'm past the boot prompt, my keyboard stops working until I'm prompted to login.

The real problem is that when enabling root disk encryption with geli, the keyboard does NOT work when prompted for the geli keyboard.

So it seems there's some issue dealing with this emulation.
Comment 1 nefar 2014-10-07 17:01:46 UTC
It was disabling all legacy USB options that got it geli to work for me. However, then I was unable to choose bootloader option. So I enabled it again and tried disabling the emulation support.
Comment 2 Hans Petter Selasky freebsd_committer freebsd_triage 2014-10-08 09:30:30 UTC
Hi,

Is the "ukbd" driver in the kernel or loaded as a module?

If the keyboard is enumerated before the mount root prompt and password prompt, it should work.

There are some loader options to make the kernel wait a bit more for USB devices to show up.

BTW: Is this also a problem with 10-stable. Depending on your USB controller, the following patch might help:

https://svnweb.freebsd.org/changeset/base/272589

--HPS
Comment 3 nefar 2014-10-08 16:13:12 UTC
Using vanilla 10.1-BETA3 kernel. No changes in kernel on how "ukbd" is loaded.
Comment 4 Hans Petter Selasky freebsd_committer freebsd_triage 2014-10-08 16:17:35 UTC
Can you show dmesg?

--HPS
Comment 5 nefar 2014-10-08 16:20:14 UTC
Yes. Standby.
Comment 6 Marcus von Appen freebsd_committer freebsd_triage 2015-02-18 11:54:22 UTC
Updated 10.1-BETA and 10.1-RC versioned bugs to 10.1-STABLE.
Comment 7 None 2016-03-03 10:40:51 UTC
This is still a problem 2016-03-03. Same root disk encryption with geli.
Comment 8 Eitan Adler freebsd_committer freebsd_triage 2018-05-28 19:42:47 UTC
batch change:

For bugs that match the following
-  Status Is In progress 
AND
- Untouched since 2018-01-01.
AND
- Affects Base System OR Documentation

DO:

Reset to open status.


Note:
I did a quick pass but if you are getting this email it might be worthwhile to double check to see if this bug ought to be closed.