18.09 image updated, keyboard no longer works

raspberrypi

#1

I updated my RPI3B this morning.

After reboot my K520 wireless keyboard and mouse with proprietary USB receiver stopped working. As I do not have any other wired keyboard available for now I can’t figure out what happened…


Manjaro-ARM 18.09 released!
#2

Do you know what packages got updated?
I updated the kernel a couple of days ago. But you should have had that update before this morning.


#3

I had not updated it for a week or two. There was definitely a kernel and firmware update. I will try to find a keyboard and go back to check.


#4

I connected a USB keyboard but it does not respond either. I guess this points to the USB controller driver?


#5

I just booted my rpi3 a few days ago and updated it.
My USB Wireless keyboard and mouse still worked fine.

Maybe it’s the USB ports on your device?


#6

I will retry from scratch. This time I will set up sshd in the process to be able to inspect it remotely if it happens again.


#7

I retried with a fresh 18-09 image. Everything works fine until I update and restart. After the restart, any mouse and keyboard is irresponsive.

I had a look at journald through ssh but I can’t find anything wrong. Here are the USB related entries:

manjaro@manjaro-arm ~]$ journalctl -b | grep usb
Sep 14 20:52:30 manjaro-arm kernel: usbcore: registered new interface driver usbfs
Sep 14 20:52:30 manjaro-arm kernel: usbcore: registered new interface driver hub
Sep 14 20:52:30 manjaro-arm kernel: usbcore: registered new device driver usb
Sep 14 20:52:30 manjaro-arm kernel: usbcore: registered new interface driver lan78xx
Sep 14 20:52:30 manjaro-arm kernel: usbcore: registered new interface driver ax88179_178a
Sep 14 20:52:30 manjaro-arm kernel: usbcore: registered new interface driver smsc95xx
Sep 14 20:52:30 manjaro-arm kernel: usbcore: registered new interface driver cdc_ncm
Sep 14 20:52:30 manjaro-arm kernel: dwc_otg 3f980000.usb: base=0xf0980000
Sep 14 20:52:30 manjaro-arm kernel: dwc_otg 3f980000.usb: DWC OTG Controller
Sep 14 20:52:30 manjaro-arm kernel: dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
Sep 14 20:52:30 manjaro-arm kernel: dwc_otg 3f980000.usb: irq 62, io mem 0x00000000
Sep 14 20:52:30 manjaro-arm kernel: usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
Sep 14 20:52:30 manjaro-arm kernel: usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
Sep 14 20:52:30 manjaro-arm kernel: usb usb1: Product: DWC OTG Controller
Sep 14 20:52:30 manjaro-arm kernel: usb usb1: Manufacturer: Linux 4.14.66-1-MANJARO-ARM dwc_otg_hcd
Sep 14 20:52:30 manjaro-arm kernel: usb usb1: SerialNumber: 3f980000.usb
Sep 14 20:52:30 manjaro-arm kernel: usbcore: registered new interface driver uas
Sep 14 20:52:30 manjaro-arm kernel: usbcore: registered new interface driver usb-storage
Sep 14 20:52:30 manjaro-arm kernel: usbcore: registered new interface driver ums-alauda
Sep 14 20:52:30 manjaro-arm kernel: usbcore: registered new interface driver ums-cypress
Sep 14 20:52:30 manjaro-arm kernel: usbcore: registered new interface driver ums-datafab
Sep 14 20:52:30 manjaro-arm kernel: usbcore: registered new interface driver ums_eneub6250
Sep 14 20:52:30 manjaro-arm kernel: usbcore: registered new interface driver ums-freecom
Sep 14 20:52:30 manjaro-arm kernel: usbcore: registered new interface driver ums-isd200
Sep 14 20:52:30 manjaro-arm kernel: usbcore: registered new interface driver ums-jumpshot
Sep 14 20:52:30 manjaro-arm kernel: usbcore: registered new interface driver ums-karma
Sep 14 20:52:30 manjaro-arm kernel: usbcore: registered new interface driver ums-onetouch
Sep 14 20:52:30 manjaro-arm kernel: usbcore: registered new interface driver ums-realtek
Sep 14 20:52:30 manjaro-arm kernel: usbcore: registered new interface driver ums-sddr09
Sep 14 20:52:30 manjaro-arm kernel: usbcore: registered new interface driver ums-sddr55
Sep 14 20:52:30 manjaro-arm kernel: usbcore: registered new interface driver ums-usbat
Sep 14 20:52:30 manjaro-arm kernel: usbcore: registered new interface driver usbhid
Sep 14 20:52:30 manjaro-arm kernel: usbhid: USB HID core driver
Sep 14 20:52:30 manjaro-arm kernel: usb 1-1: new high-speed USB device number 2 using dwc_otg
Sep 14 20:52:30 manjaro-arm kernel: usb 1-1: New USB device found, idVendor=0424, idProduct=9514
Sep 14 20:52:30 manjaro-arm kernel: usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
Sep 14 20:52:30 manjaro-arm kernel: usb 1-1.1: new high-speed USB device number 3 using dwc_otg
Sep 14 20:52:30 manjaro-arm kernel: usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
Sep 14 20:52:30 manjaro-arm kernel: usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
Sep 14 20:52:30 manjaro-arm kernel: smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:00:7e:99
Sep 14 20:52:30 manjaro-arm kernel: usb 1-1.3: new full-speed USB device number 4 using dwc_otg
Sep 14 20:52:30 manjaro-arm kernel: usb 1-1.3: New USB device found, idVendor=046d, idProduct=c52b
Sep 14 20:52:30 manjaro-arm kernel: usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Sep 14 20:52:30 manjaro-arm kernel: usb 1-1.3: Product: USB Receiver
Sep 14 20:52:30 manjaro-arm kernel: usb 1-1.3: Manufacturer: Logitech
Sep 14 20:52:33 manjaro-arm systemd-udevd[169]: Specified user 'usbmux' unknown

The full log can be downloaded from here

I have no idea what this could be caused by… The only suspicious entry is the last one. Do you know what it is about?


#8

Only real thing I could find was this:
https://bugs.launchpad.net/ubuntu/+source/linux-linaro-omap/+bug/706033

Maybe the device no longer gets enough power after the update. Do you have a way of testing with a powered USB hub?


#9

I did try with another PSU and a USB hub. No luck.

I also tried connecting some other devices on the hub and they are at least recognized correctly:

[manjaro@manjaro-arm ~]$ lsusb
Bus 001 Device 007: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 Device 006: ID 046d:0825 Logitech, Inc. Webcam C270
Bus 001 Device 005: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 008: ID 045e:0008 Microsoft Corp. SideWinder Precision Pro
Bus 001 Device 004: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Manjaro-ARM 18.09 released!
#10

Yeah, happened to me with a RPI 3 B+ as well. Not only did the keyboard and mouse not respond after the update, but I also lost touchscreen controls on the official 7’’ display - touchscreen works on a fresh 18.09 image. I could see the cursor blinking on the login screen, so it wasn’t frozen - same with an external monitor. I do get the undervoltage icon frequently when powering through a notebook USB port, but that does not cause any issue on the fresh install, even with the touchscreen.


#11

Is there any update on this? I did a fresh install everything works but after i do an update keyboard and mouse no longer work.


#12

I found out what caused it, and are creating new images where this fix is applied.

If you still use 18.09 and still have a working system please apply this fix:

You need to add this to your /etc/fstab and reboot, before you do any updates:

/dev/mmcblk0p1  /boot   vfat    defaults        0       0

#13

Still no joy for me.

How would this be related to USB anyway?

EDIT: scratch that. Actually the keyboard and mouse work again after doing the fstab change AND the full upgrade.

However the display manager login screen does not display anymore :frowning: the system is stuck at [OK] Reached target Graphical Interface. Switching to another console works though.


#14

What packages got upgraded? one of them must have changed something.


#15

I have the same problem on my Odroid aarch64 images.
The only packages I updated relating to GUI/Xorg is xorg-server and xorg-server-common. :frowning:
And login screen still works, if I ignore those two during updates. So those are the culprits. I get those directly from ALARM, so nothing I can do about that.


#16

Here is the pacman.log

[2018-10-20 10:57] [ALPM] upgraded iana-etc (20180221-1 -> 20181004-1)
[2018-10-20 10:57] [ALPM] upgraded filesystem (2018.07-1 -> 2018.10-1)
[2018-10-20 10:57] [ALPM] upgraded ncurses (6.1-3 -> 6.1-4)
[2018-10-20 10:57] [ALPM] upgraded audit (2.8.4-1 -> 2.8.4-2)
[2018-10-20 10:57] [ALPM] upgraded bison (3.0.5-1 -> 3.1-1)
[2018-10-20 10:57] [ALPM] upgraded lz4 (1:1.8.2-2 -> 1:1.8.3-1)
[2018-10-20 10:57] [ALPM] upgraded curl (7.61.1-1 -> 7.61.1-3)
[2018-10-20 10:57] [ALPM] upgraded dnssec-anchors (20170711-1 -> 20181003-1)
[2018-10-20 10:57] [ALPM] upgraded glib2 (2.58.0+31+g2a7d4d2dc-1 -> 2.58.1-1)
[2018-10-20 10:57] [ALPM] upgraded fontconfig (2:2.13.0+15+gc60ed9e-1 -> 2:2.13.1+12+g5f5ec56-1)
[2018-10-20 10:57] [ALPM-SCRIPTLET] Rebuilding fontconfig cache... done.
[2018-10-20 10:57] [ALPM] upgraded libdrm (2.4.94-1 -> 2.4.95-1)
[2018-10-20 10:57] [ALPM] upgraded libssh (0.8.3-1 -> 0.8.4-1)
[2018-10-20 10:57] [ALPM] upgraded libxcb (1.13-1 -> 1.13.1-1)
[2018-10-20 10:57] [ALPM] upgraded libx11 (1.6.6-1 -> 1.6.7-1)
[2018-10-20 10:57] [ALPM] upgraded libxml2 (2.9.8-4 -> 2.9.8-5)
[2018-10-20 10:57] [ALPM] upgraded libelf (0.171-1 -> 0.174-1)
[2018-10-20 10:57] [ALPM] upgraded llvm-libs (6.0.1-4 -> 7.0.0-1)
[2018-10-20 10:57] [ALPM] upgraded mesa (18.2.0-1 -> 18.2.2-1)
[2018-10-20 10:57] [ALPM] upgraded sdl2 (2.0.8-9 -> 2.0.8-10)
[2018-10-20 10:57] [ALPM] upgraded libva (2.2.0-2 -> 2.3.0-1)
[2018-10-20 10:57] [ALPM] upgraded x265 (2.8-1 -> 2.9-1)
[2018-10-20 10:57] [ALPM] upgraded libsm (1.2.2-3 -> 1.2.3-1)
[2018-10-20 10:58] [ALPM] upgraded ffmpeg (1:4.0.2-2 -> 1:4.0.2-6)
[2018-10-20 10:58] [ALPM] upgraded gc (7.6.6-1 -> 7.6.8-1)
[2018-10-20 10:58] [ALPM] upgraded git (2.19.0-1 -> 2.19.1-1)
[2018-10-20 10:58] [ALPM] upgraded gpgme (1.11.1-2 -> 1.12.0-1)
[2018-10-20 10:58] [ALPM] upgraded gpm (1.20.7-8 -> 1.20.7.r27.g1fd1941-1)
[2018-10-20 10:58] [ALPM] upgraded libthai (0.1.27-1 -> 0.1.28-1)
[2018-10-20 10:58] [ALPM] upgraded librsvg (2:2.44.4-1 -> 2:2.44.7-1)
[2018-10-20 10:58] [ALPM] upgraded gtk-update-icon-cache (3.24.1+2+ged57e564a9-1 -> 3.24.1+8+g220f77d8c1-1)
[2018-10-20 10:58] [ALPM] upgraded libepoxy (1.5.2-1 -> 1.5.3-1)
[2018-10-20 10:58] [ALPM] upgraded xkeyboard-config (2.24-1 -> 2.25-1)
[2018-10-20 10:58] [ALPM] upgraded gtk3 (3.24.1+2+ged57e564a9-1 -> 3.24.1+8+g220f77d8c1-1)
[2018-10-20 10:58] [ALPM] upgraded libx86emu (1.14_1-2 -> 2.1-1)
[2018-10-20 10:58] [ALPM] upgraded hwinfo (21.53-1 -> 21.58-1)
[2018-10-20 10:58] [ALPM] upgraded inxi (3.0.24-1 -> 3.0.26-1)
[2018-10-20 10:58] [ALPM] upgraded jfsutils (1.1.15-5 -> 1.1.15-6)
[2018-10-20 10:58] [ALPM] upgraded libwacom (0.30-1 -> 0.31-1)
[2018-10-20 10:58] [ALPM] upgraded libinput (1.12.0-2 -> 1.12.1-1)
[2018-10-20 10:58] [ALPM] upgraded qt5-base (5.11.1-3 -> 5.11.2-1)
[2018-10-20 10:58] [ALPM] upgraded kcoreaddons (5.50.0-1 -> 5.51.0-1)
[2018-10-20 10:58] [ALPM] upgraded kauth (5.50.0-1 -> 5.51.0-1)
[2018-10-20 10:58] [ALPM] upgraded qt5-x11extras (5.11.1-1 -> 5.11.2-1)
[2018-10-20 10:58] [ALPM] upgraded kidletime (5.50.0-1 -> 5.51.0-1)
[2018-10-20 10:58] [ALPM] upgraded kitemmodels (5.50.0-1 -> 5.51.0-1)
[2018-10-20 10:58] [ALPM] upgraded kwayland (5.50.0-1 -> 5.51.0-1)
[2018-10-20 10:58] [ALPM] upgraded kwindowsystem (5.50.0-1 -> 5.51.0-1)
[2018-10-20 10:58] [ALPM] upgraded libbytesize (1.3-2 -> 1.4-1)
[2018-10-20 10:58] [ALPM] upgraded ndctl (62-2 -> 63-1)
[2018-10-20 10:58] [ALPM] upgraded libyaml (0.1.7-1 -> 0.2.1-1)
[2018-10-20 10:58] [ALPM] upgraded zstd (1.3.5-1 -> 1.3.6-1)
[2018-10-20 10:58] [ALPM] upgraded libblockdev (2.19-1 -> 2.20-1)
[2018-10-20 10:58] [ALPM] upgraded libkscreen (5.13.5-1 -> 5.14.1-1)
[2018-10-20 10:58] [ALPM] upgraded libndp (1.6-1 -> 1.7-1)
[2018-10-20 10:58] [ALPM] upgraded qt5-svg (5.11.1-1 -> 5.11.2-1)
[2018-10-20 10:58] [ALPM] upgraded libqtxdg (3.2.0-3 -> 3.2.0-4)
[2018-10-20 10:58] [ALPM] upgraded mkinitcpio (24-2 -> 24-3)
[2018-10-20 10:58] [ALPM] upgraded linux-raspberrypi (4.14.70-2 -> 4.14.76-1)
[2018-10-20 10:58] [ALPM-SCRIPTLET] >>> Updating module dependencies. Please wait ...
[2018-10-20 10:58] [ALPM] upgraded manjaro-release (18.09-1 -> 18.10-1)
[2018-10-20 10:58] [ALPM] upgraded networkmanager-qt (5.50.0-1 -> 5.51.0-1)
[2018-10-20 10:59] [ALPM] upgraded papirus-icon-theme (20180816-1 -> 20181007-1)
[2018-10-20 10:59] [ALPM] upgraded papirus-maia-icon-theme (20180728-1 -> 20181011-1)
[2018-10-20 10:59] [ALPM] upgraded patch (2.7.6-1 -> 2.7.6-3)
[2018-10-20 10:59] [ALPM] upgraded psmisc (23.1-1 -> 23.2-1)
[2018-10-20 10:59] [ALPM] upgraded qt5-xmlpatterns (5.11.1-1 -> 5.11.2-1)
[2018-10-20 10:59] [ALPM] upgraded qt5-declarative (5.11.1-2 -> 5.11.2-1)
[2018-10-20 10:59] [ALPM] upgraded qt5-location (5.11.1-3 -> 5.11.2-1)
[2018-10-20 10:59] [ALPM] upgraded qt5-webchannel (5.11.1-1 -> 5.11.2-1)
[2018-10-20 10:59] [ALPM] upgraded re2 (20180901-1 -> 20181001-1)
[2018-10-20 10:59] [ALPM] upgraded qt5-webengine (5.11.1-3 -> 5.11.2-1)
[2018-10-20 11:00] [ALPM] upgraded raspberrypi-bootloader (20180921-1 -> 20181015-1)
[2018-10-20 11:00] [ALPM] upgraded raspberrypi-firmware (20180910-1 -> 20181015-1)
[2018-10-20 11:00] [ALPM] upgraded udisks2 (2.8.0-1 -> 2.8.1-1)
[2018-10-20 11:00] [ALPM] upgraded solid (5.50.0-1 -> 5.51.0-1)
[2018-10-20 11:00] [ALPM] upgraded texinfo (6.5-1 -> 6.5-2)
[2018-10-20 11:00] [ALPM] upgraded xf86-input-libinput (0.28.0-1 -> 0.28.1-1)
[2018-10-20 11:00] [ALPM] upgraded xorg-server-common (1.20.1-1 -> 1.20.2-1)
[2018-10-20 11:00] [ALPM] upgraded xorg-server (1.20.1-1 -> 1.20.2-1)
[2018-10-20 11:00] [ALPM] upgraded xterm (336-1 -> 337-1)

#17

looking at journald I found this:

Oct 20 11:10:31 manjaro-arm sddm[292]: Initializing...
Oct 20 11:10:31 manjaro-arm sddm[292]: Starting...
Oct 20 11:10:31 manjaro-arm sddm[292]: Logind interface found
Oct 20 11:10:31 manjaro-arm sddm[292]: Adding new display on vt 1 ...
Oct 20 11:10:31 manjaro-arm sddm[292]: Loading theme configuration from ""
Oct 20 11:10:31 manjaro-arm sddm[292]: Display server starting...
Oct 20 11:10:31 manjaro-arm sddm[292]: Running: /usr/bin/X -nolisten tcp -auth /var/run/sddm/{4bb75e95-0365-4387-abb8-5b466a0a5a0b} -background none -noreset -displayfd 18 -seat seat0 vt1
Oct 20 11:10:31 manjaro-arm sddm[292]: Failed to read display number from pipe
Oct 20 11:10:31 manjaro-arm sddm[292]: Display server failed to start. Exiting
Oct 20 11:10:32 manjaro-arm systemd[1]: sddm.service: Main process exited, code=dumped, status=6/ABRT
Oct 20 11:10:32 manjaro-arm systemd[1]: sddm.service: Failed with result 'core-dump'.
Oct 20 11:10:32 manjaro-arm systemd-coredump[311]: Process 292 (sddm) of user 0 dumped core.
Oct 20 11:10:32 manjaro-arm systemd[1]: sddm.service: Service RestartSec=100ms expired, scheduling restart.
Oct 20 11:10:32 manjaro-arm systemd[1]: sddm.service: Scheduled restart job, restart counter is at 1.
Oct 20 11:10:32 manjaro-arm sddm[329]: Initializing...
Oct 20 11:10:32 manjaro-arm sddm[329]: Starting...

This runs in a loop with always the same outcome.


#18

Yeah, it’s the xorg-server update that does it. We get that from Arch, so I can’t really fix it, other than ignoring the 1.20.2 version from the repo.


#19

Found this on the Arch Linux ARM forum.
Seems they are also having the problem with the xorg-server not working correctly.


#20

The last update fixed it for me. The display manager is back. Thanks.