USB not working on Nezha D1

Bug #2013743 reported by Heinrich Schuchardt
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-allwinner (Ubuntu)
New
Undecided
Unassigned
linux-meta (Ubuntu)
New
Undecided
Unassigned

Bug Description

I am testing the Allwinner Nezha D1 board according to
http://iso.qa.ubuntu.com/qatracker/milestones/444/builds/275098/testcases/1755/results

Hitting a key on the USB keyboard (that was plugged in at boot) results in

[ 760.275027] usb 3-1: device descriptor read/64, error -71
[ 761.671031] usb 1-1: device descriptor read/64, error -62
[ 761.975011] usb 1-1: device descriptor read/64, error -62
[ 762.466981] usb 1-1: device descriptor read/64, error -62
[ 762.770995] usb 1-1: device descriptor read/64, error -62
[ 763.514994] usb 1-1: device not accepting address 17, error -62
[ 764.122989] usb 1-1: device not accepting address 18, error -62
[ 764.129829] usb usb1-port1: unable to enumerate USB device

lsusb does not show the keyboard:

$ lsusb
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

ProblemType: Bug
DistroRelease: Ubuntu 23.04
Package: linux-image-5.19.0-1003-allwinner 5.19.0-1003.3
ProcVersionSignature: Ubuntu 5.19.0-1003.3-allwinner 5.19.7
Uname: Linux 5.19.0-1003-allwinner riscv64
ApportVersion: 2.26.0-0ubuntu2
Architecture: riscv64
CasperMD5CheckResult: unknown
CloudArchitecture: riscv64
CloudBuildName: server
CloudID: nocloud
CloudName: unknown
CloudPlatform: nocloud
CloudSerial: 20230329
CloudSubPlatform: seed-dir (/var/lib/cloud/seed/nocloud-net)
Date: Fri Mar 31 14:31:08 2023
ProcCpuinfoMinimal:
 processor : 0
 hart : 0
 isa : rv64imafdc
 mmu : sv39
 uarch : thead,c906
ProcEnviron:
 LANG=C.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=vt220
SourcePackage: linux-allwinner
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Heinrich Schuchardt (xypron) wrote :
Revision history for this message
Heinrich Schuchardt (xypron) wrote :

After unplugging and replugging the keyboard:

$ lsusb
Bus 001 Device 019: ID 046a:0011 Cherry GmbH G83 (RS 6000) Keyboard
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

But that is not how it is meant to work.

tags: added: iso-testing
Revision history for this message
Heinrich Schuchardt (xypron) wrote :

@Kai-Heng Feng (kaihengfeng)
Concerning your question in LP #2007829: If this is a regression cannot be answered as the test case did not cover it.

Changed in linux-allwinner (Ubuntu):
status: New → Confirmed
Revision history for this message
Heinrich Schuchardt (xypron) wrote :

Kernel 5.19.0-1009-allwinner does not show this issue.

Changed in linux-allwinner (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Heinrich Schuchardt (xypron) wrote :

Same error exists with Linux ubuntu 6.2.0-19-generic on Nezha D1 board.

Changed in linux-allwinner (Ubuntu):
status: Fix Released → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.