WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [Solved] TC3.8_4 Real Time Upgrade  (Read 70968 times)

Offline MTCAT

  • Sr. Member
  • ****
  • Posts: 370
Re: TC3.8_4 Real Time Upgrade
« Reply #240 on: June 28, 2021, 03:46:55 PM »
Hi Rich,

See line 72 in the attached file, I was working from (scattered) memory after looking through about 50 sub-programs on Sunday, sorry that I didn't get the command exactly right, I was just "talking out loud" so to speak, sorry for the confusion.

David

Offline MTCAT

  • Sr. Member
  • ****
  • Posts: 370
Re: TC3.8_4 Real Time Upgrade
« Reply #241 on: June 28, 2021, 03:52:29 PM »
Hi Rich,

And excited to have got the GUI to come up, just wanted to tell you about it I guess.

Thanks,

David

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11641
Re: TC3.8_4 Real Time Upgrade
« Reply #242 on: June 28, 2021, 04:06:41 PM »
Hi MTCAT
That program requires you to install  lm_sensors.tcz.
Be sure to read the  info  file:
http://repo.tinycorelinux.net/3.x/tcz/lm_sensors.tcz.info

Offline MTCAT

  • Sr. Member
  • ****
  • Posts: 370
Re: TC3.8_4 Real Time Upgrade
« Reply #243 on: June 28, 2021, 05:40:50 PM »
Hi Rich,

Thanks a lot for all the help, you've been far beyond amazing, I'll give that package a try later this week.

Thanks again,

David

Offline MTCAT

  • Sr. Member
  • ****
  • Posts: 370
Re: TC3.8_4 Real Time Upgrade
« Reply #244 on: July 03, 2021, 03:46:08 PM »
Hi Rich,

I installed lm_sensors.tcz and then ran "sudo sensors-detect", unfortunately I didn't detect any sensors at all.

Thanks,

David

Offline MTCAT

  • Sr. Member
  • ****
  • Posts: 370
Re: TC3.8_4 Real Time Upgrade
« Reply #245 on: July 03, 2021, 03:47:43 PM »
Hi Rich,

I also looked in /sys/class/thermal and this directory is empty ?

Thanks,

David

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11641
Re: TC3.8_4 Real Time Upgrade
« Reply #246 on: July 03, 2021, 04:11:24 PM »
Hi MTCAT
So there was no file called  /etc/sysconfig/lm_sensors ?

Offline MTCAT

  • Sr. Member
  • ****
  • Posts: 370
Re: TC3.8_4 Real Time Upgrade
« Reply #247 on: July 03, 2021, 04:39:31 PM »
Hi Rich,

That's correct, there was no file "lm_sensors" in /etc/sysconfig, no sensors were detected so I guess it writes out nothing at all ? I did verify that on my old non-RT kernel, I am able to cat /sys/class/thermal/thermal_zone0/temp, but it always returns 66000 (66C), not sure it's really working, and cat /sys/class/thermal/thermal_zone0/type returns acpitz. Hopefully that helps or gives you a clue.

Thanks,

David

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11641
Re: TC3.8_4 Real Time Upgrade
« Reply #248 on: July 03, 2021, 04:56:02 PM »
Hi MTCAT
... I did verify that on my old non-RT kernel, I am able to cat /sys/class/thermal/thermal_zone0/temp, but it always returns 66000 (66C), not sure it's really working ...
Was that after running  sudo sensors-detect  and loading any kernel modules listed in  /etc/sysconfig/lm_sensors ?

Offline MTCAT

  • Sr. Member
  • ****
  • Posts: 370
Re: TC3.8_4 Real Time Upgrade
« Reply #249 on: July 03, 2021, 05:02:01 PM »
Hi Rich,

No, on the original non-RT build, there are three symbolic links inside /sys/class/thermal, one of them being thermal_zone0, there's also a thermal_device0 (I think) and a thermal_device1, but, these have always just been there on the non-RT build, we didn't have to do anything special to get them in there (that I can recall).

Thanks,

David

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11641
Re: TC3.8_4 Real Time Upgrade
« Reply #250 on: July 03, 2021, 05:11:47 PM »
Hi MTCAT
I've lost track. Are you running the pre-built RT kernel found here:
http://repo.tinycorelinux.net/3.x/contrib/rt-kernel/

If so, are the dependencies for lm_sensors loaded, including:
hwmon-2.6.33.3-l1-rt19.tcz

Offline MTCAT

  • Sr. Member
  • ****
  • Posts: 370
Re: TC3.8_4 Real Time Upgrade
« Reply #251 on: July 03, 2021, 05:25:00 PM »
Hi Rich,

That's correct, I installed lm_sensors.tcz on the pre-built RT kernel. I installed lm_sensors.tcz from the app tool, so I hope all the dependencies are installed ? I'm not sure how to check that, but I did try to install hwmon-2.6.33.3-l1-rt19.tcz (after already installing lm_sensors.tcz) and I get returned, "hwmon-2.6.33.3-l1-rt19.tcz already installed !" So at least that is there, but the only thing added to onboot.lst is lm_sensors.tcz

Thanks,

David


Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11641
Re: TC3.8_4 Real Time Upgrade
« Reply #252 on: July 03, 2021, 05:32:19 PM »
Hi MTCAT
In th at case it is loaded. Run:
Code: [Select]
sudo sensors-detect
dmesg > dmesg.txt

Attach  dmesg.txt  to your next post. I'll be back in a couple of hours.


Offline MTCAT

  • Sr. Member
  • ****
  • Posts: 370
Re: TC3.8_4 Real Time Upgrade
« Reply #253 on: July 03, 2021, 05:58:52 PM »
Hi Rich,

Thanks a lot for the help, here's the dmesg.txt file. The only thing that "sudo sensors-detect" seems to do is load module i2c-dev, which is shown in the last line of the dmesg file I think, after running "sudo sensors-detect", lsmod shows two new entries, "i2c_dev" and an "i2c_core". I also attached the output of "sudo sensors-detect" here.

Thanks,

David

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11641
Re: TC3.8_4 Real Time Upgrade
« Reply #254 on: July 03, 2021, 09:29:14 PM »
Hi MTCAT
I'm not seeing anything helpful.

... I did verify that on my old non-RT kernel, I am able to cat /sys/class/thermal/thermal_zone0/temp ...
Were there any extra kernel modules loaded there that don't show up under the RT kernel?
Were you using any extra boot codes there that you are not using under the RT kernel?