Page 5 of 10

Re: KLV-Spectr-RT with real full time kernel 6.1.38-rt13c

Posted: Thu Oct 12, 2023 9:57 pm
by geo_c

Question for @rockedge

I notice booting up that I get a message when loading modules that /usr/lib/ is not a valid directory to mount the modules (I think that's the directory it's saying.)

Let me reboot and check that.

Everything seems to work. My temperature sensor isn't working on this machine (showing steady 25degress), but it works on another machine in Spectr, and this machine's temp displays in Airedale.

I don't know if it's related to that message, or if that message is a problem or not.

EDIT:

Yes, I just rebooted and saw that it's trying to load modules to /usr/lib/modules, but the directory doesn't exist.


Re: KLV-Spectr-RT with real full time kernel 6.1.38-rt13c

Posted: Thu Oct 12, 2023 10:07 pm
by Sofiya
geo_c wrote: Thu Oct 12, 2023 9:57 pm

Question for @rockedge

I notice booting up that I get a message when loading modules that /usr/lib/ is not a valid directory to mount the modules (I think that's the directory it's saying.)

Let me reboot and check that.

Everything seems to work. My temperature sensor isn't working on this machine (showing steady 25degress), but it works on another machine in Spectr, and this machine's temp displays in Airedale.

I don't know if it's related to that message, or if that message is a problem or not.

EDIT:

Yes, I just rebooted and saw that it's trying to load modules to /usr/lib/modules, but the directory doesn't exist.

and what does the output give you in the terminal? sensors


Re: KLV-Spectr-RT with real full time kernel 6.1.38-rt13c

Posted: Thu Oct 12, 2023 10:09 pm
by geo_c
Sofiya wrote: Thu Oct 12, 2023 10:07 pm

and what does the output give you in the terminal? sensors

Code: Select all

bash-5.2# sensors
nouveau-pci-0100
Adapter: PCI adapter
GPU core:    890.00 mV (min =  +0.84 V, max =  +0.96 V)
temp1:        +57.0 C  (high = +95.0 C, hyst =  +3.0 C)
                       (crit = +105.0 C, hyst =  +5.0 C)
                       (emerg = +135.0 C, hyst =  +5.0 C)

dell_smm-isa-0000
Adapter: ISA adapter
Processor Fan:    0 RPM  (min =    0 RPM, max = 4900 RPM)
Video Fan:        0 RPM  (min =    0 RPM, max = 4900 RPM)
CPU:            +47.0 C  
Ambient:        +45.0 C  
SODIMM:         +43.0 C  
SODIMM:         +43.0 C  
SODIMM:         +43.0 C  
GPU:            +56.0 C  

coretemp-isa-0000
Adapter: ISA adapter
Package id 0:  +49.0 C  (high = +86.0 C, crit = +100.0 C)
Core 0:        +48.0 C  (high = +86.0 C, crit = +100.0 C)
Core 1:        +49.0 C  (high = +86.0 C, crit = +100.0 C)
Core 2:        +48.0 C  (high = +86.0 C, crit = +100.0 C)
Core 3:        +44.0 C  (high = +86.0 C, crit = +100.0 C)

bash-5.2# 

Re: KLV-Spectr-RT with real full time kernel 6.1.38-rt13c

Posted: Thu Oct 12, 2023 10:22 pm
by Sofiya
geo_c wrote: Thu Oct 12, 2023 10:09 pm
Sofiya wrote: Thu Oct 12, 2023 10:07 pm

and what does the output give you in the terminal? sensors

Code: Select all

bash-5.2# sensors
nouveau-pci-0100
Adapter: PCI adapter
GPU core:    890.00 mV (min =  +0.84 V, max =  +0.96 V)
temp1:        +57.0 C  (high = +95.0 C, hyst =  +3.0 C)
                       (crit = +105.0 C, hyst =  +5.0 C)
                       (emerg = +135.0 C, hyst =  +5.0 C)

dell_smm-isa-0000
Adapter: ISA adapter
Processor Fan:    0 RPM  (min =    0 RPM, max = 4900 RPM)
Video Fan:        0 RPM  (min =    0 RPM, max = 4900 RPM)
CPU:            +47.0 C  
Ambient:        +45.0 C  
SODIMM:         +43.0 C  
SODIMM:         +43.0 C  
SODIMM:         +43.0 C  
GPU:            +56.0 C  

coretemp-isa-0000
Adapter: ISA adapter
Package id 0:  +49.0 C  (high = +86.0 C, crit = +100.0 C)
Core 0:        +48.0 C  (high = +86.0 C, crit = +100.0 C)
Core 1:        +49.0 C  (high = +86.0 C, crit = +100.0 C)
Core 2:        +48.0 C  (high = +86.0 C, crit = +100.0 C)
Core 3:        +44.0 C  (high = +86.0 C, crit = +100.0 C)

bash-5.2# 

try switching in /root/.config/polybar/config for a script using a Core processor
in line 106 change temperature1 to temperature2


Re: KLV-Spectr-RT with real full time kernel 6.1.38-rt13c

Posted: Thu Oct 12, 2023 10:37 pm
by geo_c
Sofiya wrote: Thu Oct 12, 2023 10:22 pm

try switching in /root/.config/polybar/config for a script using a Core processor
in line 106 change temperature1 to temperature2

So in /polybar/config I changed temperature1 to temprerature2 (shown below) and the polybar displays: syntax error in line 29:/0 operand expected (error token is "/0")

Code: Select all

modules-left = ewmh xwindow
;modules-left = ewmh-noscroll
;modules-left = ewmh
;modules-center = kernel
modules-right = pavolume memory2 cpu2 temperature2 battery wired-network wireless-network xkeyboard date
; weather wired-network wireless-network

Re: KLV-Spectr-RT with real full time kernel 6.1.38-rt13c

Posted: Thu Oct 12, 2023 10:43 pm
by Sofiya
geo_c wrote: Thu Oct 12, 2023 10:37 pm
Sofiya wrote: Thu Oct 12, 2023 10:22 pm

try switching in /root/.config/polybar/config for a script using a Core processor
in line 106 change temperature1 to temperature2

So in /polybar/config I changed temperature1 to temprerature2 (shown below) and the polybar displays: syntax error in line 29:/0 operand expected (error token is "/0")

Code: Select all

sensors | grep -m 1 Core | awk '{print substr($3, 2, length($3)-5)}'

Code: Select all

sensors | grep -m 1 Core 1 | awk '{print substr($3, 2, length($3)-5)}'

what does the terminal display? for 1 line and after for 2


Re: KLV-Spectr-RT with real full time kernel 6.1.38-rt13c

Posted: Thu Oct 12, 2023 10:46 pm
by rockedge
geo_c wrote:

Yes, I just rebooted and saw that it's trying to load modules to /usr/lib/modules, but the directory doesn't exist.

Never a good sign......I will give it a look and try to figure out what's going on.....(with Marvin Gaye playing in the background.....)

The system seems to be running alright despite the error?


Re: KLV-Spectr-RT with real full time kernel 6.1.38-rt13c

Posted: Thu Oct 12, 2023 10:58 pm
by geo_c
rockedge wrote: Thu Oct 12, 2023 10:46 pm

The system seems to be running alright despite the error?

Yes, I'm not noticing any hiccups or missing components, except the polybar temperature thing which only happens on this one machine so far, not on others.

It's just something I noticed while booting today, and it goes by fast. It may be that it's been that way since day one, which would have been a good while now.


Re: KLV-Spectr-RT with real full time kernel 6.1.38-rt13c

Posted: Thu Oct 12, 2023 11:02 pm
by geo_c
Sofiya wrote: Thu Oct 12, 2023 10:43 pm

what does the terminal display? for 1 line and after for 2

Here are both, 1st line gives no output, second 'No such file or directory'

Code: Select all

bash-5.2# sensors | grep -m 1 Core | awk '{print substr($3, 2, length($3)-5)}'

bash-5.2# sensors | grep -m 1 Core | awk '{print substr($3, 2, length($3)-5)}'

bash-5.2# sensors | grep -m 1 Core 1 | awk '{print substr($3, 2, length($3)-5)}'
grep: 1: No such file or directory
bash-5.2# 

Re: KLV-Spectr-RT with real full time kernel 6.1.38-rt13c

Posted: Thu Oct 12, 2023 11:10 pm
by geo_c
geo wrote:

Best I can tell I did a PFI build of the rootfs around Aug 17th using the KLV-Spectr-RT-beta2.iso:

You guys are probably using Beta-3 as the base.

Woops I axed the post thinking I was replying rather than editing.

Here's the pic:
Image


Re: KLV-Spectr-RT with real full time kernel 6.1.38-rt13c

Posted: Thu Oct 12, 2023 11:16 pm
by Sofiya
geo_c wrote: Thu Oct 12, 2023 11:02 pm
Sofiya wrote: Thu Oct 12, 2023 10:43 pm

what does the terminal display? for 1 line and after for 2

Here are both, 1st line gives no output, second 'No such file or directory'

Code: Select all

bash-5.2# sensors | grep -m 1 Core | awk '{print substr($3, 2, length($3)-5)}'

bash-5.2# sensors | grep -m 1 Core | awk '{print substr($3, 2, length($3)-5)}'

bash-5.2# sensors | grep -m 1 Core 1 | awk '{print substr($3, 2, length($3)-5)}'
grep: 1: No such file or directory
bash-5.2# 

try this Comment out line 761 , in line 769 write hwmon-path = /sys/class/hwmon/hwmon0/temp1_input


Re: KLV-Spectr-RT with real full time kernel 6.1.38-rt13c

Posted: Thu Oct 12, 2023 11:28 pm
by Sofiya

or even better if you show me the path "/sys/class/hwmon/hwmon0/temp1_input"

all laptops are different and without seeing this I can’t know what to do


Re: KLV-Spectr-RT with real full time kernel 6.1.38-rt13c

Posted: Thu Oct 12, 2023 11:36 pm
by geo_c
Sofiya wrote: Thu Oct 12, 2023 11:16 pm

try this Comment out line 761 , in line 769 write hwmon-path = /sys/class/hwmon/hwmon0/temp1_input

It WORKED!

Temperature is hanging around 50 degrees C in the polybar now.

Thanks a lot! You have delivered the goods once again!


Re: KLV-Spectr-RT with real full time kernel 6.1.38-rt13c

Posted: Thu Oct 12, 2023 11:39 pm
by Sofiya
geo_c wrote: Thu Oct 12, 2023 11:36 pm
Sofiya wrote: Thu Oct 12, 2023 11:16 pm

try this Comment out line 761 , in line 769 write hwmon-path = /sys/class/hwmon/hwmon0/temp1_input

It WORKED!

Temperature is hanging around 50 degrees C in the polybar now.

Thanks a lot! You have delivered the goods once again!

and another question: do you have an AMD or Intel processor? this is just information for me


Re: KLV-Spectr-RT with real full time kernel 6.1.38-rt13c

Posted: Thu Oct 12, 2023 11:40 pm
by geo_c

So @rockedge, Sofiya got my temp reading in the polybar, but I'm guessing that module message probably shouldn't be happening.

But like I say, I don't notice anything amiss hardware wise in all this time using KLV-Spectr-beta2.

Everything seems to work on all my machines that normally works per machine, there's always the odd wireless card that no puppies or KLV's seem to fire up.


Re: KLV-Spectr-RT with real full time kernel 6.1.38-rt13c

Posted: Thu Oct 12, 2023 11:41 pm
by geo_c
Sofiya wrote: Thu Oct 12, 2023 11:39 pm
geo_c wrote: Thu Oct 12, 2023 11:36 pm
Sofiya wrote: Thu Oct 12, 2023 11:16 pm

try this Comment out line 761 , in line 769 write hwmon-path = /sys/class/hwmon/hwmon0/temp1_input

It WORKED!

Temperature is hanging around 50 degrees C in the polybar now.

Thanks a lot! You have delivered the goods once again!

and another question, do you have an AMD or Intel processor?

All my machines are Intel processors, this one included.


Re: KLV-Spectr-RT with real full time kernel 6.1.38-rt13c

Posted: Thu Oct 12, 2023 11:46 pm
by Sofiya
geo_c wrote: Thu Oct 12, 2023 11:41 pm
Sofiya wrote: Thu Oct 12, 2023 11:39 pm
geo_c wrote: Thu Oct 12, 2023 11:36 pm

It WORKED!

Temperature is hanging around 50 degrees C in the polybar now.

Thanks a lot! You have delivered the goods once again!

and another question, do you have an AMD or Intel processor?

All my machines are Intel processors, this one included.

It’s strange, of course, that it shows you incorrectly through “Thermal-zone”


Re: KLV-Spectr-RT with real full time kernel 6.1.38-rt13c

Posted: Thu Oct 12, 2023 11:53 pm
by geo_c
Sofiya wrote: Thu Oct 12, 2023 11:46 pm

It’s strange, of course, that it shows you incorrectly through “Thermal-zone”

If I actually understood what the definition of 'sysclass' is, I could offer some feedback, but these kinds of components and coding are very far above my head.

Of course I could learn, given enough time and motivation!

I'm pretty good at understanding general concepts like modules and drivers, but how they are loaded, called, and interact is a complete mystery to me.


Re: KLV-Spectr-RT with real full time kernel 6.1.38-rt13c

Posted: Thu Oct 12, 2023 11:59 pm
by geo_c
Sofiya wrote: Thu Oct 12, 2023 11:46 pm

It’s strange, of course, that it shows you incorrectly through “Thermal-zone”

This is a very old (15+ years) Dell Precision 4600, and from my experience these older Dell laptops run on the hot side (this one is not so bad) So I think temperature hardware and drivers might be more problematic with them. I'm only guessing from experience. The fans are always whirrring off and on using the two older Dells that I have.

My HP laptops tend to run much cooler.


Re: KLV-Spectr-RT with real full time kernel 6.1.38-rt13c

Posted: Fri Oct 13, 2023 12:00 am
by Sofiya
geo_c wrote: Thu Oct 12, 2023 11:53 pm
Sofiya wrote: Thu Oct 12, 2023 11:46 pm

It’s strange, of course, that it shows you incorrectly through “Thermal-zone”

If I actually understood what the definition of 'sysclass' is, I could offer some feedback, but these kinds of components and coding are very far above my head.

Of course I could learn, given enough time and motivation!

I'm pretty good at understanding general concepts like modules and drivers, but how they are loaded, called, and interact is a complete mystery to me.

It is impossible to know everything and be able to do everything ;)


Re: KLV-Spectr-RT with real full time kernel 6.1.38-rt13c

Posted: Fri Oct 13, 2023 12:01 am
by Sofiya
geo_c wrote: Thu Oct 12, 2023 11:59 pm
Sofiya wrote: Thu Oct 12, 2023 11:46 pm

It’s strange, of course, that it shows you incorrectly through “Thermal-zone”

This is a very old (15+ years) Dell Precision 4600, and from my experience these older Dell laptops run on the hot side (this one is not so bad) So I think temperature hardware and drivers might be more problematic with them. I'm only guessing from experience. The fans are always whirrring off and on using the two older Dells that I have.

My HP laptops tend to run much cooler.

The fan probably needs cleaning.


Re: KLV-Spectr-RT with real full time kernel 6.1.38-rt13c

Posted: Fri Oct 13, 2023 12:06 am
by geo_c
Sofiya wrote: Fri Oct 13, 2023 12:01 am

The fan probably needs cleaning.

Possibly, but opening a laptop is something like doing HEART SURGERY!

I'm not bad with electronics in general, being a musician, but I hate the mechanical part. I tend to use the wrong tools and break things.

I bought this from a used computer shop about 4 years ago, and they installed a new hard drive and such, so I assumed they cleaned it, but who knows?


Re: KLV-Spectr-RT with real full time kernel 6.1.38-rt13c

Posted: Fri Oct 13, 2023 5:01 am
by geo_c

@Sofiya and @rockedge here's what I have so far for a key-binding cheat sheet. I still have to comb through the default key bindings and test to see what still works. There are a couple things still missing. But I'm getting buggy at this hour.

How do you like the format?

I better attach it, as it doesn't seem to fit in the code window.


Re: KLV-Spectr-RT with real full time kernel 6.1.38-rt13c

Posted: Fri Oct 13, 2023 8:45 am
by Sofiya
geo_c wrote: Fri Oct 13, 2023 5:01 am

@Sofiya and @rockedge here's what I have so far for a key-binding cheat sheet. I still have to comb through the default key bindings and test to see what still works. There are a couple things still missing. But I'm getting buggy at this hour.

How do you like the format?

I better attach it, as it doesn't seem to fit in the code window.

Super! format :thumbup2:


Re: KLV-Spectr-RT with real full time kernel 6.1.38-rt13c

Posted: Fri Oct 13, 2023 1:49 pm
by geo_c
Sofiya wrote: Fri Oct 13, 2023 8:45 am

[Super! format :thumbup2:

Good, I will finish it up.

I think I should add a key binding that opens a window displaying this list. Then include a script in Startup to display a welcome message with a reference to the keystrokes to open the Key Binding List:

Maybe: Control+MOD1+k

Probably need to define a program first, which would be a small script that opens the file in a text viewer.

I will also modify and save the list without the commands included, just to tidy it up. It might make more sense to list the ACTION first, so the list would show ACTION/KEY/TYPE


Re: KLV-Spectr-RT with real full time kernel 6.1.38-rt13c

Posted: Fri Oct 13, 2023 2:55 pm
by geo_c

@Sofiya

I've added these lines to spectrwm.conf:

Code: Select all

 program[pavucontrol]	  = pavucontrol
 bind[pavucontrol]             = MOD+Shift+p
 

Re: KLV-Spectr-RT with real full time kernel 6.1.38-rt13c

Posted: Fri Oct 13, 2023 2:57 pm
by rockedge

I am testing a KLV-Spectr-RT that is using @fredx181 's audio setup using the 20pipewire-spectr.sfs and installation steps to have audio running through pipewire.

It seems to work but the polybar volume shows only the icon but no percentage value displayed:

Screenshot(30).jpg
Screenshot(30).jpg (21.01 KiB) Viewed 5134 times

The indicator works when the pulseaudio daemon is running and not when using pipewire


Re: KLV-Spectr-RT with real full time kernel 6.1.38-rt13c

Posted: Fri Oct 13, 2023 3:05 pm
by Sofiya
geo_c wrote: Fri Oct 13, 2023 2:55 pm

@Sofiya

I've added these lines to spectrwm.conf:

Code: Select all

 program[pavucontrol]	  = pavucontrol
 bind[pavucontrol]             = MOD+Shift+p
 

right click on the volume icon opens Pavucontrol


Re: KLV-Spectr-RT with real full time kernel 6.1.38-rt13c

Posted: Fri Oct 13, 2023 3:07 pm
by Sofiya
rockedge wrote: Fri Oct 13, 2023 2:57 pm

I am testing a KLV-Spectr-RT that is using @fredx181 's audio setup using the 20pipewire-spectr.sfs and installation steps to have audio running through pipewire.

It seems to work but the polybar volume shows only the icon but no percentage value displayed:
Screenshot(30).jpg

The indicator works when the pulseaudio daemon is running and not when using pipewire

This icon works through a script
script written for Pulseaudio


Re: KLV-Spectr-RT with real full time kernel 6.1.38-rt13c

Posted: Fri Oct 13, 2023 4:13 pm
by geo_c

Here's a complete, concise, user-friendly key-binding list, which contains the pavucontrol keybinding (I like having that option, thanks for the right-click option @Sofiya )

keybinding-list-USER.fake.gz
(4.58 KiB) Downloaded 36 times