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-24 14:09:21

I removed all files and then went through the installation process again.
Just to make sure everything is done correctly.
The one difference is this time I copy/pasted the 'udev rule' in both places.
It seems to work now.
Thank you for being persisitent with your suggestions, Head_on_a_Stick!

#102 Re: Desktop and Multimedia » [SOLVED] in which (cache) folder are installed packages » 2022-02-24 13:58:39

@ chris2be8
Thank you, Chris!
This worked!

btw, 'ains' and 'armv' are aliases.

@Head_on_a_Stick
Thank you! Read it, bookmarked it!

@GlennW
Thank you! I rarely use 'synaptic' so will check those lines in '/etc/apt/apt.conf'.
For the record, I looked in '/var/cache/apt/' before writing this post and there were 10-12 packages only (which is far from the number of packages I installed after OS installation) and of course those I mentioned were not there.

p.s. Well...

cat /etc/apt/apt.conf
cat: /etc/apt/apt.conf: No such file or directory

#103 Re: Desktop and Multimedia » [SOLVED] in which (cache) folder are installed packages » 2022-02-23 17:06:26

thank you, hevidevi!

this not keeping cached packages seems to be the default policy
after removing 'libreoffice' two 'gstreamer' packages and some other related to them packages were removed too
so I had to install them again and again they were labeled as NEW and downloaded again
which means there is no cached packages folder where they can be retrieved from

ains gstreamer1.0-gtk3 gstreamer1.0-plugins-ugly
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  liba52-0.7.4 libmpeg2-4 libopencore-amrnb0 libopencore-amrwb0 libsidplay1v5
Suggested packages:
  sidplay-base
The following NEW packages will be installed:
  gstreamer1.0-gtk3 gstreamer1.0-plugins-ugly liba52-0.7.4 libmpeg2-4 libopencore-amrnb0
  libopencore-amrwb0 libsidplay1v5
0 upgraded, 7 newly installed, 0 to remove and 31 not upgraded.
Need to get 2,085 kB of archives.

this is the only "flaw" I have come across for the two weeks I have been using Devuan
I guess to logic behind this is that everything runs smoothly once you get the system according to your liking (so why keeping cached old packages)

#104 Desktop and Multimedia » [SOLVED] in which (cache) folder are installed packages » 2022-02-23 13:53:44

amaro
Replies: 6

Hello everybody!

Removed 'ristretto' and was surprised with a lot of packages that go with it

armv ristretto
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
  hddtemp libxnvctrl0 ristretto xfburn xfce4-battery-plugin xfce4-clipman xfce4-clipman-plugin
  xfce4-cpufreq-plugin xfce4-cpugraph-plugin xfce4-datetime-plugin xfce4-dict
  xfce4-diskperf-plugin xfce4-fsguard-plugin xfce4-genmon-plugin xfce4-goodies
  xfce4-mailwatch-plugin xfce4-netload-plugin xfce4-places-plugin xfce4-screenshooter
  xfce4-sensors-plugin xfce4-smartbookmark-plugin xfce4-systemload-plugin xfce4-taskmanager
  xfce4-timer-plugin xfce4-verve-plugin xfce4-wavelan-plugin xfce4-weather-plugin
  xfce4-whiskermenu-plugin xfce4-xkb-plugin
0 upgraded, 0 newly installed, 29 to remove and 57 not upgraded.
After this operation, 23.6 MB disk space will be freed.
Do you want to continue? [Y/n] y

Decided to reinstall the ones I use

ains xfce4-weather-plugin xfce4-xkb-plugin xfce4-datetime-plugin
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  xfce4-datetime-plugin xfce4-weather-plugin xfce4-xkb-plugin
0 upgraded, 3 newly installed, 0 to remove and 57 not upgraded.
Need to get 3,068 kB of archives.
After this operation, 7,682 kB of additional disk space will be used.
Get:1 http://devuan.ipacct.com/devuan/merged chimaera/main i386 xfce4-datetime-plugin i386 0.8.1-1 [37.4 kB]
Get:2 http://devuan.ipacct.com/devuan/merged chimaera/main i386 xfce4-weather-plugin i386 0.11.0-1 [2,560 kB]
Get:3 http://devuan.ipacct.com/devuan/merged chimaera/main i386 xfce4-xkb-plugin i386 1:0.8.2-1 [470 kB]
Fetched 3,068 kB in 1s (2,179 kB/s)

Surprised that these packages are seen as NEW and will have to be downloaded again.
Why are these packages not in some cache folder?
After all I did not purge them.

#105 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

#106 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!

#107 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"

#108 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

#109 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!

#110 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

#111 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

#112 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?

#113 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