The officially official Devuan Forum!

You are not logged in.

#101 Re: Desktop and Multimedia » [SOLVED] intel_reg write is disabled upon display off/sleep » 2022-02-23 10:09:40

I dont have 'ansible' and cannot install it due to the lack of space.
Besides I am not sure this script works correctly here.

output after display was off i.e. with default frequency

intel_reg dump | grep PWM
Warning: register spec not found in '/usr/share/igt-gpu-tools/registers'. Using builtin register spec.
                        BLC_PWM_CTL (0x00061254): 0x02320232
                       BLC_PWM_CTL2 (0x00061250): 0xf3ffffff

output after running the script manually
'/usr/lib/udev/intelpwm'

root@6910p:~# /usr/lib/udev/intelpwm
Warning: register spec not found in '/usr/share/igt-gpu-tools/registers'. Using builtin register spec.
Warning: register spec not found in '/usr/share/igt-gpu-tools/registers'. Using builtin register spec.
Writing 0x71bbeffff to register 0x61250
Warning: register spec not found in '/usr/share/igt-gpu-tools/registers'. Using builtin register spec.
root@6910p:~# intel_reg dump | grep PWM
Warning: register spec not found in '/usr/share/igt-gpu-tools/registers'. Using builtin register spec.
                        BLC_PWM_CTL (0x00061254): 0x02320232
                       BLC_PWM_CTL2 (0x00061250): 0xf3ffffff

output after manually set the frequency
'fm' is alias for 'intel_reg write 0x61250 0x07a10232'

root@6910p:~# fm
Warning: register spec not found in '/usr/share/igt-gpu-tools/registers'. Using builtin register spec.
root@6910p:~# intel_reg dump | grep PWM
Warning: register spec not found in '/usr/share/igt-gpu-tools/registers'. Using builtin register spec.
                        BLC_PWM_CTL (0x00061254): 0x02320232
                       BLC_PWM_CTL2 (0x00061250): 0x03a10232

#102 Re: Desktop and Multimedia » [SOLVED] intel_reg write is disabled upon display off/sleep » 2022-02-13 16:29:47

@Head_on_a_Stick

1. followed the instructions in the 'readme' file but it seems they are not adequate

2. 'udev info' and 'udev test' commands got from ubuntu forum when looking for solutions

3. after a reboot got the message

GOTO 'backlight_pwm_rules_end' has no matching label in: '/usr/lib/udev/rules.d/99-intelpwm.rules'

once into the login window my keyboard did not work

anyway, thank you for the suggestions!

#103 Re: Desktop and Multimedia » [SOLVED] intel_reg write is disabled upon display off/sleep » 2022-02-13 14:17:25

udevadm info --path=/sys/usr/lib/udev/rules.d/99-intelpwm.rules --attribute-walk

syspath not found
udevadm test /usr/lib/udev/rules.d/99-intelpwm.rules

GOTO 'backlight_pwm_rules_end' has no matching label in: '/usr/lib/udev/rules.d/99-intelpwm.rules'
unable to open device '/sys/usr/lib/udev/rules.d/99-intelpwm.rules'
Unload module index

for the record

cat /usr/lib/udev/rules.d/99-intelpwm.rules

KERNEL!="intel_backlight", SUBSYSTEM!="backlight", ACTION!="change", GOTO="backlight_pwm_rules_end"

RUN="/usr/lib/udev/intelpwm"

LABEL="backlight_pwm_rules_end"

#104 Desktop and Multimedia » [SOLVED] xfce4-terminal cannot display cyrillic » 2022-02-13 11:39:31

amaro
Replies: 0

hello everybody!

both 'vim' and 'moc' cannot display cyrillic in 'xfce4-terminal'. for comparison, with 'xterm' and 'tilda' both work fine.

locale
LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

added BG with 'dpkg-reconfigure locales' but the issue is still present 

locale -a
bg_BG
bg_BG.cp1251
bg_BG.utf8
C
C.UTF-8
en_US.utf8
POSIX

any suggestions are appreciated!
thank you in advance!

p.s.
checking '~/.config/xfce4/terminal/terminalrc'  showed

cat ~/.config/xfce4/terminal/terminalrc | grep Font
FontUseSystem=TRUE
FontAllowBold=FALSE

so, changing the default font solved it

#105 Re: Desktop and Multimedia » [SOLVED] xterm unable to allocate fg/bg color » 2022-02-08 10:20:12

awesome!
adding 'vt100' did it.

thank you, hevidevi!

#106 Re: Desktop and Multimedia » [SOLVED] xterm unable to allocate fg/bg color » 2022-02-08 10:00:22

cat ~/.Xresources
xterm*VT100.Translations: #override \
                 Ctrl Shift <Key>V:    insert-selection(CLIPBOARD) \n\
                 Ctrl Shift <Key>C:    copy-selection(CLIPBOARD)
xterm*faceName: Terminus (TTF):style=Medium
xterm*faceSize: 12
xterm*geometry: 123x24
xterm*.background: #FDF6E3
xterm*.foreground: #000
!xterm*boldColors: false
xterm*cursorColor: #000

#107 Re: Desktop and Multimedia » [SOLVED] xterm unable to allocate fg/bg color » 2022-02-08 09:52:49

@hevidevi

just tried it, no difference, same output

for the record, did

xrdb -merge ~/.Xresources

#108 Desktop and Multimedia » [SOLVED] intel_reg write is disabled upon display off/sleep » 2022-02-08 09:25:39

amaro
Replies: 8

Hello everybody!

Every time the display goes off 'intel_reg write' gets disabled.
Every time have to restart it manually. It' very annoying.

intel_reg write 0x61254 0x07a10232
Warning: register spec not found in '/usr/share/igt-gpu-tools/registers'. Using builtin register spec.

How to make it permanent?

#109 Desktop and Multimedia » [SOLVED] xterm unable to allocate fg/bg color » 2022-02-08 09:17:14

amaro
Replies: 6

Hello everyone!

I want to change 'xterm' 'bg' and 'fg' colors. Tried several variations but always get the same output

xterm: unable to allocate fg/bg color

Here is what have tried

*background: brown
*background: boldbrown
*background: #FDF6E3
*background: 255 218 185
*background: \033[43m
*BACKGROUND: brown

All of the above with ""
Plus 'black' for 'fg'

What is the right way to change the colors?

Board footer

Forum Software