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)
<Dylanger>
Anyone know where the channel definitions are for alsa?
<Dylanger>
It seems to be tripping over how many channels there are `aplay: set_params:1358: Channels count non available`
<Dylanger>
It's weird tho because it's working, like, it works, so it shouldn't be a driver/kernel/firmware thing
<broonie>
Dylanger: It's going to be whatever the minimum common constraints are between the CPU and the CODEC, plus any additional restrictions from the DSP on a system like the QC SoCs.
<broonie>
It can be that the system has restrictions that come from combinations of settings (eg, picking a sample rate might restrict some of the other settings).
<Dylanger>
The cadmium ucm2 configs work on the Lazor (Trogdor variant), and they all share the same DSP etc
<broonie>
Or that it's reporting the error on channels but actually just the whole config was rejected.
<Dylanger>
Unless I need to specify a codec in the ucm2 config
<Dylanger>
Lol alsa is just a joy 🙃
<broonie>
You shouldn't need to say what the CODEC is (unless it's picking the wrong config I guess). You might need to set additional controls or some different controls if the board is wired up differently or has a different CODEC.
<Dylanger>
I feel like this will end up being something silly/small
<Dylanger>
Alsa has to be the most complicated Linux based thing
<Dylanger>
Homestar yeah
<Dylanger>
Is there a way to like, force-set hw params?
<Dylanger>
I can't even find where these are defined
hexdump01 has joined #aarch64-laptops
hexdump0815 has quit [Ping timeout: 480 seconds]
livo has joined #aarch64-laptops
livo has quit [Quit: taking my bouncer and leaving]
iivanov has joined #aarch64-laptops
iivanov_ has quit [Ping timeout: 480 seconds]
iivanov has quit [Remote host closed the connection]
iivanov has joined #aarch64-laptops
iivanov has quit []
iivanov has joined #aarch64-laptops
<broonie>
Dylanger: The drivers are the place to force anything that's absolutely required.
<broonie>
If you're having to explicitly set hw_params in userspace that's generally due to the driver telling the apps they can do things that they in fact can't do (main exception is if the app thinks it can use a shorter period than the system can really support).