[U-Boot] [PATCH] sunxi: A64/H5 devices: enable usb keyboard support
Andre Przywara
andre.przywara at arm.com
Wed Apr 18 16:30:31 UTC 2018
Hi,
On 18/04/18 17:17, Peter Robinson wrote:
> On Wed, Apr 18, 2018 at 4:29 PM, Andre Przywara <andre.przywara at arm.com> wrote:
>> Hi,
>>
>> On 18/04/18 16:19, Peter Robinson wrote:
>>> Now the A64/H5 SoCs support video output it's useful to enable usb keyboard
>>> support so console can be used via standard keyboard/video interface.
>>>
>>> Tested on Pine64.
>>
>> Mmmh, as Maxime mentioned before: That should be already enabled?
>>
>> $ git describe HEAD
>> v2018.03
>> $ make -s pine64_plus_defconfig
>> $ grep KEYBOARD .config
>> CONFIG_DM_KEYBOARD=y
>> CONFIG_USB_KEYBOARD=y
>>
>> Plus I use this for ages with *_defconfig on various Allwinner boards.
>>
>> So what am I missing here?
>
> I couldn't see where it came from in the config
As Maxime mentioned the other day [1]:
arch/arm/Kconfig:
config ARCH_SUNXI
....
select DM_KEYBOARD
....
select USB_KEYBOARD if DISTRO_DEFAULTS
Kconfig:
config DISTRO_DEFAULTS
default y if ARCH_SUNXI || TEGRA
> and it wasn't working for me when I tested it on 2018.03
That is weird. Are you sure the USB port you connected the keyboard to
actually works? I found this to be a problem on some boards, due to
missing regulator support. I think I used the lower port on the Pine64
and that worked fine.
Cheers,
Andre.
[1]: https://lists.denx.de/pipermail/u-boot/2018-April/324976.html
More information about the U-Boot
mailing list