ChanServ changed the topic of #aarch64-laptops to: Linux support for AArch64 Laptops (Asus NovaGo TP370QL - HP Envy x2 - Lenovo Mixx 630 - Lenovo Yoga C630)
<clover[m]> I guess I should change the wiki
hightower3 has joined #aarch64-laptops
hightower2 has quit [Ping timeout: 480 seconds]
<steev> i really don't mind - but i grabbed what one mine should be by opening device manager and looking at what it was assigning. at some point, we'll hopefully have a way of grabbing it from wherever it gets stored in the system
bluerise_ has joined #aarch64-laptops
bluerise has quit [Ping timeout: 480 seconds]
<cenunix[m]> Clover you should use steevs method of setting bt address as well IMO, well at least on NixOS I was running into issues trying to use btmgmt in a service. It’s working now though and I’ll have the new overrides pushed to the x13s repo later today
hexdump0815 has joined #aarch64-laptops
hexdump01 has quit [Ping timeout: 480 seconds]
derzahl has joined #aarch64-laptops
derzahl has quit [Ping timeout: 480 seconds]
<martiert> cenunix[m]: Are you running NixOS on the x13s? You don't happen to have a nix expression for that I can look at? It boots now, but strugling with some of the firmware
<steev> what firmware are you strugling with?
<martiert> the wifi firmware right now. It's more of a packaging issue for NixOS I think. I pull it from the aarch64-firmware repo, and the ath11k firmware repo. It looks similar to what I have on arch, but won't load amss.bin
<steev> by default, iirc, it looks in hw2.1 which should be a symlink to hw2.0 no idea why)
<steev> what is the error message you're getting though?
<martiert> yes for some reason the symlink is compressed. It exists in hw2.0, but the hw2.1 link is no longer a symlink
<steev> then symlink the file instead of the directory, should work
<steev> e.g. instead of hw2.1->hw2.0, hw2.1/amss.bin -> hw2.0/amss.bin
<steev> i think debian does it that way
<martiert> yeah I see that's how nix wants to do it, so that's what I'm trying to do now
<martiert> yeah, that worked. NixOS firmware is a symlink hell, so trying to symlink to ../hw2.0/amss.bin from different packages got weird. Had to patch the firmware I needed into the linux-firmware package, which was easy enough, though not as elegant as I hoped. Would still love to see cenunix[m] nix expressions though :)
derzahl has joined #aarch64-laptops
<martiert> next up is installing pd-mapper and the alsa ucm config, and I'll have a working NixOS running on this thing. Which means I can again maintain all my computers with a single git repository :)
apalos_ has quit [Quit: ZNC 1.7.2 - https://znc.in]
mani_s- has quit []
apalos_ has joined #aarch64-laptops
derzahl has quit [Ping timeout: 480 seconds]
mani_s- has joined #aarch64-laptops
apalos_ has quit [Quit: ZNC 1.7.2 - https://znc.in]
mani_s- has quit []
apalos_ has joined #aarch64-laptops
apalos_ has quit []
apalos_ has joined #aarch64-laptops
mani_s- has joined #aarch64-laptops
apalos_ has quit [Quit: ZNC 1.7.2 - https://znc.in]
mani_s- has quit []
apalos_ has joined #aarch64-laptops
apalos_ has quit []
<srinik> steev: rx macro default digital gains are set to (0dB), but then again pa/pipewire voulme control for Headset are wired up to this digital gain which can go up to 40dB. which i guess is not correct I guess.
<srinik> steev: user changing volume with these controls will get an overly digital amplified audio.. i will look in the codec to see if there are any analog controls that i can wire up to volume control or limit this gain to some reasonable value
apalos_ has joined #aarch64-laptops
mani_s- has joined #aarch64-laptops
<ungeskriptet> hexdump0815: Did you manage to test UFS on sc7180?
apalos_ has quit [Quit: ZNC 1.7.2 - https://znc.in]
mani_s- has quit []
apalos_ has joined #aarch64-laptops
mani_s- has joined #aarch64-laptops
apalos_ has quit [Quit: ZNC 1.7.2 - https://znc.in]
mani_s- has quit []
apalos_ has joined #aarch64-laptops
mani_s- has joined #aarch64-laptops
<srinik> steev: https://termbin.com/cb0n this should help with headset high volume issue, let me know if it works for you, I can send a proper patch after that
apalos_ has quit [Quit: ZNC 1.7.2 - https://znc.in]
mani_s- has quit []
apalos_ has joined #aarch64-laptops
apalos_ has quit []
apalos_ has joined #aarch64-laptops
<broonie> srinik: That isn't something I'd expect to see in the kernel, I'd expect it to be controlled in UCM.
<broonie> Headphone outputs are also line outputs normally and people do sometimes want to get full scale volume out.
apalos_ has quit [Quit: ZNC 1.7.2 - https://znc.in]
apalos_ has joined #aarch64-laptops
<srinik> broonie: i looked at ucm in first place to limit this, but I could not spot any such facility, is snd_soc_limit_volume() not the right choice for machine drivers ?
<broonie> srinik: _limit_volume() is for things likemelting speakers due to putting too much power through them.
<broonie> In UCM I'd expect some other volume control in the path to be set such that no matter what the controls that applications get pointed at are set to the volumes are in a reasonable range, possibly it needs extending with some hints about sutiable defaults?
<srinik> broonie: this control has a range of -84dB to 40dB of digital gain, exposing all that range to user is really not desirable for quaulity reasons.
rainbyte has joined #aarch64-laptops
<broonie> I'm not sure you really need to limit here so much as to make sure that things pick a sensible value by default.
<broonie> Exposing things to the user != exposing things to userspace - I'd not expect the off the shelf volume control presented to the user to just be that if that's the raw value range.
<srinik> broonie: default these are set to 0dB which is good, but these are mapped to volume controls, which is the issue..
<broonie> Perhaps some other volume control should be picked?
<srinik> broonie: interestingly there is no other volume control in this digital path, there is HPHL, HPHR volume in analog path but it not having a impact, But I can try to play around that and see.
<broonie> I would expect the analog volume to be what userspace is told to control?
<broonie> But if it's not working that's obviously an issue.
<broonie> In general you want to leave the digital gains at roughly full scale and do as much control as possible in analog, this preserves the maximum resolution from the DAC.
<srinik> broonie: it works, but not as impact full as the digital one, may be the code is broken.. will debug..
<broonie> With a huge range like the digital gains have the extremes of gains are going to be much larger than most analog gains, modulo mutes.
rainbyte_ has joined #aarch64-laptops
derzahl has joined #aarch64-laptops
rainbyte has quit [Read error: Connection reset by peer]
rainbyte__ has joined #aarch64-laptops
rainbyte_ has quit [Ping timeout: 480 seconds]
apalos- has joined #aarch64-laptops
mani_s- has joined #aarch64-laptops
derzahl has quit [Remote host closed the connection]
agl7-x13s has quit [Ping timeout: 480 seconds]
apalos- has quit [Quit: ZNC 1.7.2 - https://znc.in]
mani_s- has quit []
apalos_ has quit [Quit: ZNC 1.7.2 - https://znc.in]
apalos_ has joined #aarch64-laptops
apalos_ has quit []
apalos_ has joined #aarch64-laptops
mani_s- has joined #aarch64-laptops
agl7-x13s has joined #aarch64-laptops
rainbyte__ has quit [Ping timeout: 480 seconds]
rainbyte__ has joined #aarch64-laptops
rainbyte__ has quit [Ping timeout: 480 seconds]
hexdump0815 has quit [Quit: WeeChat 1.9.1]
hexdump0815 has joined #aarch64-laptops
<hexdump0815> ungeskriptet: sorry - i did not get to it last weekend, this week is very full, hopefully i'll be able to test it next weekend
ptitSeb_ has joined #aarch64-laptops
rainbyte__ has joined #aarch64-laptops
ptitSeb has quit [Ping timeout: 480 seconds]