The officially official Devuan Forum!

You are not logged in.

#1276 Re: Hardware & System Configuration » wireless problem on qemu » 2018-04-30 01:53:18

Have you tried with rfkill (tool for enabling and disabling wireless devices)? As in a "googled" example:

# modprobe -rf ath9k ath9k_htc
# rfkill unblock all
# modprobe ath9k ath9k_htc

I'm not sure what's the difference from Debian though. It would depend on versions, since the code for bringing up interfaces has had some development recently (last few years). Not long ago, it had a bug where the script could query the interface state too early after power-on. The patch against that problem was to add a sleep into the script between starting the interface and checking its state.

You could also try to use the "auto" method rather than "allow-hotplug", to let the networking init script raise the interface instead of (e)udev.

#1277 Re: Hardware & System Configuration » how to completely disable laptop lid detection? [SOLVED] » 2018-04-28 23:53:20

Right, the kernel uses the ec and button drivers for dealing with the lid switch. In my lsmod I have a button module, used by nouveau and i915. I don't have an  ec module, so that's probably built-in, and maybe so is the button module for you(?)
(my kernel is linux-image-4.9.0-5-amd64 version 4.9.65-3+deb9u2 from ascii-security)

If button is built-in, blacklisting is not an option, and according to modinfo button there are only the two parameters lid_report_interval and lid_init_state, which don't appear to be useful here.

But, maybe you have a thinkpad_acpi module, or some other module, that registers as button driver? A quick glance at
modinfo $(lsmod | sed 's/\s.*//') might lead to something...

The other end of the chain is at X, and perhaps installing that xserver-xorg-input-evdev would lead to something...

#1278 Re: Hardware & System Configuration » how to completely disable laptop lid detection? [SOLVED] » 2018-04-28 12:36:05

Well, I'm no expert on this, but I think it's the lines following that log line that should tell whether the input is actually added or ignored. On the other hand, it's apparently eudev that presents the lid switch to X in the first place, presumably during its traversal of /sys. Perhaps it traces back to /lib/udev/rules.d/80-libinput-device-groups.rules  or 90-libinput-model-quirks.rules, or some other rule(s), and perhaps there's a suitable knuckle-rap to make eudev ignore the lid switch instead.

Thus I'm thinking that whatever it is that results in the /dev/input/eventX device node should be patched to not do that for the lid switch, and then it won't be presented to X. I tried this by removing /dev/input/eventX manually, and restarting X (not rebooting), which resulted in a log without a "Lid Switch" discovery line. Maybe you could try that as an experiment to see if it makes any difference for your graphics problem. Otherwise it's probably no use in digging deeper.

#1279 Re: Hardware & System Configuration » how to completely disable laptop lid detection? [SOLVED] » 2018-04-28 06:18:58

Maybe you have xserver-xorg-input-evdev installed, and it grabs the lid switch as input device for X?
Check /var/log/Xorg.0.log where it says Lid Switch.

#1280 Re: Off-topic » surf and surf2 browsers » 2018-04-27 21:28:41

actually it's the  opposite for in/out .... it's page zoom and not text zoom, but ctrl-+ works now.

#1281 Re: Off-topic » surf and surf2 browsers » 2018-04-27 21:24:51

On my keyboard, ctrl-- (control minus) zooms in and ctrl-+ (control plus) zooms out. This is surf2=2.0-9 from (current) ascii.

#1282 Re: Desktop and Multimedia » Booting direct to the desktop. » 2018-04-27 05:33:07

Right. I suppose you'll need a sibling or replace of /usr/share/xsessions/xfce.desktop to make that happen. Perhaps by replacing all "xfce" with "mate"; and maybe add some particular hand-crafting to the "Exec=..." line at the bottom. Or, just hang around until someone who knows something swings by smile

#1283 Re: Desktop and Multimedia » Booting direct to the desktop. » 2018-04-27 04:10:34

If it's slim you could possibly achieve auto-login by editing /etc/slim.conf, and then only change #default_user devuan to be default_user caluser (i.e., remove the # and choose user name wisely), as well as changing #auto_login no to be auto_login yes (i.e., remove the # and change to  yes).

#1284 Re: Hardware & System Configuration » nomodeset causes suspend to work only once per boot [SOLVED] » 2018-04-14 12:06:42

Great. You might even want to lodge a bug report on pm-utils to add the appropriate vendor quirk combination into the database for T400.

#1285 Re: Hardware & System Configuration » nomodeset causes suspend to work only once per boot [SOLVED] » 2018-04-14 04:19:22

To explore deeper, you might want to try

# PM_DEBUG=true pm-suspend >& LOG 

Reviewing that LOG file might tell you something about why suspending fails.

#1286 Re: Hardware & System Configuration » trying to understand basics of SysVinit scripts [SOLVED] » 2018-04-03 04:07:24

You'll probably do need to understand insserv, which is the one using the LSB headers, and manipulating the files /etc/init.d/.depend.{boot,start,stop}, which are the "make files" for the init process. I'm not totally sure where/when/how init uses those files, but as I remember it, those files tell which scripts to run when. The insserv man page points at startpar as the actual driver process, so I guess, all together it's init, insserv and startpar to peruse.

#1287 Re: Hardware & System Configuration » occasional boot hang on ascii [SOLVED] » 2018-03-30 21:06:17

From the log snippets, it looks to me to be an X issue, that after launch, X says it's ready (signals) before it's actually waiting for connections. So sometimes it fails when the connection attempt is made. This causes lightdm to try another launch, but the second launch fails before giving any signal. So now lightdm is awaiting the signal from X, while the first X is sitting there waiting for connections.

If you would have a side entrance (eg ssh) ot the system you could check up if it might be this situation.

But I don't really know what to do about it. If any part of this is scripted, eg lightdm, it might be possible to insert a delay between receiving the ready signal and attempting a connection. Or something.

#1288 Re: DIY » Warn on exit script for Openbox, JWM etc. » 2018-03-29 21:23:15

Well, since process ids may have anything between one and five digits, you could as well let the interpreter do the tokenization, making it be like the following:

wmctrl -l -p | while read a b c d ; do echo $c ; done

#1289 Re: DIY » Warn on exit script for Openbox, JWM etc. » 2018-03-28 12:18:24

It looks like it takes every space character as a delimiter, whereas awk sees space sequences as delimiting units.

#1291 Re: Desktop and Multimedia » [Solved] RXVT config ignored when started via x-terminal-emulator » 2018-03-17 23:59:11

By my theory, the desired resources are tagged with urxvt (rather than URxvt), and they are therefore not applicable to a window lacking that tag. The supporting patch would thus be to replace all urxvt with URxvt in the resource definition file(s), and then it all will magically work.

#1292 Re: Desktop and Multimedia » [Solved] RXVT config ignored when started via x-terminal-emulator » 2018-03-17 22:46:14

Presumably it's because the WM_CLASS property is different between the two cases, and that the resources for urxvt refers to the differing class tag.

Use xprop | grep WM_CLASS to check.

#1293 Re: Hardware & System Configuration » Need to resize partitions before upgrade » 2018-03-17 22:10:30

You'll have Murpy's ghost chuckling at your side, I'm sure smile

1. You should probably not change file system type at the same time as repartitioning. I know that sound engineering tells you to change at least two things every time, but sometimes it's safer to take it in steps.

2. rsync transfer of a root partition is not something I've had success with. Perhaps resizing and dd transfer is an option. (Somewhere someone said ext3 be converted to ext4 without reformatting).

3. Be ready to manually update the UUIDs in grub.cfg and fstab. I'm not sure whether UUIDs will change or not, but I would expect them to.

#1294 Re: Hardware & System Configuration » how to make Thinkpad's Thinklight brighter? » 2018-03-16 23:28:59

There might be some thinklight brightness control somewhere under  /sys/bus/platform/drivers/thinkpad_acpi/ ?

#1296 Re: Desktop and Multimedia » mtp device shown twice when plugged into ascii laptop » 2018-02-28 04:42:32

Maybe the phone has two partitions? E.g. internal and external sd cards?

#1297 Re: Installation » pkgmaster is repository hell (continued) » 2018-02-05 02:47:24

What's the output from:

$ tor-resolve devuanfwojg73k6r.onion

I believe that should tell you what the onion address resolves to. Then compare with output from:

$ host pkgmaster.devuan.org

#1298 Re: Other Issues » Vanilla KDE Jessie Devuan system prompts for USB pen drives. » 2018-01-27 12:20:23

Great. I think. The command prompt may well be post-pivot, which would mean that you actually have booted Devuan, but that there is an issue with the graphics. A few things to inspect:

# blkid
# dmesg | tail
# tail /var/log/syslog
# ls -l /dev/sd*

Though, I'd say fsmithred has more experience about getting it back into shape from this state, so maybe you should now ignore me smile

#1299 Re: Other Issues » Vanilla KDE Jessie Devuan system prompts for USB pen drives. » 2018-01-26 23:22:10

Did you try changing the grub line? Into

linux /boot/vmlinuz-3.16.0-4-amd64 root=UUID=f73498af-846e-447a-87d7-4f0b0b01818d

so as to completely avoid referring to /dev/sdd1

#1300 Re: Other Issues » Vanilla KDE Jessie Devuan system prompts for USB pen drives. » 2018-01-26 19:42:14

Ok. I don't know why the initrd building worries about the device node, since it should just take what is given at boot time, and not at building time. There might be a number of gremlins under that stone, but maybe you get away with just rolling back and mounting devtmpfs onto /dev before another update-initramfs.

# mount -t devtmpfs none /dev

By idle guesswork, I think the initrd building really would want to find a file /var/lib/initramfs-tools/3.16.0-4-amd64 with content:

fd47cef5-ce5e-4090-8bfa-aef277a49e3e /boot/initrd.img-3.16.0-4-amd64

as its "database entry" of where that initrd is supposed to reside. But it burns my synapses trying to fathom an underlying logic for it.

Anyhow, maybe it'll be happy enough with having devtmpfs mounted.

Board footer

Forum Software