update readme, making sound work

This commit is contained in:
Tootbrute 2025-05-19 17:16:27 +08:00
parent 729b998f08
commit a3d9e3335c
2 changed files with 59 additions and 2 deletions

View file

@ -1,5 +1,8 @@
# Home System # Home Laptop System
No flakes - No flakes
- Stripped down GNOME
- Added fonts
- Distrobox
``` ```
▗▄▄▄ ▗▄▄▄▄ ▄▄▄▖ tootbrute@greynix ▗▄▄▄ ▗▄▄▄▄ ▄▄▄▖ tootbrute@greynix
@ -30,3 +33,52 @@ No flakes
Locale: en_US.UTF-8 Locale: en_US.UTF-8
``` ```
## To Fix
- Internal Microphone not working
```
lspci -v
0000:00:1f.3 Audio device: Intel Corporation Tiger Lake-LP Smart Sound Technology Audio Controller (rev 20) (prog-if 80)
Subsystem: ASUSTeK Computer Inc. Device 17d2
Flags: bus master, fast devsel, latency 32, IRQ 166
Memory at 6003238000 (64-bit, non-prefetchable) [size=16K]
Memory at 6003000000 (64-bit, non-prefetchable) [size=1M]
Capabilities: [50] Power Management version 3
Capabilities: [80] Vendor Specific Information: Len=14 <?>
Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel, snd_sof_pci_intel_tgl
sudo dmesg | grep -C 3 snd
[ 15.354933] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
[ 15.355142] snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002)
[ 15.358384] hid-generic 0018:04F3:3125.0001: input,hidraw0: I2C HID v1.00 Mouse [ASUE1201:00 04F3:3125] on i2c-ASUE1201:00
[ 15.398295] intel_tcc_cooling: Programmable TCC Offset detected
[ 15.400408] usb 1-3: Found UVC 1.00 device USB2.0 VGA UVC WebCam (13d3:5a11)
--
[ 15.897461] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 1
[ 15.899329] ACPI: video: Video Device [GFX0] (multi-head: yes rom: no post: no)
[ 15.899701] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input9
[ 15.899886] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[ 15.903176] fbcon: i915drmfb (fb0) is primary device
[ 15.929563] Console: switching to colour frame buffer device 240x67
[ 15.948390] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device
[ 16.002793] iwlwifi 0000:00:14.3: base HW address: b4:0e:de:1f:80:83
[ 16.004925] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC256: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[ 16.004930] snd_hda_codec_realtek hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 16.004932] snd_hda_codec_realtek hdaudioC0D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[ 16.004934] snd_hda_codec_realtek hdaudioC0D0: mono: mono_out=0x0
[ 16.004935] snd_hda_codec_realtek hdaudioC0D0: inputs:
[ 16.004936] snd_hda_codec_realtek hdaudioC0D0: Internal Mic=0x13
[ 16.004937] snd_hda_codec_realtek hdaudioC0D0: Headset Mic=0x19
[ 16.004938] snd_hda_codec_realtek hdaudioC0D0: Internal Mic=0x1b
[ 16.034863] iwlwifi 0000:00:14.3 wlo1: renamed from wlan0
```
- Starship .bashrc remnant everytime I open a terminal
```
bash: /etc/profiles/per-user/elias/bin/starship: No such file or directory
[tootbrute@greynix:~]$
```

View file

@ -13,6 +13,11 @@
boot.kernelModules = [ "kvm-intel" ]; boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
# trying to make microphone work
boot.extraModprobeConfig = ''
options snd-intel-dspcfg dsp_driver=1
'';
fileSystems."/" = fileSystems."/" =
{ device = "/dev/disk/by-uuid/67519a81-c750-4cab-9e25-1f709b0b90de"; { device = "/dev/disk/by-uuid/67519a81-c750-4cab-9e25-1f709b0b90de";
fsType = "ext4"; fsType = "ext4";