npub1uz…c06u5 on Nostr: My biggest kernel patch so far: Changing the Linux USB audio gadget to use a ...
My biggest kernel patch so far:
https://github.com/Darkglass-Electronics/radxa-kernel/commit/cc8f13b0504c290e3cb83a7334e9f1d4e3809c4eChanging the Linux USB audio gadget to use a very-fast mmap vs the old virtual ALSA card approach, plus also sharing 1 clock for both playback and capture (default implementation uses 1 for playback and 1 for capture, which makes them appear as separate devices - very ugly)
Culmination of 1 month of work, but due to how hacky it is I will have to maintain it forever.
But it's cool, gives the Darkglass Anagram unit a more unique feel!
Published at
2025-06-27 11:54:42 UTCEvent JSON
{
"id": "7f941fbe525fe0283eabc8a641a9f5325f5b1e37f91a2018d713fd698baf839e",
"pubkey": "e08ca29c7b1366058315c15296abb1b596d0e8084ba94ffc96c6a366e0af04b8",
"created_at": 1751025282,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.falktx.com/@falktx/114755192893988040",
"web"
],
[
"proxy",
"https://mastodon.falktx.com/users/falktx/statuses/114755192893988040",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://mastodon.falktx.com/users/falktx/statuses/114755192893988040",
"pink.momostr"
],
[
"-"
]
],
"content": "My biggest kernel patch so far: https://github.com/Darkglass-Electronics/radxa-kernel/commit/cc8f13b0504c290e3cb83a7334e9f1d4e3809c4e\n\nChanging the Linux USB audio gadget to use a very-fast mmap vs the old virtual ALSA card approach, plus also sharing 1 clock for both playback and capture (default implementation uses 1 for playback and 1 for capture, which makes them appear as separate devices - very ugly)\n\nCulmination of 1 month of work, but due to how hacky it is I will have to maintain it forever.\nBut it's cool, gives the Darkglass Anagram unit a more unique feel!",
"sig": "15c9e884b2e03fb2170d3a1267318e8fbe9f85c19b842d837fd4edc81c2196309b97f6e8e5cf4b392e5b6de30d1b97b86c3f70ac5d2df08fcab3991cfa836412"
}