The officially official Devuan Forum!

You are not logged in.

#2 Other Issues » Daedalus i386 and alsa - no sound after boot (with out pulseaudio) » 2023-07-26 07:04:44

YYY
Replies: 0

Hello!

I use alsa without pulseaudio
And always in devuan it work fine and with out any problem

But now i try Daedalus and sound not work after boot.
For "fix" sound i need run alsamixer and change PCM level - after it sound work good.
I first time see this strange behavior...

Now i put in rc.local two string:
amixer set PCM 45%
amixer set PCM 50%
and sound work after boot.

But it dirty hack sad

#3 Re: Desktop and Multimedia » almost fresh Chromium browser 84 87 90 for Devuan 2 ASCII 32-bit i386 » 2022-01-30 17:03:57

YYY
Head_on_a_Stick wrote:
YYY wrote:

I will try write simple instruction how build for himself from ubuntu-16.04-ppa

How about https://wiki.debian.org/CreatePackageFromPPA?

Yes.
But with chromium has problem.

Chromium-i386 build only with amd64 kernel and need use chroot to i366 system from amd64 system. On hdd need 20Gb free space

I did so:

$ mount -t proc proc /chroot/proc/
$ mount -t sysfs sys /chroot/sys/
$ mount -o bind /dev/ /chroot/dev/
$ chroot /chroot/

in chroot i add string to chroot /etc/fstab string

none /dev/shm tmpfs rw,nosuid,nodev,noexec 0 0

and
$ mount /dev/shm

need some library from ubuntu 16.04 : llvm-8, clang-8 and ko

and i change in file build/toolchain/linux/BUILD.gn string "x64" to "x86"

clang_toolchain("clang_x64") {
  # Output linker map files for binary size analysis.
  enable_linker_map = true

  toolchain_args = {
    current_cpu = "x86"
    current_os = "linux"
  }
}

And rebuild as
dpkg-buildpackage -rfakeroot -b -ai386 --target-arch i386

#4 Re: Desktop and Multimedia » almost fresh Chromium browser 84 87 90 for Devuan 2 ASCII 32-bit i386 » 2022-01-30 16:07:09

YYY
Head_on_a_Stick wrote:

Why not upgrade to beowulf or chimaera then?

ASCII lifetime to june 2022. Maybe summer i try upgrade to beowulf

Head_on_a_Stick wrote:

I don't think people should trust your links

Yes. It not good for security. I will try write simple instruction how build for himself from ubuntu-16.04-ppa

Head_on_a_Stick wrote:

LightDM

i use lxdm from lxde project

#5 Desktop and Multimedia » almost fresh Chromium browser 84 87 90 for Devuan 2 ASCII 32-bit i386 » 2022-01-30 08:03:41

YYY
Replies: 5

Hi!

I long time use Devuan ASCII 32-bit
But chromium package in repo very old (v73 = 2019)

I simply tryed rebuild packages from ubuntu 16.04 ppa
https://launchpad.net/ubuntu/xenial/+so … um-browser
and it work for me
https://i.ibb.co/JQmS7g1/chromium-90.png

I only rebuild on devuan-ascii 32-bit and not rename ubuntu packages
v84
https://disk.yandex.ru/d/75bH7m9RltaCxg
v87
https://disk.yandex.ru/d/EJusWl6e260Kyg
v90
https://disk.yandex.ru/d/4Z4vsnafozlJ8g

I find only problem with API Keys window
https://www.chromium.org/developers/how-tos/api-keys/
But exists solution
https://stackoverflow.com/questions/212 … m-portable
https://gist.github.com/cvan/44a6d60457 … b104f9dcc4

I think it must work with debian 9 stretch and ko

#6 Re: Hardware & System Configuration » /etc/udev/rules.d/70-persistent-net.rules rule not working (ASCII) » 2018-09-04 20:26:18

YYY

Ok...

i try use ifrename (apt-get install ifrename)

it work with two run and with two config file
first run with config1 rename eth0 -> eth2
second run with config2 rename eth1 -> eth0 and eth2 -> eth1

not good, but work...

I think better made original name for interfaces like "lan"/"wan" through file  /etc/udev/rules.d/70-persistent-net.rules ...

#7 Re: Hardware & System Configuration » /etc/udev/rules.d/70-persistent-net.rules rule not working (ASCII) » 2018-09-04 19:57:28

YYY

I try test in VB
with one card

command
udevadm test /sys/class/net/eth0
saw what udev read my file /etc/udev/rules.d/10-network.rules
and i can change eth0 name on eth1 name - all work

I try test in VB
with two card

command
udevadm test /sys/class/net/eth0
saw what udev read my file /etc/udev/rules.d/10-network.rules
but write "Device or resources busy" and not change eth0 to eth1

calling: test
version 3.2.2
=== trie on-disk ===
tool version:          3
file size:         7431499 bytes
header size             80 bytes
strings            1850651 bytes
nodes              5580768 bytes
Load module index
timestamp of '/etc/udev/rules.d' changed
timestamp of '/run/udev/rules.d' changed
Reading rules file: /etc/udev/rules.d/10-network.rules
Reading rules file: /lib/udev/rules.d/40-usb_modeswitch.rules
Reading rules file: /lib/udev/rules.d/50-firmware.rules
Reading rules file: /lib/udev/rules.d/50-udev-default.rules
Reading rules file: /lib/udev/rules.d/55-dm.rules
Reading rules file: /lib/udev/rules.d/60-block.rules
Reading rules file: /lib/udev/rules.d/60-cdrom_id.rules
Reading rules file: /lib/udev/rules.d/60-drm.rules
Reading rules file: /lib/udev/rules.d/60-evdev.rules
Reading rules file: /lib/udev/rules.d/60-fuse.rules
Reading rules file: /lib/udev/rules.d/60-libgphoto2-6.rules
Reading rules file: /lib/udev/rules.d/60-persistent-alsa.rules
Reading rules file: /lib/udev/rules.d/60-persistent-input.rules
Reading rules file: /lib/udev/rules.d/60-persistent-storage-dm.rules
Reading rules file: /lib/udev/rules.d/60-persistent-storage-tape.rules
Reading rules file: /lib/udev/rules.d/60-persistent-storage.rules
Reading rules file: /lib/udev/rules.d/60-persistent-v4l.rules
Reading rules file: /lib/udev/rules.d/60-sensor.rules
Reading rules file: /lib/udev/rules.d/60-serial.rules
Reading rules file: /lib/udev/rules.d/64-btrfs.rules
Reading rules file: /lib/udev/rules.d/64-xorg-xkb.rules
Reading rules file: /lib/udev/rules.d/65-libwacom.rules
Reading rules file: /lib/udev/rules.d/69-libmtp.rules
Reading rules file: /lib/udev/rules.d/69-wacom.rules
Reading rules file: /lib/udev/rules.d/70-mouse.rules
Reading rules file: /lib/udev/rules.d/70-power-switch.rules
Reading rules file: /lib/udev/rules.d/70-touchpad.rules
Reading rules file: /lib/udev/rules.d/70-uaccess.rules
Reading rules file: /lib/udev/rules.d/70-udev-acl.rules
Reading rules file: /lib/udev/rules.d/71-seat.rules
Reading rules file: /lib/udev/rules.d/73-idrac.rules
Reading rules file: /lib/udev/rules.d/73-seat-late.rules
Reading rules file: /lib/udev/rules.d/73-special-net-names.rules
Reading rules file: /lib/udev/rules.d/73-usb-net-by-mac.rules
Reading rules file: /lib/udev/rules.d/75-net-description.rules
Reading rules file: /lib/udev/rules.d/75-persistent-net-generator.rules
Reading rules file: /lib/udev/rules.d/75-probe_mtd.rules
Reading rules file: /lib/udev/rules.d/78-sound-card.rules
Reading rules file: /lib/udev/rules.d/80-drivers.rules
Reading rules file: /lib/udev/rules.d/80-ifupdown.rules
Reading rules file: /lib/udev/rules.d/80-libinput-device-groups.rules
Reading rules file: /lib/udev/rules.d/80-net-name-slot.rules
Reading rules file: /lib/udev/rules.d/80-networking.rules
Reading rules file: /lib/udev/rules.d/80-udisks2.rules
Reading rules file: /lib/udev/rules.d/85-hdparm.rules
Reading rules file: /lib/udev/rules.d/85-hwclock.rules
Reading rules file: /lib/udev/rules.d/90-alsa-restore.rules
Reading rules file: /lib/udev/rules.d/90-console-setup.rules
Reading rules file: /lib/udev/rules.d/90-libinput-model-quirks.rules
rules contain 196608 bytes tokens (16384 * 12 bytes), 22764 bytes strings
17168 strings (138193 bytes), 14837 de-duplicated (117761 bytes), 2332 trie nodes used
NAME 'eth1' /etc/udev/rules.d/10-network.rules:1
IMPORT builtin 'net_id' /lib/udev/rules.d/75-net-description.rules:6
IMPORT builtin 'hwdb' /lib/udev/rules.d/75-net-description.rules:12
RUN 'ifupdown-hotplug' /lib/udev/rules.d/80-ifupdown.rules:5
RUN 'net.agent' /lib/udev/rules.d/80-networking.rules:1
changing net interface name from 'eth0' to 'eth1'
Error changing net interface name eth0 to eth1: Device or resource busy
could not rename interface '2' from 'eth0' to 'eth1': Device or resource busy
created db file '/run/udev/data/n2' for '/devices/pci0000:00/0000:00:03.0/net/eth0'
Unload module index
This program is for debugging only, it does not run any program
specified by a RUN key. It may show incorrect results, because
some values may be different, or not available at a simulation run.

ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:03.0/net/eth0
ID_BUS=pci
ID_MODEL_FROM_DATABASE=82540EM Gigabit Ethernet Controller (PRO/1000 MT Desktop Adapter)
ID_MODEL_ID=0x100e
ID_NET_NAME_MAC=enx08002767c8d4
ID_NET_NAME_PATH=enp0s3
ID_OUI_FROM_DATABASE=PCS Systemtechnik GmbH
ID_PCI_CLASS_FROM_DATABASE=Network controller
ID_PCI_SUBCLASS_FROM_DATABASE=Ethernet controller
ID_VENDOR_FROM_DATABASE=Intel Corporation
ID_VENDOR_ID=0x8086
IFINDEX=2
INTERFACE=eth0
SUBSYSTEM=net
USEC_INITIALIZED=3547643
run: 'ifupdown-hotplug'
run: 'net.agent'

udevadm test /sys/class/net/eth1
saw what udev read my file /etc/udev/rules.d/10-network.rules
but write "File exist" and not change eth1 to eth0

calling: test
version 3.2.2
=== trie on-disk ===
tool version:          3
file size:         7431499 bytes
header size             80 bytes
strings            1850651 bytes
nodes              5580768 bytes
Load module index
timestamp of '/etc/udev/rules.d' changed
timestamp of '/run/udev/rules.d' changed
Reading rules file: /etc/udev/rules.d/10-network.rules
Reading rules file: /lib/udev/rules.d/40-usb_modeswitch.rules
Reading rules file: /lib/udev/rules.d/50-firmware.rules
Reading rules file: /lib/udev/rules.d/50-udev-default.rules
Reading rules file: /lib/udev/rules.d/55-dm.rules
Reading rules file: /lib/udev/rules.d/60-block.rules
Reading rules file: /lib/udev/rules.d/60-cdrom_id.rules
Reading rules file: /lib/udev/rules.d/60-drm.rules
Reading rules file: /lib/udev/rules.d/60-evdev.rules
Reading rules file: /lib/udev/rules.d/60-fuse.rules
Reading rules file: /lib/udev/rules.d/60-libgphoto2-6.rules
Reading rules file: /lib/udev/rules.d/60-persistent-alsa.rules
Reading rules file: /lib/udev/rules.d/60-persistent-input.rules
Reading rules file: /lib/udev/rules.d/60-persistent-storage-dm.rules
Reading rules file: /lib/udev/rules.d/60-persistent-storage-tape.rules
Reading rules file: /lib/udev/rules.d/60-persistent-storage.rules
Reading rules file: /lib/udev/rules.d/60-persistent-v4l.rules
Reading rules file: /lib/udev/rules.d/60-sensor.rules
Reading rules file: /lib/udev/rules.d/60-serial.rules
Reading rules file: /lib/udev/rules.d/64-btrfs.rules
Reading rules file: /lib/udev/rules.d/64-xorg-xkb.rules
Reading rules file: /lib/udev/rules.d/65-libwacom.rules
Reading rules file: /lib/udev/rules.d/69-libmtp.rules
Reading rules file: /lib/udev/rules.d/69-wacom.rules
Reading rules file: /lib/udev/rules.d/70-mouse.rules
Reading rules file: /lib/udev/rules.d/70-power-switch.rules
Reading rules file: /lib/udev/rules.d/70-touchpad.rules
Reading rules file: /lib/udev/rules.d/70-uaccess.rules
Reading rules file: /lib/udev/rules.d/70-udev-acl.rules
Reading rules file: /lib/udev/rules.d/71-seat.rules
Reading rules file: /lib/udev/rules.d/73-idrac.rules
Reading rules file: /lib/udev/rules.d/73-seat-late.rules
Reading rules file: /lib/udev/rules.d/73-special-net-names.rules
Reading rules file: /lib/udev/rules.d/73-usb-net-by-mac.rules
Reading rules file: /lib/udev/rules.d/75-net-description.rules
Reading rules file: /lib/udev/rules.d/75-persistent-net-generator.rules
Reading rules file: /lib/udev/rules.d/75-probe_mtd.rules
Reading rules file: /lib/udev/rules.d/78-sound-card.rules
Reading rules file: /lib/udev/rules.d/80-drivers.rules
Reading rules file: /lib/udev/rules.d/80-ifupdown.rules
Reading rules file: /lib/udev/rules.d/80-libinput-device-groups.rules
Reading rules file: /lib/udev/rules.d/80-net-name-slot.rules
Reading rules file: /lib/udev/rules.d/80-networking.rules
Reading rules file: /lib/udev/rules.d/80-udisks2.rules
Reading rules file: /lib/udev/rules.d/85-hdparm.rules
Reading rules file: /lib/udev/rules.d/85-hwclock.rules
Reading rules file: /lib/udev/rules.d/90-alsa-restore.rules
Reading rules file: /lib/udev/rules.d/90-console-setup.rules
Reading rules file: /lib/udev/rules.d/90-libinput-model-quirks.rules
rules contain 196608 bytes tokens (16384 * 12 bytes), 22764 bytes strings
17168 strings (138193 bytes), 14837 de-duplicated (117761 bytes), 2332 trie nodes used
NAME 'eth0' /etc/udev/rules.d/10-network.rules:2
IMPORT builtin 'net_id' /lib/udev/rules.d/75-net-description.rules:6
IMPORT builtin 'hwdb' /lib/udev/rules.d/75-net-description.rules:12
RUN 'ifupdown-hotplug' /lib/udev/rules.d/80-ifupdown.rules:5
RUN 'net.agent' /lib/udev/rules.d/80-networking.rules:1
changing net interface name from 'eth1' to 'eth0'
Error changing net interface name eth1 to eth0: File exists
could not rename interface '3' from 'eth1' to 'eth0': File exists
created db file '/run/udev/data/n3' for '/devices/pci0000:00/0000:00:08.0/net/eth1'
Unload module index
This program is for debugging only, it does not run any program
specified by a RUN key. It may show incorrect results, because
some values may be different, or not available at a simulation run.

ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:08.0/net/eth1
ID_BUS=pci
ID_MODEL_FROM_DATABASE=82540EM Gigabit Ethernet Controller (PRO/1000 MT Desktop Adapter)
ID_MODEL_ID=0x100e
ID_NET_NAME_MAC=enx080027f0c455
ID_NET_NAME_PATH=enp0s8
ID_OUI_FROM_DATABASE=PCS Systemtechnik GmbH
ID_PCI_CLASS_FROM_DATABASE=Network controller
ID_PCI_SUBCLASS_FROM_DATABASE=Ethernet controller
ID_VENDOR_FROM_DATABASE=Intel Corporation
ID_VENDOR_ID=0x8086
IFINDEX=3
INTERFACE=eth1
SUBSYSTEM=net
USEC_INITIALIZED=3546287
run: 'ifupdown-hotplug'
run: 'net.agent'

#8 Hardware & System Configuration » /etc/udev/rules.d/70-persistent-net.rules rule not working (ASCII) » 2018-09-04 19:06:35

YYY
Replies: 4

Hello!

I make clear Devuan ASCII installation.
My computer have two net card - one card onboard and other in PCI-e slot.
Two card have same chipset (realtek)
In system i saw two interfaces - eth0 and eth1.
Card with MAC "XX:XX:XX:XX:XX:XX" named as eth0
Card with MAC "YY:YY:YY:YY:YY:YY" named as eth1

Now i want change interfaces names.
I want
card "XX:XX:XX:XX:XX:XX" with name eth1
card "YY:YY:YY:YY:YY:YY" with name eth0

I not find file /etc/udev/rules.d/70-persistent-net.rules
But in ubuntu 16.04 with upstart i can made it file manually and it work.

In Devuan ASCII i made file /etc/udev/rules.d/70-persistent-net.rules with rules

SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="YY:YY:YY:YY:YY:YY", NAME="eth0"
SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="XX:XX:XX:XX:XX:XX", NAME="eth1"

it not work .... i try

SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="XX:XX:XX:XX:XX:XX", NAME="eth1"
SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="YY:YY:YY:YY:YY:YY", NAME="eth0"

but it not work to sad

How i can change interfaces name in Devuan ASCII ?

Thank you!

PS:
I read "/etc/udev/rules.d/70-persistent-net.rules not regenerating [SOLVED] (https://dev1galaxy.org/viewtopic.php?id=2333)" but it not help me...

Board footer

Forum Software