The officially official Devuan Forum!

You are not logged in.

#1501 Re: Hardware & System Configuration » vdev testing » 2017-01-07 23:29:12

ok. I've added (A) as issue for https://git.devuan.org/ralph.ronnquist/vdev. The daemon should indeed be robust against malformed action declarations as well as helper script errors.

Re (B): yes, most of the error messages are at a severe extreme of cryptic. Mostly they are s.c. standard error codes, and -22 would be called EINVAL.  In your case, I'm guessing there was some output lines before that error line, such as:

Failed to set mountpoint, config->mountpoint = ...

or similar, which sometimes could help a geek to pinpoint the problem.

#1502 Re: Hardware & System Configuration » vdev testing » 2017-01-06 06:09:49

Re USB, (7): the overall issue is that several packages have been coded to utilize udev, via the rules files, for automagic hotplug handling, and they (of course) don't include a corresponding configuration (action+helper) for utilizing vdev.  I did start on a  "udev rules"-to-"vdev conf", but stopped (apart from incorporating scanner recognition into vdev), as I rather quickly saw it leading to insanity (mine). So, this aspect is in a state of pass the bucket game, where it really should be up to those other package developers to add their hotplug configuration wrt vdev.

That leads to your pt.8, and highlights the need for more/better documentations (and tools?) of how to "program" vdev.

(sorry. right now it's too hot here to think; I'll try again in the weekend...)

#1503 Re: Documentation » vdev documentation » 2016-12-15 21:51:57

I'm of course using vdev myself, and as of last week, it's with a beta2 installation on the 20 Gb SSD of my Asus laptop. I've uncovered two faults in the vdev actions (it locks down /dev/fuse and /dev/net/tun too much), and otherwise had no grief. But I can't say I'm very inventive in changing its hardware anyhow, so it's not a very impressive vdev workout.

The documentation needs a lot of work, with possibly the major thing being a change of perspective so it, more than telling what vdev does, it tells what a person needs to do to make vdev do something more/else for them. This includes how to make changes to the current (documented) actions, and more significantly how to add new actions/helpers to deal with new hardware. At the end of the day it's just the hotplugging sub system, which really is (or should be) simple for any particular set up, but made complicated in the attempt to be capable of handling any and all possible set ups.

#1504 Re: Hardware & System Configuration » [Solved] Occasional reboot waking up from suspend » 2016-12-14 21:50:17

I got three: firstly, this is well beyond my expertise; secondly I tend to prefer using the shift key or ctrl key to wake a sleeping computer; and thirdly, the beep-beep-beep behaviour might suggest BIOS level concerns, which perhaps could be a dead battery. But again, I'm not expert on this (and I use a laptop, with acpid lid action).

#1505 Hardware & System Configuration » vdev and pulse » 2016-12-12 04:34:40

ralph.ronnquist
Replies: 2

This is an advisory note if you happen to use pulseaudio and want to trial vdev.

The issue is that pulseaudio has a builtin dependency on udev via its module  module-udev-detect.so (e.g. /usr/lib/pulse-7.1/modules/module-udev-detect.so), and the associated stanza in /etc/pulse/default.pa, perhaps at lines 53-60:

### Automatically load driver modules depending on the hardware available
.ifexists module-udev-detect.so
load-module module-udev-detect
.else
### Use the static hardware detection module (for systems that lack udev support)
load-module module-detect
.endif

You should thus rename or remove module-udev-detect.so, or make the stanza be just:

load-module module-detect

Either way should be enough to keep sound working.

#1506 Forum Feedback » [SPLIT] URL post limitations » 2016-12-07 22:27:26

ralph.ronnquist
Replies: 4

@golinux maybe it's a good idea to prohibit posts to hold direct links until the user has built up a sufficient "credentials", e.g. by having taken part in a handful of threads, or something?

Board footer

Forum Software