Bonjour,
Voici comment convertir vos fichiers .aml en .dsl sous linux.
Installer acpica :
Arch Linux
pacman -S acpica
NixOS
nix-shell -p acpica-tools
Ubuntu
apt install -y acpica-tools
Convertir les fichiers :
Version simple
for file in *.aml; do iasl -d "$file"; done
rm *.aml
Version normal
#!/usr/bin/env bash
mkdir -p dsl
for file in *.aml; do
# Check file
if [ -f "$file" ]; then
# Rename in lowercase
lowercase_name=$(echo "$file" | tr '[:upper:]' '[:lower:]')
# Rename in lowercase
if [ "$file" != "$lowercase_name" ]; then
mv "$file" "$lowercase_name"
fi
# Convert in .dsl
iasl -p "dsl/${lowercase_name%.aml}" -d "$lowercase_name"
fi
done