The officially official Devuan Forum!

You are not logged in.

#1151 Re: Devuan Derivatives » [Fixed] Upgraded "Miyo-XTRA Beowulf" boot suspend/resume delay » 2019-02-27 10:45:13

If the file has an initial microcode blob before the ramdisk file system, you'll probably need two successive cpio calls to read it. And even more fun, the second part might be compressed separately, which then needs decompression into the pipeline as well.

For example: unpack first archive (microcode) and check type of second (probably gzipped).

cat /initrd.img | ( cpio -i ; file - )

Then: unpack the first archive, then the second with gunzip-ing

cat /initrd.img |  ( cpio -i ; gunzip | cpio -i )

Or if you like: unpack first, and copy second (compressed) into a file ramdisk.gz

cat /initrd.img |  ( cpio -i ; cat > ramdisk.gz )

The last one might be useful if you want to repack things manually since it lets you work out the byte size of the first archive, so you can prepend those bytes to a repacked image.

#1152 Re: DIY » Input requested regarding Suspend » 2019-02-20 20:59:32

Good. Apparently my use of apt-file leaves some to be desired.

#1153 Re: DIY » Input requested regarding Suspend » 2019-02-20 12:00:45

mmm maybe a

dpkg -S loginctl

could shed some light on it. For me, as I don't have that program, I tried

apt-file find loginctl

which reported it as belonging to systemd. And as far as I can tell, there is no installation candidate for that package in any Devuan repository.

#1154 Re: DIY » Input requested regarding Suspend » 2019-02-20 07:06:49

Well, I think one can say you are threading the boundary at least smile

MiyoLinux distribution = Devuan beowulf + ( some bits of systemd that happened to work today )

It doesn't bother me as such, but I might be special wink wink

#1155 Re: DIY » Input requested regarding Suspend » 2019-02-20 06:47:59

Are you sure? loginctl is in the systemd package .. or rather, where did you get it from?

#1156 Re: Desktop and Multimedia » Software update notifications in XFCE » 2019-02-12 09:29:48

With * as "minute" it'll run every minute at the hours that divide evenly. So, you do need a specific minute number.

#1157 Re: Hardware & System Configuration » ethernet and login manager concerns » 2019-02-10 05:51:54

At a guess, you have set up your machine to share /home between systems, but "forgotten" to synchronize the UID of the user(s)...

#1158 Re: Installation » winehq 4.0 » 2019-02-10 03:48:55

By the looks of it, wine version 4.0-1~bpo9+1 is available in ascii-backports.

#1159 Re: Hardware & System Configuration » ethernet and login manager concerns » 2019-02-10 03:42:12

1.  How can I get the packages for lightdm seeing as I have no internet connection on that install and devuan does not seem to offer the packages via web site like debian does with packages.debian.org?

Given that you can boot up some other partition/system with network connection, it should be easy enough the use chroot to the failing partition/system, and then use apt-get as per normal for it.

E.g., if the failing partition/system happen to be /dev/sda5, you would do the following, starting in the working system:

# mount /dev/sda5 /mnt
# chroot /mnt
# mount -t procfs proc /proc
# mount -t sysfs sys /sys
# mount -t devpts devpts /dev/pts
# apt-get install lightdm

That would install lightdm to the failing partition/system, which I assume is correctly set up as to its sources.list.

Note that the three later mount commands are not always needed; it depends on what you want to install. In fact, in some cases you also need to ensure there are nodes for /dev/sda and /dev/sda5 in the chroot file system, but that certainly shouldn't be needed for a lightdm installation.

To exit gracefully, you would first umount the three points within the chroot, then exit and umount /mnt.

#1160 Re: Hardware & System Configuration » [SOLVED]I had upgrade Jessie to Ascii and i need some fixes.[SOLVED] » 2019-02-09 07:53:34

i really don't understand what need udev for stop that errors

You need fewer spaces wink

#1162 Re: Devuan Derivatives » Miyo Modern: problem with external monitor » 2019-02-06 22:36:59

Are you sure it is sc -c ... and not sh -c .....
But then, why not have the command xrandr ... directly? What does sc do?

#1163 Re: Installation » Can't install i2p-router » 2019-02-06 21:58:38

Are you sure about the clock on your system?

#1164 Re: Installation » NTFS Partitions not recognised » 2019-02-04 20:29:15

In order to deal with exfat file systems, you need to have the exfat-fuse and exfat-utils packages installed.

#1165 Re: Hardware & System Configuration » safe networking with only one tool » 2019-01-31 07:45:47

/etc/resolv.conf is needed for DNS to work, but before that you need to declare the routing paths.

How about adding a default route?

# ip route add default via 192.168.0.1 dev eth0

That's assuming your router having IP 192.168.0.1. Use

$ ip route show

to inspect the routing table. There's plenty more to read about routing, which is what provides networking above the link level packet exchange.

You don't need /etc/networks or the /etc/network tree; these are used by the ifupdown networking support, but they are not necessary for networking to work.

#1166 Re: Hardware & System Configuration » right click on mac » 2019-01-28 02:35:16

I have an ASUS with a touchpad, with both left and right corner being click buttons, but without proper middle button. I'm therefore using synclient to make it behave, and run it as follows:

synclient RightButtonAreaLeft=1625 RightButtonAreaRight=3249 \
    RightButtonAreaTop=1800 RightButtonAreaBottom=2223 \
    RightEdge=2500 TopEdge=500 \
    RTCornerButton=2 RBCornerButton=0 \
    TapButton1=1 TapButton2=2 TapButton3=3 \
    ClickFinger1=1 ClickFinger2=2 ClickFinger3=3 \
    VertEdgeScroll=0 HorizEdgeScroll=0 CornerCoasting=0 \
    VertTwoFingerScroll=0 HorizTwoFingerScroll=0 \
    CircularScrolling=0

With that set up, I get a middle-button click area in the upper right corner, and also alternative left/middle/right buttons by 1/2/3-fincger taps and clicks (and scrolling sensing turned off, since I found it too easy to trigger while typing).

As I remember, it took a bit of experimentation to get the 6 magic numbers right. The first 4 tells where that middle-button area is, and the next 2 is for something else that I don't remember.  /var/log/Xorg.0.log might tell the x/y dimensions for your touchpad, and man synaptics provides documentation of the available options.

#1167 Re: Other Issues » Troubles playing audio CD on SMPlayer » 2019-01-06 00:57:55

If the new package file has newer version, then it will cause uninstall of the previous version.

If it was me, I would download the .deb file rather than changing my sources list.

For Devuan ASCII you would try installing the debian 9.0 version. Of course, if it ends up in direct or indirect dependencies of systemd it will fail, and your system might be in an iffy state. An installation might also want to pull upgrades to other packages, so you should certainly trial it with --simulate first, to see what is about to happen.

#1168 Re: Installation » E: Package 'python-ipalib' has no installation candidate » 2019-01-05 22:20:40

With equivs you rather easily define an empty dummy package that satisfies an installation dependency. It has excellent documentation (well, at least I understood to use it, to dummy out the avahi nonsense).

#1169 Re: Other Issues » Troubles playing audio CD on SMPlayer » 2019-01-05 22:13:45

Fair enough. If it was a script, file would have said so. Now it says it's an ELF executable, which is not a script.

The principle of having a wrapper script is fairly easy, but I will bail out at this point, especially since the idea itself is merely based on a hunch of the source of the problem. Ideally someone who is already using SMPlayer and/or mpv will step in and lead the way through the "morass" of scripting exercises needed to resolve this. Or provide some other, perhaps better, way to deal with it.

Or, of course, your own research and learning may well bring about a working solution. You'll probably find it worth trying, even just for the joy of learning something new.

#1170 Re: Other Issues » Troubles playing audio CD on SMPlayer » 2019-01-05 02:32:10

One way is by a command:

$ file $(which mpv)

or if that says "symbolic link" you may need:

$ file $(readlink -f $(which mpv))

#1171 Re: Other Issues » Troubles playing audio CD on SMPlayer » 2019-01-05 00:00:57

With my infinite "google fu" I dredged up this comment from 2017:  (https://bugs.mageia.org/show_bug.cgi?id=20550#c5)

José Jorge 2017-04-22 21:39:55 CEST wrote:

I got it. mpv refuses cdda://1, it only works with cdda:// . It is an upstream problem to report either to smplayer or mpv if you want, to get this bug fixed.

Presumably that's still standing.

You might possibly be able to make your own patch by wrapping mpv through a script that makes any cdda://1 argument (or part of argument) be a cdda:// argument (or part of argument). Maybe mpv is a script already, and then it'd be a walk in the park. By the looks of it in the OP log, that cdda://1 is passed in to mpv rather than being invented by it. Perhaps it gets 1 from an environment variable (perhaps  media-title). Or, by increasing convolution, perhaps the 1 gets passed in via stdin, embedded in some way? A wrapper script might deal with any of those.

#1172 Re: Other Issues » Troubles playing audio CD on SMPlayer » 2019-01-04 21:51:51

Please confirm that you have a /dev/cdrom link that resolves properly to the CD device, typically /dev/sr0.

#1173 Re: Other Issues » Troubles playing audio CD on SMPlayer » 2019-01-03 23:28:55

Maybe a red herring, but error code 2 traditionally is EACCESS, which would mean that there is a permission problem for some file, or even that some intermediate directory is missing when the program attempts to access a file. You might be able to use strace to follow up on it, or maybe there is some debug argument to start mpv with.

#1174 Re: Desktop and Multimedia » Can someone explain... » 2019-01-02 20:54:37

The first points of call are /etc/apt/sources.list and /etc/apt/sources.list.d/*; especially the latter: maybe your server upgrade dropped a new source point for you?

#1175 Re: Hardware & System Configuration » shutdown does not poweroff nor restart » 2018-12-29 23:34:00

Do you have live-tools installed?
If so, you should disable /bin/live-medium-eject, e.g by renaming it to /bin/live-medium-ejectOFF.

Basically, live-tools inserts a next-to-final step in the shutdown sequence that by default will want to eject the live medium, and then wait indefinitely for user confirmation. That step has many failure cases that simply end in silently waiting indefinitely (before allowing halt to happen), and yet it's not a needed step at all. You might even want to patch it more elegantly, i.e., exclude it from the shutdown and reboot sequences, if this seems to fix your problem.

Board footer

Forum Software