[SLOF] Keyboard not working when using XHCI as a USB host controller?

Thomas Huth thuth at redhat.com
Tue Aug 4 21:32:25 AEST 2015


 Hi!

When I use the following command line to start a guest:

 qemu-system-ppc64 -machine pseries,accel=kvm,usb=off \
	-device pci-ohci,id=usb,bus=pci.0,addr=0x2 \
	-device usb-kbd,id=input0 -nographic -vga none

... SLOF correctly discoveres a keyboard during USB scan:

 Scanning USB 
   OHCI: initializing
     USB Keyboard 
 ...
 0 > devalias  
 keyboard : /pci at 800000020000000/usb at 2/usb-keyboard at 1
 usb0 : /pci at 800000020000000/usb at 2
 ...

However, when I start with an XHCI (or EHCI) controller
instead:

 qemu-system-ppc64 -machine pseries,accel=kvm,usb=off \
	-device nec-usb-xhci,id=usb,bus=pci.0,addr=0x2 \
	-device usb-kbd,id=input0 -nographic -vga none

... SLOF does not discover any keyboard:

 Scanning USB 
   XHCI: Initializing
  ...
 0 > devalias  
 usb0 : /pci at 800000020000000/usb at 2
 ...

Is this supposed to work? Am I doing something wrong?

 Thomas


More information about the SLOF mailing list