You are not logged in.
Hello,
I'm trying to install Archlinux on my new laptop. After booting from a usb flash drive, the terminal keeps printing ^@ in the output whenever I execute a command. The command itself is running normally.
It makes reading the terminal output difficult, which I can overcome. But I'm stuck at changing user's password as the command passwd says no password has been supplied no matter what I type.
Here are the things I have already tried, none of them works:
- Switching installation image from archlinux-2023.08.01-x86_64.iso to archlinux-2023.06.01-x86_64.iso
- Enable/disable fingerprint reader in bios.
Looks as if a key is stuck or broken on the keyboard, but I couldn't find out which one. I would be very grateful if any could help me locate the problem.
Last edited by Tobico (2023-08-28 01:35:54)
Offline
^@ is the null character and unfortunately a virtually unsearcheable token ![]()
Does it happen when you boot w/ "acpi=off"?
What exactly is your new laptops vendor/model?
Offline
Thanks for the reply!
I'm using honor magicbook 14 2023. https://www.hihonor.com/global/laptops/ … k-14-2023/
Does it happen when you boot w/ "acpi=off"
Unfortunately the system won't boot with acpi=off, grub stuck at "Loading initial ramdisk..."
Offline
sudo libinput list-devices | curl -F 'f:1=<-' ix.ioCan you disable
- webcam
- wifi
keeps printing ^@ in the output whenever I execute a command
Can you be more specific? Does it print an extra ^@ whenever you hit enter, spawn a process* or is it just stray, random input?
*
for ((i=0;i<10;++i)); do sleep 1; doneOffline
sudo libinput list-devices | curl -F 'f:1=<-' ix.ioreturns http://ix.io/4EAI
I've disabled as many options as I can in bios, including:
- Secure boot
- TPM
- Virtualization Technology
- HDD Device
- PXE Device
- Camera
- Audio
- WLAN
- Fingerprint
- OS Auto Recovery
But none can stop the ^@ character.
The extra ^@ starts printing halfway in the splash screen. I think the corresponding key press event never stops. It's just that bash do not show this character when I'm typing commands. But as soon as there is a command running, ^@ is mixed in its output, like this:
^@^@
Arch Linux 6.4.7-arch1-1 (tty1)
archiso login: root (automatic login)
^@^@^@^@^@^@To install Arch Linux follow the installation guide:
https://wiki.archlinux.org/title/Installation_guide
For Wi-Fi, authenticate to the wireless network using the iwctl utility.
For mobile broadband (WWAN) modems, connect with the mmcli utility.
Ethernet, WLAN and WWAN interfaces using DHCP should work automatically.
After connecting to the internet, the installation guide can be accessed
via the convenience script Installation_guide.
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@#
root@archiso ~ # ls
^@#
root@archiso ~ # for ((i=0;i<10;++i)); do sleep 1; done
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@Last edited by Tobico (2023-08-26 14:01:25)
Offline
Device: Power Button
Kernel: /dev/input/event2
Device: Video Bus
Kernel: /dev/input/event4
Device: Power Button
Kernel: /dev/input/event0
Device: Lid Switch
Kernel: /dev/input/event1
Device: GXTP7863:00 27C6:01E0 Mouse
Kernel: /dev/input/event7
Device: GXTP7863:00 27C6:01E0 Touchpad
Kernel: /dev/input/event8
Device: GXTP7863:00 27C6:01E0 UNKNOWN
Kernel: /dev/input/event9
Device: Huawei WMI hotkeys
Kernel: /dev/input/event6
Device: AT Translated Set 2 keyboard
Kernel: /dev/input/event3If the input is unmotivated
libinput debug-eventsmight reveal the device causing it.
Also
lsmod, there might be a wmi module misaliased.
https://bbs.archlinux.org/viewtopic.php … 3#p1922573
Also input_polldev has previously caused this.
Offline
libinput debug-events output:
-event2 DEVICE_ADDED Power Button seat0 default group1 cap:k
-event4 DEVICE_ADDED Video Bus seat0 default group2 cap:k
-event0 DEVICE_ADDED Power Button seat0 default group3 cap:k
-event1 DEVICE_ADDED Lid Switch seat0 default group4 cap:S^@
-event7 DEVICE_ADDED GXTP7863:00 27C6:01E0 Mouse seat0 default group5 cap:p left scroll-nat scroll-button
-event8 DEVICE_ADDED GXTP7863:00 27C6:01E0 Touchpad seat0 default group5 cap:pg size 119x70mm tap(dl off) left scroll-nat scroll-2fg-edge click-buttonareas-clickfinger dwt-on dwtp-on
-event9 DEVICE_ADDED GXTP7863:00 27C6:01E0 UNKNOWN seat0 default group5 cap:k
-event6 DEVICE_ADDED Huawei WMI hotkeys seat0 default group6 cap:k
-event3 DEVICE_ADDED AT Translated Set 2 keyboard seat0 default group7 cap:k
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@vevent3 KEYBOARD_KEY +23.527s *** (-1) pressed
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@ event3 KEYBOARD_KEY +23.635s *** (-1) pressedI failed to find any suspicious key press event except for the last ctrl+c I pressed. Perhaps it is because whichever key causing this issue, is already in the "pressed" state?
lsmod output:
Module Size Used by
qrtr 57344 4
ccm 20480 0
algif_aead 12288 0
cbc 12288 0
des_generic 12288 0
libdes 20480 1 des_generic
ecb 12288 0
algif_skcipher 12288 0
cmac 12288 0
md4 12288 0
algif_hash 16384 0
af_alg 36864 3 algif_hash,algif_skcipher,algif_aead
snd_sof_pci_intel_tgl 12288 0
intel_uncore_frequency 12288 0
snd_sof_intel_hda_common 229376 1 snd_sof_pci_intel_tgl
soundwire_intel 61440 1 snd_sof_intel_hda_common
soundwire_cadence 45056 1 soundwire_intel
snd_sof_intel_hda_mlink 36864 1 snd_sof_intel_hda_common
intel_uncore_frequency_common 12288 1 intel_uncore_frequency
snd_sof_intel_hda 20480 1 snd_sof_intel_hda_common
snd_sof_pci 24576 2 snd_sof_intel_hda_common,snd_sof_pci_intel_tgl
x86_pkg_temp_thermal 16384 0
snd_sof_xtensa_dsp 16384 1 snd_sof_intel_hda_common
snd_sof 409600 3 snd_sof_pci,snd_sof_intel_hda_common,snd_sof_intel_hda
snd_sof_utils 16384 1 snd_sof
snd_soc_hdac_hda 28672 1 snd_sof_intel_hda_common
snd_hda_ext_core 36864 4 snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_sof_intel_hda_mlink,snd_sof_intel_hda
snd_soc_acpi_intel_match 77824 2 snd_sof_intel_hda_common,snd_sof_pci_intel_tgl
snd_soc_acpi 12288 2 snd_soc_acpi_intel_match,snd_sof_intel_hda_common
intel_powerclamp 20480 0
soundwire_generic_allocation 12288 1 soundwire_intel
soundwire_bus 135168 3 soundwire_intel,soundwire_generic_allocation,soundwire_cadence
snd_soc_core 438272 4 soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hda
snd_compress 28672 1 snd_soc_core
ac97_bus 12288 1 snd_soc_core
snd_pcm_dmaengine 16384 1 snd_soc_core
coretemp 16384 0
kvm_intel 454656 0
iwlmvm 688128 0
snd_hda_codec_hdmi 94208 1
joydev 24576 0
mousedev 24576 0
kvm 1318912 1 kvm_intel
mac80211 1527808 1 iwlmvm
snd_hda_codec_realtek 192512 1
irqbypass 12288 1 kvm
libarc4 12288 1 mac80211
snd_hda_codec_generic 110592 1 snd_hda_codec_realtek
uvcvideo 176128 0
snd_hda_intel 61440 0
btusb 81920 0
iTCO_wdt 16384 0
hid_multitouch 32768 0
snd_intel_dspcfg 32768 3 snd_hda_intel,snd_sof,snd_sof_intel_hda_common
snd_intel_sdw_acpi 16384 2 snd_sof_intel_hda_common,snd_intel_dspcfg
snd_hda_codec 212992 6 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda,snd_sof_intel_hda
videobuf2_vmalloc 20480 1 uvcvideo
snd_hda_core 139264 9 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_sof_intel_hda
uvc 12288 1 uvcvideo
snd_hwdep 20480 1 snd_hda_codec
crct10dif_pclmul 12288 1
videobuf2_memops 16384 1 videobuf2_vmalloc
btrtl 28672 1 btusb
snd_pcm 196608 11 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_compress,snd_soc_core,snd_sof_utils,snd_hda_core,snd_pcm_dmaengine
btbcm 24576 1 btusb
videobuf2_v4l2 40960 1 uvcvideo
snd_timer 53248 1 snd_pcm
btintel 53248 1 btusb
videodev 372736 2 videobuf2_v4l2,uvcvideo
snd 147456 11 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_sof,snd_timer,snd_compress,snd_soc_core,snd_pcm
btmtk 12288 1 btusb
intel_pmc_bxt 16384 1 iTCO_wdt
videobuf2_common 86016 4 videobuf2_vmalloc,videobuf2_v4l2,uvcvideo,videobuf2_memops
polyval_clmulni 12288 0
mc 86016 4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common
soundcore 16384 1 snd
polyval_generic 12288 1 polyval_clmulni
gf128mul 16384 1 polyval_generic
wl 6512640 0
processor_thermal_device_pci 16384 0
intel_rapl_msr 20480 0
bluetooth 1093632 6 btrtl,btmtk,btintel,btbcm,btusb
iTCO_vendor_support 12288 1 iTCO_wdt
i2c_hid_acpi 12288 0
ecdh_generic 16384 1 bluetooth
crc16 12288 1 bluetooth
processor_thermal_device 20480 1 processor_thermal_device_pci
i2c_hid 40960 1 i2c_hid_acpi
processor_thermal_rfim 28672 1 processor_thermal_device
processor_thermal_mbox 12288 2 processor_thermal_rfim,processor_thermal_device
processor_thermal_rapl 16384 1 processor_thermal_device
intel_rapl_common 36864 2 intel_rapl_msr,processor_thermal_rapl
wmi_bmof 12288 0
huawei_wmi 24576 0
iwlwifi 557056 1 iwlmvm
ledtrig_audio 12288 2 snd_hda_codec_generic,huawei_wmi
sparse_keymap 12288 1 huawei_wmi
pcspkr 12288 0
ghash_clmulni_intel 16384 0
rapl 20480 0
mei_hdcp 28672 0
intel_cstate 20480 0
i2c_i801 40960 0
mei_pxp 16384 0
pmt_telemetry 12288 0
intel_uncore 258048 0
spi_nor 143360 0
pmt_class 16384 1 pmt_telemetry
mei_me 57344 2
cfg80211 1286144 4 wl,iwlmvm,iwlwifi,mac80211
intel_lpss_pci 24576 0
rfkill 40960 5 iwlmvm,bluetooth,cfg80211
int3403_thermal 16384 0
mei 192512 5 mei_hdcp,mei_pxp,mei_me
intel_vsec 20480 0
intel_lpss 12288 1 intel_lpss_pci
idma64 20480 0
int3400_thermal 20480 0
int340x_thermal_zone 16384 2 int3403_thermal,processor_thermal_device
acpi_thermal_rel 16384 1 int3400_thermal
mtd 106496 3 spi_nor
i2c_smbus 20480 1 i2c_i801
acpi_pad 24576 0
mac_hid 12288 0
pkcs8_key_parser 12288 0
dm_mod 217088 0
fuse 204800 1
bpf_preload 20480 0
ip_tables 36864 0
x_tables 61440 1 ip_tables
overlay 200704 1
squashfs 94208 1
loop 40960 2
isofs 61440 0
cdrom 81920 1 isofs
cdc_mbim 16384 0
cdc_wdm 36864 1 cdc_mbim
cdc_ncm 49152 1 cdc_mbim
cdc_ether 24576 1 cdc_ncm
uas 32768 0
usbnet 61440 3 cdc_mbim,cdc_ncm,cdc_ether
usb_storage 86016 1 uas
mii 16384 1 usbnet
i915 3907584 2
serio_raw 16384 0
drm_buddy 20480 1 i915
atkbd 40960 0
i2c_algo_bit 20480 1 i915
libps2 20480 1 atkbd
vivaldi_fmap 12288 1 atkbd
crc32_pclmul 12288 0
ttm 98304 1 i915
nvme 65536 0
crc32c_intel 16384 0
sha512_ssse3 45056 0
drm_display_helper 204800 1 i915
aesni_intel 360448 0
cec 86016 2 drm_display_helper,i915
nvme_core 237568 1 nvme
crypto_simd 16384 1 aesni_intel
spi_intel_pci 12288 0
cryptd 28672 2 crypto_simd,ghash_clmulni_intel
xhci_pci 28672 0
i8042 53248 0
spi_intel 36864 1 spi_intel_pci
nvme_common 20480 1 nvme_core
intel_gtt 24576 1 i915
xhci_pci_renesas 24576 1 xhci_pci
video 77824 1 i915
serio 28672 4 serio_raw,atkbd,i8042
wmi 45056 3 video,huawei_wmi,wmi_bmofSorry I couldn't find a way to blacklist input_polldev on archiso. All the changes are lost after reboot.
Offline
I think the module has been removed from the kernel anyway (and it's not loaded)
You could however try to add "module_blacklist=huawei_wmi,wmi_bmof" to the kernel parameters, https://wiki.archlinux.org/title/Kernel … acklisting
Offline
I think the module has been removed from the kernel anyway (and it's not loaded)
Offline
module_blacklist=huawei_wmi,wmi_bmof did not work ![]()
However, I've finally located the device generating the key press event.
root@archiso ~ # evtest --grab /dev/input/event13
Input driver version is 1.0.1
Input device ID: bus 0x18 vendor 0x27c6 product 0x1e0 version 0x100
Input device name: "GXTP7863:00 27C6:01E0 UNKNOWN"
Supported events:
Event type 0 (EV_SYN)
Event type 1 (EV_KEY)
Event code 224 (KEY_BRIGHTNESSDOWN)
Event code 225 (KEY_BRIGHTNESSUP)
Event code 248 (KEY_MICMUTE)
Event type 4 (EV_MSC)
Event code 4 (MSC_SCAN)
Key repeat handling:
Repeat type 20 (EV_REP)
Repeat code 0 (REP_DELAY)
Value 250
Repeat code 1 (REP_PERIOD)
Value 33
Properties:
Testing ... (interrupt to exit)
Event: time 1693107409.098007, type 1 (EV_KEY), code 224 (KEY_BRIGHTNESSDOWN), value 2
Event: time 1693107409.098007, -------------- SYN_REPORT ------------
Event: time 1693107409.134694, type 1 (EV_KEY), code 224 (KEY_BRIGHTNESSDOWN), value 2
Event: time 1693107409.134694, -------------- SYN_REPORT ------------
Event: time 1693107409.171351, type 1 (EV_KEY), code 224 (KEY_BRIGHTNESSDOWN), value 2
Event: time 1693107409.171351, -------------- SYN_REPORT ------------
Event: time 1693107409.208007, type 1 (EV_KEY), code 224 (KEY_BRIGHTNESSDOWN), value 2
Event: time 1693107409.208007, -------------- SYN_REPORT ------------
Event: time 1693107409.244686, type 1 (EV_KEY), code 224 (KEY_BRIGHTNESSDOWN), value 2
Event: time 1693107409.244686, -------------- SYN_REPORT ------------
Event: time 1693107409.281358, type 1 (EV_KEY), code 224 (KEY_BRIGHTNESSDOWN), value 2I think the next step is to find the driver and unload it from kernel?
Last edited by Tobico (2023-08-27 03:57:29)
Offline
That's part of the touchpad?
Try to blacklist i2c_hid_acpi - otherwise "cat /proc/bus/input/devices"
Offline
That's part of the touchpad?
Yes. I've found 3 devices linked to the touchpad:
-event7 DEVICE_ADDED GXTP7863:00 27C6:01E0 Mouse seat0 default group5 cap:p left scroll-nat scroll-button
-event8 DEVICE_ADDED GXTP7863:00 27C6:01E0 Touchpad seat0 default group5 cap:pg size 119x70mm tap(dl off) left scroll-nat scroll-2fg-edge click-buttonareas-clickfinger dwt-on dwtp-on
-event9 DEVICE_ADDED GXTP7863:00 27C6:01E0 UNKNOWN seat0 default group5 cap:kOnly the last one generates the key press event.
Try to blacklist i2c_hid_acpi
That works! However it also disables the normal touchpad (event7 and event8). Is there a way to precisely remove event9 only? ![]()
Offline
Running "evtest --grab /dev/input/event13" should™ suck the events and you can use a second VT free of that input.
But afaiu the primary task is to get through the installation process (which won't require a touchpad) and eg. on X11 you can just "xinput --disable" the device
Does the notebook have an ambient light detector?
Offline
Does the notebook have an ambient light detector?
I think so.
As we now have a good enough solution to complete the installation process, I'll mark this issue as solved.
@seth Thank you very much for the help!
Offline
Hi everyone!
I am very new for linux, I didn't find a way to save the config with blacklisted module on my usb drive, that has archlinux.iso.
So, there is simplier solution:
1. Shutdown
2. Start and wait until grub menu appears (the screen, where
"Arch Linux install medium (x86_64, UEFI)
"Arch Linux install medium (x86_64, UEFI) with speech
Memtest86+
etc
are displayed)
3. Select the first one and do NOT press Enter
4. Press E
5. Go to the very right corner
6. Print linux /boot/vmlinuz-linux ... modprobe.blacklist=i2c_hid_acpi
7. Press Enter
That's all. No more ^@ You can install archlinux and then write config.
If you do not write config, this problem will back, so you will need to do these manipulations again.
Thx, guys, for this topic, it helped to much!
Sorry for my English ![]()
Last edited by Obektev (2024-08-11 06:30:53)
Offline