I accidentally removed libinput while trying to revert to synaptics on Ubuntu on my XPS 13 9350), so the keyboard constantly sends returns making it impossible to use the desktop.
In the recovery mode, I guess I could reinstall libinput, but I cannot get my wlan to work.
I already configured wpa_supplicant and try getting the network interface up using wpa_supplicant -B -iwlp58s0 -c/etc/wpa_supplicant.conf -Dwext
but this results in an error ioctl[SIOCSIWENCODEEXT]: Invalid argument
which I cannot find a solution for.
Is there a way I can just get my keyboard working without internet access, and if not, what am I doing wrong for getting wlan back up?