Bug 224940 - [patch] PPC64: No input on VNC console due to xhci driver not present as built-in module
Summary: [patch] PPC64: No input on VNC console due to xhci driver not present as buil...
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: powerpc Any
: --- Affects Only Me
Assignee: powerpc
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2018-01-05 20:10 UTC by Gustavo Romero
Modified: 2018-01-09 19:41 UTC (History)
0 users

See Also:


Attachments
Fix for this issue (1.71 KB, patch)
2018-01-05 20:17 UTC, Gustavo Romero
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gustavo Romero 2018-01-05 20:10:07 UTC
QEMU for PowerPC usually provides the following devices that will be used on a VNC console:

Populating /vdevice methods
Populating /vdevice/l-lan@1000
Populating /vdevice/v-scsi@2000
       SCSI: Looking for devices
          8001000000000000 CD-ROM   : "QEMU     QEMU CD-ROM      2.5+"
          8000000000000000 DISK     : "QEMU     QEMU HARDDISK    2.5+"
Populating /vdevice/vty@30000000
Populating /vdevice/nvram@71000000
Populating /pci@800000020000000
                     00 0800 (B) : 1b36 0001    pci*
                     00 1000 (D) : 1b36 000d    serial bus [ usb-xhci ]
                     00 1800 (D) : 1234 1111    qemu vga
                     00 2000 (D) : 1af4 1002    unknown-legacy-device*
Installing QEMU fb



Scanning USB 
  XHCI: Initializing
    USB Keyboard 
    USB mouse 

If xhci driver is not available as a built-in module login console on VNC will end with no input devices making it impossible to login through the VNC console.
Comment 1 Gustavo Romero 2018-01-05 20:17:40 UTC
Created attachment 189450 [details]
Fix for this issue
Comment 2 commit-hook freebsd_committer 2018-01-09 19:41:52 UTC
A commit references this bug:

Author: nwhitehorn
Date: Tue Jan  9 19:41:10 UTC 2018
New revision: 327736
URL: https://svnweb.freebsd.org/changeset/base/327736

Log:
  Add XHCI support to powerpc64 GENERIC. This is useful to get input devices
  supported on newer POWER hardware and in graphical VMs run on the same,
  which are typically XHCI-only. The 32-bit GENERIC kernel, which
  does not run on hardware made in the last decade and is unlikely to
  encounter XHCI devices, is left unchanged.

  PR:		kern/224940
  Submitted by:	Gustavo Romero
  MFC after:	1 week

Changes:
  head/sys/powerpc/conf/GENERIC64