Using POSIX realtime

More
10 May 2025 10:51 #328138 by Hakan
Replied by Hakan on topic Using POSIX realtime
Intel I226 I see. I like those I226es. Then there is possibly the option to use the igc driver instead of the generic driver. You can always test that.

Let's continue with the ec_generic.
The output shows that it is back to the ec_generic module not loading.

Can you show the output of these three commands? It should manually load the ec_generic module.
lsmod | grep ec_generic
sudo modprobe ec_generic
lsmod | grep ec_generic

Please Log in or Create an account to join the conversation.

  • Roger S
  • Away
  • Senior Member
  • Senior Member
More
10 May 2025 12:05 #328139 by Roger S
Replied by Roger S on topic Using POSIX realtime
here is the result oflsmod | grep ec_generic
sudo modprobe ec_generic
lsmod | grep ec_generic
ec_generic             16384  0
ec_master             397312  1 ec_generic
snd_hda_codec_generic    98304  1 snd_hda_codec_realtek
ledtrig_audio          16384  1 snd_hda_codec_generic
snd_hda_codec         188416  6 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda,snd_sof_intel_hda
snd_hda_core          122880  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
snd                   126976  15 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
ec_generic             16384  0
ec_master             397312  1 ec_generic
snd_hda_codec_generic    98304  1 snd_hda_codec_realtek
ledtrig_audio          16384  1 snd_hda_codec_generic
snd_hda_codec         188416  6 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda,snd_sof_intel_hda
snd_hda_core          122880  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
snd                   126976  15 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

Please Log in or Create an account to join the conversation.

More
10 May 2025 12:27 #328140 by Hakan
Replied by Hakan on topic Using POSIX realtime
And now it works? What does "sudo dmesg" say?

Please Log in or Create an account to join the conversation.

  • Roger S
  • Away
  • Senior Member
  • Senior Member
More
10 May 2025 12:58 #328141 by Roger S
Replied by Roger S on topic Using POSIX realtime
Sorry Hakan, I hadn't looked at all, because I was busy searching for and reporting errors
Master0
  Phase: Idle
  Active: no
  Slaves: 5
  Ethernet devices:
    Main: 80:ee:73:fd:0f:8b (attached)
      Link: UP
      Tx frames:   409178
      Tx bytes:    24554240
      Rx frames:   409177
      Rx bytes:    24554180
      Tx errors:   0
      Tx frame rate [1/s]:    123    123    125
      Tx rate [KByte/s]:      7.2    7.2    7.2
      Rx frame rate [1/s]:    123    123    125
      Rx rate [KByte/s]:      7.2    7.2    7.2
    Common:
      Tx frames:   409178
      Tx bytes:    24554240
      Rx frames:   409177
      Rx bytes:    24554180
      Lost frames: 0
      Tx frame rate [1/s]:    123    123    125
      Tx rate [KByte/s]:      7.2    7.2    7.2
      Rx frame rate [1/s]:    123    123    125
      Rx rate [KByte/s]:      7.2    7.2    7.2
      Loss rate [1/s]:          0      0      0
      Frame loss [%]:         0.0    0.0    0.0
  Distributed clocks:
    Reference clock:   Slave 0
    DC reference time: 0
    Application time:  0
                       2000-01-01 00:00:00.000000000
roger@roger:~$ ethercat slaves
0  0:0  PREOP  +  EK1100 EtherCAT-Koppler (2A E-Bus)
1  0:1  PREOP  +  EL1008 8K. Dig. Eingang 24V, 3ms
2  0:2  PREOP  +  EL1008 8K. Dig. Eingang 24V, 3ms
3  0:3  PREOP  +  EL2008 8K. Dig. Ausgang 24V, 0.5A
4  0:4  PREOP  +  L8EC(COE)
roger@roger:~$

many many thanks! I really appreciate your efforts. so just thank you again

What was the cause and do I need to do anything else now?

 

Please Log in or Create an account to join the conversation.

More
10 May 2025 13:15 #328143 by Hakan
Replied by Hakan on topic Using POSIX realtime
Wow! It works.I was ready to give up.
I don't know why it didn't work for you, exactly. More than there was a problem to load the ec_generic module using the ethercatctl script.
It will probably not work next time again.
I don't know of a permanent fix, but the two commands "sudo rmmod ec_generic" followed by "sudo modprobe ec_generic" will probably load the ec_generic module.
I don't know why it didn't work right away. But there is a fix.

Please Log in or Create an account to join the conversation.

  • Roger S
  • Away
  • Senior Member
  • Senior Member
More
10 May 2025 13:29 - 10 May 2025 13:33 #328144 by Roger S
Replied by Roger S on topic Using POSIX realtime
I just tested it. When I restart the system, the link is down. with
lsmod | grep ec_generic
sudo modprobe ec_generic
lsmod | grep ec_generic

it works again

This is enough of a workaround for me. I can also do updates in the future with a clear conscience?
 
Last edit: 10 May 2025 13:33 by Roger S.

Please Log in or Create an account to join the conversation.

Time to create page: 0.173 seconds
Powered by Kunena Forum