:: Re: [DNG] custom initramfs,
Página Principal
Delete this message
Reply to this message
Autor: onefang
Data:  
Para: dng
Assunto: Re: [DNG] custom initramfs,
(Posted to the list with permission.)

This is about the script I'm writing to scan for audio devices at boot
time.

On 2024-10-17 19:04:42, onefang wrote:
> On 2024-10-17 08:20:02, g4sra wrote:
> > Hi Onefang,
> >
> > Is there a git repo with the ALSA init script available that I can pull from ?
>
> It is currently on my own git repo at https://sledjhamr.org/cgit/JackOnAllDevices/
>
> Keep in mind this is a VERY raw thing I only started writing. Subject to
> name changes. Ignore anything other than aataaj.lua. I should delete
> the rest soon.
>
> Yes, that's correct, I wrote a Sys V init script in Lua. Not the first
> time, or the most unlikely language I have used for init. LSB says you
> can write them in any language. Not tried an assembler init "script"
> yet, but I could. lol
>
> > (this is a polite request for you to push it to your area in gitea.devuan.org :)
>
> I'll likely put it there to eventually.
>
> > I am OK with ALSA but know nothing of JACK, so I want to learn that and I learn best from practical examples (but not from silver coated monkeys).
>
> It's basically separated into ALSA and JACK parts, but I did recently
> combine everything into that one aataaj.lua script, which is why there
> are excess scripts with duplicate code in them.
>
> It's barely documented.
>
> On the other hand, it's good to get it tested on a variety of hardware,
> see if it catches everything and doesn't fall over. Would not surprise
> me if it finds audio devices on your computer you didn't know you had.
> Graphics cards and chips seem to be like that, more audio devices than
> graphical outputs. Found four on my motherboard, six on my graphics card
> that only has four video sockets. On my test box I was expecting two
> audio devices on the graphics chips, one for each video output, there's
> three.
>
> Can I post our conversation to the list? Wanted to say most of it there
> soonish anyway.


--
A big old stinking pile of genius that no one wants
coz there are too many silver coated monkeys in the world.