VHUB didn't work on AST2500
Benjamin Herrenschmidt
benh at kernel.crashing.org
Thu Oct 25 09:42:41 AEDT 2018
On Wed, 2018-10-24 at 17:02 +1030, Joel Stanley wrote:
> On Wed, 24 Oct 2018 at 17:00, xiuzhi <1450335857 at qq.com> wrote:
> > I am porting obmc-ikvm to my hardware platform. The host screen can be seen by vncviewer , but the mouse and keyboard didn't work on AST2500
> > . Only the keys ';' , 'Enter', '1','2','3','4' work. others keyinput will deadlock the host screen .
> > The kernel error log:
> > [ 99.326586] configfs-gadget gadget: high-speed config #1: c
> > [ 99.403704] aspeed_vhub 1e6a0000.usb-vhub: status direction mismatch
> > [ 99.492831] aspeed_vhub 1e6a0000.usb-vhub: status direction mismatch
> > The kernel version is : video-dev5,
> > commit 2acbc35adcfe15971b701770e1105276a18da9f7
> >
> > Who can give me some suggestions to debug it?
>
> Ben, do you have any advice?
I need to know a bit more. What is used as a gadget driver on the BMC ?
I would probably need to reproduce with some added traces to the driver
to figure out what's going on.
One first thing to try would be a run with CONFIG_USB_GADGET_DEBUG
along with some indication of what actions happen corresponding to what
part of the log (ie, press key 'a' etc...).
Cheers,
Ben.
More information about the openbmc
mailing list