cros13
Posts: 5
Joined: Thu Jun 27, 2019 11:26 pm

Pi4 USB keyboard issues on boot

Thu Jun 27, 2019 11:35 pm

I'm having an issue with keyboards on my new Pi4.
They're not working on boot, nothing in dmesg for the device.
Usually (although not always) work after being plugged out and back in
Tried two keyboards, both of which worked perfectly with a Pi3B+.
Same issue on both the USB 3 and USB 2 ports.

Other devices I've tried like mice work fine....except for a fan which sometimes trips overcurrent on a lot of USB ports which shows similar behavior to the keyboards.

cros13
Posts: 5
Joined: Thu Jun 27, 2019 11:26 pm

Re: Pi4 USB keyboard issues on boot

Fri Jun 28, 2019 10:14 am

Additionally, I've tried two USB-PD power supplies both rated for 5V/3A (An Anker Atom PD 1 and a Satechi 75W multiport).

cros13
Posts: 5
Joined: Thu Jun 27, 2019 11:26 pm

Re: Pi4 USB keyboard issues on boot

Fri Jun 28, 2019 4:06 pm

I've now got a second Pi4 which also displays the issue. On the new one I can see device descriptor read/64, error -32 and an attempt to power cycle the port.

Code: Select all

[email protected]:~ $ sudo dmesg | grep usb
[    0.071358] usbcore: registered new interface driver usbfs
[    0.071408] usbcore: registered new interface driver hub
[    0.071506] usbcore: registered new device driver usb
[    0.402990] usbcore: registered new interface driver r8152
[    0.403049] usbcore: registered new interface driver lan78xx
[    0.403100] usbcore: registered new interface driver smsc95xx
[    0.405971] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[    0.405985] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.405997] usb usb1: Product: xHCI Host Controller
[    0.406008] usb usb1: Manufacturer: Linux 4.19.50-v7l+ xhci-hcd
[    0.406019] usb usb1: SerialNumber: 0000:01:00.0
[    0.407357] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.19
[    0.407370] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.407382] usb usb2: Product: xHCI Host Controller
[    0.407392] usb usb2: Manufacturer: Linux 4.19.50-v7l+ xhci-hcd
[    0.407403] usb usb2: SerialNumber: 0000:01:00.0
[    0.434587] dwc_otg fe980000.usb: base=(ptrval)
[    0.836267] dwc_otg fe980000.usb: DWC OTG Controller
[    0.836296] dwc_otg fe980000.usb: new USB bus registered, assigned bus number 3
[    0.836327] dwc_otg fe980000.usb: irq 36, io mem 0x00000000
[    0.836635] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[    0.836648] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.836660] usb usb3: Product: DWC OTG Controller
[    0.836671] usb usb3: Manufacturer: Linux 4.19.50-v7l+ dwc_otg_hcd
[    0.836682] usb usb3: SerialNumber: fe980000.usb
[    0.838047] usbcore: registered new interface driver uas
[    0.838162] usbcore: registered new interface driver usb-storage
[    0.844286] usbcore: registered new interface driver usbhid
[    0.844295] usbhid: USB HID core driver
[    0.981623] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[    1.173264] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.20
[    1.173279] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    1.173291] usb 1-1: Product: USB2.0 Hub
[    1.511656] usb 1-1.3: new full-speed USB device number 3 using xhci_hcd
[    1.665504] usb 1-1.3: New USB device found, idVendor=1532, idProduct=0037, bcdDevice= 2.00
[    1.665520] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    1.665533] usb 1-1.3: Product: Razer DeathAdder 2013
[    1.665545] usb 1-1.3: Manufacturer: Razer
[    1.678754] input: Razer Razer DeathAdder 2013 as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.0/0003:1532:0037.0001/input/input0
[    1.679230] hid-generic 0003:1532:0037.0001: input,hidraw0: USB HID v1.11 Mouse [Razer Razer DeathAdder 2013] on usb-0000:01:00.0-1.3/input0
[    1.689646] input: Razer Razer DeathAdder 2013 Keyboard as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.1/0003:1532:0037.0002/input/input1
[    1.751986] input: Razer Razer DeathAdder 2013 Consumer Control as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.1/0003:1532:0037.0002/input/input2
[    1.752184] input: Razer Razer DeathAdder 2013 System Control as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.1/0003:1532:0037.0002/input/input3
[    1.752331] input: Razer Razer DeathAdder 2013 as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.1/0003:1532:0037.0002/input/input4
[    1.752535] hid-generic 0003:1532:0037.0002: input,hidraw1: USB HID v1.11 Keyboard [Razer Razer DeathAdder 2013] on usb-0000:01:00.0-1.3/input1
[    1.757986] input: Razer Razer DeathAdder 2013 as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.2/0003:1532:0037.0003/input/input5
[    1.831862] hid-generic 0003:1532:0037.0003: input,hidraw2: USB HID v1.11 Keyboard [Razer Razer DeathAdder 2013] on usb-0000:01:00.0-1.3/input2
[    1.931636] usb 1-1.4: new full-speed USB device number 4 using xhci_hcd
[    2.031897] usb 1-1.4: device descriptor read/64, error -32
[    2.252105] usb 1-1.4: device descriptor read/64, error -32
[    2.471698] usb 1-1.4: new full-speed USB device number 5 using xhci_hcd
[    2.571944] usb 1-1.4: device descriptor read/64, error -32
[    2.791929] usb 1-1.4: device descriptor read/64, error -32
[    2.912148] usb 1-1-port4: attempt power cycle
[    4.152742] usbcore: registered new interface driver brcmfmac
[  273.612618] usb 1-1.4: new low-speed USB device number 7 using xhci_hcd
[  273.770634] usb 1-1.4: New USB device found, idVendor=04d9, idProduct=0129, bcdDevice= 3.90
[  273.770651] usb 1-1.4: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[  273.770664] usb 1-1.4: Product: USB Keyboard
[  273.798806] input: USB Keyboard as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4:1.0/0003:04D9:0129.0004/input/input6
[  273.863443] hid-generic 0003:04D9:0129.0004: input,hidraw3: USB HID v1.10 Keyboard [USB Keyboard] on usb-0000:01:00.0-1.4/input0
[  273.899625] input: USB Keyboard Consumer Control as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4:1.1/0003:04D9:0129.0005/input/input7
[  273.962999] input: USB Keyboard System Control as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4:1.1/0003:04D9:0129.0005/input/input8
[  273.963336] hid-generic 0003:04D9:0129.0005: input,hidraw4: USB HID v1.10 Device [USB Keyboard] on usb-0000:01:00.0-1.4/input1

Dygear
Posts: 19
Joined: Wed Jul 01, 2015 1:50 am

Re: Pi4 USB keyboard issues on boot

Fri Jun 28, 2019 5:58 pm

I wonder if these issues are related.

Raspberry Pi 4 USB Power Issues? RTL-SDRs

kazuyette
Posts: 2
Joined: Sat Jul 06, 2019 10:21 pm

Re: Pi4 USB keyboard issues on boot

Sat Jul 06, 2019 10:25 pm

Hello there I've got the same kind of problem on my side :
T'nB keyboard working perfectly on my Rpi3B+ and same keyboard not working on my Rpi4 4GB
I've bought a Rivertech keyboard ( https://www.amazon.co.uk/Rivertech-Delu ... B00AYVH1N4 ) and this one works perfectly on my Rpi4.

semaf
Authorised Reseller
Authorised Reseller
Posts: 18
Joined: Tue Jun 26, 2018 2:22 pm

Re: Pi4 USB keyboard issues on boot

Mon Jul 08, 2019 12:38 am

Which RPi 4 are they?
Semaf Electronics - https://electronics.semaf.at

kazuyette
Posts: 2
Joined: Sat Jul 06, 2019 10:21 pm

Re: Pi4 USB keyboard issues on boot

Mon Jul 08, 2019 2:16 pm

semaf wrote:
Mon Jul 08, 2019 12:38 am
Which RPi 4 are they?
Mine is a Rpi4 Model B 4GB RAM. If you need more info let me know.

jdb
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 2122
Joined: Thu Jul 11, 2013 2:37 pm

Re: Pi4 USB keyboard issues on boot

Mon Jul 08, 2019 3:30 pm

In the case where the errors show up in the kernel log prior to a successful re-plug, the device is being misidentified as a full-speed device.

Do you get the same behaviour when using a USB2.0 hub between the Pi and the device in question?
Rockets are loud.
https://astro-pi.org

Return to “Troubleshooting”