The officially official Devuan Forum!

You are not logged in.

#1 Re: Hardware & System Configuration » Updating X » 2020-05-15 20:55:33

Magnus wrote:

In any case, there was no driver with OpenGL support - I need OpenGL for Dark Table - for my AMD HD7970 a year ago, because AMD did not upgrade its drivers to the version of X that Ceres used. However, NVIDIA's drivers work well. OpenGL also works well with NVIDIA's drivers and NVIDA usually has the habit of upgrading its drivers considerably longer than AMD does.
And about freedom and choise. The only wish I have is a working graphic card that last more than a few years.

Must tell: My mom has my old computer from 2003 with ASCII installed. The graphic card is a NVIDIA GEFORCE 4 TI 4200 and there are still working proprietary drivers for it.

I think you're spreading misinformation. Ceres has one of newest drivers for AMD videocards including Radeon HD 7970. It has the best OpenGL support ever.

#2 Re: Other Issues » emacs on ASCII » 2020-05-15 08:50:48

ve1drg wrote:

Thanks for the tip on Emacs.

I dont have the lucid version on the apt-get update system.  So I removed what I had and installed everything over.  This time I chose emacs in the search list and nothing more and it went on fine and now I have no errors.

Thanks for the tip.  As things are good now.

Looks like it was a problem with repos because according to apt-get there is emacs-lucid in the Ceres repo:

$ apt-cache search emacs-lucid
emacs-lucid - GNU Emacs editor (with Lucid GUI support)

I suspect you just couldn't get necessary packages, especially the ones related to d-bus and GTK. I think that was the reason why you had a problem with GTK UI for Emacs.

#3 Re: Hardware & System Configuration » Updating X » 2020-05-15 08:42:16

Magnus wrote:
Head_on_a_Stick wrote:

Well the situation is markedly better for new AMD cards because AMD themselves are effectively writing the open source drivers and they now out-perform the proprietary version for most tasks.

As long as the AMD card is new... But my experience say that NVIDIA upgrade theire drivers to support new X versions for a longer lasting period than AMD does.

Instead of supporting proprietary fglrx driver AMD preferred to support fully featured free driver. It's xserver-xorg-video-radeon and Mesa in Devuan repository. It works even with very old AMD GPUs.

Nvidia don't support GNU/Linux. Proprietary blob is total garbage. It doesn't even support OpenGL (there is NvGL, which is NOT OpenGL). So downgrading to nvidia is very big mistake. Nvidia hate everything related to freedom and choice.

#4 Re: Other Issues » emacs on ASCII » 2020-05-11 07:45:13

I suggest to install emacs-lucid instead of emacs-gtk. It won't solve entire problem because you have to install some of additional packages but it will solve the problem in case of GNU Emacs because GTK based GUI is trash.

#5 Re: Hardware & System Configuration » Updating X » 2020-05-11 07:35:11

The only appropriate driver for your videocard is xserver-xorg-video-radeon from Devuan repository.

#6 Re: News & Announcements » Linux 5.6 kernel release news » 2020-04-02 05:33:36

Altoid wrote:
Altoid wrote:

How is it that this actually slipped by Torvalds?

Some time ago, the world+dog endlessly busted Torvald's balls because he shouted and cursed a number of dimwitt/AH coders in order to keep a tight ship.
But it does not seem that anyone is saying absolutely anything about this nonsense.

Call me what you will, but I think that if this type of thing is not stopped ASAP, the Linux kernel as we know it will end up going to the dogs.


Linus Torvalds is not developer - he is a small corporate manager today.

#7 Re: Hardware & System Configuration » Nvidia warning at boot #2 » 2020-03-26 04:09:13

Try the following command as root:

dpkg-reconfigure nvidia-kernel-dkms

#8 Re: Hardware & System Configuration » Moving installation to SSD drive » 2020-03-25 04:09:25

Head_on_a_Stick wrote:
ToxicExMachina wrote:

You don't need to run TRIM command at all if you mount filesystem with 'discard' option.

The discard option slows down the drive because TRIM is applied for all I/O operations.

Any write operation is slowing down an SSD due to physical limitations. In practice the 'discard' option is just convenient thing with insignificant overhead.

#10 Re: Hardware & System Configuration » Moving installation to SSD drive » 2020-03-19 04:10:21

You don't need to run TRIM command at all if you mount filesystem with 'discard' option.

#11 Re: Installation » [Solved at last] Issues with very new hardware » 2020-03-06 08:46:22

Are you sure you have downloaded firmware correctly?

#12 Re: Other Issues » Arduino version currency? » 2020-03-06 06:29:27

noname wrote:
ToxicExMachina wrote:

If you want to learn MCU programming avoid Arduino. Arduino may be a good solution only for the case of noskill dirty and fast primitive things like led blinking.

TBH i'm not sure what i want to learn... no more than necessary to get the job done, i think, seeing as i'm old as dirt, and have lots of projects to get dealt with before i'm done on this planet.

I'm deeply involved in what one might call the "off-grid/self-sufficiency" thing, seeing as how i've been off-grid since 2003 and solar since 2006, and prefer to be as self-sufficient as possible.  I'm currently working on eradicating all use of propane here, since it's an external dependency.  I'm getting close, i haven't used propane for cooking in maybe a year, but it still runs the on-demand hot-water-heater, so i'm working on adding an on-demand electric-hot-water-heater.  Since i'm doing this microwave/induction-cooktop/smart-oven business and running a standard 120v refrigerator on a 4.8kwh system, it needs to be fairly efficient.

Anyway, i found that the idle-overhead for my inverter was eating my lunch, so i set up a remote control to turn it on/off when it was needed.  And when the cheap 12v fridge i was using went tits-up, i went to a 120v fridge.  Then i discovered it was using more startup power than was workable given the overall system configuration (compressor), i hooked up an "Inkbird-All-Purpose-Temperature-Controller-ITC-1000" to the "INSMA Wireless RF Switch" that turns the inverter on/off, so that the inverter would start whenever the fridge temp is out-of-range. That whole business works reasonably well, but i'm pushing the limits of what can be done with one-way-communication, and sticking these off-the-shelf components together is a kludge, so i'm looking to get closer to the hardware so to speak, something more reliable and easier to use.

As mentioned, i have a starter Arduino kit, and also a book "Practical Electronics For Inventors" which i've barely cracked open, but it looks like it will supplement what little i remember from the EE classes required when i was in CSc back in the day.  From what i've gathered there are numerous u-ctlrs on the market, Arduino, Raspberry-Pi, and whatever one is in the Moto-Z4, which i was thinking of using as a control unit before i got disgusted with the thing.

I'm not sure which one is going to be best, but i'll spend a little time experimenting with the Arduino while i'm learning what i can from the book.  There are a number of projects that i have in mind, from thermo-electric fridge to a battery charger and suchlike.  I suspect that the Raspberry-Pi is the one that'll make it easiest to monitor the system remotely and collect data, but it's early days yet.  I totally suck at installing and configuring linux, but i'm not seeing the Arduino as quite that capable.

ToxicExMachina wrote:

I also recommend to buy a cheap ISP for flashing the microcontroller (bootloader in Arduino is very unreliable thing). USBasp is suitable device. It's very cheap (the price is about 1-3$) and simple.

ISP is "internet service provider", right?  New meaning, or typo? 

I'm a bit confused, AVR seems to be a specific series of microcontrollers, but it also seems associated with Arduino somehow.

Initially Arduino is 8-bit AVR-based board series with Arduino IDE. Form-factor of al of Arduino boards except arduino nano or similar ones is awful: it's large for final device and microcontroller is just soldered in. Thus it's a bad solution even as development board. For example, TI Launchpad is much better solution as devkit because it's full featured development board (it's based on energy efficient 16-bit MSP430 microcontroller). Some of new Arduino boards are based on ARM Cortex M core.

Arduino IDE is a nightmare. Yes - it's simple. But it's weak and doesn't let to learn anything. For example, from Arduino you won't understand how to send a signal through a pin: it's inside digitalWrite() function. This function is surprisigly inefficient and depending on version of Arduino IDE has different maximum frequency so it's hard to get predictable behavior when you need to use this board seriously. Arduino IDE doesn't let to build optimized code because it just doesn't give any way to set compiler options. Arduino IDE is also much more complicated than pure C with avr-libc. With Arduino IDE you'l never know how do you use CPU pins whereas in C with avr-libc you always know which port you use for sending a signal to a specific pin or group of pins simultaneously.

If you need data acquisition system you may look at ready-to-use solutions. You can find them as "USB ADC" or "External ADC". Search for devices with UART support: in this case you can use terminal for obtaining necessary data.

Raspberry Pi is also technically terrible solution. I don't know who designed RPi board but it's totally horrible. It's better to find industrial grade board with GNU/Linux support. You can practice with Raspberry Pi but be ready: Raspberry Pi will be broken eventually because it was not designed as a reliable device. Usually it ruining filesystem on SD card.

ISP - In-System programmer. It's a tool for firmware flashing. By the way, you can use Arduino board as ISP.

noname wrote:

In a nutshell, what's the simplest setup that'll let me control a bunch of inputs/outputs, maintain two-way wireless-communication with something that has a fullscreen interface of some kind, and write data logs that can be analyzed by the control system?

The simplest solution is ESP32 module with display. It has MCU, wireless communication and I/O pins.

Another solution is a board suitable for current task, NRF24L01 or similar module and a display for the board. I suppose you'l need an SD card slot. There are a lot of boards with STM32 (ARM Cortex M0-M4) microcontrollers. Recently STMicroelectronics made interesting thing: … eries.html

#13 Re: Installation » How to download alternate kernels » 2020-03-06 05:17:08

Two simple steps:

1. First, you have to add a new repository config into /etc/apt/sources.list.d so you don't need to modify sources.list at all. This is very easy way to add new repository as a separated config.
2. According to "man apt-get" you can use the following command:

apt-get -t beowulf --download-only install package_name

Another ways:

1) You can use custom config for apt-get. The command line key is "-c". In this the config where you can specify configuration files like another sources.list. I think in this case it's inefficient way but it may be a good one for some situations.
2) There is a tool called aptly. You can even mirror a subset of repository with it.
3) Go to any Devuan mirror via web browser and download package manually.

#14 Re: Other Issues » Arduino version currency? » 2020-03-05 08:41:42

If you want to learn MCU programming avoid Arduino. Arduino may be a good solution only for the case of noskill dirty and fast primitive things like led blinking. I also recommend to buy a cheap ISP for flashing the microcontroller (bootloader in Arduino is very unreliable thing). USBasp is suitable device. It's very cheap (the price is about 1-3$) and simple.

apt-get install gcc-avr libc-avr avrdude
apt-get install any-text-editor-or-ide-like-code-blocks

AVR libc official site and manual:
A simple example of AVR programming: … /x207.html
Another example of AVR programming basics: … -in-linux/

However, if you don't want to program microcontrollers you can just install Arduino IDE from repository and use it before you drop it after a couple of weeks or even a month. You can also download latest version of Arduino IDE from official website, unpack and run it.

#15 Re: Hardware & System Configuration » Mainboard ASUS with AMD Ryzen 3: root device not found » 2020-03-05 07:48:07

1. Boot into recovery mode of installer CD/DVD/USBstick.
2. Choose root partition for chroot
3. update-grub

#16 Re: Hardware & System Configuration » CUPS accounting [Solved] » 2020-02-24 09:14:27

The simplest way to trim information from the log is awk

I suppose in the "Samsung_M2020_Series groucho 109 [27/Dec/2018:08:37:02 -0300] 1 1 - localhost H:\Desktop\flower_sm.jpg A4 -" entry the 6th word (in this case it's "1") is the number of printed pages. Therefore the following command will give a text table with date/time and amount of printed pages found by the word "A4":

cat /var/log/cups/page_log | grep A4 | awk '{print $4$5 " " $6}' > trimmed_log.txt 

You can process it in spreadsheet.

If you want to get total amount of pages printed by the printer you can use the following command:

cat /var/log/cups/page_log | grep A4 | awk '{pages += $6} END {print pages}'

In this simple example grep is a tool used to find log entries according to defined word and awk is a tool used to parse and write every entry found by grep in shorter format. The default field separator is space. You can modify expressions from the example for best result.

#17 Re: Hardware & System Configuration » CUPS accounting [Solved] » 2020-02-23 11:31:53

Altoid wrote:


ToxicExMachina wrote:

... use grep and/or awk for getting only necessary information from that log file.

Hmmm ...

The data I'm looking for is the sum of a set of numbers whose values I ignore and are (in this case) listed in 400 consecutive lines, one line per print job.
I don't see how grep could help me.

I thought there could be some script or front end I have not been able to find that would use the log file as input and get the total pages printed.

Thanks for your input.



May be I can help but I need a sample of log. I am not sure /var/log/cups/page_log is the correct log because in my case it has no any contents (the machine with working printer).

#18 Re: Installation » Install Devuan over existing Linux system? » 2020-02-23 11:24:32

Roger wrote:

I had intended to install Devuan in an empty machine, using an iso file on a USB stick, and of course it is still possible to do that; however, I am interested in finding our whether one can make the iso file accessible to the existing Ubuntu system, and install Devuan by overwriting from there. Has anyone any ideas on that?

It's extremely easy if you have a home filesystem on different partition. Just perform clean installation overwriting existing system and don't format partition with home directories. The best way is to boot iso from usb stick. Another way is to make the root filesystem via debootstrap. In this case you don't even need an iso file with installer but you'l need to reconfigure GRUB or you won't be able to boot Devuan. You can also use qemu.

#19 Re: Hardware & System Configuration » CUPS accounting [Solved] » 2020-02-21 07:45:36

Altoid wrote:


ToxicExMachina wrote:

.... in completed jobs of the printer ...

Yes, I know.

Like I mention in my post:

There's the log at http://localhost:631/admin/log/page_log which is read from /var/log/cups/page_log ...

But there are more than 400 completed jobs and I only need the amount of pages printed which I cannot seem to be able to get without some time consuming editing of the log file.

Thanks for your input.


You can use grep and/or awk for getting only necessary information from that log file.

#20 Re: Hardware & System Configuration » CUPS accounting [Solved] » 2020-02-18 07:17:24

Try too find it in completed jobs of the printer (CUPS web interface). You will see table with information you need.

#21 Re: Desktop and Multimedia » SoftMaker FreeOffice installation » 2020-02-12 11:15:37

Looks like you can install this Softmaker FreeOffice with commands from the manual you have referred. However, Libreoffice is pretty compatible with MS Office. Anyway I recommend to request files in the old DOC format if it's possible. This is the most compatible way (except of PDF). The problem is MS Office is incompatible even with itself because there is no 100% defined DOCX format: every release of MS Office saves documents in brand new DOCX without specifications and descriptions.

#22 Re: Devuan » Debian considering going systemd init only » 2020-02-11 12:08:10

Head_on_a_Stick wrote:
ToxicExMachina wrote:

Don't call those features optional.

But they are optional. For example, can you name a single distribution that's actually using systemd-networkd?

Networkd? What about logind and udev?

Head_on_a_Stick wrote:
ToxicExMachina wrote:

All of useful features from SystemD can be implemented with a standard tool set accessible in GNU/Linux OS.

I would agree that most features can be implemented with other tools but I like the consistency of the systemd tool set and also the fact that they're all being produced and maintained by the same team, just as you would find in real UNIX systems.

But there are some features that are unique to systemd. I've already mentioned masking units, another is hardening of services: … ening.html

Check this out:

empty@E485:~ $ systemd-analyze security --no-p
UNIT                                 EXPOSURE PREDICATE HAPPY
accounts-daemon.service                   9.5 UNSAFE    ?    
alsa-state.service                        9.5 UNSAFE    ?    
anacron.service                           9.5 UNSAFE    ?    
auditd.service                            9.5 UNSAFE    ?    
btrfs-scrub@-.service                     9.5 UNSAFE    ?    
colord.service                            8.7 EXPOSED   ?    
cron.service                              9.5 UNSAFE    ?    
dbus.service                              9.5 UNSAFE    ?    
emergency.service                         9.5 UNSAFE    ?    
gdm.service                               9.7 UNSAFE    ?    
getty@tty1.service                        9.5 UNSAFE    ?    
hddtemp.service                           9.5 UNSAFE    ?    
iwd.service                               5.7 MEDIUM    ?    
polkit.service                            9.5 UNSAFE    ?    
rc-local.service                          9.5 UNSAFE    ?    
rescue.service                            9.5 UNSAFE    ?    
rtkit-daemon.service                      6.9 MEDIUM    ?    
sysfsutils.service                        9.5 UNSAFE    ?    
systemd-ask-password-console.service      9.3 UNSAFE    ?    
systemd-ask-password-wall.service         9.3 UNSAFE    ?    
systemd-fsckd.service                     9.5 UNSAFE    ?    
systemd-initctl.service                   9.3 UNSAFE    ?    
systemd-journald.service                  4.3 OK        ?    
systemd-logind.service                    4.1 OK        ?    
systemd-networkd.service                  2.8 OK        ?    
systemd-resolved.service                  2.1 OK        ?    
systemd-rfkill.service                    9.3 UNSAFE    ?    
systemd-timesyncd.service                 2.0 OK        ?    
systemd-udevd.service                     8.3 EXPOSED   ?    
upower.service                            7.2 MEDIUM    ?    
user@1000.service                         9.1 UNSAFE    ?    
uuidd.service                             9.1 UNSAFE    ?    
empty@E485:~ $

Can you do that with sysvinit? tongue

That's the great example of SystemD flawness. So called "consistency" of SystemD is just overcomplication. Sandboxing is not the feature accessible only via SystemD.

Head_on_a_Stick wrote:
ToxicExMachina wrote:

If nobody made features like "portable home directories" then such features are obvious and already exist or they aren't demanded.

So what is your proposed solution to the problem of the encryption key being left in RAM during suspend operations?

I asked the same question over at the MX forums and one of their developers claimed that the "solution" was not to use suspend. And I think they were being serious lol

I have no this problem at all. If I don't want such security flaw I just won't use suspend. Security isn't about making illusion of secure state.

#23 Re: Hardware & System Configuration » TWO kernels in one update? » 2020-02-11 11:50:02

Which kernel updates you have downloaded? I think you installed two kernels before.

#24 Re: Devuan » Debian considering going systemd init only » 2020-02-10 08:52:11

Head_on_a_Stick wrote:

Just for the record, I'm not an advocate. I find the enormous code base and memory usage of systemd objectionable. But I do like some of the features. For me systemd is a bit like cheesecake: I like the taste but I know it's bad for me smile

All of useful features from SystemD can be implemented with a standard tool set accessible in GNU/Linux OS. Moreover: they were implemented many times before SystemD was developed. If nobody made features like "portable home directories" then such features are obvious and already exist or they aren't demanded.

#25 Re: Devuan » Debian considering going systemd init only » 2020-02-10 08:45:10

Head_on_a_Stick wrote:
steelpillow wrote:

Looks like it's full steam ahead for homed "portable home directories", now merged in ready for the next release

You do understand that is a purely optional feature[1], right? It only makes sense for laptops and it won't be the default. And it's actually rather useful, if you read the posts about it earlier in the thread.

[1] Like most of systemd's tools.

Don't call those features optional. They are pure EEE. SystemD is not GNU/Linux - it's svchost.exe. Home directories in svchost.exe-like service is the greatest insanity achieved recently.

Board footer

Forum Software