Logitech keyboard

I got recently a Logitech Ergo K860 keyboard with Norwegian Layout. The connection to my manjaro workstation works fine, but some of the keys seem switched. Examples:

  1. The keys for pipe-character (“|”) and the “<>” are switched.
  2. Alt.gr. and opt|ctrl keys are switched
  3. I cannot type an “@” using the key next to ENTER.
    Please see the image below.

I tried all different norwegian keyboard layouts, as well as several of the keyboard models in the manjaro settings, but nothing improves the experience.

Any suggestions on what to do in order to fix these issues?
Thank you.

base) [dejhost@Workstation ~]$ inxi --admin --verbosity=7 --filter --width
System:
  Kernel: 6.0.0-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.0-x86_64
    root=UUID=7c6ac262-7b71-4cba-b35c-72277acbafa9 rw quiet apparmor=1
    security=apparmor udev.log_priority=3 nmi_watchdog=0
  Desktop: Xfce v: 4.16.1 tk: Gtk v: 3.24.34 info: docker, xfce4-panel
    wm: xfwm v: 4.16.1 vt: 2 dm: 1: GDM v: 42.0 2: LightDM v: 1.32.0
    note: stopped Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop System: Micro-Star product: MS-7B89 v: 1.0
    serial: <superuser required>
  Mobo: Micro-Star model: B450M MORTAR MAX (MS-7B89) v: 1.0
    serial: <superuser required> UEFI: American Megatrends v: 2.70
    date: 04/21/2020
Battery:
  Device-1: hidpp_battery_0 model: Logitech Wireless Keyboard ERGO K860
    serial: <filter> charge: 100% (should be ignored) rechargeable: yes
    status: discharging
Memory:
  RAM: total: 31.3 GiB used: 17.65 GiB (56.4%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges
    required.
CPU:
  Info: model: AMD Ryzen 9 3900X bits: 64 type: MT MCP arch: Zen 2 gen: 3
    level: v3 built: 2020-22 process: TSMC n7 (7nm) family: 0x17 (23)
    model-id: 0x71 (113) stepping: 0 microcode: 0x8701021
  Topology: cpus: 1x cores: 12 tpc: 2 threads: 24 smt: enabled cache:
    L1: 768 KiB desc: d-12x32 KiB; i-12x32 KiB L2: 6 MiB desc: 12x512 KiB
    L3: 64 MiB desc: 4x16 MiB
  Speed (MHz): avg: 3326 high: 4468 min/max: 2200/4672 boost: enabled
    scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 3598 2: 3600
    3: 3600 4: 2200 5: 2200 6: 2012 7: 3599 8: 3599 9: 3599 10: 3598 11: 3599
    12: 3600 13: 3600 14: 3602 15: 3598 16: 4468 17: 2200 18: 1990 19: 3599
    20: 3596 21: 3599 22: 3596 23: 3601 24: 3592 bogomips: 182493
  Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1
    bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy
    constant_tsc cpb cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total
    cqm_occup_llc cr8_legacy cx16 cx8 de decodeassists extapic extd_apicid
    f16c flushbyasid fma fpu fsgsbase fxsr fxsr_opt ht hw_pstate ibpb ibs
    irperf lahf_lm lbrv lm mba mca mce misalignsse mmx mmxext monitor movbe
    msr mtrr mwaitx nonstop_tsc nopl npt nrip_save nx osvw overflow_recov pae
    pat pausefilter pclmulqdq pdpe1gb perfctr_core perfctr_llc perfctr_nb
    pfthreshold pge pni popcnt pse pse36 rapl rdpid rdpru rdrand rdseed rdt_a
    rdtscp rep_good sep sev sev_es sha_ni skinit smap smca smep ssbd sse sse2
    sse4_1 sse4_2 sse4a ssse3 stibp succor svm svm_lock syscall tce topoext
    tsc tsc_scale umip v_spec_ctrl v_vmsave_vmload vgif vmcb_clean vme vmmcall
    wbnoinvd wdt xgetbv1 xsave xsavec xsaveerptr xsaveopt xsaves
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed mitigation: untrained return thunk; SMT enabled with STIBP
    protection
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, STIBP:
    always-on, RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA GA104 [GeForce RTX 3070] vendor: ASUSTeK driver: nvidia
    v: 515.65.01 alternate: nouveau,nvidia_drm non-free: 515.xx+ status: current
    (as of 2022-08) arch: Ampere code: GAxxx process: TSMC n7 (7nm)
    built: 2020-22 pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4
    speed: 16 GT/s bus-ID: 26:00.0 chip-ID: 10de:2484 class-ID: 0300
  Device-2: Logitech HD Pro Webcam C920 type: USB
    driver: snd-usb-audio,uvcvideo bus-ID: 3-4.4:11 chip-ID: 046d:082d
    class-ID: 0102 serial: <filter>
  Display: x11 server: X.Org v: 21.1.4 with: Xwayland v: 22.1.3
    compositor: xfwm v: 4.16.1 driver: X: loaded: nvidia gpu: nvidia
    display-ID: :1.0 screens: 1
  Screen-1: 0 s-res: 11520x2160 s-dpi: 96 s-size: 3048x572mm (120.00x22.52")
    s-diag: 3101mm (122.09")
  Monitor-1: DP-0 pos: primary,center res: 3840x2160 hz: 60 dpi: 163
    size: 597x336mm (23.5x13.23") diag: 685mm (26.97") modes: N/A
  Monitor-2: DP-2 pos: primary,left res: 3840x2160 hz: 60 dpi: 163
    size: 597x336mm (23.5x13.23") diag: 685mm (26.97") modes: N/A
  Monitor-3: DP-4 pos: right res: 3840x2160 hz: 60 dpi: 163
    size: 597x336mm (23.5x13.23") diag: 685mm (26.97") modes: N/A
  OpenGL: renderer: NVIDIA GeForce RTX 3070/PCIe/SSE2 v: 4.6.0 NVIDIA
    515.65.01 direct render: Yes
Audio:
  Device-1: NVIDIA GA104 High Definition Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel bus-ID: 3-3.1.4:10 chip-ID: 0b0e:0410 pcie:
    gen: 3 class-ID: 0300 speed: 8 GT/s serial: <filter> lanes: 16 link-max:
    gen: 4 speed: 16 GT/s bus-ID: 26:00.1 chip-ID: 10de:228b class-ID: 0403
  Device-2: AMD Starship/Matisse HD Audio vendor: Micro-Star MSI
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 28:00.4 chip-ID: 1022:1487 class-ID: 0403
  Device-3: GN Netcom Jabra SPEAK 410 type: USB
    driver: jabra,snd-usb-audio,usbhid
  Device-4: Logitech HD Pro Webcam C920 type: USB
    driver: snd-usb-audio,uvcvideo bus-ID: 3-4.4:11 chip-ID: 046d:082d
    class-ID: 0102 serial: <filter>
  Sound Server-1: ALSA v: k6.0.0-1-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.21 running: no
  Sound Server-3: PulseAudio v: 16.1 running: yes
  Sound Server-4: PipeWire v: 0.3.57 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Micro-Star MSI driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: f000 bus-ID: 22:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp34s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  IF-ID-1: br-a88cee8f84e5 state: down mac: <filter>
  IP v4: <filter> scope: global broadcast: <filter>
  IF-ID-2: br-a96c1ef81739 state: up speed: 10000 Mbps duplex: unknown
    mac: <filter>
  IP v4: <filter> scope: global broadcast: <filter>
  IP v6: <filter> scope: link
  IF-ID-3: br-d5799e778888 state: down mac: <filter>
  Message: Output throttled. IPs: 1; Limit: 10; Override: --limit [1-x;-1
    all]
  IF-ID-4: docker0 state: down mac: <filter>
  Message: Output throttled. IPs: 1; Limit: 10; Override: --limit [1-x;-1
    all]
  IF-ID-5: veth1634074 state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-6: veth6f8647a state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  WAN IP: <filter>
Bluetooth:
  Device-1: Cambridge Silicon Radio Bluetooth Dongle (HCI mode) type: USB
    driver: btusb v: 0.8 bus-ID: 3-4.2:5 chip-ID: 0a12:0001 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 1.75 TiB used: 1.13 TiB (64.4%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Corsair model: Force MP510
    size: 1.75 TiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: ECFM22.5 temp: 38.9 C scheme: GPT
  Optical-1: /dev/sr0 vendor: hp model: DVD-RAM GH82N rev: W204
    dev-links: cdrom
  Features: speed: 48 multisession: yes audio: yes dvd: yes
    rw: cd-r,cd-rw,dvd-r,dvd-ram state: running
Partition:
  ID-1: / raw-size: 1.33 TiB size: 1.31 TiB (98.35%) used: 1.13 TiB (86.2%)
    fs: ext4 dev: /dev/nvme0n1p5 maj-min: 259:5 label: N/A
    uuid: 7c6ac262-7b71-4cba-b35c-72277acbafa9
  ID-2: /boot/efi raw-size: 100 MiB size: 96 MiB (96.00%) used: 29.6 MiB
    (30.8%) fs: vfat dev: /dev/nvme0n1p2 maj-min: 259:2 label: N/A
    uuid: 9EFE-2CB7
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: file size: 38 GiB used: 1.98 GiB (5.2%) priority: -2
    file: /swapfile
  ID-2: swap-2 type: file size: 256 MiB used: 256 MiB (100.0%) priority: 50
    file: /var/lib/systemd-swap/swapfc/1
Unmounted:
  ID-1: /dev/nvme0n1p1 maj-min: 259:1 size: 529 MiB fs: ntfs label: Recovery
    uuid: A644FDD844FDAB67
  ID-2: /dev/nvme0n1p3 maj-min: 259:3 size: 16 MiB fs: <superuser required>
    label: N/A uuid: N/A
  ID-3: /dev/nvme0n1p4 maj-min: 259:4 size: 428.38 GiB fs: ntfs label: N/A
    uuid: 24D4FF51D4FF23A8
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 10 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 1-9:2 info: eWBM Security Key(Goldengate G310) type: HID
    driver: hid-generic,usbhid interfaces: 1 rev: 1.1 speed: 12 Mb/s
    power: 100mA chip-ID: 311f:4a1a class-ID: 0300 serial: <filter>
  Hub-2: 2-0:1 info: Super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
  Hub-3: 3-0:1 info: Hi-speed hub with single TT ports: 4 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Hub-4: 3-3:2 info: Genesys Logic USB 2.0 Hub / D-Link DUB-H4 ports: 4
    rev: 2.0 speed: 480 Mb/s power: 100mA chip-ID: 05e3:0606 class-ID: 0900
  Hub-5: 3-3.1:4 info: VIA Labs Hub ports: 4 rev: 2.1 speed: 480 Mb/s
    chip-ID: 2109:2811 class-ID: 0900
  Device-1: 3-3.1.1:6 info: Logitech Unifying Receiver
    type: Keyboard,Mouse,HID driver: logitech-djreceiver,usbhid interfaces: 3
    rev: 2.0 speed: 12 Mb/s power: 98mA chip-ID: 046d:c52b class-ID: 0300
  Device-2: 3-3.1.2:8 info: Xenta 2.4G Mouse type: Keyboard,Mouse
    driver: hid-generic,usbhid interfaces: 2 rev: 1.1 speed: 1.5 Mb/s
    power: 100mA chip-ID: 1d57:0001 class-ID: 0301
  Device-3: 3-3.1.3:9 info: Razer USA DeathAdder Elite type: Mouse,Keyboard
    driver: hid-generic,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s
    power: 500mA chip-ID: 1532:005c class-ID: 0300
  Device-4: 3-3.1.4:10 info: GN Netcom Jabra SPEAK 410 type: Audio,HID
    driver: jabra,snd-usb-audio,usbhid interfaces: 4 rev: 2.0 speed: 12 Mb/s
    power: 500mA chip-ID: 0b0e:0410 class-ID: 0300 serial: <filter>
  Hub-6: 3-4:3 info: VIA Labs Hub ports: 4 rev: 2.1 speed: 480 Mb/s
    chip-ID: 2109:2811 class-ID: 0900
  Device-1: 3-4.2:5 info: Cambridge Silicon Radio Bluetooth Dongle (HCI
    mode) type: Bluetooth driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s
    power: 100mA chip-ID: 0a12:0001 class-ID: e001
  Device-2: 3-4.4:11 info: Logitech HD Pro Webcam C920 type: Video,Audio
    driver: snd-usb-audio,uvcvideo interfaces: 4 rev: 2.0 speed: 480 Mb/s
    power: 500mA chip-ID: 046d:082d class-ID: 0102 serial: <filter>
  Hub-7: 4-0:1 info: Super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
  System Temperatures: cpu: 54.4 C mobo: N/A gpu: nvidia temp: 55 C
  Fan Speeds (RPM): N/A gpu: nvidia fan: 0%
Info:
  Processes: 524 Uptime: 2d 3h 28m wakeups: 80 Init: systemd v: 251
  default: graphical tool: systemctl Compilers: gcc: 12.2.0 alt: 10/11
  clang: 14.0.6 Packages: 1620 pm: pacman pkgs: 1577 libs: 398
  tools: pamac,yay pm: flatpak pkgs: 12 pm: snap pkgs: 31 Shell: Bash
  v: 5.1.16 running-in: xfce4-terminal inxi: 3.3.21

I believe there are some Logitech models in the list. Have you tried them?

Yes, i have tried a few. I should have mentioned this, sorry.

My model is not listed, but I tried some that appear similar… no luck, so far.