MLD-5.x > Feature requests

nuc-LED für MLD-5.5...

<< < (2/3) > >>

clausmuus:
Eventuell hat sich ja die Ansteuerung der LED geändert. Hier ist die Anleitung zum nuc_led. Teste doch mal, ob Du die auf der Console angesprochen bekommst.
https://github.com/endever/intel_nuc_led/blob/master/README.md

iNOB:
Das passiert beim Laden des Treibers:

--- Code: ---[   36.203651] nuc_led: Invalid action (power) while setting NUC LED state
[  102.805949] BUG: kernel NULL pointer dereference, address: 0000000000000001
[  102.805965] #PF: supervisor read access in kernel mode
[  102.805970] #PF: error_code(0x0000) - not-present page
[  102.805973] PGD 0 P4D 0
[  102.805979] Oops: 0000 [#1] SMP NOPTI
[  102.805984] CPU: 2 PID: 5666 Comm: cat Tainted: G           O      5.11.3.202.111 #1
[  102.805991] Hardware name: Intel(R) Client Systems NUC6CAYH/NUC6CAYB, BIOS AYAPLCEL.86A.0066.2020.0107.1027 01/07/2020
[  102.805995] RIP: 0010:acpi_proc_read+0x9a/0x780 [nuc_led]
[  102.806003] Code: 44 24 20 48 8d 4c 24 28 48 c7 c7 90 54 49 c0 48 89 44 24 30 e8 97 2e f6 ff 85 c0 0f 85 c9 06 00 00 4c 8b 7c 24 40 49 8b 57 08 <0f> b6 5a 01 85 db 0f 84 49 06 00 00 89 d9 8d 51 ff 83 c0 01 21 d1
[  102.806010] RSP: 0018:ffffb79e05c5be18 EFLAGS: 00010246
[  102.806015] RAX: 0000000000000000 RBX: ffff8b1944d07780 RCX: 0000000000000000
[  102.806019] RDX: 0000000000000000 RSI: c5ce88cd34fe11be RDI: 0000000000000000
[  102.806023] RBP: ffff8b1941645d00 R08: 0000000000000000 R09: ffffb79e05c5be50
[  102.806027] R10: ffff8b1941c966e0 R11: 0000000000000001 R12: 0000000000000001
[  102.806030] R13: 00007fff85e7a3d0 R14: 0000000000000000 R15: ffff8b19634c5d20
[  102.806034] FS:  00007f039df84740(0000) GS:ffff8b1ab8500000(0000) knlGS:0000000000000000
[  102.806039] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  102.806043] CR2: 0000000000000001 CR3: 0000000126462000 CR4: 00000000003506e0
[  102.806047] Call Trace:
[  102.806053]  proc_reg_read+0x36/0x80
[  102.806061]  vfs_read+0x93/0x180
[  102.806068]  ksys_read+0x54/0xd0
[  102.806072]  do_syscall_64+0x33/0x40
[  102.806080]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[  102.806086] RIP: 0033:0x7f039e071461
[  102.806091] Code: fe ff ff 50 48 8d 3d fe d0 09 00 e8 e9 03 02 00 66 0f 1f 84 00 00 00 00 00 48 8d 05 99 62 0d 00 8b 00 85 c0 75 13 31 c0 0f 05 <48> 3d 00 f0 ff ff 77 57 c3 66 0f 1f 44 00 00 41 54 49 89 d4 55 48
[  102.806098] RSP: 002b:00007fff85e7a398 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
[  102.806103] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f039e071461
[  102.806107] RDX: 0000000000001000 RSI: 00007fff85e7a3d0 RDI: 0000000000000003
[  102.806111] RBP: 00007fff85e7a3d0 R08: 0000000000000000 R09: 0000000001000000
[  102.806114] R10: fffffffffffffb8f R11: 0000000000000246 R12: 0000000000001000
[  102.806118] R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000000
[  102.806124] Modules linked in: snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio snd_soc_skl snd_soc_sst_ipc snd_soc_sst_dsp snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi snd_soc_core nuc_led(O) snd_compress snd_pcm_dmaengine ac97_bus i915 snd_hda_intel snd_intel_dspcfg snd_hda_codec i2c_i801 cec snd_hda_core i2c_smbus snd_hwdep snd_pcm drm_kms_helper snd_timer r8169 snd ir_rc6_decoder drm wmi rc_rc6_mce ite_cir rc_core video coretemp i2c_dev uinput
[  102.806180] CR2: 0000000000000001
[  102.806184] ---[ end trace bb8c743c9c9d41d4 ]---
[  104.944909] RIP: 0010:acpi_proc_read+0x9a/0x780 [nuc_led]
[  104.944926] Code: 44 24 20 48 8d 4c 24 28 48 c7 c7 90 54 49 c0 48 89 44 24 30 e8 97 2e f6 ff 85 c0 0f 85 c9 06 00 00 4c 8b 7c 24 40 49 8b 57 08 <0f> b6 5a 01 85 db 0f 84 49 06 00 00 89 d9 8d 51 ff 83 c0 01 21 d1
[  104.944934] RSP: 0018:ffffb79e05c5be18 EFLAGS: 00010246
[  104.944939] RAX: 0000000000000000 RBX: ffff8b1944d07780 RCX: 0000000000000000
[  104.944944] RDX: 0000000000000000 RSI: c5ce88cd34fe11be RDI: 0000000000000000
[  104.944947] RBP: ffff8b1941645d00 R08: 0000000000000000 R09: ffffb79e05c5be50
[  104.944951] R10: ffff8b1941c966e0 R11: 0000000000000001 R12: 0000000000000001
[  104.944955] R13: 00007fff85e7a3d0 R14: 0000000000000000 R15: ffff8b19634c5d20
[  104.944959] FS:  00007f039df84740(0000) GS:ffff8b1ab8500000(0000) knlGS:0000000000000000
[  104.944963] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  104.944967] CR2: 0000000000000001 CR3: 0000000126462000 CR4: 00000000003506e0

--- End code ---

razie:
Bei mir funktioniert das neue nuc_led auch nicht, bzw. nuc_led funktioniert jetzt nicht mehr.

Ich lese das in der Anleitung so, dass dieses nuc_led ausschließlich für die NUC8 geeignet ist, wogegen die vorherige Version für die NUC6 und NUC7 bestimmt war:


--- Quote --- Intel NUC8i7HVK LED Control

This is a simple kernel module to control the LEDs on Intel NUC8i7HVK (Hades) kits.

This module is intended as a demonstration/proof-of-concept and may not be maintained further. Perhaps it can act as a jumping off point for a more polished and complete implementation. For testing and basic manipulation of the LEDs, it ought to work fine, but use with caution none the less. This has only been tested on 5.6.x kernels.

This kernel module was initially developed by Miles Peterson (https://github.com/milesp20/intel_nuc_led) for Intel NUC7ixBN and NUC6CAY LED Control, then forked for NIC8ixHVK LED control by Patrick Kullman (https://github.com/nomego/intel_nuc_led).
--- End quote ---

Grüße
Ralf

wayne:

--- Quote from: razie on April 22, 2021, 10:29:12 ---Ich lese das in der Anleitung so, dass dieses nuc_led ausschließlich für die NUC8 geeignet ist, wogegen die vorherige Version für die NUC6 und NUC7 bestimmt war:


--- Quote --- Intel NUC8i7HVK LED Control
This is a simple kernel module to control the LEDs on Intel NUC8i7HVK (Hades) kits.
...
This kernel module was initially developed by Miles Peterson (https://github.com/milesp20/intel_nuc_led) for Intel NUC7ixBN and NUC6CAY LED Control, then forked for NIC8ixHVK LED control by Patrick Kullman (https://github.com/nomego/intel_nuc_led).
--- End quote ---

Grüße
Ralf

--- End quote ---
...jetzt, wo Du das so sagst, würde ich das auch so verstehen... :(

razie:
Was ich grad sehe ... die Syntax für die Ansteuerung der LEDs ist ebenfalls komplett anders.
Es können viel mehr LEDs angesteuert werden...
Vielleicht reagiert die Ring-LED auf eines der Kommandos...

Mal sehen ... vielleicht schaff ich es heute oder morgen mal zu testen, ob man es für den NUC6 doch irgendwie zum laufen bekommt.

@wayne
Hast du da schon was ausprobiert?

Gruß
Ralf

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version