You are not logged in.

#1 2024-12-17 12:41:37

newbie_III
Member
Registered: 2024-12-15
Posts: 4

Null characters (^@) appear on console, and typing is impossible

Hi everyone,

I am running arch on an ASUS ROG G513 laptop, with AMD Ryzen 9 5900HX and NVIDIA 3050

When I boot the computer, the computer starts typing null characters (^@) during boot procces (kernel log) and in getty, this issue persists on most major linux distros mint and mint xfce4, parrot, fedora, arch and endeavourOS

I managed to install arch by enabling ssh with shell redirection, since I can’t use vim or nano (just on archlinux I can't use text editor).

I thought post installation everything should go fine since.
I installed base, linux, linux-firmware and amd-ucode packages, but now I can’t log in as a result of null character

notes:

  • hot keys (sound, brightness control keys etc.) work fine on fedora, but not on EndeavourOS version (25/06/2024).

  • Keyboard response time feel slow, and I can’t repeat key press by holding the key (e.g. hold backspace to delete several characters).

  • vim not working, it will switch from insert to normal mode.

  • nano will go to end of file by moving line by line.

  • Sometime in live arch iso systemctl log will interrupt and appear.

  • I think Fn key is what causing the problem.

the output from fedora workstation 40.1 livecd I think it may help

liveuser@localhost-live: sudo libinput list-devices
Device:           Asus Wireless Radio Control
Kernel:           /dev/input/event6
Group:            1
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         0.0

Device:           Video Bus
Kernel:           /dev/input/event8
Group:            2
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         0.0

Device:           Lid Switch
Kernel:           /dev/input/event0
Group:            3
Seat:             seat0, default
Capabilities:     switch
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         0.0

Device:           Power Button
Kernel:           /dev/input/event1
Group:            4
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         0.0

Device:           Sleep Button
Kernel:           /dev/input/event2
Group:            5
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         0.0

Device:           Asus Keyboard Kernel:           /dev/input/event5
Group:            6
Seat:             seat0, default
Capabilities:     keyboard pointer 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    disabled
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         0.0

Device:           ASUE120A:00 04F3:319B Mouse
Kernel:           /dev/input/event3
Group:            7
Seat:             seat0, default
Capabilities:     pointer 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   *button
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   flat *adaptive custom
Rotation:         n/a

Device:           ASUE120A:00 04F3:319B Touchpad
Kernel:           /dev/input/event4
Group:            7
Seat:             seat0, default
Size:             126x74mm
Capabilities:     pointer gesture
Tap-to-click:     disabled
Tap-and-drag:     enabled
Tap drag lock:    disabled
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: disabled
Calibration:      n/a
Scroll methods:   *two-finger edge 
Click methods:    *button-areas clickfinger 
Disable-w-typing: enabled
Disable-w-trackpointing: enabled
Accel profiles:   flat *adaptive custom
Rotation:         n/a

Device:           Asus WMI hotkeys
Kernel:           /dev/input/event10
Group:            8
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         0.0

Device:           AT Translated Set 2 keyboard
Kernel:           /dev/input/event7
Group:            9
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         0.0
files:   n/a
Rotation:         0.0

liveuser@localhost-live: sudo xinput list
WARNING: running xinput against an Xwayland server. See the xinput man page for details.
⎡ Virtual core pointer                    id=2 aster pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              id=4[slave  pointer  (2)]
⎜   ↳ xwayland-pointer:15                     id=6[slave  pointer  (2)]
⎜   ↳ xwayland-relative-pointer:15            id=7[slave  pointer  (2)]
⎜   ↳ xwayland-pointer-gestures:15            id=8[slave  pointer  (2)]
⎣ Virtual core keyboard                   id=3 aster keyboard (2)]
    ↳ Virtual core XTEST keyboard             id=5[slave  keyboard (3)]
    ↳ xwayland-keyboard:15                    id=9[slave  keyboard (3)]

sudo libinput debug-events
-event6   DEVICE_ADDED            Asus Wireless Radio Control       seat0 default group1  cap:k
-event8   DEVICE_ADDED            Video Bus                         seat0 default group2  cap:k
-event0   DEVICE_ADDED            Lid Switch                        seat0 default group3  cap:S
-event1   DEVICE_ADDED            Power Button                      seat0 default group4  cap:k
-event2   DEVICE_ADDED            Sleep Button                      seat0 default group5  cap:k
-event5   DEVICE_ADDED            Asus Keyboard                     seat0 default group6  cap:kp scroll-nat
-event3   DEVICE_ADDED            ASUE120A:00 04F3:319B Mouse       seat0 default group7  cap:p left scroll-nat scroll-button
-event4   DEVICE_ADDED            ASUE120A:00 04F3:319B Touchpad    seat0 default group7  cap:pg  size 126x74mm tap(dl off) left scroll-nat scroll-2fg-edge click-buttonareas-clickfinger dwt-on dwtp-on
-event10  DEVICE_ADDED            Asus WMI hotkeys                  seat0 default group8  cap:k
-event7   DEVICE_ADDED            AT Translated Set 2 keyboard      seat0 default group9  cap:k
-event5   KEYBOARD_KEY            +2.809s*** (-1) pressed
a event5   KEYBOARD_KEY            +2.849s*** (-1) released
 event5   KEYBOARD_KEY            +2.861sKEY_PROG1 (148) pressed
 event5   KEYBOARD_KEY            +4.193s*** (-1) pressed
a event5   KEYBOARD_KEY            +4.205sKEY_PROG1 (148) released
 event5   KEYBOARD_KEY            +4.253s*** (-1) released
 event5   KEYBOARD_KEY            +4.265sKEY_PROG1 (148) pressed
 event5   KEYBOARD_KEY            +5.785s*** (-1) pressed
 event5   KEYBOARD_KEY            +5.797sKEY_PROG1 (148) released
 event5   KEYBOARD_KEY            +5.861s*** (-1) pressed
^C
liveuser@localhost-live : ~ $  sudo libinput debug-events
Outer window is 0xa00001, inner window is 0xa00002

PropertyNotify event, serial 8, synthetic NO, window 0xa00001,
    atom 0x27 (WM_NAME), time 11899988, state PropertyNewValue

PropertyNotify event, serial 9, synthetic NO, window 0xa00001,
    atom 0x22 (WM_COMMAND), time 11899988, state PropertyNewValue

PropertyNotify event, serial 10, synthetic NO, window 0xa00001,
    atom 0x28 (WM_NORMAL_HINTS), time 11899988, state PropertyNewValue

 liveuser@localhost-live : ~ $  xev 
Outer window is 0xa00001, inner window is 0xa00002

PropertyNotify event, serial 8, synthetic NO, window 0xa00001,
    atom 0x27 (WM_NAME), time 11927003, state PropertyNewValue

PropertyNotify event, serial 9, synthetic NO, window 0xa00001,
    atom 0x22 (WM_COMMAND), time 11927003, state PropertyNewValue

PropertyNotify event, serial 10, synthetic NO, window 0xa00001,
    atom 0x28 (WM_NORMAL_HINTS), time 11927003, state PropertyNewValue

CreateNotify event, serial 11, synthetic NO, window 0xa00001,
    parent 0xa00001, window 0xa00002, (10,10), width 50, height 50
border_width 4, override NO

PropertyNotify event, serial 14, synthetic NO, window 0xa00001,
    atom 0xf6 (WM_PROTOCOLS), time 11927004, state PropertyNewValue

MapNotify event, serial 15, synthetic NO, window 0xa00001,
    event 0xa00001, window 0xa00002, override NO

ConfigureNotify event, serial 28, synthetic NO, window 0xa00001,
    event 0xa00001, window 0xa00001, (0,0), width 178, height 178,
    border_width 0, above 0x80000a, override NO

PropertyNotify event, serial 28, synthetic NO, window 0xa00001,
    atom 0x16c (_NET_WM_ALLOWED_ACTIONS), time 11927004, state PropertyNewValue

PropertyNotify event, serial 29, synthetic NO, window 0xa00001,
    atom 0x150 (_MUTTER_NEEDS_FRAME), time 11927004, state PropertyNewValue

PropertyNotify event, serial 29, synthetic NO, window 0xa00001,
    atom 0xfe (_NET_WM_DESKTOP), time 11927004, state PropertyNewValue

PropertyNotify event, serial 31, synthetic NO, window 0xa00001,
    atom 0x138 (WM_STATE), time 11927005, state PropertyNewValue

PropertyNotify event, serial 31, synthetic NO, window 0xa00001,
    atom 0x104 (_NET_WM_STATE), time 11927005, state PropertyNewValue

PropertyNotify event, serial 31, synthetic NO, window 0xa00001,
    atom 0x12e (_GTK_EDGE_CONSTRAINTS), time 11927005, state PropertyNewValue

ConfigureNotify event, serial 34, synthetic NO, window 0xa00001,
    event 0xa00001, window 0xa00001, (0,32), width 178, height 178,
    border_width 0, above 0x80000a, override NO

PropertyNotify event, serial 34, synthetic NO, window 0xa00001,
    atom 0x12e (_GTK_EDGE_CONSTRAINTS), time 11927005, state PropertyNewValue

ConfigureNotify event, serial 34, synthetic NO, window 0xa00001,
    event 0xa00001, window 0xa00001, (0,32), width 178, height 178,
    border_width 0, above 0x0, override NO

PropertyNotify event, serial 34, synthetic NO, window 0xa00001,
    atom 0x138 (WM_STATE), time 11927006, state PropertyNewValue

PropertyNotify event, serial 34, synthetic NO, window 0xa00001,
    atom 0x104 (_NET_WM_STATE), time 11927006, state PropertyNewValue

PropertyNotify event, serial 34, synthetic NO, window 0xa00001,
    atom 0x12e (_GTK_EDGE_CONSTRAINTS), time 11927006, state PropertyNewValue

ReparentNotify event, serial 34, synthetic NO, window 0xa00001,
    event 0xa00001, window 0xa00001, parent 0x80002b,
    (0,0), override NO

PropertyNotify event, serial 34, synthetic NO, window 0xa00001,
    atom 0xfb (_NET_FRAME_EXTENTS), time 11927007, state PropertyNewValue

ConfigureNotify event, serial 34, synthetic NO, window 0xa00001,
    event 0xa00001, window 0xa00001, (14,49), width 178, height 178,
    border_width 0, above 0x80002c, override NO

MapNotify event, serial 35, synthetic NO, window 0xa00001,
    event 0xa00001, window 0xa00001, override NO

VisibilityNotify event, serial 35, synthetic NO, window 0xa00001,
    state VisibilityUnobscured

Expose event, serial 35, synthetic NO, window 0xa00001,
    (0,0), width 178, height 10, count 3

Expose event, serial 35, synthetic NO, window 0xa00001,
    (0,10), width 10, height 58, count 2

Expose event, serial 35, synthetic NO, window 0xa00001,
    (68,10), width 110, height 58, count 1

Expose event, serial 35, synthetic NO, window 0xa00001,
    (0,68), width 178, height 110, count 0

ConfigureNotify event, serial 35, synthetic YES, window 0xa00001,
    event 0xa00001, window 0xa00001, (48,117), width 178, height 178,
    border_width 2, above 0x0, override NO

PropertyNotify event, serial 35, synthetic NO, window 0xa00001,
    atom 0x138 (WM_STATE), time 11927007, state PropertyNewValue

FocusIn event, serial 35, synthetic NO, window 0xa00001,
    mode NotifyNormal, detail NotifyNonlinear

KeymapNotify event, serial 35, synthetic NO, window 0x0,
    keys:  1   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

PropertyNotify event, serial 35, synthetic NO, window 0xa00001,
    atom 0x104 (_NET_WM_STATE), time 11927008, state PropertyNewValue

PropertyNotify event, serial 35, synthetic NO, window 0xa00001,
    atom 0x104 (_NET_WM_STATE), time 11927008, state PropertyNewValue

PropertyNotify event, serial 35, synthetic NO, window 0xa00001,
    atom 0x104 (_NET_WM_STATE), time 11927012, state PropertyNewValue

KeyRelease event, serial 35, synthetic NO, window 0xa00001,
    root 0x3cf, subw 0x0, time 11927075, (164,-21), root:(214,98),
    state 0x0, keycode 36 (keysym 0xff0d, Return), same_screen YES,
    XLookupString gives 1 bytes: (0d) ""
    XFilterEvent returns: False

KeyPress event, serial 38, synthetic NO, window 0xa00001,
    root 0x3cf, subw 0x0, time 11927087, (164,-21), root:(214,98),
    state 0x0, keycode 156 (keysym 0x1008ff41, XF86Launch1), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 38, synthetic NO, window 0xa00001,
    root 0x3cf, subw 0x0, time 11927587, (164,-21), root:(214,98),
    state 0x0, keycode 156 (keysym 0x1008ff41, XF86Launch1), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 38, synthetic NO, window 0xa00001,
    root 0x3cf, subw 0x0, time 11927587, (164,-21), root:(214,98),
    state 0x0, keycode 156 (keysym 0x1008ff41, XF86Launch1), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

...TRUNCATED

KeyPress event, serial 38, synthetic NO, window 0xa00001,
    root 0x3cf, subw 0x0, time 11928643, (151,-26), root:(201,93),
    state 0x100, keycode 156 (keysym 0x1008ff41, XF86Launch1), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

ClientMessage event, serial 38, synthetic YES, window 0xa00001,
    message_type 0xf6 (WM_PROTOCOLS), format 32, message 0xf4 (WM_DELETE_WINDOW)

liveuser@localhost-live : ~ $  sudo showkey 
kb mode was ?UNKNOWN?
[ if you are trying this under X, it might not work
since the X server is also reading /dev/console ]

press any key (program terminates 10s after last keypress)...
keycode  28 release
keycode 148 press
keycode 148 press
keycode 148 press
keycode 148 press
...TRUNCATED
keycode 148 press
keycode 148 press
keycode  29 press
keycode 148 release
^Ccaught signal 2, cleaning up...

Offline

#2 2024-12-17 12:48:02

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,580
Website

Re: Null characters (^@) appear on console, and typing is impossible

Does blocking the input_polldev module help? Could be a regression to the behaviour observed here.

More suggestions here: https://superuser.com/questions/1254863 … own-in-tty


Jin, Jiyan, Azadî

Offline

#3 2024-12-17 14:08:36

newbie_III
Member
Registered: 2024-12-15
Posts: 4

Re: Null characters (^@) appear on console, and typing is impossible

input_polldev not found

lsmod output (sorted) on Fedora livecd

ac97_bus               12288  1 snd_soc_core
amdgpu              13430784  1
amd_pmc                45056  0
amdxcp                 12288  1 amdgpu
asus_nb_wmi            28672  0
asus_wireless          16384  0
asus_wmi               98304  2 asus_nb_wmi,hid_asus
be2iscsi              188416  0
binfmt_misc            28672  1
bluetooth            1044480  44 btrtl,btmtk,btintel,btbcm,bnep,btusb,rfcomm
bnep                   36864  2
bnx2i                  81920  0
btbcm                  24576  1 btusb
btintel                61440  1 btusb
btmtk                  12288  1 btusb
btrtl                  32768  1 btusb
btusb                  86016  0
ccp                   155648  1 kvm_amd
cec                    90112  1 drm_display_helper
cfg80211             1351680  4 mt76,mac80211,mt7921_common,mt76_connac_lib
cnic                   81920  1 bnx2i
crc32c_intel           16384  4
crc32_pclmul           12288  0
crct10dif_pclmul       12288  1
cxgb3                 233472  1 cxgb3i
cxgb3i                 49152  0
cxgb4                 688128  1 cxgb4i
cxgb4i                 69632  0
drm_buddy              20480  1 amdgpu
drm_display_helper    237568  2 amdgpu,nouveau
drm_exec               12288  3 drm_gpuvm,amdgpu,nouveau
drm_gpuvm              45056  1 nouveau
drm_suballoc_helper    12288  1 amdgpu
drm_ttm_helper         12288  2 amdgpu,nouveau
edac_mce_amd           40960  0
fuse                  212992  5
ghash_clmulni_intel    16384  0
gpu_sched              69632  2 amdgpu,nouveau
hid_asus               32768  0
hid_multitouch         32768  0
i2c_algo_bit           20480  2 amdgpu,nouveau
i2c_hid                40960  1 i2c_hid_acpi
i2c_hid_acpi           12288  0
i2c_piix4              32768  0
intel_rapl_common      45056  1 intel_rapl_msr
intel_rapl_msr         20480  0
ip6_tables             28672  0
ip_set                 65536  0
ip_tables              28672  0
irqbypass              12288  1 kvm
iscsi_boot_sysfs       20480  2 be2iscsi,qla4xxx
iscsi_tcp              28672  0
isofs                  61440  1
joydev                 24576  0
k10temp                16384  0
kvm                  1404928  1 kvm_amd
kvm_amd               204800  0
ledtrig_audio          12288  1 asus_wmi
libarc4                12288  1 mac80211
libcxgb                28672  2 libcxgbi,cxgb3i
libcxgbi              110592  2 cxgb4i,cxgb3i
libiscsi               94208  8 be2iscsi,libiscsi_tcp,bnx2i,libcxgbi,iscsi_tcp,qla4xxx,cxgb4i,cxgb3i
libiscsi_tcp           40960  4 libcxgbi,iscsi_tcp,cxgb4i,cxgb3i
loop                   40960  7
mac80211             1581056  4 mt792x_lib,mt76,mt7921_common,mt76_connac_lib
mdio                   12288  1 cxgb3
Module                  Size  Used by
mt76                  135168  4 mt792x_lib,mt7921e,mt7921_common,mt76_connac_lib
mt76_connac_lib       102400  3 mt792x_lib,mt7921e,mt7921_common
mt7921_common          86016  1 mt7921e
mt7921e                24576  0
mt792x_lib             73728  2 mt7921e,mt7921_common
mxm_wmi                12288  1 nouveau
nf_conntrack          188416  4 nf_nat,nft_ct,nf_conntrack_netbios_ns,nf_conntrack_broadcast
nf_conntrack_broadcast    12288  1 nf_conntrack_netbios_ns
nf_conntrack_netbios_ns    12288  1
nf_defrag_ipv4         12288  1 nf_conntrack
nf_defrag_ipv6         24576  1 nf_conntrack
nf_nat                 65536  1 nft_chain_nat
nfnetlink              20480  4 nf_tables,ip_set
nf_reject_ipv4         16384  1 nft_reject_inet
nf_reject_ipv6         20480  1 nft_reject_inet
nf_tables             372736  216 nft_ct,nft_reject_inet,nft_fib_ipv6,nft_fib_ipv4,nft_chain_nat,nft_reject,nft_fib,nft_fib_inet
nft_chain_nat          12288  3
nft_ct                 24576  8
nft_fib                12288  3 nft_fib_ipv6,nft_fib_ipv4,nft_fib_inet
nft_fib_inet           12288  1
nft_fib_ipv4           12288  1 nft_fib_inet
nft_fib_ipv6           12288  1 nft_fib_inet
nft_reject             12288  1 nft_reject_inet
nft_reject_inet        12288  6
nouveau              3653632  0
nvme                   65536  0
nvme_auth              28672  1 nvme_core
nvme_core             233472  1 nvme
pcspkr                 12288  0
platform_profile       12288  1 asus_wmi
polyval_clmulni        12288  0
polyval_generic        12288  1 polyval_clmulni
qla4xxx               475136  0
qrtr                   57344  4
r8169                 114688  0
rapl                   20480  0
realtek                40960  1
rfcomm                102400  16
rfkill                 40960  8 asus_wmi,bluetooth,cfg80211
scsi_transport_iscsi   192512  7 be2iscsi,libiscsi_tcp,bnx2i,libcxgbi,iscsi_tcp,qla4xxx,libiscsi
serio_raw              16384  0
sha1_ssse3             32768  0
sha256_ssse3           32768  0
sha512_ssse3           49152  0
snd                   151552  27 snd_hda_codec_generic,snd_seq,snd_seq_device,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
snd_acp_config         24576  9 snd_rn_pci_acp3x,snd_pci_acp6x,snd_pci_acp5x,snd_sof_amd_rembrandt,snd_sof_amd_vangogh,snd_sof_amd_acp63,snd_acp_pci,snd_pci_ps,snd_sof_amd_renoir
snd_acp_legacy_common    16384  1 snd_acp_pci
snd_acp_pci            12288  0
snd_compress           28672  1 snd_soc_core
snd_hda_codec         225280  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_codec_generic   114688  1 snd_hda_codec_realtek
snd_hda_codec_hdmi     94208  2
snd_hda_codec_realtek   204800  1
snd_hda_core          151552  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_hda_intel          65536  6
snd_hrtimer            12288  1
snd_hwdep              20480  1 snd_hda_codec
snd_intel_dspcfg       40960  2 snd_hda_intel,snd_sof
snd_intel_sdw_acpi     16384  1 snd_intel_dspcfg
snd_pci_acp3x          16384  0
snd_pci_acp5x          16384  0
snd_pci_acp6x          20480  0
snd_pci_ps             24576  0
snd_pcm               188416  12 snd_sof_amd_acp,snd_hda_codec_hdmi,snd_pci_acp6x,snd_hda_intel,snd_hda_codec,snd_sof,snd_compress,snd_soc_core,snd_sof_utils,snd_hda_core,snd_pci_ps,snd_pcm_dmaengine
snd_pcm_dmaengine      16384  1 snd_soc_core
snd_rn_pci_acp3x       24576  0
snd_rpl_pci_acp6x      16384  0
snd_seq               126976  7 snd_seq_dummy
snd_seq_device         16384  1 snd_seq
snd_seq_dummy          12288  0
snd_soc_acpi           16384  2 snd_sof_amd_acp,snd_acp_config
snd_soc_core          466944  1 snd_sof
snd_sof               454656  2 snd_sof_amd_acp,snd_sof_pci
snd_sof_amd_acp63      16384  0
snd_sof_amd_acp        69632  4 snd_sof_amd_rembrandt,snd_sof_amd_vangogh,snd_sof_amd_acp63,snd_sof_amd_renoir
snd_sof_amd_rembrandt    16384  0
snd_sof_amd_renoir     16384  0
snd_sof_amd_vangogh    16384  0
snd_sof_pci            24576  4 snd_sof_amd_rembrandt,snd_sof_amd_vangogh,snd_sof_amd_acp63,snd_sof_amd_renoir
snd_sof_utils          16384  1 snd_sof
snd_sof_xtensa_dsp     16384  1 snd_sof_amd_acp
snd_timer              53248  3 snd_seq,snd_hrtimer,snd_pcm
soundcore              16384  1 snd
sp5100_tco             20480  0
sparse_keymap          12288  1 asus_wmi
squashfs               86016  1
sunrpc                892928  1
tls                   151552  1 cxgb4
ttm                   110592  3 amdgpu,drm_ttm_helper,nouveau
typec                 114688  1 typec_ucsi
typec_ucsi             65536  1 ucsi_acpi
uas                    32768  0
ucsi_acpi              12288  0
uinput                 20480  0
uio                    32768  1 cnic
usb_storage            90112  3 uas
video                  77824  4 asus_wmi,amdgpu,asus_nb_wmi,nouveau
wmi                    36864  5 video,asus_wmi,wmi_bmof,mxm_wmi,nouveau
wmi_bmof               12288  0
zram                   32768  2

lsmod on endeavour livecd (sorted)

ac97_bus               12288  1 snd_soc_core
aesni_intel           360448  3
af_alg                 32768  6 algif_hash,algif_skcipher
algif_hash             12288  1
algif_skcipher         12288  1
amd_atl                40960  1
amdgpu              13885440  33
amd_pmc                45056  0
amdxcp                 12288  1 amdgpu
asus_nb_wmi            28672  0
asus_wireless          16384  0
asus_wmi               98304  2 asus_nb_wmi,hid_asus
atkbd                  40960  0
bluetooth            1101824  34 btrtl,btmtk,btintel,btbcm,bnep,btusb,rfcomm
bnep                   36864  2
btbcm                  24576  1 btusb
btintel                65536  1 btusb
btmtk                  12288  1 btusb
btrtl                  32768  1 btusb
btusb                  86016  0
ccp                   180224  1 kvm_amd
cdrom                  81920  1 isofs
cec                    90112  1 drm_display_helper
cfg80211             1363968  5 wl,mt76,mac80211,mt7921_common,mt76_connac_lib
cmac                   12288  2
crc16                  12288  2 bluetooth,ext4
crc32c_generic         12288  0
crc32c_intel           16384  3
crc32_pclmul           12288  0
crct10dif_pclmul       12288  1
cryptd                 28672  3 crypto_simd,ghash_clmulni_intel
crypto_simd            16384  1 aesni_intel
crypto_user            20480  0
dm_mod                225280  0
drm_buddy              20480  1 amdgpu
drm_display_helper    262144  2 amdgpu,nouveau
drm_exec               12288  3 drm_gpuvm,amdgpu,nouveau
drm_gpuvm              45056  1 nouveau
drm_suballoc_helper    12288  1 amdgpu
drm_ttm_helper         12288  2 amdgpu,nouveau
ecdh_generic           16384  1 bluetooth
ext4                 1146880  1
gf128mul               16384  1 polyval_generic
ghash_clmulni_intel    16384  0
gpu_sched              65536  2 amdgpu,nouveau
hid_asus               32768  0
hid_generic            12288  0
hid_multitouch         32768  0
i2c_algo_bit           20480  2 amdgpu,nouveau
i2c_dev                28672  0
i2c_hid                40960  1 i2c_hid_acpi
i2c_hid_acpi           12288  0
i2c_piix4              36864  0
i8042                  57344  1 asus_wmi
intel_rapl_common      40960  1 intel_rapl_msr
intel_rapl_msr         20480  0
ip_tables              36864  0
isofs                  61440  1
jbd2                  204800  1 ext4
joydev                 24576  0
k10temp                16384  0
kvm                  1363968  1 kvm_amd
kvm_amd               204800  0
libarc4                12288  1 mac80211
libcrc32c              12288  3 nf_conntrack,nf_nat,nf_tables
libphy                221184  3 r8169,mdio_devres,realtek
libps2                 20480  1 atkbd
loop                   45056  2
mac80211             1597440  4 mt792x_lib,mt76,mt7921_common,mt76_connac_lib
mac_hid                12288  0
mbcache                16384  1 ext4
mdio_devres            12288  1 r8169
Module                  Size  Used by
mousedev               24576  0
mt76                  131072  4 mt792x_lib,mt7921e,mt7921_common,mt76_connac_lib
mt76_connac_lib        90112  3 mt792x_lib,mt7921e,mt7921_common
mt7921_common          86016  1 mt7921e
mt7921e                24576  0
mt792x_lib             65536  2 mt7921e,mt7921_common
mxm_wmi                12288  1 nouveau
nf_conntrack          200704  2 nf_nat,nft_ct
nf_defrag_ipv4         12288  1 nf_conntrack
nf_defrag_ipv6         24576  1 nf_conntrack
nf_nat                 61440  1 nft_chain_nat
nfnetlink              20480  3 nf_tables
nf_reject_ipv4         12288  1 nft_reject_inet
nf_reject_ipv6         20480  1 nft_reject_inet
nf_tables             376832  171 nft_ct,nft_reject_inet,nft_fib_ipv6,nft_fib_ipv4,nft_chain_nat,nft_reject,nft_fib,nft_fib_inet
nft_chain_nat          12288  3
nft_ct                 28672  7
nft_fib                12288  3 nft_fib_ipv6,nft_fib_ipv4,nft_fib_inet
nft_fib_inet           12288  1
nft_fib_ipv4           12288  1 nft_fib_inet
nft_fib_ipv6           12288  1 nft_fib_inet
nft_reject             12288  1 nft_reject_inet
nft_reject_inet        12288  6
nouveau              3727360  2
nvme                   65536  0
nvme_auth              24576  1 nvme_core
nvme_core             253952  1 nvme
overlay               233472  1
pkcs8_key_parser       12288  0
platform_profile       12288  1 asus_wmi
polyval_clmulni        12288  0
polyval_generic        12288  1 polyval_clmulni
r8169                 126976  0
rapl                   20480  0
realtek                40960  1
rfcomm                102400  4
rfkill                 40960  7 asus_wmi,bluetooth,cfg80211
roles                  16384  1 typec_ucsi
serio                  28672  5 amd_pmc,serio_raw,atkbd,i8042
serio_raw              20480  0
sha1_ssse3             32768  0
sha256_ssse3           36864  0
sha512_ssse3           53248  0
snd                   155648  21 snd_hda_codec_generic,snd_seq,snd_seq_device,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
snd_acp_config         20480  9 snd_rn_pci_acp3x,snd_pci_acp6x,snd_pci_acp5x,snd_sof_amd_rembrandt,snd_sof_amd_vangogh,snd_sof_amd_acp63,snd_acp_pci,snd_pci_ps,snd_sof_amd_renoir
snd_acp_legacy_common    16384  1 snd_acp_pci
snd_acp_pci            12288  0
snd_amd_sdw_acpi       16384  2 snd_sof_amd_acp,snd_pci_ps
snd_compress           28672  1 snd_soc_core
snd_hda_codec         212992  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_codec_generic   110592  1 snd_hda_codec_realtek
snd_hda_codec_hdmi     98304  2
snd_hda_codec_realtek   204800  1
snd_hda_core          143360  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_hda_intel          65536  3
snd_hda_scodec_component    20480  1 snd_hda_codec_realtek
snd_hrtimer            12288  1
snd_hwdep              20480  1 snd_hda_codec
snd_intel_dspcfg       40960  2 snd_hda_intel,snd_sof
snd_intel_sdw_acpi     16384  1 snd_intel_dspcfg
snd_pci_acp3x          20480  0
snd_pci_acp5x          20480  0
snd_pci_acp6x          20480  0
snd_pci_ps             28672  0
snd_pcm               200704  13 snd_sof_amd_acp,snd_hda_codec_hdmi,snd_pci_acp6x,snd_hda_intel,snd_hda_codec,snd_sof,snd_compress,snd_soc_core,snd_sof_utils,soundwire_amd,snd_hda_core,snd_pci_ps,snd_pcm_dmaengine
snd_pcm_dmaengine      16384  1 snd_soc_core
snd_rn_pci_acp3x       24576  0
snd_rpl_pci_acp6x      16384  0
snd_seq               131072  7 snd_seq_dummy
snd_seq_device         16384  1 snd_seq
snd_seq_dummy          12288  0
snd_soc_acpi           16384  3 snd_sof_amd_acp,snd_acp_config,snd_pci_ps
snd_soc_core          462848  2 snd_sof,soundwire_amd
snd_sof               462848  2 snd_sof_amd_acp,snd_sof_pci
snd_sof_amd_acp63      16384  0
snd_sof_amd_acp        69632  4 snd_sof_amd_rembrandt,snd_sof_amd_vangogh,snd_sof_amd_acp63,snd_sof_amd_renoir
snd_sof_amd_rembrandt    16384  0
snd_sof_amd_renoir     16384  0
snd_sof_amd_vangogh    16384  0
snd_sof_pci            24576  4 snd_sof_amd_rembrandt,snd_sof_amd_vangogh,snd_sof_amd_acp63,snd_sof_amd_renoir
snd_sof_utils          16384  1 snd_sof
snd_sof_xtensa_dsp     16384  1 snd_sof_amd_acp
snd_timer              53248  3 snd_seq,snd_hrtimer,snd_pcm
soundcore              16384  1 snd
soundwire_amd          45056  2 snd_sof_amd_acp,snd_pci_ps
soundwire_bus         139264  2 soundwire_generic_allocation,soundwire_amd
soundwire_generic_allocation    12288  1 soundwire_amd
sp5100_tco             20480  0
sparse_keymap          12288  1 asus_wmi
squashfs               94208  1
ttm                   102400  3 amdgpu,drm_ttm_helper,nouveau
typec                 110592  1 typec_ucsi
typec_ucsi             73728  1 ucsi_acpi
uas                    36864  0
ucsi_acpi              12288  0
usbhid                 81920  1 hid_asus
usb_storage            90112  3 uas
video                  77824  4 asus_wmi,amdgpu,asus_nb_wmi,nouveau
vivaldi_fmap           12288  1 atkbd
vmd                    28672  0
wl                   6516736  0
wmi                    36864  5 video,asus_wmi,wmi_bmof,mxm_wmi,nouveau
wmi_bmof               12288  0
xhci_pci               24576  0
xhci_pci_renesas       24576  1 xhci_pci
x_tables               65536  1 ip_tables

Offline

#4 2024-12-17 15:31:55

seth
Member
Registered: 2012-09-03
Posts: 60,280

Re: Null characters (^@) appear on console, and typing is impossible

Device:           Asus Keyboard
Kernel:           /dev/input/event5
Capabilities:     keyboard pointer 

-event5   KEYBOARD_KEY            +2.809s*** (-1) pressed
a event5   KEYBOARD_KEY            +2.849s*** (-1) released
 event5   KEYBOARD_KEY            +2.861sKEY_PROG1 (148) pressed
 event5   KEYBOARD_KEY            +4.193s*** (-1) pressed
a event5   KEYBOARD_KEY            +4.205sKEY_PROG1 (148) released
 event5   KEYBOARD_KEY            +4.253s*** (-1) released
 event5   KEYBOARD_KEY            +4.265sKEY_PROG1 (148) pressed
 event5   KEYBOARD_KEY            +5.785s*** (-1) pressed
 event5   KEYBOARD_KEY            +5.797sKEY_PROG1 (148) released
 event5   KEYBOARD_KEY            +5.861s*** (-1) pressed


KeyPress event, serial 38, synthetic NO, window 0xa00001,
    root 0x3cf, subw 0x0, time 11928643, (151,-26), root:(201,93),
    state 0x100, keycode 156 (keysym 0x1008ff41, XF86Launch1), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

keycode 148 press
keycode 148 press
keycode 148 press
keycode 148 press

Likely one of those, more likely hid_asus or one ot the two wmi's

asus_nb_wmi            28672  0
asus_wireless          16384  0
asus_wmi               98304  2 asus_nb_wmi,hid_asus
hid_asus               32768  0

=> blacklist all three, see whether that makes a difference, see whether you can isolate the culprit.

Online

#5 2024-12-17 16:11:09

newbie_III
Member
Registered: 2024-12-15
Posts: 4

Re: Null characters (^@) appear on console, and typing is impossible

It was hid_asus, and I logged in successfully.
Do you have any recommendation about what I should do now

thanks.

Offline

#6 2024-12-17 16:29:10

seth
Member
Registered: 2012-09-03
Posts: 60,280

Re: Null characters (^@) appear on console, and typing is impossible

https://github.com/torvalds/linux/commi … e35c1125f7 ?
What kernel version do you run on fedora?
Do you get the same w/ the linux-lts kernel?
https://github.com/gregkh/linux/commits … hid-asus.c

Online

#7 2024-12-17 16:59:41

newbie_III
Member
Registered: 2024-12-15
Posts: 4

Re: Null characters (^@) appear on console, and typing is impossible

The kernel version of fedora is 6.8.5-301.fc40.x86_64

The previous installation was Parrot OS, and as I remember, the kernel version was 6.1 and the problem was persists.

Offline

#8 2024-12-17 20:30:59

seth
Member
Registered: 2012-09-03
Posts: 60,280

Re: Null characters (^@) appear on console, and typing is impossible

You can either blacklist the hid_asus module (notably if this ha no other detremental outcome) or check which commit broke it.
Despite the Parrot OS memories, I'd just check the LTS kernel as easy way to narrow this down.

Wrt

hot keys (sound, brightness control keys etc.) work fine on fedora, but not on EndeavourOS version (25/06/2024).

the linked commit looks super suspicious.

Online

Board footer

Powered by FluxBB