Monday, October 13, 2025

Install debian on encrypted volume

See https://www.blakecarpenter.dev/installing-debian-on-existing-encrypted-lvm/ The main points:
- expert install
- "Load installer components from CD. From here, you want to select crypto-dm-modules and rescue-mode."
- ctrl+alt+f2 to jump into a shell
- depmod -a
- cryptsetup luksOpen /dev/sda3 debian-crypt
- vgchange -ay
- ls /dev/mapper
control debian-crypt debian-home debian-root debian-swap
- "Hit ctrl+alt+f1 to return to the Debian installer and continue to Partition disks. Select Manual."
- setup partitions/mount points
- stop before Install the GRUB bootloader to a hard disk. ctrl+alt+f2 to jump into a terminal.
- blkid
- nano /target/etc/crypttab
debian-crypt UUID=98...eaa none luks
- "Continue to the end of the installation. When the generating initramfs step appears, the image will be built using the crypttab file you just modified."  

Saturday, October 11, 2025

USB Audio not detected after resume. Edifier M60.

Sometimes USB audio device (e.g. Edifier M60 speakers via usb-c connection) is not detected after resume, or after repluging, although
aplay -l
lists the device, the pipewire server does not add it. Restart pipewire:
systemctl --user restart pipewire
If the former does not help, try the following instead:
systemctl --user restart pipewire pipewire-pulse wireplumber

Tuesday, July 29, 2025

Fix thinkbook 13s ITL2 headphones noise

echo "0x1d 0x707 0x0" > /sys/class/sound/hwC0D0/init_verbs

Sunday, July 13, 2025

8bitdo pro 2 hall joysticks calibration issue

8bitdo pro 2 gamepad with hall effect joysticks has an issue that after pressing the left stick it extends (recalibrates) it's value range beyond the range in the unpressed state, so (in my case) ultimate UP (forward) direction does not register as 100%, so e.g. running mode in games becomes unreachable with the extreme stick position (until you push it). There's an undocumented firmware recalibration mode: https://www.reddit.com/r/8bitdo/comments/1dtkoqx/sticks_are_not_aligned_anyway_to_calibrate_this/
  From 8bitdo support about the Pro 2: 
  
  L1+R1+SELECT Hold 10sec start calibration
  
  Rotate both joysticks 3turns *Simultaneously clockwise
  
  Fully press both triggers 3times Press all combination keys again to complete the calibration
  
  Turn-off the controller then turn on again
 

Sunday, April 27, 2025

Fedora drivers

Install rpm-fusion package. Install mesa...freeworld drivers.